Home
last modified time | relevance | path

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

12345678910>>...34

/linux-6.1.9/include/net/ !
Dnet_namespace.h60 struct net { struct
64 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
91 struct idr netns_ids; argument
97 struct proc_dir_entry *proc_net; argument
98 struct proc_dir_entry *proc_net_stat; argument
104 struct sock *rtnl; /* rtnetlink socket */ argument
111 struct raw_notifier_head netdev_chain; argument
[all …]
/linux-6.1.9/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:
/linux-6.1.9/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 …]
Dbearer.c62 static struct tipc_bearer *bearer_get(struct net *net, int bearer_id) in bearer_get()
177 struct tipc_bearer *tipc_bearer_find(struct net *net, const char *name) in tipc_bearer_find()
196 int tipc_bearer_get_name(struct net *net, char *name, u32 bearer_id) in tipc_bearer_get_name()
212 void tipc_bearer_add_dest(struct net *net, u32 bearer_id, u32 dest) in tipc_bearer_add_dest()
224 void tipc_bearer_remove_dest(struct net *net, u32 bearer_id, u32 dest) in tipc_bearer_remove_dest()
245 static int tipc_enable_bearer(struct net *net, const char *name, in tipc_enable_bearer()
379 static int tipc_reset_bearer(struct net *net, struct tipc_bearer *b) in tipc_reset_bearer()
405 static void bearer_disable(struct net *net, struct tipc_bearer *b) in bearer_disable()
422 int tipc_enable_l2_media(struct net *net, struct tipc_bearer *b, in tipc_enable_l2_media()
494 int tipc_l2_send_msg(struct net *net, struct sk_buff *skb, in tipc_l2_send_msg()
[all …]
Dnet.c111 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()
151 void tipc_net_stop(struct net *net) in tipc_net_stop()
164 static int __tipc_nl_add_net(struct net *net, struct tipc_nl_msg *msg) in __tipc_nl_add_net()
202 struct net *net = sock_net(skb->sk); in tipc_nl_net_dump() local
228 struct net *net = sock_net(skb->sk); in __tipc_nl_net_set() local
291 static int __tipc_nl_addr_legacy_get(struct net *net, struct tipc_nl_msg *msg) in __tipc_nl_addr_legacy_get()
325 struct net *net = sock_net(skb->sk); in tipc_nl_net_addr_legacy_get() local
/linux-6.1.9/net/sctp/ !
Dsm_statefuns.c231 enum sctp_disposition sctp_sf_do_4_C(struct net *net, in sctp_sf_do_4_C()
316 enum sctp_disposition sctp_sf_do_5_1B_init(struct net *net, in sctp_sf_do_5_1B_init()
516 enum sctp_disposition sctp_sf_do_5_1C_ack(struct net *net, in sctp_sf_do_5_1C_ack()
635 static bool sctp_auth_chunk_verify(struct net *net, struct sctp_chunk *chunk, in sctp_auth_chunk_verify()
698 enum sctp_disposition sctp_sf_do_5_1D_ce(struct net *net, in sctp_sf_do_5_1D_ce()
920 enum sctp_disposition sctp_sf_do_5_1E_ca(struct net *net, in sctp_sf_do_5_1E_ca()
1039 enum sctp_disposition sctp_sf_sendbeat_8_3(struct net *net, in sctp_sf_sendbeat_8_3()
1087 enum sctp_disposition sctp_sf_send_reconf(struct net *net, in sctp_sf_send_reconf()
1116 enum sctp_disposition sctp_sf_send_probe(struct net *net, in sctp_sf_send_probe()
1164 enum sctp_disposition sctp_sf_beat_8_3(struct net *net, in sctp_sf_beat_8_3()
[all …]
/linux-6.1.9/net/core/ !
Dnet_namespace.c81 static int net_assign_generic(struct net *net, unsigned int id, void *data) in net_assign_generic()
118 static int ops_init(const struct pernet_operations *ops, struct net *net) in ops_init()
155 struct net *net; in ops_pre_exit_list() local
166 struct net *net; in ops_exit_list() local
180 struct net *net; in ops_free_list() local
188 static int alloc_netid(struct net *net, struct net *peer, int reqid) in alloc_netid()
206 static int net_eq_idr(int id, void *net, void *peer) in net_eq_idr()
214 static int __peernet2id(const struct net *net, struct net *peer) in __peernet2id()
232 int peernet2id_alloc(struct net *net, struct net *peer, gfp_t gfp) in peernet2id_alloc()
270 int peernet2id(const struct net *net, struct net *peer) in peernet2id()
[all …]
Dfib_notifier.c29 int call_fib_notifiers(struct net *net, enum fib_event_type event_type, in call_fib_notifiers()
40 static unsigned int fib_seq_sum(struct net *net) in fib_seq_sum()
60 static int fib_net_dump(struct net *net, struct notifier_block *nb, in fib_net_dump()
83 static bool fib_dump_is_consistent(struct net *net, struct notifier_block *nb, in fib_dump_is_consistent()
99 int register_fib_notifier(struct net *net, struct notifier_block *nb, in register_fib_notifier()
121 int unregister_fib_notifier(struct net *net, struct notifier_block *nb) in unregister_fib_notifier()
130 struct net *net) in __fib_notifier_ops_register()
143 fib_notifier_ops_register(const struct fib_notifier_ops *tmpl, struct net *net) in fib_notifier_ops_register()
171 static int __net_init fib_notifier_net_init(struct net *net) in fib_notifier_net_init()
180 static void __net_exit fib_notifier_net_exit(struct net *net) in fib_notifier_net_exit()
/linux-6.1.9/net/ipv4/ !
Dfib_frontend.c52 static int __net_init fib4_rules_init(struct net *net) in fib4_rules_init()
76 struct fib_table *fib_new_table(struct net *net, u32 id) in fib_new_table()
112 struct fib_table *fib_get_table(struct net *net, u32 id) in fib_get_table()
132 static void fib_replace_table(struct net *net, struct fib_table *old, in fib_replace_table()
152 int fib_unmerge(struct net *net) in fib_unmerge()
184 void fib_flush(struct net *net) in fib_flush()
206 static inline unsigned int __inet_dev_addr_type(struct net *net, in __inet_dev_addr_type()
237 unsigned int inet_addr_type_table(struct net *net, __be32 addr, u32 tb_id) in inet_addr_type_table()
243 unsigned int inet_addr_type(struct net *net, __be32 addr) in inet_addr_type()
249 unsigned int inet_dev_addr_type(struct net *net, const struct net_device *dev, in inet_dev_addr_type()
[all …]
Dipmr.c117 #define ipmr_for_each_table(mrt, net) \ argument
122 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
139 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
150 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()
272 static void __net_exit ipmr_rules_exit(struct net *net) in ipmr_rules_exit()
284 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 …]
Dip_input.c154 struct net *net = dev_net(dev); in ip_call_ra_chain() local
187 void ip_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int protocol) in ip_protocol_deliver_rcu()
227 static int ip_local_deliver_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_local_deliver_finish()
247 struct net *net = dev_net(skb->dev); in ip_local_deliver() local
317 static int ip_rcv_finish_core(struct net *net, struct sock *sk, in ip_rcv_finish_core()
435 static int ip_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_rcv_finish()
456 static struct sk_buff *ip_rcv_core(struct sk_buff *skb, struct net *net) in ip_rcv_core()
563 struct net *net = dev_net(dev); in ip_rcv() local
584 static struct sk_buff *ip_extract_route_hint(const struct net *net, in ip_extract_route_hint()
593 static void ip_list_rcv_finish(struct net *net, struct sock *sk, in ip_list_rcv_finish()
[all …]
/linux-6.1.9/net/mptcp/ !
Dctrl.c37 static struct mptcp_pernet *mptcp_get_pernet(const struct net *net) in mptcp_get_pernet()
42 int mptcp_is_enabled(const struct net *net) in mptcp_is_enabled()
47 unsigned int mptcp_get_add_addr_timeout(const struct net *net) in mptcp_get_add_addr_timeout()
52 int mptcp_is_checksum_enabled(const struct net *net) in mptcp_is_checksum_enabled()
57 int mptcp_allow_join_id0(const struct net *net) in mptcp_allow_join_id0()
62 unsigned int mptcp_stale_loss_cnt(const struct net *net) in mptcp_stale_loss_cnt()
67 int mptcp_get_pm_type(const struct net *net) in mptcp_get_pm_type()
134 static int mptcp_pernet_new_table(struct net *net, struct mptcp_pernet *pernet) in mptcp_pernet_new_table()
179 static int mptcp_pernet_new_table(struct net *net, struct mptcp_pernet *pernet) in mptcp_pernet_new_table()
188 static int __net_init mptcp_net_init(struct net *net) in mptcp_net_init()
[all …]
/linux-6.1.9/net/ipv6/ !
Dip6_fib.c44 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()
183 static struct fib6_node *node_alloc(struct net *net) in node_alloc()
194 static void node_free_immediate(struct net *net, struct fib6_node *fn) in node_free_immediate()
207 static void node_free(struct net *net, struct fib6_node *fn) in node_free()
219 static void fib6_link_table(struct net *net, struct fib6_table *tb) in fib6_link_table()
[all …]
Dip6mr.c106 #define ip6mr_for_each_table(mrt, net) \ argument
111 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
128 static struct mr_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
139 static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6, in ip6mr_fib_lookup()
227 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init()
261 static void __net_exit ip6mr_rules_exit(struct net *net) in ip6mr_rules_exit()
273 static int ip6mr_rules_dump(struct net *net, struct notifier_block *nb, in ip6mr_rules_dump()
279 static unsigned int ip6mr_rules_seq_read(struct net *net) in ip6mr_rules_seq_read()
291 #define ip6mr_for_each_table(mrt, net) \ argument
294 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
[all …]
Dreassembly.c84 fq_find(struct net *net, __be32 id, const struct ipv6hdr *hdr, int iif) in fq_find()
110 struct net *net = dev_net(skb_dst(skb)->dev); in ip6_frag_queue() local
254 struct net *net = fq->q.fqdir->net; in ip6_frag_reasm() local
327 struct net *net = dev_net(skb_dst(skb)->dev); in ipv6_frag_rcv() local
450 static int __net_init ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register()
482 static void __net_exit ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister()
506 static int ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register()
511 static void ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister()
525 static int __net_init ipv6_frags_init_net(struct net *net) in ipv6_frags_init_net()
543 static void __net_exit ipv6_frags_pre_exit_net(struct net *net) in ipv6_frags_pre_exit_net()
[all …]
/linux-6.1.9/kernel/bpf/ !
Dnet_namespace.c22 struct net *net; member
56 static void netns_bpf_run_array_detach(struct net *net, in netns_bpf_run_array_detach()
66 static int link_index(struct net *net, enum netns_bpf_attach_type type, in link_index()
80 static int link_count(struct net *net, enum netns_bpf_attach_type type) in link_count()
90 static void fill_prog_array(struct net *net, enum netns_bpf_attach_type type, in fill_prog_array()
108 struct net *net; in bpf_netns_link_release() local
172 struct net *net; in bpf_netns_link_update_prog() local
210 struct net *net; in bpf_netns_link_fill_info() local
248 struct net *net, in __netns_bpf_prog_query()
275 struct net *net; in netns_bpf_prog_query() local
[all …]
/linux-6.1.9/net/netfilter/ !
Dnf_synproxy_core.c306 static int __net_init synproxy_proc_init(struct net *net) in synproxy_proc_init()
314 static void __net_exit synproxy_proc_exit(struct net *net) in synproxy_proc_exit()
319 static int __net_init synproxy_proc_init(struct net *net) in synproxy_proc_init()
324 static void __net_exit synproxy_proc_exit(struct net *net) in synproxy_proc_exit()
330 static int __net_init synproxy_net_init(struct net *net) in synproxy_net_init()
366 static void __net_exit synproxy_net_exit(struct net *net) in synproxy_net_exit()
396 synproxy_build_ip(struct net *net, struct sk_buff *skb, __be32 saddr, in synproxy_build_ip()
418 synproxy_send_tcp(struct net *net, in synproxy_send_tcp()
447 synproxy_send_client_synack(struct net *net, in synproxy_send_client_synack()
490 synproxy_send_server_syn(struct net *net, in synproxy_send_server_syn()
[all …]
Dnf_log.c45 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()
128 int nf_log_bind_pf(struct net *net, u_int8_t pf, in nf_log_bind_pf()
144 void nf_log_unbind_pf(struct net *net, u_int8_t pf) in nf_log_unbind_pf()
205 void nf_log_packet(struct net *net, in nf_log_packet()
234 void nf_log_trace(struct net *net, in nf_log_trace()
318 struct net *net = seq_file_net(seq); in seq_start() local
330 struct net *net = seq_file_net(s); in seq_next() local
350 struct net *net = seq_file_net(s); in seq_show() local
413 struct net *net = table->extra2; in nf_log_proc_dostring() local
[all …]
/linux-6.1.9/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
327 static void afs_set_server_timer(struct afs_net *net, time64_t delay) in afs_set_server_timer()
342 struct afs_net *net = container_of(timer, struct afs_net, fs_timer); in afs_servers_timer() local
399 void afs_put_server(struct afs_net *net, struct afs_server *server, in afs_put_server()
420 void afs_unuse_server_notime(struct afs_net *net, struct afs_server *server, in afs_unuse_server_notime()
435 void afs_unuse_server(struct afs_net *net, struct afs_server *server, in afs_unuse_server()
454 static void __afs_put_server(struct afs_net *net, struct afs_server *server) in __afs_put_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()
51 static struct afs_cell *afs_find_cell_locked(struct afs_net *net, in afs_find_cell_locked()
98 struct afs_cell *afs_find_cell(struct afs_net *net, in afs_find_cell()
114 static struct afs_cell *afs_alloc_cell(struct afs_net *net, in afs_alloc_cell()
234 struct afs_cell *afs_lookup_cell(struct afs_net *net, in afs_lookup_cell()
343 int afs_cell_init(struct afs_net *net, const char *rootcell) in afs_cell_init()
492 struct afs_net *net = cell->net; in afs_cell_destroy() local
514 static void afs_queue_cell_manager(struct afs_net *net) in afs_queue_cell_manager()
530 struct afs_net *net = container_of(timer, struct afs_net, cells_timer); in afs_cells_timer() local
[all …]
Dfs_probe.c22 static void afs_schedule_fs_probe(struct afs_net *net, in afs_schedule_fs_probe()
41 static void afs_finished_fs_probe(struct afs_net *net, struct afs_server *server) in afs_finished_fs_probe()
61 static void afs_done_one_fs_probe(struct afs_net *net, struct afs_server *server) in afs_done_one_fs_probe()
75 static void afs_fs_probe_not_done(struct afs_net *net, in afs_fs_probe_not_done()
195 void afs_fs_probe_fileserver(struct afs_net *net, struct afs_server *server, in afs_fs_probe_fileserver()
321 struct afs_net *net = container_of(timer, struct afs_net, fs_probe_timer); in afs_fs_probe_timer() local
330 static void afs_dispatch_fs_probe(struct afs_net *net, struct afs_server *server, bool all) in afs_dispatch_fs_probe()
351 void afs_probe_fileserver(struct afs_net *net, struct afs_server *server) in afs_probe_fileserver()
364 struct afs_net *net = container_of(work, struct afs_net, fs_prober); in afs_fs_probe_dispatcher() local
474 void afs_fs_probe_cleanup(struct afs_net *net) in afs_fs_probe_cleanup()
/linux-6.1.9/drivers/rapidio/ !
Drio-scan.c56 static u16 rio_destid_alloc(struct rio_net *net) in rio_destid_alloc()
82 static int rio_destid_reserve(struct rio_net *net, u16 destid) in rio_destid_reserve()
101 static void rio_destid_free(struct rio_net *net, u16 destid) in rio_destid_free()
115 static u16 rio_destid_first(struct rio_net *net) in rio_destid_first()
135 static u16 rio_destid_next(struct rio_net *net, u16 from) in rio_destid_next()
191 static int rio_clear_locks(struct rio_net *net) in rio_clear_locks()
322 static struct rio_dev *rio_setup_device(struct rio_net *net, in rio_setup_device()
526 static int rio_enum_peer(struct rio_net *net, struct rio_mport *port, in rio_enum_peer()
730 rio_disc_peer(struct rio_net *net, struct rio_mport *port, u16 destid, in rio_disc_peer()
812 static void rio_scan_release_net(struct rio_net *net) in rio_scan_release_net()
[all …]
/linux-6.1.9/net/bridge/ !
Dbr_netfilter_hooks.c85 static inline bool is_vlan_ip(const struct sk_buff *skb, const struct net *net) in is_vlan_ip()
93 const struct net *net) in is_vlan_ipv6()
101 static inline bool is_vlan_arp(const struct sk_buff *skb, const struct net *net) in is_vlan_arp()
114 static inline bool is_pppoe_ip(const struct sk_buff *skb, const struct net *net) in is_pppoe_ip()
123 const struct net *net) in is_pppoe_ipv6()
196 static int br_validate_ipv4(struct net *net, struct sk_buff *skb) in br_validate_ipv4()
266 int br_nf_pre_routing_finish_bridge(struct net *net, struct sock *sk, struct sk_buff *skb) in br_nf_pre_routing_finish_bridge()
352 static int br_nf_pre_routing_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in br_nf_pre_routing_finish()
431 const struct net *net) in brnf_get_logical_dev()
448 struct net_device *setup_pre_routing(struct sk_buff *skb, const struct net *net) in setup_pre_routing()
[all …]
/linux-6.1.9/net/smc/ !
Dsmc_pnet.c101 static int smc_pnet_remove_by_pnetid(struct net *net, char *pnet_name) in smc_pnet_remove_by_pnetid()
188 struct net *net = dev_net(ndev); in smc_pnet_add_by_ndev() local
220 struct net *net = dev_net(ndev); in smc_pnet_remove_by_ndev() local
344 static int smc_pnet_add_eth(struct smc_pnettable *pnettable, struct net *net, in smc_pnet_add_eth()
473 static int smc_pnet_enter(struct net *net, struct nlattr *tb[]) in smc_pnet_enter()
558 struct net *net = genl_info_net(info); in smc_pnet_add() local
565 struct net *net = genl_info_net(info); in smc_pnet_del() local
597 static int _smc_pnet_dump(struct net *net, struct sk_buff *skb, u32 portid, in _smc_pnet_dump()
631 struct net *net = sock_net(skb->sk); in smc_pnet_dump() local
644 struct net *net = genl_info_net(info); in smc_pnet_get() local
[all …]
/linux-6.1.9/fs/nfs_common/ !
Dgrace.c29 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()
90 bool locks_in_grace(struct net *net) in locks_in_grace()
96 bool opens_in_grace(struct net *net) in opens_in_grace()
103 grace_init_net(struct net *net) in grace_init_net()
112 grace_exit_net(struct net *net) in grace_exit_net()

12345678910>>...34