Home
last modified time | relevance | path

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

/linux/include/net/
H A Dnet_namespace.h282 static inline struct net *maybe_get_net(struct net *net) in maybe_get_net() function
326 static inline struct net *maybe_get_net(struct net *net) in maybe_get_net() function
H A Dpkt_cls.h258 exts->net = maybe_get_net(exts->net); in tcf_exts_get_net()
/linux/net/core/
H A Dnet_namespace.c333 if (!maybe_get_net(peer)) { in peernet2id_alloc()
382 peer = maybe_get_net(peer); in get_net_ns_by_id()
764 net = maybe_get_net(container_of(ns, struct net, ns)); in get_net_ns()
/linux/fs/proc/
H A Dproc_net.c36 return maybe_get_net(PDE_NET(PDE(inode))); in get_proc_net()
/linux/net/netfilter/
H A Dnf_nat_masquerade.c111 net = maybe_get_net(net); in nf_nat_masq_schedule()
H A Dnf_tables_api.c10455 trans->net = maybe_get_net(net); in nft_trans_gc_alloc()
/linux/drivers/net/wireguard/
H A Dsocket.c378 net = net ? maybe_get_net(net) : NULL; in wg_socket_init()
/linux/net/rds/
H A Dtcp.c497 if (!maybe_get_net(net)) in rds_tcp_tune()
/linux/net/tipc/
H A Dcrypto.c821 if (!maybe_get_net(aead->crypto->net)) { in tipc_aead_encrypt()