Searched refs:maybe_get_net (Results 1 – 8 of 8) sorted by relevance
264 static inline struct net *maybe_get_net(struct net *net) in maybe_get_net() function307 static inline struct net *maybe_get_net(struct net *net) in maybe_get_net() function
247 exts->net = maybe_get_net(exts->net); in tcf_exts_get_net()
255 if (!maybe_get_net(peer)) { in peernet2id_alloc()304 peer = maybe_get_net(peer); in get_net_ns_by_id()679 net = maybe_get_net(container_of(ns, struct net, ns)); in get_net_ns()
36 return maybe_get_net(PDE_NET(PDE(inode))); in get_proc_net()
111 net = maybe_get_net(net); in nf_nat_masq_schedule()
9760 trans->net = maybe_get_net(net); in nft_trans_gc_alloc()11171 if (maybe_get_net(ctx->net)) in __nft_release_basechain()
378 net = net ? maybe_get_net(net) : NULL; in wg_socket_init()
502 if (!maybe_get_net(net)) { in rds_tcp_tune()