Home
last modified time | relevance | path

Searched defs:ops (Results 1 – 25 of 120) sorted by relevance

12345

/net/core/
Dfib_rules.c40 int fib_default_rule_add(struct fib_rules_ops *ops, in fib_default_rule_add()
67 static u32 fib_default_rule_pref(struct fib_rules_ops *ops) in fib_default_rule_pref()
90 struct fib_rules_ops *ops; in lookup_rules_ops() local
106 static void rules_ops_put(struct fib_rules_ops *ops) in rules_ops_put()
112 static void flush_route_cache(struct fib_rules_ops *ops) in flush_route_cache()
118 static int __fib_rules_register(struct fib_rules_ops *ops) in __fib_rules_register()
150 struct fib_rules_ops *ops; in fib_rules_register() local
170 static void fib_rules_cleanup_ops(struct fib_rules_ops *ops) in fib_rules_cleanup_ops()
182 void fib_rules_unregister(struct fib_rules_ops *ops) in fib_rules_unregister()
223 static int fib_rule_match(struct fib_rule *rule, struct fib_rules_ops *ops, in fib_rule_match()
[all …]
Dlwtunnel.c75 int lwtunnel_encap_add_ops(const struct lwtunnel_encap_ops *ops, in lwtunnel_encap_add_ops()
87 int lwtunnel_encap_del_ops(const struct lwtunnel_encap_ops *ops, in lwtunnel_encap_del_ops()
111 const struct lwtunnel_encap_ops *ops; in lwtunnel_build_state() local
147 const struct lwtunnel_encap_ops *ops; in lwtunnel_valid_encap_type() local
214 const struct lwtunnel_encap_ops *ops = lwtun_encaps[lws->type]; in lwtstate_free() local
228 const struct lwtunnel_encap_ops *ops; in lwtunnel_fill_encap() local
268 const struct lwtunnel_encap_ops *ops; in lwtunnel_get_encap_size() local
290 const struct lwtunnel_encap_ops *ops; in lwtunnel_cmp_encap() local
319 const struct lwtunnel_encap_ops *ops; in lwtunnel_output() local
353 const struct lwtunnel_encap_ops *ops; in lwtunnel_xmit() local
[all …]
Dnet_namespace.c102 static int ops_init(const struct pernet_operations *ops, struct net *net) in ops_init()
129 static void ops_free(const struct pernet_operations *ops, struct net *net) in ops_free()
136 static void ops_exit_list(const struct pernet_operations *ops, in ops_exit_list()
148 static void ops_free_list(const struct pernet_operations *ops, in ops_free_list()
282 const struct pernet_operations *ops, *saved_ops; in setup_net() local
440 const struct pernet_operations *ops; in cleanup_net() local
872 struct pernet_operations *ops) in __register_pernet_operations()
897 static void __unregister_pernet_operations(struct pernet_operations *ops) in __unregister_pernet_operations()
912 struct pernet_operations *ops) in __register_pernet_operations()
922 static void __unregister_pernet_operations(struct pernet_operations *ops) in __unregister_pernet_operations()
[all …]
Dfib_notifier.c31 struct fib_notifier_ops *ops; in fib_seq_sum() local
51 struct fib_notifier_ops *ops; in fib_net_dump() local
117 static int __fib_notifier_ops_register(struct fib_notifier_ops *ops, in __fib_notifier_ops_register()
132 struct fib_notifier_ops *ops; in fib_notifier_ops_register() local
151 void fib_notifier_ops_unregister(struct fib_notifier_ops *ops) in fib_notifier_ops_unregister()
Drtnetlink.c275 const struct rtnl_link_ops *ops; in rtnl_link_ops_get() local
294 int __rtnl_link_register(struct rtnl_link_ops *ops) in __rtnl_link_register()
318 int rtnl_link_register(struct rtnl_link_ops *ops) in rtnl_link_register()
329 static void __rtnl_kill_links(struct net *net, struct rtnl_link_ops *ops) in __rtnl_kill_links()
347 void __rtnl_link_unregister(struct rtnl_link_ops *ops) in __rtnl_link_unregister()
390 void rtnl_link_unregister(struct rtnl_link_ops *ops) in rtnl_link_unregister()
404 const struct rtnl_link_ops *ops; in rtnl_link_get_slave_info_data_size() local
427 const struct rtnl_link_ops *ops = dev->rtnl_link_ops; in rtnl_link_get_size() local
454 const struct rtnl_af_ops *ops; in rtnl_af_lookup() local
470 void rtnl_af_register(struct rtnl_af_ops *ops) in rtnl_af_register()
[all …]
Dethtool.c228 const struct ethtool_ops *ops = dev->ethtool_ops; in __ethtool_get_sset_count() local
258 const struct ethtool_ops *ops = dev->ethtool_ops; in __ethtool_get_strings() local
861 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_get_drvinfo() local
1001 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_get_rxnfc() local
1163 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_set_rxfh_indir() local
1223 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_get_rxfh() local
1295 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_set_rxfh() local
1389 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_get_regs() local
1589 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_get_eeprom() local
1602 const struct ethtool_ops *ops = dev->ethtool_ops; in ethtool_set_eeprom() local
[all …]
/net/netlabel/
Dnetlabel_calipso.c388 netlbl_calipso_ops_register(const struct netlbl_calipso_ops *ops) in netlbl_calipso_ops_register()
416 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_doi_add() local
433 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_doi_free() local
453 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_doi_remove() local
473 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_doi_getdef() local
490 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_doi_putdef() local
514 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_doi_walk() local
536 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_sock_getattr() local
562 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_sock_setattr() local
579 const struct netlbl_calipso_ops *ops = netlbl_calipso_ops_get(); in calipso_sock_delattr() local
[all …]
/net/netfilter/
Dnf_sockopt.c27 struct nf_sockopt_ops *ops; in nf_register_sockopt() local
65 struct nf_sockopt_ops *ops; in nf_sockopt_find() local
96 struct nf_sockopt_ops *ops; in nf_sockopt() local
130 struct nf_sockopt_ops *ops; in compat_nf_sockopt() local
/net/openvswitch/
Dvport.c74 int __ovs_vport_ops_register(struct vport_ops *ops) in __ovs_vport_ops_register()
92 void ovs_vport_ops_unregister(struct vport_ops *ops) in ovs_vport_ops_unregister()
131 struct vport *ovs_vport_alloc(int priv_size, const struct vport_ops *ops, in ovs_vport_alloc()
183 struct vport_ops *ops; in ovs_vport_lookup() local
202 struct vport_ops *ops; in ovs_vport_add() local
/net/ieee802154/
Dnl-mac.c87 struct ieee802154_mlme_ops *ops; in ieee802154_nl_fill_iface() local
475 struct ieee802154_mlme_ops *ops; in ieee802154_set_macparams() local
655 struct ieee802154_mlme_ops *ops; in ieee802154_llsec_getparams() local
707 struct ieee802154_mlme_ops *ops; in ieee802154_llsec_setparams() local
772 struct ieee802154_mlme_ops *ops; member
879 struct ieee802154_mlme_ops *ops = ieee802154_mlme_ops(dev); in llsec_add_key() local
901 struct ieee802154_mlme_ops *ops = ieee802154_mlme_ops(dev); in llsec_remove_key() local
1016 struct ieee802154_mlme_ops *ops = ieee802154_mlme_ops(dev); in llsec_add_dev() local
1036 struct ieee802154_mlme_ops *ops = ieee802154_mlme_ops(dev); in llsec_del_dev() local
1115 struct ieee802154_mlme_ops *ops = ieee802154_mlme_ops(dev); in llsec_add_devkey() local
[all …]
/net/ipv6/
Dip6_offload.c25 const struct net_offload *ops = NULL; in ipv6_gso_pull_exthdrs() local
63 const struct net_offload *ops; in ipv6_gso_segment() local
168 const struct net_offload *ops; in ipv6_gro_receive() local
297 const struct net_offload *ops; in ipv6_gro_complete() local
/net/8021q/
Dvlan_dev.c361 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_ioctl() local
390 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_neigh_setup() local
404 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_ddp_setup() local
416 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_ddp_done() local
428 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_enable() local
439 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_disable() local
450 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_get_wwn() local
462 const struct net_device_ops *ops = real_dev->netdev_ops; in vlan_dev_fcoe_ddp_target() local
671 const struct ethtool_ops *ops = vlan->real_dev->ethtool_ops; in vlan_ethtool_get_ts_info() local
/net/wireless/
Dlib80211.c38 struct lib80211_crypto_ops *ops; member
164 int lib80211_register_crypto_ops(struct lib80211_crypto_ops *ops) in lib80211_register_crypto_ops()
186 int lib80211_unregister_crypto_ops(struct lib80211_crypto_ops *ops) in lib80211_unregister_crypto_ops()
/net/sunrpc/
Dauth.c94 rpcauth_register(const struct rpc_authops *ops) in rpcauth_register()
112 rpcauth_unregister(const struct rpc_authops *ops) in rpcauth_unregister()
141 const struct rpc_authops *ops; in rpcauth_get_pseudoflavor() local
176 const struct rpc_authops *ops; in rpcauth_get_gssinfo() local
220 const struct rpc_authops *ops = auth_flavors[flavor]; in rpcauth_list_flavors() local
259 const struct rpc_authops *ops; in rpcauth_create() local
644 struct rpc_auth *auth, const struct rpc_credops *ops) in rpcauth_init_cred()
/net/nfc/hci/
Dllc.h40 struct nfc_llc_ops *ops; member
46 struct nfc_llc_ops *ops; member
/net/sched/
Dact_api.c169 const struct tc_action_ops *ops) in tcf_del_walker()
205 const struct tc_action_ops *ops) in tcf_generic_walker()
270 struct tc_action **a, const struct tc_action_ops *ops, in tcf_idr_create()
356 void tcf_idrinfo_destroy(const struct tc_action_ops *ops, in tcf_idrinfo_destroy()
379 struct pernet_operations *ops) in tcf_register_action()
411 struct pernet_operations *ops) in tcf_unregister_action()
521 const struct tc_action_ops *ops; in tcf_action_destroy() local
873 const struct tc_action_ops *ops; in tcf_action_get_1() local
915 const struct tc_action_ops *ops; in tca_action_flush() local
Dact_ife.c231 static int ife_validate_metatype(struct tcf_meta_ops *ops, void *val, int len) in ife_validate_metatype()
255 struct tcf_meta_ops *ops = find_ife_oplist(metaid); in load_metaops_and_vet() local
281 static int __add_metainfo(const struct tcf_meta_ops *ops, in __add_metainfo()
311 static int add_metainfo_and_get_ops(const struct tcf_meta_ops *ops, in add_metainfo_and_get_ops()
328 const struct tcf_meta_ops *ops = find_ife_oplist(metaid); in add_metainfo() local
809 const struct tc_action_ops *ops) in tcf_ife_walker()
Dsch_generic.c600 const struct Qdisc_ops *ops) in qdisc_alloc()
648 const struct Qdisc_ops *ops, in qdisc_create_dflt()
675 const struct Qdisc_ops *ops = qdisc->ops; in qdisc_reset() local
706 const struct Qdisc_ops *ops; in qdisc_destroy() local
767 const struct Qdisc_ops *ops = default_qdisc_ops; in attach_one_default_qdisc() local
Dact_ipt.c101 const struct tc_action_ops *ops, int ovr, int bind) in __tcf_ipt_init()
310 const struct tc_action_ops *ops) in tcf_ipt_walker()
360 const struct tc_action_ops *ops) in tcf_xt_walker()
/net/switchdev/
Dswitchdev.c185 const struct switchdev_ops *ops = dev->switchdev_ops; in switchdev_port_attr_get() local
223 const struct switchdev_ops *ops = dev->switchdev_ops; in __switchdev_port_attr_set() local
358 const struct switchdev_ops *ops = dev->switchdev_ops; in __switchdev_port_obj_add() local
472 const struct switchdev_ops *ops = dev->switchdev_ops; in switchdev_port_obj_del_now() local
/net/netlink/
Dgenetlink.c289 const struct genl_ops *ops = family->ops; in genl_validate_ops() local
463 const struct genl_ops *ops = cb->data; in genl_lock_start() local
477 const struct genl_ops *ops = cb->data; in genl_lock_dumpit() local
489 const struct genl_ops *ops = cb->data; in genl_lock_done() local
505 const struct genl_ops *ops; in genl_family_rcv_msg() local
672 const struct genl_ops *ops = &family->ops[i]; in ctrl_fill_info() local
/net/ipv4/
Dfib_rules.c339 static void fib4_rule_flush_cache(struct fib_rules_ops *ops) in fib4_rule_flush_cache()
362 static int fib_default_rules_init(struct fib_rules_ops *ops) in fib_default_rules_init()
381 struct fib_rules_ops *ops; in fib4_rules_init() local
Dip_tunnel.c248 const struct rtnl_link_ops *ops, in __ip_tunnel_create()
457 int ip_tunnel_encap_add_ops(const struct ip_tunnel_encap_ops *ops, in ip_tunnel_encap_add_ops()
469 int ip_tunnel_encap_del_ops(const struct ip_tunnel_encap_ops *ops, in ip_tunnel_encap_del_ops()
1020 struct rtnl_link_ops *ops, char *devname) in ip_tunnel_init_net()
1055 struct rtnl_link_ops *ops) in ip_tunnel_destroy()
1079 void ip_tunnel_delete_net(struct ip_tunnel_net *itn, struct rtnl_link_ops *ops) in ip_tunnel_delete_net()
/net/mac80211/
Drate.c22 const struct rate_control_ops *ops; member
114 int ieee80211_rate_control_register(const struct rate_control_ops *ops) in ieee80211_rate_control_register()
145 void ieee80211_rate_control_unregister(const struct rate_control_ops *ops) in ieee80211_rate_control_unregister()
165 const struct rate_control_ops *ops = NULL; in ieee80211_try_rate_control_ops_get() local
185 const struct rate_control_ops *ops; in ieee80211_rate_control_ops_get() local
/net/dcb/
Ddcbnl.c975 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_build_peer_app() local
1030 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_fill() local
1163 const struct dcbnl_rtnl_ops *ops = dev->dcbnl_ops; in dcbnl_cee_pg_fill() local
1216 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_cee_fill() local
1359 const struct dcbnl_rtnl_ops *ops = dev->dcbnl_ops; in dcbnl_notify() local
1410 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_set() local
1490 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_get() local
1501 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_ieee_del() local
1655 const struct dcbnl_rtnl_ops *ops = netdev->dcbnl_ops; in dcbnl_cee_get() local

12345