Home
last modified time | relevance | path

Searched refs:indr_block_cb (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/net/core/
Dflow_offload.c357 struct flow_indr_block_cb *indr_block_cb; in flow_indr_block_cb_lookup() local
359 list_for_each_entry(indr_block_cb, &indr_dev->cb_list, list) in flow_indr_block_cb_lookup()
360 if (indr_block_cb->cb == cb && in flow_indr_block_cb_lookup()
361 indr_block_cb->cb_ident == cb_ident) in flow_indr_block_cb_lookup()
362 return indr_block_cb; in flow_indr_block_cb_lookup()
370 struct flow_indr_block_cb *indr_block_cb; in flow_indr_block_cb_add() local
372 indr_block_cb = flow_indr_block_cb_lookup(indr_dev, cb, cb_ident); in flow_indr_block_cb_add()
373 if (indr_block_cb) in flow_indr_block_cb_add()
376 indr_block_cb = kzalloc(sizeof(*indr_block_cb), GFP_KERNEL); in flow_indr_block_cb_add()
377 if (!indr_block_cb) in flow_indr_block_cb_add()
[all …]