Searched refs:maybe_get_net (Results 1 – 7 of 7) sorted by relevance
269 static inline struct net *maybe_get_net(struct net *net) in maybe_get_net() function313 static inline struct net *maybe_get_net(struct net *net) in maybe_get_net() function
255 if (!maybe_get_net(peer)) { in peernet2id_alloc()304 peer = maybe_get_net(peer); in get_net_ns_by_id()717 net = maybe_get_net(container_of(ns, struct net, ns)); in get_net_ns()
111 net = maybe_get_net(net); in nf_nat_masq_schedule()
10310 trans->net = maybe_get_net(net); in nft_trans_gc_alloc()
36 return maybe_get_net(PDE_NET(PDE(inode))); in get_proc_net()
378 net = net ? maybe_get_net(net) : NULL; in wg_socket_init()
503 if (!maybe_get_net(net)) { in rds_tcp_tune()