| /linux/include/net/ |
| H A D | net_namespace.h | 62 struct net { struct 66 refcount_t passive; /* To decide when the network argument 77 struct list_head list; /* list of network namespaces */ argument 78 struct list_head exit_list; /* To linked to call pernet exit argument 79 * methods on dead net ( argument 95 struct idr netns_ids; argument 100 * refcounted against netns argument 103 struct proc_dir_entry *proc_net; argument 104 struct proc_dir_entry *proc_net_stat; argument 110 struct sock *rtnl; /* rtnetlink socket */ argument [all …]
|
| /linux/include/linux/ |
| H A D | rtnetlink.h | 14 static inline int rtnetlink_maybe_send(struct sk_buff *skb, struct net *net, in rtnetlink_maybe_send() 111 #define ASSERT_RTNL_NET(net) \ argument 122 #define rcu_dereference_rtnl_net(net, p) \ argument 124 #define rtnl_net_dereference(net, p) \ argument 126 #define rcu_replace_pointer_rtnl_net(net, rp, p) \ argument 129 static inline void __rtnl_net_lock(struct net *net) {} in __rtnl_net_lock() 130 static inline void __rtnl_net_unlock(struct net *net) {} in __rtnl_net_unlock() 132 static inline void rtnl_net_lock(struct net *net) in rtnl_net_lock() 137 static inline void rtnl_net_unlock(struct net *net) in rtnl_net_unlock() 142 static inline int rtnl_net_trylock(struct net *net) in rtnl_net_trylock() [all …]
|
| /linux/net/tipc/ |
| H A D | bcast.c | 77 static struct tipc_bc_base *tipc_bc_base(struct net *net) in tipc_bc_base() 86 int tipc_bcast_get_mtu(struct net *net) in tipc_bcast_get_mtu() 91 void tipc_bcast_toggle_rcast(struct net *net, bool supp) in tipc_bcast_toggle_rcast() 96 static void tipc_bcbase_calc_bc_threshold(struct net *net) in tipc_bcbase_calc_bc_threshold() 107 static void tipc_bcbase_select_primary(struct net *net) in tipc_bcbase_select_primary() 147 void tipc_bcast_inc_bearer_dst_cnt(struct net *net, int bearer_id) in tipc_bcast_inc_bearer_dst_cnt() 157 void tipc_bcast_dec_bearer_dst_cnt(struct net *net, int bearer_id) in tipc_bcast_dec_bearer_dst_cnt() 177 static void tipc_bcbase_xmit(struct net *net, struct sk_buff_head *xmitq) in tipc_bcbase_xmit() 212 static void tipc_bcast_select_xmit_method(struct net *net, int dests, in tipc_bcast_select_xmit_method() 259 int tipc_bcast_xmit(struct net *net, struct sk_buff_head *pkts, in tipc_bcast_xmit() [all …]
|
| H A D | bearer.c | 62 static struct tipc_bearer *bearer_get(struct net *net, int bearer_id) in bearer_get() argument 181 struct tipc_bearer *tipc_bearer_find(struct net *ne argument 200 tipc_bearer_get_name(struct net * net,char * name,u32 bearer_id) tipc_bearer_get_name() argument 216 tipc_bearer_add_dest(struct net * net,u32 bearer_id,u32 dest) tipc_bearer_add_dest() argument 227 tipc_bearer_remove_dest(struct net * net,u32 bearer_id,u32 dest) tipc_bearer_remove_dest() argument 247 tipc_enable_bearer(struct net * net,const char * name,u32 disc_domain,u32 prio,struct nlattr * attr[],struct netlink_ext_ack * extack) tipc_enable_bearer() argument 381 tipc_reset_bearer(struct net * net,struct tipc_bearer * b) tipc_reset_bearer() argument 407 bearer_disable(struct net * net,struct tipc_bearer * b) bearer_disable() argument 424 tipc_enable_l2_media(struct net * net,struct tipc_bearer * b,struct nlattr * attr[]) tipc_enable_l2_media() argument 496 tipc_l2_send_msg(struct net * net,struct sk_buff * skb,struct tipc_bearer * b,struct tipc_media_addr * dest) tipc_l2_send_msg() argument 520 tipc_bearer_bcast_support(struct net * net,u32 bearer_id) tipc_bearer_bcast_support() argument 533 tipc_bearer_mtu(struct net * net,u32 bearer_id) tipc_bearer_mtu() argument 546 tipc_bearer_min_mtu(struct net * net,u32 bearer_id) tipc_bearer_min_mtu() argument 561 tipc_bearer_xmit_skb(struct net * net,u32 bearer_id,struct sk_buff * skb,struct tipc_media_addr * dest) tipc_bearer_xmit_skb() argument 584 tipc_bearer_xmit(struct net * net,u32 bearer_id,struct sk_buff_head * xmitq,struct tipc_media_addr * dst,struct tipc_node * __dnode) tipc_bearer_xmit() argument 616 tipc_bearer_bc_xmit(struct net * net,u32 bearer_id,struct sk_buff_head * xmitq) tipc_bearer_bc_xmit() argument 690 struct net *net = dev_net(dev); tipc_l2_device_event() local 748 tipc_bearer_stop(struct net * net) tipc_bearer_stop() argument 763 tipc_clone_to_loopback(struct net * net,struct sk_buff_head * pkts) tipc_clone_to_loopback() argument 798 tipc_attach_loopback(struct net * net) tipc_attach_loopback() argument 814 tipc_detach_loopback(struct net * net) tipc_detach_loopback() argument 885 struct net *net = sock_net(skb->sk); tipc_nl_bearer_dump() local 919 struct net *net = genl_info_net(info); tipc_nl_bearer_get() local 969 struct net *net = sock_net(skb->sk); __tipc_nl_bearer_disable() local 1012 struct net *net = sock_net(skb->sk); __tipc_nl_bearer_enable() local 1068 struct net *net = sock_net(skb->sk); tipc_nl_bearer_add() local 1113 struct net *net = sock_net(skb->sk); __tipc_nl_bearer_set() local [all...] |
| H A D | net.c | 111 int tipc_net_init(struct net *net, u8 *node_id, u32 addr) in tipc_net_init() 126 static void tipc_net_finalize(struct net *net, u32 addr) in tipc_net_finalize() 153 void tipc_net_stop(struct net *net) in tipc_net_stop() 166 static int __tipc_nl_add_net(struct net *net, struct tipc_nl_msg *msg) in __tipc_nl_add_net() 204 struct net *net = sock_net(skb->sk); in tipc_nl_net_dump() local 230 struct net *net = sock_net(skb->sk); in __tipc_nl_net_set() local 293 static int __tipc_nl_addr_legacy_get(struct net *net, struct tipc_nl_msg *msg) in __tipc_nl_addr_legacy_get() 327 struct net *net = sock_net(skb->sk); in tipc_nl_net_addr_legacy_get() local
|
| H A D | name_distr.c | 67 static struct sk_buff *named_prepare_buf(struct net *net, u32 type, u32 size, in named_prepare_buf() argument 88 struct sk_buff *tipc_named_publish(struct net *net, struct publication *p) in tipc_named_publish() argument 118 tipc_named_withdraw(struct net * net,struct publication * p) tipc_named_withdraw() argument 150 named_distribute(struct net * net,struct sk_buff_head * list,u32 dnode,struct list_head * pls,u16 seqno) named_distribute() argument 206 tipc_named_node_up(struct net * net,u32 dnode,u16 capabilities) tipc_named_node_up() argument 235 tipc_publ_purge(struct net * net,struct publication * p,u32 addr) tipc_publ_purge() argument 252 tipc_publ_notify(struct net * net,struct list_head * nsub_list,u32 addr,u16 capabilities) tipc_publ_notify() argument 279 tipc_update_nametbl(struct net * net,struct distr_item * i,u32 node,u32 dtype) tipc_update_nametbl() argument 364 tipc_named_rcv(struct net * net,struct sk_buff_head * namedq,u16 * rcv_nxt,bool * open) tipc_named_rcv() argument 396 tipc_named_reinit(struct net * net) tipc_named_reinit() argument [all...] |
| /linux/net/core/ |
| H A D | net_namespace.c | 83 static int net_assign_generic(struct net *net, unsigned int id, void *data) in net_assign_generic() 120 static int ops_init(const struct pernet_operations *ops, struct net *net) in ops_init() 157 struct net *net; in ops_pre_exit_list() local 171 struct net *net; in ops_exit_rtnl_list() local 197 struct net *net; in ops_exit_list() local 212 struct net *net; in ops_free_list() local 271 static int alloc_netid(struct net *net, struct net *peer, int reqid) in alloc_netid() 289 static int net_eq_idr(int id, void *net, void *peer) in net_eq_idr() 297 static int __peernet2id(const struct net *net, struct net *peer) in __peernet2id() 315 int peernet2id_alloc(struct net *net, struct net *peer, gfp_t gfp) in peernet2id_alloc() [all …]
|
| /linux/net/sctp/ |
| H A D | sm_statefuns.c | 234 enum sctp_disposition sctp_sf_do_4_C(struct net *net, in sctp_sf_do_4_C() 319 enum sctp_disposition sctp_sf_do_5_1B_init(struct net *net, in sctp_sf_do_5_1B_init() 521 enum sctp_disposition sctp_sf_do_5_1C_ack(struct net *net, in sctp_sf_do_5_1C_ack() 640 static bool sctp_auth_chunk_verify(struct net *net, struct sctp_chunk *chunk, in sctp_auth_chunk_verify() 703 enum sctp_disposition sctp_sf_do_5_1D_ce(struct net *net, in sctp_sf_do_5_1D_ce() 938 enum sctp_disposition sctp_sf_do_5_1E_ca(struct net *net, in sctp_sf_do_5_1E_ca() 1057 enum sctp_disposition sctp_sf_sendbeat_8_3(struct net *net, in sctp_sf_sendbeat_8_3() 1105 enum sctp_disposition sctp_sf_send_reconf(struct net *net, in sctp_sf_send_reconf() 1134 enum sctp_disposition sctp_sf_send_probe(struct net *net, in sctp_sf_send_probe() 1182 enum sctp_disposition sctp_sf_beat_8_3(struct net *net, in sctp_sf_beat_8_3() [all …]
|
| /linux/net/ipv4/ |
| H A D | fib_frontend.c | 53 static int __net_init fib4_rules_init(struct net *net) in fib4_rules_init() 77 struct fib_table *fib_new_table(struct net *net, u32 id) in fib_new_table() 129 struct fib_table *fib_get_table(struct net *net, u32 id) in fib_get_table() 154 static void fib_replace_table(struct net *net, struct fib_table *old, in fib_replace_table() 174 int fib_unmerge(struct net *net) in fib_unmerge() 206 void fib_flush(struct net *net) in fib_flush() 227 static inline unsigned int __inet_dev_addr_type(struct net *net, in __inet_dev_addr_type() 258 unsigned int inet_addr_type_table(struct net *net, __be32 addr, u32 tb_id) in inet_addr_type_table() 264 unsigned int inet_addr_type(struct net *net, __be32 addr) in inet_addr_type() 270 unsigned int inet_dev_addr_type(struct net *net, const struct net_device *dev, in inet_dev_addr_type() [all …]
|
| H A D | ipmr.c | 121 #define ipmr_for_each_table(mrt, net) \ argument 126 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter() 143 static struct mr_table *__ipmr_get_table(struct net *net, u32 id) in __ipmr_get_table() 154 static int ipmr_fib_lookup(struct net *net, struct flowi4 *flp4, in ipmr_fib_lookup() 242 static int __net_init ipmr_rules_init(struct net *net) in ipmr_rules_init() 275 static void __net_exit ipmr_rules_exit(struct net *net) in ipmr_rules_exit() 280 static void __net_exit ipmr_rules_exit_rtnl(struct net *net, in ipmr_rules_exit_rtnl() 291 static int ipmr_rules_dump(struct net *net, struct notifier_block *nb, in ipmr_rules_dump() 297 static unsigned int ipmr_rules_seq_read(const struct net *net) in ipmr_rules_seq_read() 308 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter() [all …]
|
| H A D | sysctl_net_ipv4.c | 58 static void set_local_port_range(struct net *net, unsigned int low, unsigned int high) in set_local_port_range() 73 struct net *net = table->data; in ipv4_local_port_range() local 107 struct net *net = container_of(table->data, struct net, in ipv4_privileged_ports() local 142 struct net *net = in inet_get_ping_group_range_table() local 158 struct net *net = in set_ping_group_range() local 205 struct net *net; in ipv4_fwd_update_priority() local 221 struct net *net = container_of(ctl->data, struct net, in proc_tcp_congestion_control() local 294 struct net *net = container_of(table->data, struct net, in proc_tcp_fastopen_key() local 366 struct net *net = container_of(table->data, struct net, in proc_tfo_blackhole_detect_timeout() local 397 struct net *net = container_of(table->data, struct net, in proc_tcp_ehash_entries() local [all …]
|
| /linux/net/ipv6/ |
| H A D | ip6_fib.c | 44 struct net *net; member 75 #define FOR_WALKERS(net, w) \ argument 78 static void fib6_walker_link(struct net *net, struct fib6_walker *w) in fib6_walker_link() 85 static void fib6_walker_unlink(struct net *net, struct fib6_walker *w) in fib6_walker_unlink() 92 static int fib6_new_sernum(struct net *net) in fib6_new_sernum() 107 void fib6_update_sernum(struct net *net, struct fib6_info *f6i) in fib6_update_sernum() 184 static struct fib6_node *node_alloc(struct net *net) in node_alloc() 195 static void node_free_immediate(struct net *net, struct fib6_node *fn) in node_free_immediate() 201 static void node_free(struct net *net, struct fib6_node *fn) in node_free() 213 static void fib6_link_table(struct net *net, struct fib6_table *tb) in fib6_link_table() [all …]
|
| H A D | ip6_input.c | 51 struct net *net = dev_net_rcu(skb->dev); in tcp_v6_early_demux() local 88 static void ip6_rcv_finish_core(struct net *net, struct sock *sk, in ip6_rcv_finish_core() 109 int ip6_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6_rcv_finish() 139 static struct sk_buff *ip6_extract_route_hint(const struct net *net, in ip6_extract_route_hint() 149 static void ip6_list_rcv_finish(struct net *net, struct sock *sk, in ip6_list_rcv_finish() 189 struct net *net) in ip6_rcv_core() 346 struct net *net = dev_net(skb->dev); in ipv6_rcv() local 357 struct net *net) in ip6_sublist_rcv() 375 struct net *net = dev_net(dev); in ipv6_list_rcv() local 403 void ip6_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int nexthdr, in ip6_protocol_deliver_rcu() [all …]
|
| /linux/kernel/bpf/ |
| H A D | net_namespace.c | 20 struct net *net; member 55 static void netns_bpf_run_array_detach(struct net *net, in netns_bpf_run_array_detach() 65 static int link_index(struct net *net, enum netns_bpf_attach_type type, in link_index() 79 static int link_count(struct net *net, enum netns_bpf_attach_type type) in link_count() 89 static void fill_prog_array(struct net *net, enum netns_bpf_attach_type type, in fill_prog_array() 107 struct net *net; in bpf_netns_link_release() local 171 struct net *net; in bpf_netns_link_update_prog() local 204 struct net *net; in bpf_netns_link_fill_info() local 242 struct net *net, in __netns_bpf_prog_query() 269 struct net *net; in netns_bpf_prog_query() local [all …]
|
| /linux/net/netfilter/ |
| H A D | nf_log.c | 45 int nf_log_set(struct net *net, u_int8_t pf, const struct nf_logger *logger) in nf_log_set() 63 void nf_log_unset(struct net *net, const struct nf_logger *logger) in nf_log_unset() 154 int nf_log_bind_pf(struct net *net, u_int8_t pf, in nf_log_bind_pf() 170 void nf_log_unbind_pf(struct net *net, u_int8_t pf) in nf_log_unbind_pf() 237 void nf_log_packet(struct net *net, in nf_log_packet() 266 void nf_log_trace(struct net *net, in nf_log_trace() 350 struct net *net = seq_file_net(seq); in seq_start() local 362 struct net *net = seq_file_net(s); in seq_next() local 382 struct net *net = seq_file_net(s); in seq_show() local 444 struct net *net = table->extra2; in nf_log_proc_dostring() local [all …]
|
| H A D | nf_conntrack_standalone.c | 101 static struct nf_conntrack_tuple_hash *ct_get_next(const struct net *net, in ct_get_next() 152 struct net *net = seq_file_net(seq); in ct_seq_start() local 173 struct net *net = seq_file_net(s); in ct_seq_next() local 307 struct net *net = seq_file_net(s); in ct_seq_show() local 402 struct net *net = seq_file_net(seq); in ct_cpu_seq_start() local 420 struct net *net = seq_file_net(seq); in ct_cpu_seq_next() local 439 struct net *net = seq_file_net(seq); in ct_cpu_seq_show() local 481 static int nf_conntrack_standalone_init_proc(struct net *net) in nf_conntrack_standalone_init_proc() 509 static void nf_conntrack_standalone_fini_proc(struct net *net) in nf_conntrack_standalone_fini_proc() 515 static int nf_conntrack_standalone_init_proc(struct net *net) in nf_conntrack_standalone_init_proc() [all …]
|
| /linux/net/mctp/ |
| H A D | route.c | 43 static struct mctp_sock *mctp_lookup_bind_details(struct net *net, in mctp_lookup_bind_details() 81 static struct mctp_sock *mctp_lookup_bind(struct net *net, struct sk_buff *skb) in mctp_lookup_bind() 163 static bool mctp_key_match(struct mctp_sk_key *key, unsigned int net, in mctp_key_match() 184 static struct mctp_sk_key *mctp_lookup_key(struct net *net, struct sk_buff *skb, in mctp_lookup_key() 224 unsigned int net, in mctp_key_alloc() 267 struct net *net = sock_net(&msk->sk); in mctp_key_add() local 312 static void __mctp_key_done_in(struct mctp_sk_key *key, struct net *net, in __mctp_key_done_in() 437 struct net *net = dev_net(skb->dev); in mctp_dst_input() local 694 unsigned int mctp_default_net(struct net *net) in mctp_default_net() 699 int mctp_default_net_set(struct net *net, unsigned int index) in mctp_default_net_set() [all …]
|
| /linux/net/smc/ |
| H A D | smc_pnet.c | 101 static int smc_pnet_remove_by_pnetid(struct net *net, char *pnet_name) in smc_pnet_remove_by_pnetid() argument 189 struct net *net in smc_pnet_add_by_ndev() local 221 struct net *net = dev_net(ndev); smc_pnet_remove_by_ndev() local 348 smc_pnet_add_eth(struct smc_pnettable * pnettable,struct net * net,char * eth_name,char * pnet_name) smc_pnet_add_eth() argument 477 smc_pnet_enter(struct net * net,struct nlattr * tb[]) smc_pnet_enter() argument 562 struct net *net = genl_info_net(info); smc_pnet_add() local 569 struct net *net = genl_info_net(info); smc_pnet_del() local 601 _smc_pnet_dump(struct net * net,struct sk_buff * skb,u32 portid,u32 seq,u8 * pnetid,int start_idx) _smc_pnet_dump() argument 635 struct net *net = sock_net(skb->sk); smc_pnet_dump() local 648 struct net *net = genl_info_net(info); smc_pnet_get() local 676 struct net *net = genl_info_net(info); smc_pnet_flush() local 726 smc_pnet_is_ndev_pnetid(struct net * net,u8 * pnetid) smc_pnet_is_ndev_pnetid() argument 745 smc_pnet_add_pnetid(struct net * net,u8 * pnetid) smc_pnet_add_pnetid() argument 771 smc_pnet_remove_pnetid(struct net * net,u8 * pnetid) smc_pnet_remove_pnetid() argument 789 smc_pnet_add_base_pnetid(struct net * net,struct net_device * dev,u8 * ndev_pnetid) smc_pnet_add_base_pnetid() argument 804 smc_pnet_create_pnetids_list(struct net * net) smc_pnet_create_pnetids_list() argument 826 smc_pnet_destroy_pnetids_list(struct net * net) smc_pnet_destroy_pnetids_list() argument 843 struct net *net = dev_net(event_dev); smc_pnet_netdev_event() local 877 smc_pnet_net_init(struct net * net) smc_pnet_net_init() argument 908 smc_pnet_net_exit(struct net * net) smc_pnet_net_exit() argument 955 struct net *net = dev_net(ndev); smc_pnet_find_ndev_pnetid_by_table() local 1001 _smc_pnet_find_roce_by_pnetid(u8 * pnet_id,struct smc_init_info * ini,struct smc_ib_device * known_dev,struct net * net) _smc_pnet_find_roce_by_pnetid() argument 1031 struct net *net = lgr->net; smc_pnet_find_alt_roce() local 1042 struct net *net = dev_net(netdev); smc_pnet_find_rdma_dev() local 1083 struct net *net; smc_pnet_find_roce_by_pnetid() local [all...] |
| /linux/drivers/usb/gadget/function/ |
| H A D | u_ether.c | 62 struct net_device *net; member 110 static void eth_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *p) in eth_get_drvinfo() 458 struct net_device *net) in eth_start_xmit() 617 static int eth_open(struct net_device *net) in eth_open() 635 static int eth_stop(struct net_device *net) in eth_stop() 747 struct net_device *net; in gether_setup_name() local 819 struct net_device *net; in gether_setup_name_default() local 860 int gether_register_netdev(struct net_device *net) in gether_register_netdev() 892 void gether_set_gadget(struct net_device *net, struct usb_gadget *g) in gether_set_gadget() 902 int gether_attach_gadget(struct net_device *net, struct usb_gadget *g) in gether_attach_gadget() [all …]
|
| /linux/fs/lockd/ |
| H A D | svc.c | 86 static unsigned long get_lockd_grace_period(struct net *net) in get_lockd_grace_period() 110 static void set_grace_period(struct net *net) in set_grace_period() 127 struct net *net = &init_net; in lockd() local 158 struct net *net, const int family, in create_lockd_listener() 172 static int create_lockd_family(struct svc_serv *serv, struct net *net, in create_lockd_family() 197 static int make_socks(struct svc_serv *serv, struct net *net, in make_socks() 222 static int lockd_up_net(struct svc_serv *serv, struct net *net, in lockd_up_net() 247 static void lockd_down_net(struct svc_serv *serv, struct net *net) in lockd_down_net() 388 int lockd_up(struct net *net, const struct cred *cred) in lockd_up() 414 lockd_down(struct net *net) in lockd_down() [all …]
|
| /linux/net/bridge/ |
| H A D | br_netfilter_hooks.c | 92 static inline bool is_vlan_ip(const struct sk_buff *skb, const struct net *net) in is_vlan_ip() 100 const struct net *net) in is_vlan_ipv6() 108 static inline bool is_vlan_arp(const struct sk_buff *skb, const struct net *net) in is_vlan_arp() 121 static inline bool is_pppoe_ip(const struct sk_buff *skb, const struct net *net) in is_pppoe_ip() 130 const struct net *net) in is_pppoe_ipv6() 206 static int br_validate_ipv4(struct net *net, struct sk_buff *skb) in br_validate_ipv4() 276 int br_nf_pre_routing_finish_bridge(struct net *net, struct sock *sk, struct sk_buff *skb) in br_nf_pre_routing_finish_bridge() 376 static int br_nf_pre_routing_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in br_nf_pre_routing_finish() 437 const struct net *net) in brnf_get_logical_dev() 454 struct net_device *setup_pre_routing(struct sk_buff *skb, const struct net *net) in setup_pre_routing() [all …]
|
| /linux/fs/nfs_common/ |
| H A D | grace.c | 30 locks_start_grace(struct net *net, struct lock_manager *lm) in locks_start_grace() 64 __state_in_grace(struct net *net, bool open) in __state_in_grace() 91 bool locks_in_grace(struct net *net) in locks_in_grace() 97 bool opens_in_grace(struct net *net) in opens_in_grace() 104 grace_init_net(struct net *net) in grace_init_net() 113 grace_exit_net(struct net *net) in grace_exit_net()
|
| /linux/fs/nfsd/ |
| H A D | nfssvc.c | 207 bool nfsd_net_try_get(struct net *net) __must_hold(rcu) in nfsd_net_try_get() 214 void nfsd_net_put(struct net *net) __must_hold(rcu) in nfsd_net_put() 246 int nfsd_nrthreads(struct net *net) in nfsd_nrthreads() 355 static int nfsd_startup_net(struct net *net, const struct cred *cred) in nfsd_startup_net() 412 static void nfsd_shutdown_net(struct net *net) in nfsd_shutdown_net() 444 struct net *net = dev_net(dev); in nfsd_inetaddr_event() local 474 struct net *net = dev_net(dev); in nfsd_inet6addr_event() local 508 void nfsd_destroy_serv(struct net *net) in nfsd_destroy_serv() 577 void nfsd_shutdown_threads(struct net *net) in nfsd_shutdown_threads() 602 int nfsd_create_serv(struct net *net) in nfsd_create_serv() [all …]
|
| /linux/drivers/net/thunderbolt/ |
| H A D | main.c | 242 static int tbnet_login_response(struct tbnet *net, u64 route, u8 sequence, in tbnet_login_response() 259 static int tbnet_login_request(struct tbnet *net, u8 sequence) in tbnet_login_request() 279 static int tbnet_logout_response(struct tbnet *net, u64 route, u8 sequence, in tbnet_logout_response() 293 static int tbnet_logout_request(struct tbnet *net) in tbnet_logout_request() 310 static void start_login(struct tbnet *net) in start_login() 323 static void stop_login(struct tbnet *net) in stop_login() 369 static void tbnet_tear_down(struct tbnet *net, bool send_logout) in tbnet_tear_down() 428 struct tbnet *net = data; in tbnet_handle_packet() local 506 static int tbnet_alloc_rx_buffers(struct tbnet *net, unsigned int nbuffers) in tbnet_alloc_rx_buffers() 555 static struct tbnet_frame *tbnet_get_tx_buffer(struct tbnet *net) in tbnet_get_tx_buffer() [all …]
|
| /linux/net/xfrm/ |
| H A D | xfrm_policy.c | 121 possible_net_t net; member 301 struct net *net = xs_net(x); in xfrm_dst_lookup() local 431 struct xfrm_policy *xfrm_policy_alloc(struct net *net, gfp_t gfp) in xfrm_policy_alloc() 482 struct net *net = xp_net(policy); in xfrm_policy_kill() local 512 static inline unsigned int idx_hash(struct net *net, u32 index) in idx_hash() 518 static void __get_hash_thresh(struct net *net, in __get_hash_thresh() 539 static struct hlist_head *policy_hash_bysel(struct net *net, in policy_hash_bysel() 558 static struct hlist_head *policy_hash_direct(struct net *net, in policy_hash_direct() 575 static void xfrm_dst_hash_transfer(struct net *net, in xfrm_dst_hash_transfer() 632 static void xfrm_bydst_resize(struct net *net, int dir) in xfrm_bydst_resize() [all …]
|