• Home
  • Raw
  • Download

Lines Matching refs:item

365 static void tcf_chain_head_change_item(struct tcf_filter_chain_list_item *item,  in tcf_chain_head_change_item()  argument
368 if (item->chain_head_change) in tcf_chain_head_change_item()
369 item->chain_head_change(tp_head, item->chain_head_change_priv); in tcf_chain_head_change_item()
375 struct tcf_filter_chain_list_item *item; in tcf_chain0_head_change() local
382 list_for_each_entry(item, &block->chain0.filter_chain_list, list) in tcf_chain0_head_change()
383 tcf_chain_head_change_item(item, tp_head); in tcf_chain0_head_change()
799 struct tcf_filter_chain_list_item *item; in tcf_chain0_head_change_cb_add() local
802 item = kmalloc(sizeof(*item), GFP_KERNEL); in tcf_chain0_head_change_cb_add()
803 if (!item) { in tcf_chain0_head_change_cb_add()
807 item->chain_head_change = ei->chain_head_change; in tcf_chain0_head_change_cb_add()
808 item->chain_head_change_priv = ei->chain_head_change_priv; in tcf_chain0_head_change_cb_add()
815 list_add(&item->list, &block->chain0.filter_chain_list); in tcf_chain0_head_change_cb_add()
825 tcf_chain_head_change_item(item, tp_head); in tcf_chain0_head_change_cb_add()
828 list_add(&item->list, &block->chain0.filter_chain_list); in tcf_chain0_head_change_cb_add()
842 struct tcf_filter_chain_list_item *item; in tcf_chain0_head_change_cb_del() local
845 list_for_each_entry(item, &block->chain0.filter_chain_list, list) { in tcf_chain0_head_change_cb_del()
847 (item->chain_head_change == ei->chain_head_change && in tcf_chain0_head_change_cb_del()
848 item->chain_head_change_priv == ei->chain_head_change_priv)) { in tcf_chain0_head_change_cb_del()
850 tcf_chain_head_change_item(item, NULL); in tcf_chain0_head_change_cb_del()
851 list_del(&item->list); in tcf_chain0_head_change_cb_del()
854 kfree(item); in tcf_chain0_head_change_cb_del()
1296 struct tcf_block_owner_item *item; in tcf_block_netif_keep_dst() local
1299 list_for_each_entry(item, &block->owner_list, list) in tcf_block_netif_keep_dst()
1300 tcf_block_owner_netif_keep_dst(block, item->q, in tcf_block_netif_keep_dst()
1301 item->binder_type); in tcf_block_netif_keep_dst()
1309 struct tcf_block_owner_item *item; in tcf_block_owner_add() local
1311 item = kmalloc(sizeof(*item), GFP_KERNEL); in tcf_block_owner_add()
1312 if (!item) in tcf_block_owner_add()
1314 item->q = q; in tcf_block_owner_add()
1315 item->binder_type = binder_type; in tcf_block_owner_add()
1316 list_add(&item->list, &block->owner_list); in tcf_block_owner_add()
1324 struct tcf_block_owner_item *item; in tcf_block_owner_del() local
1326 list_for_each_entry(item, &block->owner_list, list) { in tcf_block_owner_del()
1327 if (item->q == q && item->binder_type == binder_type) { in tcf_block_owner_del()
1328 list_del(&item->list); in tcf_block_owner_del()
1329 kfree(item); in tcf_block_owner_del()