/linux-4.19.296/include/net/ |
D | net_namespace.h | 51 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 …]
|
D | wext.h | 18 static inline int wext_handle_ioctl(struct net *net, unsigned int cmd, in wext_handle_ioctl() 23 static inline int compat_wext_handle_ioctl(struct net *net, unsigned int cmd, in compat_wext_handle_ioctl() 34 static inline int wext_proc_init(struct net *net) in wext_proc_init() 38 static inline void wext_proc_exit(struct net *net) in wext_proc_exit()
|
D | ip.h | 248 #define IP_INC_STATS(net, field) SNMP_INC_STATS64((net)->mib.ip_statistics, field) argument 249 #define __IP_INC_STATS(net, field) __SNMP_INC_STATS64((net)->mib.ip_statistics, field) argument 250 #define IP_ADD_STATS(net, field, val) SNMP_ADD_STATS64((net)->mib.ip_statistics, field, val) argument 251 #define __IP_ADD_STATS(net, field, val) __SNMP_ADD_STATS64((net)->mib.ip_statistics, field, val) argument 252 #define IP_UPD_PO_STATS(net, field, val) SNMP_UPD_PO_STATS64((net)->mib.ip_statistics, field, val) argument 253 #define __IP_UPD_PO_STATS(net, field, val) __SNMP_UPD_PO_STATS64((net)->mib.ip_statistics, field, v… argument 254 #define NET_INC_STATS(net, field) SNMP_INC_STATS((net)->mib.net_statistics, field) argument 255 #define __NET_INC_STATS(net, field) __SNMP_INC_STATS((net)->mib.net_statistics, field) argument 256 #define NET_ADD_STATS(net, field, adnd) SNMP_ADD_STATS((net)->mib.net_statistics, field, adnd) argument 257 #define __NET_ADD_STATS(net, field, adnd) __SNMP_ADD_STATS((net)->mib.net_statistics, field, adnd) argument [all …]
|
D | l3mdev.h | 61 static inline int l3mdev_master_ifindex_by_index(struct net *net, int ifindex) in l3mdev_master_ifindex_by_index() 117 static inline bool netif_index_is_l3_master(struct net *net, int ifindex) in netif_index_is_l3_master() 206 static inline int l3mdev_master_ifindex_by_index(struct net *net, int ifindex) in l3mdev_master_ifindex_by_index() 225 static inline u32 l3mdev_fib_table_by_index(struct net *net, int ifindex) in l3mdev_fib_table_by_index() 230 static inline bool netif_index_is_l3_master(struct net *net, int ifindex) in netif_index_is_l3_master() 236 struct dst_entry *l3mdev_link_scope_lookup(struct net *net, struct flowi6 *fl6) in l3mdev_link_scope_lookup() 266 int l3mdev_fib_rule_match(struct net *net, struct flowi *fl, in l3mdev_fib_rule_match() 272 void l3mdev_update_flow(struct net *net, struct flowi *fl) in l3mdev_update_flow()
|
D | icmp.h | 33 #define ICMP_INC_STATS(net, field) SNMP_INC_STATS((net)->mib.icmp_statistics, field) argument 34 #define __ICMP_INC_STATS(net, field) __SNMP_INC_STATS((net)->mib.icmp_statistics, field) argument 35 #define ICMPMSGOUT_INC_STATS(net, field) SNMP_INC_STATS_ATOMIC_LONG((net)->mib.icmpmsg_statistics, … argument 36 #define ICMPMSGIN_INC_STATS(net, field) SNMP_INC_STATS_ATOMIC_LONG((net)->mib.icmpmsg_statistics, … argument
|
D | ipv6.h | 157 #define IP6_REPLY_MARK(net, mark) \ argument 166 #define _DEVINC(net, statname, mod, idev, field) \ argument 175 #define _DEVINCATOMIC(net, statname, mod, idev, field) \ argument 184 #define _DEVINC_ATOMIC_ATOMIC(net, statname, idev, field) \ argument 192 #define _DEVADD(net, statname, mod, idev, field, val) \ argument 200 #define _DEVUPD(net, statname, mod, idev, field, val) \ argument 210 #define IP6_INC_STATS(net, idev,field) \ argument 212 #define __IP6_INC_STATS(net, idev,field) \ argument 214 #define IP6_ADD_STATS(net, idev,field,val) \ argument 216 #define __IP6_ADD_STATS(net, idev,field,val) \ argument [all …]
|
/linux-4.19.296/fs/afs/ |
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() 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 …]
|
D | server.c | 20 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() 99 struct afs_server *afs_find_server_by_uuid(struct afs_net *net, const uuid_t *uuid) in afs_find_server_by_uuid() 145 static struct afs_server *afs_install_server(struct afs_net *net, in afs_install_server() 207 static struct afs_server *afs_alloc_server(struct afs_net *net, in afs_alloc_server() 320 static void afs_set_server_timer(struct afs_net *net, time64_t delay) in afs_set_server_timer() 335 struct afs_net *net = container_of(timer, struct afs_net, fs_timer); in afs_servers_timer() local 345 void afs_put_server(struct afs_net *net, struct afs_server *server) in afs_put_server() 375 static void afs_destroy_server(struct afs_net *net, struct afs_server *server) in afs_destroy_server() [all …]
|
D | proc.c | 80 struct afs_net *net = afs_seq2net(m); in afs_proc_cells_write() local 144 struct afs_net *net; in afs_proc_rootcell_show() local 166 struct afs_net *net = afs_seq2net_single(m); in afs_proc_rootcell_write() local 379 struct afs_net *net = afs_seq2net(m); in afs_proc_sysname_show() local 391 struct afs_net *net = afs_seq2net(m); in afs_proc_sysname_start() local 404 struct afs_net *net = afs_seq2net(m); in afs_proc_sysname_next() local 416 struct afs_net *net = afs_seq2net(m); in afs_proc_sysname_stop() local 435 struct afs_net *net = afs_seq2net(m); in afs_proc_sysname_write() local 524 struct afs_net *net = afs_seq2net_single(m); in afs_proc_stats_show() local 556 struct afs_net *net = cell->net; in afs_proc_cell_setup() local [all …]
|
D | dynroot.c | 96 struct afs_net *net = afs_d2net(dentry); in afs_lookup_atcell() local 197 int afs_dynroot_mkdir(struct afs_net *net, struct afs_cell *cell) in afs_dynroot_mkdir() 227 void afs_dynroot_rmdir(struct afs_net *net, struct afs_cell *cell) in afs_dynroot_rmdir() 264 struct afs_net *net = afs_sb2net(sb); in afs_dynroot_populate() local 293 struct afs_net *net = afs_sb2net(sb); in afs_dynroot_depopulate() local
|
D | rxrpc.c | 40 int afs_open_socket(struct afs_net *net) in afs_open_socket() 100 void afs_close_socket(struct afs_net *net) in afs_close_socket() 128 static struct afs_call *afs_alloc_call(struct afs_net *net, in afs_alloc_call() 158 struct afs_net *net = call->net; in afs_put_call() local 212 struct afs_call *afs_alloc_flat_call(struct afs_net *net, in afs_alloc_flat_call() 722 struct afs_net *net = in afs_charge_preallocation() local 767 struct afs_net *net = afs_sock2net(sk); in afs_rx_new_call() local 823 struct afs_net *net = call->net; in afs_send_empty_reply() local 858 struct afs_net *net = call->net; in afs_send_simple_reply() local 898 struct afs_net *net = call->net; in afs_extract_data() local
|
D | fsclient.c | 431 struct afs_net *net = afs_v2net(vnode); in afs_fs_fetch_file_status() local 642 struct afs_net *net = afs_v2net(vnode); in afs_fs_fetch_data64() local 682 struct afs_net *net = afs_v2net(vnode); in afs_fs_fetch_data() local 777 struct afs_net *net = afs_v2net(vnode); in afs_fs_create() local 876 struct afs_net *net = afs_v2net(vnode); in afs_fs_remove() local 960 struct afs_net *net = afs_v2net(vnode); in afs_fs_link() local 1051 struct afs_net *net = afs_v2net(vnode); in afs_fs_symlink() local 1160 struct afs_net *net = afs_v2net(orig_dvnode); in afs_fs_rename() local 1273 struct afs_net *net = afs_v2net(vnode); in afs_fs_store_data64() local 1329 struct afs_net *net = afs_v2net(vnode); in afs_fs_store_data() local [all …]
|
/linux-4.19.296/fs/nfs_common/ |
D | grace.c | 28 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() 89 bool locks_in_grace(struct net *net) in locks_in_grace() 95 bool opens_in_grace(struct net *net) in opens_in_grace() 102 grace_init_net(struct net *net) in grace_init_net() 111 grace_exit_net(struct net *net) in grace_exit_net()
|
/linux-4.19.296/fs/nfsd/ |
D | nfssvc.c | 196 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() 493 int nfsd_create_serv(struct net *net) in nfsd_create_serv() 531 int nfsd_nrpools(struct net *net) in nfsd_nrpools() 541 int nfsd_get_nrthreads(int n, int *nthreads, struct net *net) in nfsd_get_nrthreads() [all …]
|
D | idmap.h | 46 static inline int nfsd_idmap_init(struct net *net) in nfsd_idmap_init() 50 static inline void nfsd_idmap_shutdown(struct net *net) in nfsd_idmap_shutdown()
|
/linux-4.19.296/include/net/netfilter/ |
D | nf_conntrack_timestamp.h | 30 struct net *net = nf_ct_net(ct); in nf_ct_tstamp_ext_add() local 41 static inline bool nf_ct_tstamp_enabled(struct net *net) in nf_ct_tstamp_enabled() 46 static inline void nf_ct_set_tstamp(struct net *net, bool enable) in nf_ct_set_tstamp() 58 static inline int nf_conntrack_tstamp_pernet_init(struct net *net) in nf_conntrack_tstamp_pernet_init() 63 static inline void nf_conntrack_tstamp_pernet_fini(struct net *net) in nf_conntrack_tstamp_pernet_fini()
|
D | nf_conntrack_ecache.h | 45 struct net *net = nf_ct_net(ct); in nf_ct_ecache_ext_add() local 90 struct net *net = nf_ct_net(ct); in nf_conntrack_event_cache() local 107 const struct net *net = nf_ct_net(ct); in nf_conntrack_event_report() local 118 const struct net *net = nf_ct_net(ct); in nf_conntrack_event() local 151 static inline void nf_conntrack_ecache_delayed_work(struct net *net) in nf_conntrack_ecache_delayed_work() 159 static inline void nf_conntrack_ecache_work(struct net *net) in nf_conntrack_ecache_work() 185 static inline int nf_conntrack_ecache_pernet_init(struct net *net) in nf_conntrack_ecache_pernet_init() 190 static inline void nf_conntrack_ecache_pernet_fini(struct net *net) in nf_conntrack_ecache_pernet_fini() 203 static inline void nf_conntrack_ecache_delayed_work(struct net *net) in nf_conntrack_ecache_delayed_work() 207 static inline void nf_conntrack_ecache_work(struct net *net) in nf_conntrack_ecache_work()
|
D | nf_conntrack_labels.h | 29 struct net *net = nf_ct_net(ct); in nf_ct_labels_ext_add() local 51 static inline int nf_connlabels_get(struct net *net, unsigned int bit) { return 0; } in nf_connlabels_get() 52 static inline void nf_connlabels_put(struct net *net) {} in nf_connlabels_put()
|
D | nf_conntrack_acct.h | 35 struct net *net = nf_ct_net(ct); in nf_ct_acct_ext_add() local 53 static inline bool nf_ct_acct_enabled(struct net *net) in nf_ct_acct_enabled() 59 static inline void nf_ct_set_acct(struct net *net, bool enable) in nf_ct_set_acct()
|
/linux-4.19.296/include/linux/ |
D | netfilter.h | 57 struct net *net; member 128 struct net *net, in nf_hook_state_init() 129 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook_state_init() 193 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct net *net, in nf_hook() 196 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook() 264 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND() 266 int (*okfn)(struct net *, struct sock *, struct sk_buff *), in NF_HOOK_COND() 278 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK() 280 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in NF_HOOK() 289 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST() [all …]
|
/linux-4.19.296/fs/lockd/ |
D | svc.c | 107 static void set_grace_period(struct net *net) in set_grace_period() 120 struct net *net = &init_net; in restart_grace() local 138 struct net *net = &init_net; in lockd() local 190 struct net *net, const int family, in create_lockd_listener() 203 static int create_lockd_family(struct svc_serv *serv, struct net *net, in create_lockd_family() 225 static int make_socks(struct svc_serv *serv, struct net *net) in make_socks() 249 static int lockd_up_net(struct svc_serv *serv, struct net *net) in lockd_up_net() 273 static void lockd_down_net(struct svc_serv *serv, struct net *net) in lockd_down_net() 464 int lockd_up(struct net *net) in lockd_up() 505 lockd_down(struct net *net) in lockd_down() [all …]
|
D | host.c | 62 struct net *net; /* network namespace to bind */ member 217 struct net *net) in nlmclnt_lookup_host() 330 struct net *net = SVC_NET(rqstp); in nlmsvc_lookup_host() local 548 void nlm_host_rebooted(const struct net *net, const struct nlm_reboot *info) in nlm_host_rebooted() 574 static void nlm_complain_hosts(struct net *net) in nlm_complain_hosts() 605 nlm_shutdown_hosts_net(struct net *net) in nlm_shutdown_hosts_net() 648 nlm_gc_hosts(struct net *net) in nlm_gc_hosts()
|
/linux-4.19.296/include/linux/sunrpc/ |
D | stats.h | 47 static inline int rpc_proc_init(struct net *net) in rpc_proc_init() 52 static inline void rpc_proc_exit(struct net *net) in rpc_proc_exit() 73 static inline struct proc_dir_entry *rpc_proc_register(struct net *net, struct rpc_stat *s) { retur… in rpc_proc_register() 74 static inline void rpc_proc_unregister(struct net *net, const char *p) {} in rpc_proc_unregister() 77 static inline struct proc_dir_entry *svc_proc_register(struct net *net, struct svc_stat *s, in svc_proc_register() 79 static inline void svc_proc_unregister(struct net *net, const char *p) {} in svc_proc_unregister()
|
/linux-4.19.296/fs/proc/ |
D | proc_net.c | 45 struct net *net; in seq_open_net() local 149 struct net *net; in single_open_net() local 241 struct net *net = NULL; in get_proc_task_net() local 261 struct net *net; in proc_tgid_net_lookup() local 276 struct net *net; in proc_tgid_net_getattr() local 298 struct net *net; in proc_tgid_net_readdir() local 315 static __net_init int proc_net_ns_init(struct net *net) in proc_net_ns_init() 363 static __net_exit void proc_net_ns_exit(struct net *net) in proc_net_ns_exit()
|
/linux-4.19.296/fs/nfs/blocklayout/ |
D | rpc_pipefs.c | 56 struct net *net = server->nfs_client->cl_net; in bl_resolve_deviceid() local 169 struct net *net = sb->s_fs_info; in rpc_pipefs_event() local 207 static struct dentry *nfs4blocklayout_register_net(struct net *net, in nfs4blocklayout_register_net() 221 static void nfs4blocklayout_unregister_net(struct net *net, in nfs4blocklayout_unregister_net() 233 static int nfs4blocklayout_net_init(struct net *net) in nfs4blocklayout_net_init() 252 static void nfs4blocklayout_net_exit(struct net *net) in nfs4blocklayout_net_exit()
|