Lines Matching refs:strategy
131 bufq_alloc(struct bufq_state **bufqp, const char *strategy, int flags)
140 KASSERT((flags & BUFQ_EXACT) == 0 || strategy != BUFQ_STRAT_ANY);
158 * select strategy.
159 * if a strategy specified by flags is found, use it.
169 if (strategy != BUFQ_STRAT_ANY &&
170 STRAT_MATCH(strategy, (it))) {
178 if (strategy == BUFQ_STRAT_ANY || found_exact)
181 /* Try to autoload the bufq strategy module */
184 strlcat(strategy_module_name, strategy,
192 panic("bufq_alloc: no strategy");
194 if (strategy != BUFQ_STRAT_ANY && !found_exact) {
202 strategy, bsp->bs_name);
283 * get a strategy identifier of a buffer queue.