Home
last modified time | relevance | path

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

12345678910>>...63

/kernel/linux/linux-5.10/include/net/
Dnet_namespace.h56 struct net { struct
60 refcount_t passive; /* To decide when the network argument
63 refcount_t count; /* To decided when the network argument
76 struct list_head list; /* list of network namespaces */ argument
77 struct list_head exit_list; /* To linked to call pernet exit argument
78 * methods on dead net ( argument
90 struct idr netns_ids; argument
95 struct proc_dir_entry *proc_net; argument
96 struct proc_dir_entry *proc_net_stat; argument
102 struct sock *rtnl; /* rtnetlink socket */ argument
[all …]
/kernel/linux/linux-4.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
63 struct list_head list; /* list of network namespaces */ argument
64 struct list_head exit_list; /* To linked to call pernet exit argument
65 * methods on dead net ( argument
75 struct idr netns_ids; argument
79 struct proc_dir_entry *proc_net; argument
80 struct proc_dir_entry *proc_net_stat; argument
86 struct sock *rtnl; /* rtnetlink socket */ argument
[all …]
/kernel/linux/linux-5.10/Documentation/filesystems/
Dramfs-rootfs-initramfs.rst12 What is ramfs?
39 ramfs and ramdisk:
63 ramfs and tmpfs:
76 What is rootfs?
92 What is initramfs?
136 Populating initramfs:
223 External initramfs images:
241 Contents of initramfs:
289 Why cpio rather than tar?
344 Future directions:
/kernel/linux/linux-4.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, gfp_t gfp) 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()
/kernel/linux/linux-4.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 …]
/kernel/linux/linux-5.10/net/tipc/
Dbcast.c77 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 …]
/kernel/linux/linux-5.10/net/core/
Dnet_namespace.c75 u64 __net_gen_cookie(struct net *net) in __net_gen_cookie()
99 static int net_assign_generic(struct net *net, unsigned int id, void *data) in net_assign_generic()
136 static int ops_init(const struct pernet_operations *ops, struct net *net) in ops_init()
163 static void ops_free(const struct pernet_operations *ops, struct net *net) in ops_free()
173 struct net *net; in ops_pre_exit_list() local
184 struct net *net; in ops_exit_list() local
196 struct net *net; in ops_free_list() local
204 static int alloc_netid(struct net *net, struct net *peer, int reqid) in alloc_netid()
222 static int net_eq_idr(int id, void *net, void *peer) in net_eq_idr()
230 static int __peernet2id(const struct net *net, struct net *peer) in __peernet2id()
[all …]
/kernel/linux/linux-4.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.c118 #define ipmr_for_each_table(mrt, net) \ argument
121 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
138 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
149 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()
274 static void __net_exit ipmr_rules_exit(struct net *net) in ipmr_rules_exit()
287 static int ipmr_rules_dump(struct net *net, struct notifier_block *nb) in ipmr_rules_dump()
292 static unsigned int ipmr_rules_seq_read(struct net *net) in ipmr_rules_seq_read()
303 #define ipmr_for_each_table(mrt, net) \ argument
306 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()
/kernel/linux/linux-4.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.c103 #define ip6mr_for_each_table(mrt, net) \ argument
106 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
123 static struct mr_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
134 static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6, in ip6mr_fib_lookup()
222 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init()
254 static void __net_exit ip6mr_rules_exit(struct net *net) in ip6mr_rules_exit()
267 static int ip6mr_rules_dump(struct net *net, struct notifier_block *nb) in ip6mr_rules_dump()
272 static unsigned int ip6mr_rules_seq_read(struct net *net) in ip6mr_rules_seq_read()
284 #define ip6mr_for_each_table(mrt, net) \ argument
287 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()
/kernel/linux/linux-4.19/net/sctp/
Dsm_statefuns.c233 enum sctp_disposition sctp_sf_do_4_C(struct net *net, in sctp_sf_do_4_C()
318 enum sctp_disposition sctp_sf_do_5_1B_init(struct net *net, in sctp_sf_do_5_1B_init()
517 enum sctp_disposition sctp_sf_do_5_1C_ack(struct net *net, in sctp_sf_do_5_1C_ack()
636 static bool sctp_auth_chunk_verify(struct net *net, struct sctp_chunk *chunk, in sctp_auth_chunk_verify()
699 enum sctp_disposition sctp_sf_do_5_1D_ce(struct net *net, in sctp_sf_do_5_1D_ce()
913 enum sctp_disposition sctp_sf_do_5_1E_ca(struct net *net, in sctp_sf_do_5_1E_ca()
1030 enum sctp_disposition sctp_sf_sendbeat_8_3(struct net *net, in sctp_sf_sendbeat_8_3()
1078 enum sctp_disposition sctp_sf_send_reconf(struct net *net, in sctp_sf_send_reconf()
1130 enum sctp_disposition sctp_sf_beat_8_3(struct net *net, in sctp_sf_beat_8_3()
1204 enum sctp_disposition sctp_sf_backbeat_8_3(struct net *net, in sctp_sf_backbeat_8_3()
[all …]
/kernel/linux/linux-5.10/net/sctp/
Dsm_statefuns.c218 enum sctp_disposition sctp_sf_do_4_C(struct net *net, in sctp_sf_do_4_C()
303 enum sctp_disposition sctp_sf_do_5_1B_init(struct net *net, in sctp_sf_do_5_1B_init()
502 enum sctp_disposition sctp_sf_do_5_1C_ack(struct net *net, in sctp_sf_do_5_1C_ack()
621 static bool sctp_auth_chunk_verify(struct net *net, struct sctp_chunk *chunk, in sctp_auth_chunk_verify()
684 enum sctp_disposition sctp_sf_do_5_1D_ce(struct net *net, in sctp_sf_do_5_1D_ce()
902 enum sctp_disposition sctp_sf_do_5_1E_ca(struct net *net, in sctp_sf_do_5_1E_ca()
1019 enum sctp_disposition sctp_sf_sendbeat_8_3(struct net *net, in sctp_sf_sendbeat_8_3()
1067 enum sctp_disposition sctp_sf_send_reconf(struct net *net, in sctp_sf_send_reconf()
1119 enum sctp_disposition sctp_sf_beat_8_3(struct net *net, in sctp_sf_beat_8_3()
1193 enum sctp_disposition sctp_sf_backbeat_8_3(struct net *net, in sctp_sf_backbeat_8_3()
[all …]
/kernel/linux/linux-4.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 …]
/kernel/linux/linux-5.10/net/ipv4/
Dfib_frontend.c51 static int __net_init fib4_rules_init(struct net *net) in fib4_rules_init()
75 struct fib_table *fib_new_table(struct net *net, u32 id) in fib_new_table()
111 struct fib_table *fib_get_table(struct net *net, u32 id) in fib_get_table()
131 static void fib_replace_table(struct net *net, struct fib_table *old, in fib_replace_table()
151 int fib_unmerge(struct net *net) in fib_unmerge()
183 void fib_flush(struct net *net) in fib_flush()
205 static inline unsigned int __inet_dev_addr_type(struct net *net, in __inet_dev_addr_type()
236 unsigned int inet_addr_type_table(struct net *net, __be32 addr, u32 tb_id) in inet_addr_type_table()
242 unsigned int inet_addr_type(struct net *net, __be32 addr) in inet_addr_type()
248 unsigned int inet_dev_addr_type(struct net *net, const struct net_device *dev, in inet_dev_addr_type()
[all …]
Dipmr.c112 #define ipmr_for_each_table(mrt, net) \ argument
117 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
134 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
145 static int ipmr_fib_lookup(struct net *net, struct flowi4 *flp4, in ipmr_fib_lookup()
238 static int __net_init ipmr_rules_init(struct net *net) in ipmr_rules_init()
270 static void __net_exit ipmr_rules_exit(struct net *net) in ipmr_rules_exit()
283 static int ipmr_rules_dump(struct net *net, struct notifier_block *nb, in ipmr_rules_dump()
289 static unsigned int ipmr_rules_seq_read(struct net *net) in ipmr_rules_seq_read()
300 #define ipmr_for_each_table(mrt, net) \ argument
303 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
[all …]
/kernel/linux/linux-4.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()
/kernel/linux/linux-4.19/fs/afs/
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()
124 static struct afs_cell *afs_alloc_cell(struct afs_net *net, in afs_alloc_cell()
212 struct afs_cell *afs_lookup_cell(struct afs_net *net, in afs_lookup_cell()
320 int afs_cell_init(struct afs_net *net, const char *rootcell) in afs_cell_init()
440 static void afs_queue_cell_manager(struct afs_net *net) in afs_queue_cell_manager()
456 struct afs_net *net = container_of(timer, struct afs_net, cells_timer); in afs_cells_timer() local
475 void afs_put_cell(struct afs_net *net, struct afs_cell *cell) in afs_put_cell()
528 static int afs_activate_cell(struct afs_net *net, struct afs_cell *cell) in afs_activate_cell()
[all …]
/kernel/linux/linux-5.10/fs/afs/
Dserver.c24 struct afs_server *afs_find_server(struct afs_net *net, in afs_find_server()
89 struct afs_server *afs_find_server_by_uuid(struct afs_net *net, const uuid_t *uuid) in afs_find_server_by_uuid()
142 struct afs_net *net = cell->net; in afs_install_server() local
223 struct afs_net *net = cell->net; in afs_alloc_server() local
326 static void afs_set_server_timer(struct afs_net *net, time64_t delay) in afs_set_server_timer()
341 struct afs_net *net = container_of(timer, struct afs_net, fs_timer); in afs_servers_timer() local
392 void afs_put_server(struct afs_net *net, struct afs_server *server, in afs_put_server()
410 void afs_unuse_server_notime(struct afs_net *net, struct afs_server *server, in afs_unuse_server_notime()
425 void afs_unuse_server(struct afs_net *net, struct afs_server *server, in afs_unuse_server()
444 static void __afs_put_server(struct afs_net *net, struct afs_server *server) in __afs_put_server()
[all …]
/kernel/linux/linux-5.10/kernel/bpf/
Dnet_namespace.c21 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
209 struct net *net; in bpf_netns_link_fill_info() local
247 struct net *net, in __netns_bpf_prog_query()
274 struct net *net; in netns_bpf_prog_query() local
[all …]
/kernel/linux/linux-5.10/net/ipv6/
Dip6_fib.c42 struct net *net; member
73 #define FOR_WALKERS(net, w) \ argument
76 static void fib6_walker_link(struct net *net, struct fib6_walker *w) in fib6_walker_link()
83 static void fib6_walker_unlink(struct net *net, struct fib6_walker *w) in fib6_walker_unlink()
90 static int fib6_new_sernum(struct net *net) in fib6_new_sernum()
106 void fib6_update_sernum(struct net *net, struct fib6_info *f6i) in fib6_update_sernum()
181 static struct fib6_node *node_alloc(struct net *net) in node_alloc()
192 static void node_free_immediate(struct net *net, struct fib6_node *fn) in node_free_immediate()
205 static void node_free(struct net *net, struct fib6_node *fn) in node_free()
217 static void fib6_link_table(struct net *net, struct fib6_table *tb) in fib6_link_table()
[all …]
Dip6mr.c99 #define ip6mr_for_each_table(mrt, net) \ argument
104 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
121 static struct mr_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
132 static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6, in ip6mr_fib_lookup()
225 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init()
257 static void __net_exit ip6mr_rules_exit(struct net *net) in ip6mr_rules_exit()
270 static int ip6mr_rules_dump(struct net *net, struct notifier_block *nb, in ip6mr_rules_dump()
276 static unsigned int ip6mr_rules_seq_read(struct net *net) in ip6mr_rules_seq_read()
288 #define ip6mr_for_each_table(mrt, net) \ argument
291 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
[all …]

12345678910>>...63