Home
last modified time | relevance | path

Searched defs:net (Results 1 – 25 of 750) sorted by relevance

12345678910>>...30

/Linux-v4.19/include/net/
Dnet_namespace.h51 struct net { struct
52 refcount_t passive; /* To decided when the network argument
55 refcount_t count; /* To decided when the network argument
62 struct list_head list; /* list of network namespaces */ argument
63 struct list_head exit_list; /* To linked to call pernet exit argument
64 * methods on dead net ( argument
74 struct idr netns_ids; argument
78 struct proc_dir_entry *proc_net; argument
79 struct proc_dir_entry *proc_net_stat; argument
85 struct sock *rtnl; /* rtnetlink socket */ argument
[all …]
/Linux-v4.19/net/core/
Dnet_namespace.c76 static int net_assign_generic(struct net *net, unsigned int id, void *data) in net_assign_generic()
113 static int ops_init(const struct pernet_operations *ops, struct net *net) in ops_init()
140 static void ops_free(const struct pernet_operations *ops, struct net *net) in ops_free()
150 struct net *net; in ops_exit_list() local
162 struct net *net; in ops_free_list() local
170 static int alloc_netid(struct net *net, struct net *peer, int reqid) in alloc_netid()
188 static int net_eq_idr(int id, void *net, void *peer) in net_eq_idr()
199 static int __peernet2id_alloc(struct net *net, struct net *peer, bool *alloc) in __peernet2id_alloc()
222 static int __peernet2id(struct net *net, struct net *peer) in __peernet2id()
233 int peernet2id_alloc(struct net *net, struct net *peer) in peernet2id_alloc()
[all …]
Dfib_notifier.c12 int call_fib_notifier(struct notifier_block *nb, struct net *net, in call_fib_notifier()
24 int call_fib_notifiers(struct net *net, enum fib_event_type event_type, in call_fib_notifiers()
39 struct net *net; in fib_seq_sum() local
59 static int fib_net_dump(struct net *net, struct notifier_block *nb) in fib_net_dump()
99 struct net *net; in register_fib_notifier() local
128 struct net *net) in __fib_notifier_ops_register()
140 fib_notifier_ops_register(const struct fib_notifier_ops *tmpl, struct net *net) in fib_notifier_ops_register()
168 static int __net_init fib_notifier_net_init(struct net *net) in fib_notifier_net_init()
174 static void __net_exit fib_notifier_net_exit(struct net *net) in fib_notifier_net_exit()
/Linux-v4.19/net/tipc/
Dbcast.c72 static struct tipc_bc_base *tipc_bc_base(struct net *net) in tipc_bc_base()
81 int tipc_bcast_get_mtu(struct net *net) in tipc_bcast_get_mtu()
86 void tipc_bcast_disable_rcast(struct net *net) in tipc_bcast_disable_rcast()
91 static void tipc_bcbase_calc_bc_threshold(struct net *net) in tipc_bcbase_calc_bc_threshold()
102 static void tipc_bcbase_select_primary(struct net *net) in tipc_bcbase_select_primary()
136 void tipc_bcast_inc_bearer_dst_cnt(struct net *net, int bearer_id) in tipc_bcast_inc_bearer_dst_cnt()
146 void tipc_bcast_dec_bearer_dst_cnt(struct net *net, int bearer_id) in tipc_bcast_dec_bearer_dst_cnt()
166 static void tipc_bcbase_xmit(struct net *net, struct sk_buff_head *xmitq) in tipc_bcbase_xmit()
201 static void tipc_bcast_select_xmit_method(struct net *net, int dests, in tipc_bcast_select_xmit_method()
233 static int tipc_bcast_xmit(struct net *net, struct sk_buff_head *pkts, in tipc_bcast_xmit()
[all …]
Dname_distr.c68 static struct sk_buff *named_prepare_buf(struct net *net, u32 type, u32 size, in named_prepare_buf()
87 struct sk_buff *tipc_named_publish(struct net *net, struct publication *publ) in tipc_named_publish()
113 struct sk_buff *tipc_named_withdraw(struct net *net, struct publication *publ) in tipc_named_withdraw()
140 static void named_distribute(struct net *net, struct sk_buff_head *list, in named_distribute()
185 void tipc_named_node_up(struct net *net, u32 dnode) in tipc_named_node_up()
205 static void tipc_publ_purge(struct net *net, struct publication *publ, u32 addr) in tipc_publ_purge()
230 static void tipc_dist_queue_purge(struct net *net, u32 addr) in tipc_dist_queue_purge()
245 void tipc_publ_notify(struct net *net, struct list_head *nsub_list, u32 addr) in tipc_publ_notify()
261 static bool tipc_update_nametbl(struct net *net, struct distr_item *i, in tipc_update_nametbl()
298 void tipc_named_rcv(struct net *net, struct sk_buff_head *inputq) in tipc_named_rcv()
[all …]
Daddr.h46 static inline u32 tipc_own_addr(struct net *net) in tipc_own_addr()
51 static inline u8 *tipc_own_id(struct net *net) in tipc_own_id()
60 static inline char *tipc_own_id_string(struct net *net) in tipc_own_id_string()
75 static inline int tipc_scope2node(struct net *net, int sc) in tipc_scope2node()
80 static inline int in_own_node(struct net *net, u32 addr) in in_own_node()
Dbearer.c60 static struct tipc_bearer *bearer_get(struct net *net, int bearer_id) in bearer_get()
170 struct tipc_bearer *tipc_bearer_find(struct net *net, const char *name) in tipc_bearer_find()
189 int tipc_bearer_get_name(struct net *net, char *name, u32 bearer_id) in tipc_bearer_get_name()
205 void tipc_bearer_add_dest(struct net *net, u32 bearer_id, u32 dest) in tipc_bearer_add_dest()
217 void tipc_bearer_remove_dest(struct net *net, u32 bearer_id, u32 dest) in tipc_bearer_remove_dest()
232 static int tipc_enable_bearer(struct net *net, const char *name, in tipc_enable_bearer()
345 static int tipc_reset_bearer(struct net *net, struct tipc_bearer *b) in tipc_reset_bearer()
358 static void bearer_disable(struct net *net, struct tipc_bearer *b) in bearer_disable()
375 int tipc_enable_l2_media(struct net *net, struct tipc_bearer *b, in tipc_enable_l2_media()
440 int tipc_l2_send_msg(struct net *net, struct sk_buff *skb, in tipc_l2_send_msg()
[all …]
/Linux-v4.19/net/ipv4/
Dfib_frontend.c54 static int __net_init fib4_rules_init(struct net *net) in fib4_rules_init()
77 static bool fib4_has_custom_rules(struct net *net) in fib4_has_custom_rules()
83 struct fib_table *fib_new_table(struct net *net, u32 id) in fib_new_table()
119 struct fib_table *fib_get_table(struct net *net, u32 id) in fib_get_table()
137 static bool fib4_has_custom_rules(struct net *net) in fib4_has_custom_rules()
143 static void fib_replace_table(struct net *net, struct fib_table *old, in fib_replace_table()
163 int fib_unmerge(struct net *net) in fib_unmerge()
195 static void fib_flush(struct net *net) in fib_flush()
217 static inline unsigned int __inet_dev_addr_type(struct net *net, in __inet_dev_addr_type()
246 unsigned int inet_addr_type_table(struct net *net, __be32 addr, u32 tb_id) in inet_addr_type_table()
[all …]
Dipmr.c116 #define ipmr_for_each_table(mrt, net) \ argument
119 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
136 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
147 static int ipmr_fib_lookup(struct net *net, struct flowi4 *flp4, in ipmr_fib_lookup()
240 static int __net_init ipmr_rules_init(struct net *net) in ipmr_rules_init()
272 static void __net_exit ipmr_rules_exit(struct net *net) in ipmr_rules_exit()
285 static int ipmr_rules_dump(struct net *net, struct notifier_block *nb) in ipmr_rules_dump()
290 static unsigned int ipmr_rules_seq_read(struct net *net) in ipmr_rules_seq_read()
301 #define ipmr_for_each_table(mrt, net) \ argument
304 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
[all …]
Dfib_notifier.c12 int call_fib4_notifier(struct notifier_block *nb, struct net *net, in call_fib4_notifier()
20 int call_fib4_notifiers(struct net *net, enum fib_event_type event_type, in call_fib4_notifiers()
30 static unsigned int fib4_seq_read(struct net *net) in fib4_seq_read()
37 static int fib4_dump(struct net *net, struct notifier_block *nb) in fib4_dump()
57 int __net_init fib4_notifier_init(struct net *net) in fib4_notifier_init()
71 void __net_exit fib4_notifier_exit(struct net *net) in fib4_notifier_exit()
/Linux-v4.19/net/ipv6/
Dip6_fib.c45 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()
108 void fib6_update_sernum(struct net *net, struct fib6_info *f6i) in fib6_update_sernum()
216 static struct fib6_node *node_alloc(struct net *net) in node_alloc()
227 static void node_free_immediate(struct net *net, struct fib6_node *fn) in node_free_immediate()
240 static void node_free(struct net *net, struct fib6_node *fn) in node_free()
252 static void fib6_link_table(struct net *net, struct fib6_table *tb) in fib6_link_table()
[all …]
Dip6mr.c100 #define ip6mr_for_each_table(mrt, net) \ argument
103 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
120 static struct mr_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
131 static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6, in ip6mr_fib_lookup()
219 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init()
251 static void __net_exit ip6mr_rules_exit(struct net *net) in ip6mr_rules_exit()
264 static int ip6mr_rules_dump(struct net *net, struct notifier_block *nb) in ip6mr_rules_dump()
269 static unsigned int ip6mr_rules_seq_read(struct net *net) in ip6mr_rules_seq_read()
281 #define ip6mr_for_each_table(mrt, net) \ argument
284 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
[all …]
Dfib6_notifier.c10 int call_fib6_notifier(struct notifier_block *nb, struct net *net, in call_fib6_notifier()
18 int call_fib6_notifiers(struct net *net, enum fib_event_type event_type, in call_fib6_notifiers()
25 static unsigned int fib6_seq_read(struct net *net) in fib6_seq_read()
30 static int fib6_dump(struct net *net, struct notifier_block *nb) in fib6_dump()
48 int __net_init fib6_notifier_init(struct net *net) in fib6_notifier_init()
60 void __net_exit fib6_notifier_exit(struct net *net) in fib6_notifier_exit()
Dreassembly.c79 struct net *net; in ip6_frag_expire() local
88 fq_find(struct net *net, __be32 id, const struct ipv6hdr *hdr, int iif) in fq_find()
117 struct net *net = dev_net(skb_dst(skb)->dev); in ip6_frag_queue() local
282 struct net *net = container_of(fq->q.net, struct net, ipv6.frags); in ip6_frag_reasm() local
429 struct net *net = dev_net(skb_dst(skb)->dev); in ipv6_frag_rcv() local
543 static int __net_init ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register()
576 static void __net_exit ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister()
600 static int ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register()
605 static void ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister()
619 static int __net_init ipv6_frags_init_net(struct net *net) in ipv6_frags_init_net()
[all …]
/Linux-v4.19/net/sctp/
Dsm_statefuns.c223 enum sctp_disposition sctp_sf_do_4_C(struct net *net, in sctp_sf_do_4_C()
308 enum sctp_disposition sctp_sf_do_5_1B_init(struct net *net, in sctp_sf_do_5_1B_init()
507 enum sctp_disposition sctp_sf_do_5_1C_ack(struct net *net, in sctp_sf_do_5_1C_ack()
626 static bool sctp_auth_chunk_verify(struct net *net, struct sctp_chunk *chunk, in sctp_auth_chunk_verify()
689 enum sctp_disposition sctp_sf_do_5_1D_ce(struct net *net, in sctp_sf_do_5_1D_ce()
903 enum sctp_disposition sctp_sf_do_5_1E_ca(struct net *net, in sctp_sf_do_5_1E_ca()
1020 enum sctp_disposition sctp_sf_sendbeat_8_3(struct net *net, in sctp_sf_sendbeat_8_3()
1068 enum sctp_disposition sctp_sf_send_reconf(struct net *net, in sctp_sf_send_reconf()
1120 enum sctp_disposition sctp_sf_beat_8_3(struct net *net, in sctp_sf_beat_8_3()
1194 enum sctp_disposition sctp_sf_backbeat_8_3(struct net *net, in sctp_sf_backbeat_8_3()
[all …]
/Linux-v4.19/net/netfilter/
Dnf_conntrack_ecache.c126 struct net *net = nf_ct_net(ct); in nf_conntrack_eventmask_report() local
182 struct net *net = nf_ct_net(ct); in nf_ct_deliver_cached_events() local
237 struct net *net = nf_ct_exp_net(exp); in nf_ct_expect_event_report() local
262 int nf_conntrack_register_notifier(struct net *net, in nf_conntrack_register_notifier()
284 void nf_conntrack_unregister_notifier(struct net *net, in nf_conntrack_unregister_notifier()
299 int nf_ct_expect_register_notifier(struct net *net, in nf_ct_expect_register_notifier()
321 void nf_ct_expect_unregister_notifier(struct net *net, in nf_ct_expect_unregister_notifier()
359 static int nf_conntrack_event_init_sysctl(struct net *net) in nf_conntrack_event_init_sysctl()
388 static void nf_conntrack_event_fini_sysctl(struct net *net) in nf_conntrack_event_fini_sysctl()
397 static int nf_conntrack_event_init_sysctl(struct net *net) in nf_conntrack_event_init_sysctl()
[all …]
Dnf_conntrack_timestamp.c45 static int nf_conntrack_tstamp_init_sysctl(struct net *net) in nf_conntrack_tstamp_init_sysctl()
74 static void nf_conntrack_tstamp_fini_sysctl(struct net *net) in nf_conntrack_tstamp_fini_sysctl()
83 static int nf_conntrack_tstamp_init_sysctl(struct net *net) in nf_conntrack_tstamp_init_sysctl()
88 static void nf_conntrack_tstamp_fini_sysctl(struct net *net) in nf_conntrack_tstamp_fini_sysctl()
93 int nf_conntrack_tstamp_pernet_init(struct net *net) in nf_conntrack_tstamp_pernet_init()
99 void nf_conntrack_tstamp_pernet_fini(struct net *net) in nf_conntrack_tstamp_pernet_fini()
Dnf_log.c44 int nf_log_set(struct net *net, u_int8_t pf, const struct nf_logger *logger) in nf_log_set()
62 void nf_log_unset(struct net *net, const struct nf_logger *logger) in nf_log_unset()
127 int nf_log_bind_pf(struct net *net, u_int8_t pf, in nf_log_bind_pf()
143 void nf_log_unbind_pf(struct net *net, u_int8_t pf) in nf_log_unbind_pf()
214 void nf_log_packet(struct net *net, in nf_log_packet()
243 void nf_log_trace(struct net *net, in nf_log_trace()
327 struct net *net = seq_file_net(seq); in seq_start() local
339 struct net *net = seq_file_net(s); in seq_next() local
359 struct net *net = seq_file_net(s); in seq_show() local
422 struct net *net = table->extra2; in nf_log_proc_dostring() local
[all …]
Dnf_conntrack_acct.c67 static int nf_conntrack_acct_init_sysctl(struct net *net) in nf_conntrack_acct_init_sysctl()
96 static void nf_conntrack_acct_fini_sysctl(struct net *net) in nf_conntrack_acct_fini_sysctl()
105 static int nf_conntrack_acct_init_sysctl(struct net *net) in nf_conntrack_acct_init_sysctl()
110 static void nf_conntrack_acct_fini_sysctl(struct net *net) in nf_conntrack_acct_fini_sysctl()
115 int nf_conntrack_acct_pernet_init(struct net *net) in nf_conntrack_acct_pernet_init()
121 void nf_conntrack_acct_pernet_fini(struct net *net) in nf_conntrack_acct_pernet_fini()
/Linux-v4.19/drivers/net/netdevsim/
Ddevlink.c35 struct net *net = priv; in nsim_ipv4_fib_resource_occ_get() local
42 struct net *net = priv; in nsim_ipv4_fib_rules_res_occ_get() local
51 struct net *net = priv; in nsim_ipv6_fib_resource_occ_get() local
58 struct net *net = priv; in nsim_ipv6_fib_rules_res_occ_get() local
70 struct net *net = nsim_devlink_net(devlink); in devlink_resources_register() local
157 struct net *net = nsim_devlink_net(devlink); in nsim_devlink_reload() local
175 static void nsim_devlink_net_reset(struct net *net) in nsim_devlink_net_reset()
207 struct net *net = nsim_to_net(ns); in nsim_devlink_teardown() local
222 struct net *net = nsim_to_net(ns); in nsim_devlink_setup() local
260 static int __net_init nsim_devlink_netns_init(struct net *net) in nsim_devlink_netns_init()
/Linux-v4.19/fs/afs/
Dserver.c20 static void afs_inc_servers_outstanding(struct afs_net *net) in afs_inc_servers_outstanding()
25 static void afs_dec_servers_outstanding(struct afs_net *net) in afs_dec_servers_outstanding()
34 struct afs_server *afs_find_server(struct afs_net *net, in afs_find_server()
104 struct afs_server *afs_find_server_by_uuid(struct afs_net *net, const uuid_t *uuid) in afs_find_server_by_uuid()
150 static struct afs_server *afs_install_server(struct afs_net *net, in afs_install_server()
212 static struct afs_server *afs_alloc_server(struct afs_net *net, in afs_alloc_server()
325 static void afs_set_server_timer(struct afs_net *net, time64_t delay) in afs_set_server_timer()
340 struct afs_net *net = container_of(timer, struct afs_net, fs_timer); in afs_servers_timer() local
350 void afs_put_server(struct afs_net *net, struct afs_server *server) in afs_put_server()
380 static void afs_destroy_server(struct afs_net *net, struct afs_server *server) in afs_destroy_server()
[all …]
Dcell.c26 static void afs_dec_cells_outstanding(struct afs_net *net) in afs_dec_cells_outstanding()
36 static void afs_set_cell_timer(struct afs_net *net, time64_t delay) in afs_set_cell_timer()
49 struct afs_cell *afs_lookup_cell_rcu(struct afs_net *net, in afs_lookup_cell_rcu()
120 static struct afs_cell *afs_alloc_cell(struct afs_net *net, in afs_alloc_cell()
199 struct afs_cell *afs_lookup_cell(struct afs_net *net, in afs_lookup_cell()
307 int afs_cell_init(struct afs_net *net, const char *rootcell) in afs_cell_init()
427 static void afs_queue_cell_manager(struct afs_net *net) in afs_queue_cell_manager()
443 struct afs_net *net = container_of(timer, struct afs_net, cells_timer); in afs_cells_timer() local
462 void afs_put_cell(struct afs_net *net, struct afs_cell *cell) in afs_put_cell()
515 static int afs_activate_cell(struct afs_net *net, struct afs_cell *cell) in afs_activate_cell()
[all …]
/Linux-v4.19/fs/nfs_common/
Dgrace.c28 locks_start_grace(struct net *net, struct lock_manager *lm) in locks_start_grace()
63 __state_in_grace(struct net *net, bool open) in __state_in_grace()
85 bool locks_in_grace(struct net *net) in locks_in_grace()
91 bool opens_in_grace(struct net *net) in opens_in_grace()
98 grace_init_net(struct net *net) in grace_init_net()
107 grace_exit_net(struct net *net) in grace_exit_net()
/Linux-v4.19/drivers/rapidio/
Drio-scan.c60 static u16 rio_destid_alloc(struct rio_net *net) in rio_destid_alloc()
86 static int rio_destid_reserve(struct rio_net *net, u16 destid) in rio_destid_reserve()
105 static void rio_destid_free(struct rio_net *net, u16 destid) in rio_destid_free()
119 static u16 rio_destid_first(struct rio_net *net) in rio_destid_first()
139 static u16 rio_destid_next(struct rio_net *net, u16 from) in rio_destid_next()
195 static int rio_clear_locks(struct rio_net *net) in rio_clear_locks()
326 static struct rio_dev *rio_setup_device(struct rio_net *net, in rio_setup_device()
528 static int rio_enum_peer(struct rio_net *net, struct rio_mport *port, in rio_enum_peer()
732 rio_disc_peer(struct rio_net *net, struct rio_mport *port, u16 destid, in rio_disc_peer()
814 static void rio_scan_release_net(struct rio_net *net) in rio_scan_release_net()
[all …]
/Linux-v4.19/fs/nfsd/
Dnfssvc.c196 int nfsd_nrthreads(struct net *net) in nfsd_nrthreads()
208 static int nfsd_init_socks(struct net *net) in nfsd_init_socks()
277 static int nfsd_startup_net(int nrservs, struct net *net) in nfsd_startup_net()
316 static void nfsd_shutdown_net(struct net *net) in nfsd_shutdown_net()
334 struct net *net = dev_net(dev); in nfsd_inetaddr_event() local
365 struct net *net = dev_net(dev); in nfsd_inet6addr_event() local
395 static void nfsd_last_thread(struct svc_serv *serv, struct net *net) in nfsd_last_thread()
494 int nfsd_create_serv(struct net *net) in nfsd_create_serv()
532 int nfsd_nrpools(struct net *net) in nfsd_nrpools()
542 int nfsd_get_nrthreads(int n, int *nthreads, struct net *net) in nfsd_get_nrthreads()
[all …]

12345678910>>...30