Searched refs:read_pnet (Results 1 – 15 of 15) sorted by relevance
221 static inline struct net *read_pnet(struct net * const *pnet) in read_pnet() function229 #define read_pnet(pnet) (&init_net) macro
229 return read_pnet(&parms->net); in neigh_parms_net()246 return read_pnet(&pneigh->net); in pneigh_net()
221 return read_pnet(&twsk->tw_net); in twsk_net()
89 return read_pnet(&info->_net); in genl_info_net()
92 return read_pnet(&ib->ib_net); in ib_net()
236 return read_pnet(&x->xs_net); in xs_net()530 return read_pnet(&xp->xp_net); in xp_net()
2118 return read_pnet(&wiphy->_net); in wiphy_net()
2114 return read_pnet(&sk->sk_net); in sock_net()
167 return read_pnet(&ct->ct_net); in nf_ct_net()
921 err = __sock_create(read_pnet(¤t->nsproxy->net_ns), PF_INET, in p9_fd_create_tcp()959 err = __sock_create(read_pnet(¤t->nsproxy->net_ns), PF_UNIX, in p9_fd_create_unix()
56 return read_pnet(&lbl->lbl_net); in ip6addrlbl_net()
837 struct net *net = read_pnet(&mrt->net); in ip6mr_destroy_unres()
1217 if (!net_eq(dev_net(dev), read_pnet(&f->net)) || in packet_rcv_fanout()1312 read_pnet(&f->net) == sock_net(sk)) { in fanout_add()
1386 return read_pnet(&dev->nd_net); in dev_net()
616 struct net *net = read_pnet(&mrt->net); in ipmr_destroy_unres()