Home
last modified time | relevance | path

Searched refs:__refcnt (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/include/net/
H A Ddst.h63 * __refcnt wants to be on a different cache line from
67 atomic_t __refcnt; /* 64-bit offset 64 */ member
77 atomic_t __refcnt; /* 32-bit offset 64 */ member
224 * the placement of __refcnt in struct dst_entry in dst_hold()
226 BUILD_BUG_ON(offsetof(struct dst_entry, __refcnt) & 63); in dst_hold()
227 WARN_ON(atomic_inc_not_zero(&dst->__refcnt) == 0); in dst_hold()
290 return atomic_inc_not_zero(&dst->__refcnt); in dst_hold_safe()
H A Dsock.h2015 if (dst && !atomic_inc_not_zero(&dst->__refcnt)) in sk_dst_get()
/kernel/linux/linux-5.10/net/core/
H A Ddst.c70 atomic_set(&dst->__refcnt, initial_ref); in dst_init()
170 newrefcnt = atomic_dec_return(&dst->__refcnt); in dst_release()
185 newrefcnt = atomic_dec_return(&dst->__refcnt); in dst_release_immediate()
H A Drtnetlink.c812 ci.rta_clntref = atomic_read(&dst->__refcnt); in rtnl_put_cacheinfo()
/kernel/linux/linux-5.10/net/bridge/
H A Dbr_nf_core.c76 atomic_set(&rt->dst.__refcnt, 1); in br_netfilter_rtable_init()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
H A Droute.c118 .__refcnt = ATOMIC_INIT(1),
130 .__refcnt = ATOMIC_INIT(1),
438 nip_dbg("rt dst.__refcnt=%d, pcpu dst.__refcnt=%d", in nip_pol_route()
439 atomic_read(&rt->dst.__refcnt), in nip_pol_route()
440 atomic_read(&pcpu_rt->dst.__refcnt)); in nip_pol_route()
706 nip_dbg("from->__refcnt=%d", atomic_read(&from->__refcnt)); in nip_dst_destroy()
H A Dnndisc.c289 atomic_set(&rt->dst.__refcnt, 1); in nndisc_dst_alloc()
H A Dnip_output.c169 nip_dbg("malloc_len=%d, dst->__refcnt=%u", len, atomic_read(&dst->__refcnt)); in _nip_alloc_skb()
/kernel/linux/linux-5.10/net/netfilter/ipvs/
H A Dip_vs_xmit.c342 atomic_read(&rt->dst.__refcnt)); in __ip_vs_get_out_rt()
510 atomic_read(&rt->dst.__refcnt)); in __ip_vs_get_out_rt_v6()
/kernel/linux/linux-5.10/net/ipv6/
H A Droute.c290 .__refcnt = ATOMIC_INIT(1),
304 .__refcnt = ATOMIC_INIT(1),
316 .__refcnt = ATOMIC_INIT(1),

Completed in 26 milliseconds