Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/staging/blackbox/
Dblackbox_core.c486 struct bbox_ops *new_ops = NULL; in bbox_register_module_ops() local
495 new_ops = kmalloc(sizeof(*new_ops), GFP_KERNEL); in bbox_register_module_ops()
496 if (!new_ops) in bbox_register_module_ops()
498 memset(new_ops, 0, sizeof(*new_ops)); in bbox_register_module_ops()
499 memcpy(&new_ops->ops, ops, sizeof(*ops)); in bbox_register_module_ops()
507 kfree(new_ops); in bbox_register_module_ops()
515 list_add_tail(&new_ops->list, &ops_list); in bbox_register_module_ops()
/kernel/linux/linux-5.10/net/netfilter/
Dcore.c109 struct nf_hook_ops **new_ops; in nf_hook_entries_grow() local
132 new_ops = nf_hook_entries_get_hook_ops(new); in nf_hook_entries_grow()
143 new_ops[nhooks] = (void *)orig_ops[i]; in nf_hook_entries_grow()
147 new_ops[nhooks] = (void *)reg; in nf_hook_entries_grow()
156 new_ops[nhooks] = (void *)reg; in nf_hook_entries_grow()
228 struct nf_hook_ops **new_ops; in __nf_hook_entries_try_shrink() local
252 new_ops = nf_hook_entries_get_hook_ops(new); in __nf_hook_entries_try_shrink()
257 new_ops[j] = (void *)orig_ops[i]; in __nf_hook_entries_try_shrink()
/kernel/linux/linux-5.10/net/atm/
Dmpc.h37 struct net_device_ops new_ops; member
Dmpc.c320 mpc->new_ops = *mpc->old_ops; in start_mpc()
321 mpc->new_ops.ndo_start_xmit = mpc_send_packet; in start_mpc()
322 dev->netdev_ops = &mpc->new_ops; in start_mpc()
332 if (dev->netdev_ops != &mpc->new_ops) { in stop_mpc()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_btree_staging.h51 struct xfs_btree_ops **new_ops);
Dxfs_btree_staging.c215 struct xfs_btree_ops **new_ops) in xfs_btree_stage_ifakeroot() argument
235 if (new_ops) in xfs_btree_stage_ifakeroot()
236 *new_ops = nops; in xfs_btree_stage_ifakeroot()