/kernel/linux/linux-5.10/include/net/ |
D | net_namespace.h | 59 struct net { struct 63 refcount_t passive; /* To decide when the network argument 66 refcount_t count; /* To decided when the network argument 79 struct list_head list; /* list of network namespaces */ argument 80 struct list_head exit_list; /* To linked to call pernet exit argument 81 * methods on dead net ( argument 93 struct idr netns_ids; argument 98 struct proc_dir_entry *proc_net; argument 99 struct proc_dir_entry *proc_net_stat; argument 105 struct sock *rtnl; /* rtnetlink socket */ argument [all …]
|
/kernel/linux/linux-5.10/Documentation/filesystems/ |
D | ramfs-rootfs-initramfs.rst | 12 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-5.10/net/tipc/ |
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 …]
|
D | addr.h | 46 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()
|
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() 147 void tipc_net_stop(struct net *net) in tipc_net_stop() 160 static int __tipc_nl_add_net(struct net *net, struct tipc_nl_msg *msg) in __tipc_nl_add_net() 198 struct net *net = sock_net(skb->sk); in tipc_nl_net_dump() local 224 struct net *net = sock_net(skb->sk); in __tipc_nl_net_set() local 287 static int __tipc_nl_addr_legacy_get(struct net *net, struct tipc_nl_msg *msg) in __tipc_nl_addr_legacy_get() 321 struct net *net = sock_net(skb->sk); in tipc_nl_net_addr_legacy_get() local
|
D | bearer.c | 62 static struct tipc_bearer *bearer_get(struct net *net, int bearer_id) in bearer_get() 173 struct tipc_bearer *tipc_bearer_find(struct net *net, const char *name) in tipc_bearer_find() 192 int tipc_bearer_get_name(struct net *net, char *name, u32 bearer_id) in tipc_bearer_get_name() 208 void tipc_bearer_add_dest(struct net *net, u32 bearer_id, u32 dest) in tipc_bearer_add_dest() 220 void tipc_bearer_remove_dest(struct net *net, u32 bearer_id, u32 dest) in tipc_bearer_remove_dest() 235 static int tipc_enable_bearer(struct net *net, const char *name, in tipc_enable_bearer() 367 static int tipc_reset_bearer(struct net *net, struct tipc_bearer *b) in tipc_reset_bearer() 391 static void bearer_disable(struct net *net, struct tipc_bearer *b) in bearer_disable() 408 int tipc_enable_l2_media(struct net *net, struct tipc_bearer *b, in tipc_enable_l2_media() 478 int tipc_l2_send_msg(struct net *net, struct sk_buff *skb, in tipc_l2_send_msg() [all …]
|
/kernel/linux/linux-5.10/net/core/ |
D | net_namespace.c | 75 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() 170 static void ops_free(const struct pernet_operations *ops, struct net *net) in ops_free() 180 struct net *net; in ops_pre_exit_list() local 191 struct net *net; in ops_exit_list() local 205 struct net *net; in ops_free_list() local 213 static int alloc_netid(struct net *net, struct net *peer, int reqid) in alloc_netid() 231 static int net_eq_idr(int id, void *net, void *peer) in net_eq_idr() 239 static int __peernet2id(const struct net *net, struct net *peer) in __peernet2id() [all …]
|
D | fib_notifier.c | 29 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()
|
/kernel/linux/linux-5.10/net/sctp/ |
D | sm_statefuns.c | 224 enum sctp_disposition sctp_sf_do_4_C(struct net *net, in sctp_sf_do_4_C() 309 enum sctp_disposition sctp_sf_do_5_1B_init(struct net *net, in sctp_sf_do_5_1B_init() 508 enum sctp_disposition sctp_sf_do_5_1C_ack(struct net *net, in sctp_sf_do_5_1C_ack() 627 static bool sctp_auth_chunk_verify(struct net *net, struct sctp_chunk *chunk, in sctp_auth_chunk_verify() 690 enum sctp_disposition sctp_sf_do_5_1D_ce(struct net *net, in sctp_sf_do_5_1D_ce() 908 enum sctp_disposition sctp_sf_do_5_1E_ca(struct net *net, in sctp_sf_do_5_1E_ca() 1025 enum sctp_disposition sctp_sf_sendbeat_8_3(struct net *net, in sctp_sf_sendbeat_8_3() 1073 enum sctp_disposition sctp_sf_send_reconf(struct net *net, in sctp_sf_send_reconf() 1125 enum sctp_disposition sctp_sf_beat_8_3(struct net *net, in sctp_sf_beat_8_3() 1199 enum sctp_disposition sctp_sf_backbeat_8_3(struct net *net, in sctp_sf_backbeat_8_3() [all …]
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | fib_frontend.c | 51 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 …]
|
D | ipmr.c | 112 #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 …]
|
D | ip_input.c | 154 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() 226 static int ip_local_deliver_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_local_deliver_finish() 245 struct net *net = dev_net(skb->dev); in ip_local_deliver() local 314 static int ip_rcv_finish_core(struct net *net, struct sock *sk, in ip_rcv_finish_core() 426 static int ip_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_rcv_finish() 447 static struct sk_buff *ip_rcv_core(struct sk_buff *skb, struct net *net) in ip_rcv_core() 545 struct net *net = dev_net(dev); in ip_rcv() local 566 static struct sk_buff *ip_extract_route_hint(const struct net *net, in ip_extract_route_hint() 575 static void ip_list_rcv_finish(struct net *net, struct sock *sk, in ip_list_rcv_finish() [all …]
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | net_namespace.c | 21 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/fs/afs/ |
D | server.c | 24 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 …]
|
D | fs_probe.c | 21 static void afs_schedule_fs_probe(struct afs_net *net, in afs_schedule_fs_probe() 40 static void afs_finished_fs_probe(struct afs_net *net, struct afs_server *server) in afs_finished_fs_probe() 60 static void afs_done_one_fs_probe(struct afs_net *net, struct afs_server *server) in afs_done_one_fs_probe() 74 static void afs_fs_probe_not_done(struct afs_net *net, in afs_fs_probe_not_done() 189 void afs_fs_probe_fileserver(struct afs_net *net, struct afs_server *server, in afs_fs_probe_fileserver() 315 struct afs_net *net = container_of(timer, struct afs_net, fs_probe_timer); in afs_fs_probe_timer() local 324 static void afs_dispatch_fs_probe(struct afs_net *net, struct afs_server *server, bool all) in afs_dispatch_fs_probe() 345 void afs_probe_fileserver(struct afs_net *net, struct afs_server *server) in afs_probe_fileserver() 358 struct afs_net *net = container_of(work, struct afs_net, fs_prober); in afs_fs_probe_dispatcher() local 468 void afs_fs_probe_cleanup(struct afs_net *net) in afs_fs_probe_cleanup()
|
D | cell.c | 26 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() 232 struct afs_cell *afs_lookup_cell(struct afs_net *net, in afs_lookup_cell() 341 int afs_cell_init(struct afs_net *net, const char *rootcell) in afs_cell_init() 490 struct afs_net *net = cell->net; in afs_cell_destroy() local 512 static void afs_queue_cell_manager(struct afs_net *net) in afs_queue_cell_manager() 528 struct afs_net *net = container_of(timer, struct afs_net, cells_timer); in afs_cells_timer() local [all …]
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | ip6_fib.c | 42 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 …]
|
D | ip6mr.c | 99 #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 …]
|
D | reassembly.c | 84 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 253 struct net *net = fq->q.fqdir->net; in ip6_frag_reasm() local 326 struct net *net = dev_net(skb_dst(skb)->dev); in ipv6_frag_rcv() local 449 static int __net_init ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register() 481 static void __net_exit ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister() 505 static int ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register() 510 static void ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister() 524 static int __net_init ipv6_frags_init_net(struct net *net) in ipv6_frags_init_net() 542 static void __net_exit ipv6_frags_pre_exit_net(struct net *net) in ipv6_frags_pre_exit_net() [all …]
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
D | route.c | 147 static void rtmsg_to_fibni_config(struct net *net, struct nip_rtmsg *rtmsg, in rtmsg_to_fibni_config() 174 static struct nip_rt_info *__nip_dst_alloc(struct net *net, in __nip_dst_alloc() 187 struct nip_rt_info *nip_dst_alloc(struct net *net, struct net_device *dev, in nip_dst_alloc() 284 struct net *net = dev_net(rt->dst.dev); in nip_rt_make_pcpu_route() local 310 static struct nip_rt_info *nip_pol_route_input(struct net *net, in nip_pol_route_input() 317 struct dst_entry *nip_route_input_lookup(struct net *net, in nip_route_input_lookup() 326 struct net *net = dev_net(skb->dev); in nip_route_input() local 365 static struct nip_rt_info *nip_pol_route_output(struct net *net, in nip_pol_route_output() 372 struct dst_entry *nip_route_output_flags(struct net *net, const struct sock *sk, in nip_route_output_flags() 406 struct nip_rt_info *nip_pol_route(struct net *net, struct nip_fib_table *table, in nip_pol_route() [all …]
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nf_synproxy_core.c | 312 static int __net_init synproxy_proc_init(struct net *net) in synproxy_proc_init() 320 static void __net_exit synproxy_proc_exit(struct net *net) in synproxy_proc_exit() 325 static int __net_init synproxy_proc_init(struct net *net) in synproxy_proc_init() 330 static void __net_exit synproxy_proc_exit(struct net *net) in synproxy_proc_exit() 336 static int __net_init synproxy_net_init(struct net *net) in synproxy_net_init() 373 static void __net_exit synproxy_net_exit(struct net *net) in synproxy_net_exit() 419 synproxy_build_ip(struct net *net, struct sk_buff *skb, __be32 saddr, in synproxy_build_ip() 441 synproxy_send_tcp(struct net *net, in synproxy_send_tcp() 470 synproxy_send_client_synack(struct net *net, in synproxy_send_client_synack() 513 synproxy_send_server_syn(struct net *net, in synproxy_send_server_syn() [all …]
|
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() 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() 215 void nf_log_packet(struct net *net, in nf_log_packet() 244 void nf_log_trace(struct net *net, in nf_log_trace() 328 struct net *net = seq_file_net(seq); in seq_start() local 340 struct net *net = seq_file_net(s); in seq_next() local 360 struct net *net = seq_file_net(s); in seq_show() local 423 struct net *net = table->extra2; in nf_log_proc_dostring() local [all …]
|
/kernel/linux/linux-5.10/fs/nfs_common/ |
D | grace.c | 29 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() 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()
|
/kernel/linux/linux-5.10/include/net/netfilter/ |
D | nf_conntrack_l4proto.h | 173 void nf_l4proto_log_invalid(const struct sk_buff *skb, struct net *net, in nf_l4proto_log_invalid() 182 static inline struct nf_generic_net *nf_generic_pernet(struct net *net) in nf_generic_pernet() 187 static inline struct nf_tcp_net *nf_tcp_pernet(struct net *net) in nf_tcp_pernet() 192 static inline struct nf_udp_net *nf_udp_pernet(struct net *net) in nf_udp_pernet() 197 static inline struct nf_icmp_net *nf_icmp_pernet(struct net *net) in nf_icmp_pernet() 202 static inline struct nf_icmp_net *nf_icmpv6_pernet(struct net *net) in nf_icmpv6_pernet() 209 static inline struct nf_dccp_net *nf_dccp_pernet(struct net *net) in nf_dccp_pernet() 216 static inline struct nf_sctp_net *nf_sctp_pernet(struct net *net) in nf_sctp_pernet() 223 static inline struct nf_gre_net *nf_gre_pernet(struct net *net) in nf_gre_pernet()
|
/kernel/linux/linux-5.10/drivers/rapidio/ |
D | rio-scan.c | 56 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 …]
|