Lines Matching refs:cb

261 struct flow_block_cb *flow_block_cb_alloc(flow_setup_cb_t *cb,  in flow_block_cb_alloc()  argument
271 block_cb->cb = cb; in flow_block_cb_alloc()
290 flow_setup_cb_t *cb, void *cb_ident) in flow_block_cb_lookup() argument
295 if (block_cb->cb == cb && in flow_block_cb_lookup()
322 bool flow_block_cb_is_busy(flow_setup_cb_t *cb, void *cb_ident, in flow_block_cb_is_busy() argument
328 if (block_cb->cb == cb && in flow_block_cb_is_busy()
339 flow_setup_cb_t *cb, in flow_block_cb_setup_simple() argument
353 if (flow_block_cb_is_busy(cb, cb_ident, driver_block_list)) in flow_block_cb_setup_simple()
356 block_cb = flow_block_cb_alloc(cb, cb_ident, cb_priv, NULL); in flow_block_cb_setup_simple()
364 block_cb = flow_block_cb_lookup(f->block, cb, cb_ident); in flow_block_cb_setup_simple()
384 flow_indr_block_bind_cb_t *cb; member
389 static struct flow_indr_dev *flow_indr_dev_alloc(flow_indr_block_bind_cb_t *cb, in flow_indr_dev_alloc() argument
398 indr_dev->cb = cb; in flow_indr_dev_alloc()
417 static void existing_qdiscs_register(flow_indr_block_bind_cb_t *cb, void *cb_priv) in existing_qdiscs_register() argument
427 cb(cur->dev, cur->sch, cb_priv, cur->type, &bo, cur->data, cur->cleanup); in existing_qdiscs_register()
432 int flow_indr_dev_register(flow_indr_block_bind_cb_t *cb, void *cb_priv) in flow_indr_dev_register() argument
438 if (indr_dev->cb == cb && in flow_indr_dev_register()
446 indr_dev = flow_indr_dev_alloc(cb, cb_priv); in flow_indr_dev_register()
453 existing_qdiscs_register(cb, cb_priv); in flow_indr_dev_register()
456 tcf_action_reoffload_cb(cb, cb_priv, true); in flow_indr_dev_register()
485 void flow_indr_dev_unregister(flow_indr_block_bind_cb_t *cb, void *cb_priv, in flow_indr_dev_unregister() argument
493 if (this->cb == cb && in flow_indr_dev_unregister()
510 tcf_action_reoffload_cb(cb, cb_priv, false); in flow_indr_dev_unregister()
530 struct flow_block_cb *flow_indr_block_cb_alloc(flow_setup_cb_t *cb, in flow_indr_block_cb_alloc() argument
541 block_cb = flow_block_cb_alloc(cb, cb_ident, cb_priv, release); in flow_indr_block_cb_alloc()
623 err = this->cb(dev, sch, this->cb_priv, type, bo, data, cleanup); in flow_indr_dev_setup_offload()