Lines Matching defs:func
142 lb_select_tx_port_func_t *func;
148 .func = lb_hash_select_tx_port,
152 .func = lb_htpm_select_tx_port,
157 static char *lb_select_tx_port_get_name(lb_select_tx_port_func_t *func)
165 if (item->func == func)
180 return item->func;
335 lb_select_tx_port_func_t *func;
338 func = rcu_dereference_protected(lb_priv->select_tx_port_func,
340 name = lb_select_tx_port_get_name(func);
348 lb_select_tx_port_func_t *func;
350 func = lb_select_tx_port_get_func(ctx->data.str_val);
351 if (!func)
353 rcu_assign_pointer(lb_priv->select_tx_port_func, func);
592 lb_select_tx_port_func_t *func;
596 func = lb_select_tx_port_get_func("hash");
597 BUG_ON(!func);
598 rcu_assign_pointer(lb_priv->select_tx_port_func, func);