Home
last modified time | relevance | path

Searched refs:maybe_get_net (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/include/net/
H A Dnet_namespace.h264 static inline struct net *maybe_get_net(struct net *net) in maybe_get_net() function
307 static inline struct net *maybe_get_net(struct net *net) in maybe_get_net() function
H A Dpkt_cls.h247 exts->net = maybe_get_net(exts->net); in tcf_exts_get_net()
/openbmc/linux/net/core/
H A Dnet_namespace.c255 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()
/openbmc/linux/fs/proc/
H A Dproc_net.c36 return maybe_get_net(PDE_NET(PDE(inode))); in get_proc_net()
/openbmc/linux/net/netfilter/
H A Dnf_nat_masquerade.c111 net = maybe_get_net(net); in nf_nat_masq_schedule()
H A Dnf_tables_api.c9760 trans->net = maybe_get_net(net); in nft_trans_gc_alloc()
11171 if (maybe_get_net(ctx->net)) in __nft_release_basechain()
/openbmc/linux/drivers/net/wireguard/
H A Dsocket.c378 net = net ? maybe_get_net(net) : NULL; in wg_socket_init()
/openbmc/linux/net/rds/
H A Dtcp.c502 if (!maybe_get_net(net)) { in rds_tcp_tune()