Home
last modified time | relevance | path

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

/linux/net/netfilter/
H A Dcore.c106 struct nf_hook_ops **new_ops; in nf_hook_entries_grow() local
141 new_ops = nf_hook_entries_get_hook_ops(new); in nf_hook_entries_grow()
152 new_ops[nhooks] = (void *)orig_ops[i]; in nf_hook_entries_grow()
156 new_ops[nhooks] = (void *)reg; in nf_hook_entries_grow()
165 new_ops[nhooks] = (void *)reg; in nf_hook_entries_grow()
237 struct nf_hook_ops **new_ops; in __nf_hook_entries_try_shrink() local
261 new_ops = nf_hook_entries_get_hook_ops(new); in __nf_hook_entries_try_shrink()
266 new_ops[j] = (void *)orig_ops[i]; in __nf_hook_entries_try_shrink()
/linux/drivers/net/ovpn/
H A Dtcp.c464 struct proto_ops *new_ops,
577 struct proto_ops *new_ops, in ovpn_tcp_build_protos() argument
582 memcpy(new_ops, orig_ops, sizeof(*new_ops)); in ovpn_tcp_build_protos()
588 new_ops->poll = ovpn_tcp_poll; in ovpn_tcp_build_protos()
/linux/net/atm/
H A Dmpc.h37 struct net_device_ops new_ops; member
H A 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()
/linux/fs/bcachefs/
H A Dbtree_trans_commit.c475 const struct bkey_ops *new_ops = bch2_bkey_type_ops(i->k->k.type); in run_one_mem_trigger() local
477 if (old_ops->trigger == new_ops->trigger) in run_one_mem_trigger()
504 const struct bkey_ops *new_ops = bch2_bkey_type_ops(i->k->k.type); in run_one_trans_trigger() local
509 old_ops->trigger == new_ops->trigger) { in run_one_trans_trigger()