Home
last modified time | relevance | path

Searched refs:sk_ref (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/net/packet/
H A Dinternal.h95 refcount_t sk_ref; member
H A Daf_packet.c1737 refcount_set(&match->sk_ref, 0); in fanout_add()
1756 if (refcount_read(&match->sk_ref) < match->max_num_members) { in fanout_add()
1764 refcount_set(&match->sk_ref, refcount_read(&match->sk_ref) + 1); in fanout_add()
1771 if (err && !refcount_read(&match->sk_ref)) { in fanout_add()
1782 /* If pkt_sk(sk)->fanout->sk_ref is zero, this function removes
1797 if (refcount_dec_and_test(&f->sk_ref)) in fanout_release()
/kernel/linux/linux-6.6/net/packet/
H A Dinternal.h95 refcount_t sk_ref; member
H A Daf_packet.c1773 refcount_set(&match->sk_ref, 0); in fanout_add()
1793 if (refcount_read(&match->sk_ref) < match->max_num_members) { in fanout_add()
1801 refcount_set(&match->sk_ref, refcount_read(&match->sk_ref) + 1); in fanout_add()
1808 if (err && !refcount_read(&match->sk_ref)) { in fanout_add()
1819 /* If pkt_sk(sk)->fanout->sk_ref is zero, this function removes
1834 if (refcount_dec_and_test(&f->sk_ref)) in fanout_release()

Completed in 14 milliseconds