Home
last modified time | relevance | path

Searched defs:net (Results 51 – 75 of 967) sorted by relevance

12345678910>>...39

/OK3568_Linux_fs/kernel/fs/lockd/
H A Dsvc.c108 static void set_grace_period(struct net *net) in set_grace_period()
121 struct net *net = &init_net; in restart_grace() local
139 struct net *net = &init_net; in lockd() local
191 struct net *net, const int family, in create_lockd_listener()
205 static int create_lockd_family(struct svc_serv *serv, struct net *net, in create_lockd_family()
229 static int make_socks(struct svc_serv *serv, struct net *net, in make_socks()
254 static int lockd_up_net(struct svc_serv *serv, struct net *net, in lockd_up_net()
279 static void lockd_down_net(struct svc_serv *serv, struct net *net) in lockd_down_net()
470 int lockd_up(struct net *net, const struct cred *cred) in lockd_up()
511 lockd_down(struct net *net) in lockd_down()
[all …]
/OK3568_Linux_fs/kernel/fs/afs/
H A Dproc.c91 struct afs_net *net = afs_seq2net(m); in afs_proc_cells_write() local
155 struct afs_net *net; in afs_proc_rootcell_show() local
175 struct afs_net *net = afs_seq2net_single(m); in afs_proc_rootcell_write() local
438 struct afs_net *net = afs_seq2net(m); in afs_proc_sysname_show() local
450 struct afs_net *net = afs_seq2net(m); in afs_proc_sysname_start() local
463 struct afs_net *net = afs_seq2net(m); in afs_proc_sysname_next() local
475 struct afs_net *net = afs_seq2net(m); in afs_proc_sysname_stop() local
494 struct afs_net *net = afs_seq2net(m); in afs_proc_sysname_write() local
583 struct afs_net *net = afs_seq2net_single(m); in afs_proc_stats_show() local
615 struct afs_net *net = cell->net; in afs_proc_cell_setup() local
[all …]
/OK3568_Linux_fs/kernel/net/sctp/
H A Dinput.c68 static inline int sctp_rcv_checksum(struct net *net, struct sk_buff *skb) in sctp_rcv_checksum()
98 struct net *net = dev_net(skb->dev); in sctp_rcv() local
457 struct net *net = sock_net(sk); in sctp_icmp_proto_unreachable() local
473 struct sock *sctp_err_lookup(struct net *net, int family, struct sk_buff *skb, in sctp_err_lookup()
586 struct net *net = dev_net(skb->dev); in sctp_v4_err() local
724 struct net *net = sock_net(sk); in __sctp_hash_endpoint() local
815 static inline __u32 sctp_hashfn(const struct net *net, __be16 lport, in sctp_hashfn()
831 struct net *net, struct sk_buff *skb, in __sctp_rcv_lookup_endpoint()
872 const struct net *net; member
977 struct net *net, in sctp_addrs_lookup_transport()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Du_ether.c59 struct net_device *net; member
143 static void eth_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *p) in eth_get_drvinfo()
475 struct net_device *net) in eth_start_xmit()
625 static int eth_open(struct net_device *net) in eth_open()
643 static int eth_stop(struct net_device *net) in eth_stop()
755 struct net_device *net; in gether_setup_name() local
825 struct net_device *net; in gether_setup_name_default() local
867 int gether_register_netdev(struct net_device *net) in gether_register_netdev()
899 void gether_set_gadget(struct net_device *net, struct usb_gadget *g) in gether_set_gadget()
909 int gether_set_dev_addr(struct net_device *net, const char *dev_addr) in gether_set_dev_addr()
[all …]
/OK3568_Linux_fs/kernel/net/ipv4/netfilter/
H A Diptable_nat.c63 static int ipt_nat_register_lookups(struct net *net) in ipt_nat_register_lookups()
80 static void ipt_nat_unregister_lookups(struct net *net) in ipt_nat_unregister_lookups()
88 static int __net_init iptable_nat_table_init(struct net *net) in iptable_nat_table_init()
116 static void __net_exit iptable_nat_net_pre_exit(struct net *net) in iptable_nat_net_pre_exit()
122 static void __net_exit iptable_nat_net_exit(struct net *net) in iptable_nat_net_exit()
/OK3568_Linux_fs/kernel/net/ipv6/netfilter/
H A Dip6table_nat.c65 static int ip6t_nat_register_lookups(struct net *net) in ip6t_nat_register_lookups()
82 static void ip6t_nat_unregister_lookups(struct net *net) in ip6t_nat_unregister_lookups()
90 static int __net_init ip6table_nat_table_init(struct net *net) in ip6table_nat_table_init()
117 static void __net_exit ip6table_nat_net_pre_exit(struct net *net) in ip6table_nat_net_pre_exit()
123 static void __net_exit ip6table_nat_net_exit(struct net *net) in ip6table_nat_net_exit()
/OK3568_Linux_fs/kernel/net/xfrm/
H A Dxfrm_state.c34 #define xfrm_state_deref_prot(table, net) \ argument
57 static inline unsigned int xfrm_dst_hash(struct net *net, in xfrm_dst_hash()
66 static inline unsigned int xfrm_src_hash(struct net *net, in xfrm_src_hash()
75 xfrm_spi_hash(struct net *net, const xfrm_address_t *daddr, in xfrm_spi_hash()
119 struct net *net = container_of(work, struct net, xfrm.state_hash_work); in xfrm_hash_resize() local
610 struct xfrm_state *xfrm_state_alloc(struct net *net) in xfrm_state_alloc()
658 struct net *net = xs_net(x); in __xfrm_state_delete() local
703 xfrm_state_flush_secctx_check(struct net *net, u8 proto, bool task_valid) in xfrm_state_flush_secctx_check()
723 xfrm_dev_state_flush_secctx_check(struct net *net, struct net_device *dev, bool task_valid) in xfrm_dev_state_flush_secctx_check()
746 xfrm_state_flush_secctx_check(struct net *net, u8 proto, bool task_valid) in xfrm_state_flush_secctx_check()
[all …]
H A Dxfrm_sysctl.c7 static void __net_init __xfrm_sysctl_init(struct net *net) in __xfrm_sysctl_init()
44 int __net_init xfrm_sysctl_init(struct net *net) in xfrm_sysctl_init()
73 void __net_exit xfrm_sysctl_fini(struct net *net) in xfrm_sysctl_fini()
82 int __net_init xfrm_sysctl_init(struct net *net) in xfrm_sysctl_init()
/OK3568_Linux_fs/kernel/drivers/net/
H A Dvrf.c175 static struct vrf_map *netns_vrf_map(struct net *net) in netns_vrf_map()
356 static int vrf_ifindex_lookup_by_table_id(struct net *net, u32 table_id) in vrf_ifindex_lookup_by_table_id()
440 static int vrf_ip6_local_out(struct net *net, struct sock *sk, in vrf_ip6_local_out()
460 struct net *net = dev_net(skb->dev); in vrf_process_v6_outbound() local
522 static int vrf_ip_local_out(struct net *net, struct sock *sk, in vrf_ip_local_out()
543 struct net *net = dev_net(vrf_dev); in vrf_process_v4_outbound() local
654 static int vrf_finish_output6(struct net *net, struct sock *sk, in vrf_finish_output6()
688 static int vrf_output6(struct net *net, struct sock *sk, struct sk_buff *skb) in vrf_output6()
728 static int vrf_output6_direct_finish(struct net *net, struct sock *sk, in vrf_output6_direct_finish()
736 static int vrf_output6_direct(struct net *net, struct sock *sk, in vrf_output6_direct()
[all …]
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dipmr_base.c32 mr_table_alloc(struct net *net, u32 id, in mr_table_alloc()
114 void *mr_vif_seq_idx(struct net *net, struct mr_vif_iter *iter, loff_t pos) in mr_vif_seq_idx()
131 struct net *net = seq_file_net(seq); in mr_vif_seq_next() local
147 void *mr_mfc_seq_idx(struct net *net, in mr_mfc_seq_idx()
176 struct net *net = seq_file_net(seq); in mr_mfc_seq_next() local
345 struct mr_table *(*iter)(struct net *net, in mr_rtm_dumproute()
354 struct net *net = sock_net(skb->sk); in mr_rtm_dumproute() local
387 int mr_dump(struct net *net, struct notifier_block *nb, unsigned short family, in mr_dump()
388 int (*rules_dump)(struct net *net, in mr_dump()
391 struct mr_table *(*mr_iter)(struct net *net, in mr_dump()
H A Dsysctl_net_ipv4.c58 static void set_local_port_range(struct net *net, int range[2]) in set_local_port_range()
76 struct net *net = in ipv4_local_port_range() local
111 struct net *net = container_of(table->data, struct net, in ipv4_privileged_ports() local
145 struct net *net = in inet_get_ping_group_range_table() local
160 struct net *net = in set_ping_group_range() local
207 struct net *net; in ipv4_fwd_update_priority() local
223 struct net *net = container_of(ctl->data, struct net, in proc_tcp_congestion_control() local
296 struct net *net = container_of(table->data, struct net, in proc_tcp_fastopen_key() local
368 struct net *net = container_of(table->data, struct net, in proc_tfo_blackhole_detect_timeout() local
401 struct net *net = container_of(table->data, struct net, in proc_fib_multipath_hash_policy() local
[all …]
/OK3568_Linux_fs/kernel/net/sched/
H A Dact_ipt.c33 static int ipt_init_target(struct net *net, struct xt_entry_target *t, in ipt_init_target()
64 static void ipt_destroy_target(struct xt_entry_target *t, struct net *net) in ipt_destroy_target()
95 static int __tcf_ipt_init(struct net *net, unsigned int id, struct nlattr *nla, in __tcf_ipt_init()
203 static int tcf_ipt_init(struct net *net, struct nlattr *nla, in tcf_ipt_init()
212 static int tcf_xt_init(struct net *net, struct nlattr *nla, in tcf_xt_init()
318 static int tcf_ipt_walker(struct net *net, struct sk_buff *skb, in tcf_ipt_walker()
328 static int tcf_ipt_search(struct net *net, struct tc_action **a, u32 index) in tcf_ipt_search()
348 static __net_init int ipt_init_net(struct net *net) in ipt_init_net()
367 static int tcf_xt_walker(struct net *net, struct sk_buff *skb, in tcf_xt_walker()
377 static int tcf_xt_search(struct net *net, struct tc_action **a, u32 index) in tcf_xt_search()
[all …]
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnf_conntrack_core.c122 static bool nf_conntrack_double_lock(struct net *net, unsigned int h1, in nf_conntrack_double_lock()
186 const struct net *net) in hash_conntrack_raw()
209 static u32 __hash_conntrack(const struct net *net, in __hash_conntrack()
216 static u32 hash_conntrack(const struct net *net, in hash_conntrack()
246 struct net *net, in nf_ct_get_tuple()
397 struct net *net, struct nf_conntrack_tuple *tuple) in nf_ct_get_tuplepr()
542 struct nf_conn *nf_ct_tmpl_alloc(struct net *net, in nf_ct_tmpl_alloc()
632 struct net *net = nf_ct_net(ct); in nf_ct_delete_from_lists() local
692 const struct net *net) in nf_ct_key_equal()
735 ____nf_conntrack_find(struct net *net, const struct nf_conntrack_zone *zone, in ____nf_conntrack_find()
[all …]
/OK3568_Linux_fs/kernel/net/ipv6/
H A Droute.c150 struct net *net = dev_net(rt->dst.dev); in rt6_uncached_list_del() local
159 static void rt6_uncached_list_flush_dev(struct net *net, struct net_device *dev) in rt6_uncached_list_flush_dev()
336 struct rt6_info *ip6_dst_alloc(struct net *net, struct net_device *dev, in ip6_dst_alloc()
411 void fib6_select_path(const struct net *net, struct fib6_result *res, in fib6_select_path()
462 static bool __rt6_device_match(struct net *net, const struct fib6_nh *nh, in __rt6_device_match()
484 struct net *net; member
501 static struct fib6_nh *rt6_nh_dev_match(struct net *net, struct nexthop *nh, in rt6_nh_dev_match()
522 static void rt6_device_match(struct net *net, struct fib6_result *res, in rt6_device_match()
858 static void rt6_select(struct net *net, struct fib6_node *fn, int oif, in rt6_select()
925 struct net *net = dev_net(dev); in rt6_route_rcv() local
[all …]
H A Dip6_flowlabel.c74 static inline struct ip6_flowlabel *__fl_lookup(struct net *net, __be32 label) in __fl_lookup()
85 static struct ip6_flowlabel *fl_lookup(struct net *net, __be32 label) in fl_lookup()
188 static void __net_exit ip6_fl_purge(struct net *net) in ip6_fl_purge()
213 static struct ip6_flowlabel *fl_intern(struct net *net, in fl_intern()
373 fl_create(struct net *net, struct sock *sk, struct in6_flowlabel_req *freq, in fl_create()
578 struct net *net = sock_net(sk); in ipv6_flowlabel_renew() local
613 struct net *net = sock_net(sk); in ipv6_flowlabel_get() local
757 struct net *net = seq_file_net(seq); in ip6fl_get_first() local
773 struct net *net = seq_file_net(seq); in ip6fl_get_next() local
864 static int __net_init ip6_flowlabel_proc_init(struct net *net) in ip6_flowlabel_proc_init()
[all …]
H A Daddrlabel.c127 static struct ip6addrlbl_entry *__ipv6_addr_label(struct net *net, in __ipv6_addr_label()
140 u32 ipv6_addr_label(struct net *net, in ipv6_addr_label()
203 static int __ip6addrlbl_add(struct net *net, struct ip6addrlbl_entry *newp, in __ip6addrlbl_add()
242 static int ip6addrlbl_add(struct net *net, in ip6addrlbl_add()
265 static int __ip6addrlbl_del(struct net *net, in __ip6addrlbl_del()
289 static int ip6addrlbl_del(struct net *net, in ip6addrlbl_del()
307 static int __net_init ip6addrlbl_net_init(struct net *net) in ip6addrlbl_net_init()
338 static void __net_exit ip6addrlbl_net_exit(struct net *net) in ip6addrlbl_net_exit()
372 static bool addrlbl_ifindex_exists(struct net *net, int ifindex) in addrlbl_ifindex_exists()
387 struct net *net = sock_net(skb->sk); in ip6addrlbl_newdel() local
[all …]
H A Danycast.c52 static u32 inet6_acaddr_hash(struct net *net, const struct in6_addr *addr) in inet6_acaddr_hash()
69 struct net *net = sock_net(sk); in ipv6_sock_ac_join() local
160 struct net *net = sock_net(sk); in ipv6_sock_ac_drop() local
191 struct net *net = sock_net(sk); in __ipv6_sock_ac_close() local
224 static void ipv6_add_acaddr_hash(struct net *net, struct ifacaddr6 *aca) in ipv6_add_acaddr_hash()
288 struct net *net; in __ipv6_dev_ac_inc() local
436 bool ipv6_chk_acast_addr(struct net *net, struct net_device *dev, in ipv6_chk_acast_addr()
467 bool ipv6_chk_acast_addr_src(struct net *net, struct net_device *dev, in ipv6_chk_acast_addr_src()
489 struct net *net = seq_file_net(seq); in ac6_get_first() local
585 int __net_init ac6_proc_init(struct net *net) in ac6_proc_init()
[all …]
/OK3568_Linux_fs/kernel/net/tipc/
H A Dnode.c112 struct net *net; member
198 int tipc_node_get_mtu(struct net *net, u32 addr, u32 sel, bool connected) in tipc_node_get_mtu()
223 bool tipc_node_get_id(struct net *net, u32 addr, u8 *id) in tipc_node_get_id()
244 u16 tipc_node_get_capabilities(struct net *net, u32 addr) in tipc_node_get_capabilities()
282 struct tipc_crypto *tipc_node_crypto_rx_by_addr(struct net *net, u32 addr) in tipc_node_crypto_rx_by_addr()
322 static struct tipc_node *tipc_node_find(struct net *net, u32 addr) in tipc_node_find()
344 static struct tipc_node *tipc_node_find_by_id(struct net *net, u8 *id) in tipc_node_find_by_id()
386 struct net *net = n->net; in tipc_node_write_unlock() local
454 struct tipc_node *tipc_node_create(struct net *net, u32 addr, u8 *peer_id, in tipc_node_create()
631 void tipc_node_stop(struct net *net) in tipc_node_stop()
[all …]
/OK3568_Linux_fs/kernel/include/net/netfilter/
H A Dnf_conntrack_ecache.h45 struct net *net = nf_ct_net(ct); in nf_ct_ecache_ext_add() local
108 struct net *net = nf_ct_net(ct); in nf_conntrack_event_cache() local
127 const struct net *net = nf_ct_net(ct); in nf_conntrack_event_report() local
142 const struct net *net = nf_ct_net(ct); in nf_conntrack_event() local
189 static inline void nf_conntrack_ecache_pernet_init(struct net *net) in nf_conntrack_ecache_pernet_init()
193 static inline void nf_conntrack_ecache_pernet_fini(struct net *net) in nf_conntrack_ecache_pernet_fini()
208 static inline void nf_conntrack_ecache_delayed_work(struct net *net) in nf_conntrack_ecache_delayed_work()
218 static inline void nf_conntrack_ecache_work(struct net *net) in nf_conntrack_ecache_work()
/OK3568_Linux_fs/kernel/net/mpls/
H A Daf_mpls.c77 static struct mpls_route *mpls_route_input_rcu(struct net *net, unsigned index) in mpls_route_input_rcu()
269 static bool mpls_egress(struct net *net, struct mpls_route *rt, in mpls_egress()
344 struct net *net = dev_net(dev); in mpls_forward() local
536 static void mpls_notify_route(struct net *net, unsigned index, in mpls_notify_route()
550 static void mpls_route_update(struct net *net, unsigned index, in mpls_route_update()
569 static unsigned find_free_label(struct net *net) in find_free_label()
586 static struct net_device *inet_fib_lookup_dev(struct net *net, in inet_fib_lookup_dev()
606 static struct net_device *inet_fib_lookup_dev(struct net *net, in inet_fib_lookup_dev()
614 static struct net_device *inet6_fib_lookup_dev(struct net *net, in inet6_fib_lookup_dev()
637 static struct net_device *inet6_fib_lookup_dev(struct net *net, in inet6_fib_lookup_dev()
[all …]
/OK3568_Linux_fs/kernel/include/net/
H A Dwext.h18 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()
/OK3568_Linux_fs/kernel/net/core/
H A Ddev_ioctl.c23 static int dev_ifname(struct net *net, struct ifreq *ifr) in dev_ifname()
35 int dev_ifconf(struct net *net, struct ifconf *ifc, int size) in dev_ifconf()
80 static int dev_ifsioc_locked(struct net *net, struct ifreq *ifr, unsigned int cmd) in dev_ifsioc_locked()
217 static int dev_ifsioc(struct net *net, struct ifreq *ifr, unsigned int cmd) in dev_ifsioc()
330 void dev_load(struct net *net, const char *name) in dev_load()
365 int dev_ioctl(struct net *net, unsigned int cmd, struct ifreq *ifr, bool *need_copyout) in dev_ioctl()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/os_dep/
H A Drtw_android.c76 static int rtw_android_get_rssi(struct net_device *net, char *command, in rtw_android_get_rssi()
93 static int rtw_android_get_link_speed(struct net_device *net, char *command, in rtw_android_get_link_speed()
104 static int rtw_android_get_macaddr(struct net_device *net, char *command, in rtw_android_get_macaddr()
111 static int android_set_cntry(struct net_device *net, char *command, in android_set_cntry()
122 static int android_get_p2p_addr(struct net_device *net, char *command, in android_get_p2p_addr()
130 int rtw_android_priv_cmd(struct net_device *net, struct ifreq *ifr, int cmd) in rtw_android_priv_cmd()
/OK3568_Linux_fs/kernel/net/mptcp/
H A Dctrl.c23 static struct mptcp_pernet *mptcp_get_pernet(struct net *net) in mptcp_get_pernet()
28 int mptcp_is_enabled(struct net *net) in mptcp_is_enabled()
51 static int mptcp_pernet_new_table(struct net *net, struct mptcp_pernet *pernet) in mptcp_pernet_new_table()
89 static int __net_init mptcp_net_init(struct net *net) in mptcp_net_init()
99 static void __net_exit mptcp_net_exit(struct net *net) in mptcp_net_exit()
/OK3568_Linux_fs/kernel/net/
H A Dsysctl_net.c45 struct net *net = container_of(head->set, struct net, sysctls); in net_ctl_permissions() local
60 struct net *net = container_of(head->set, struct net, sysctls); in net_ctl_set_ownership() local
79 static int __net_init sysctl_net_init(struct net *net) in sysctl_net_init()
85 static void __net_exit sysctl_net_exit(struct net *net) in sysctl_net_exit()
118 struct ctl_table_header *register_net_sysctl(struct net *net, in register_net_sysctl()

12345678910>>...39