Home
last modified time | relevance | path

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

/net/core/
Ddatagram.c630 int refs, n = 0; in __zerocopy_sg_from_iter() local
653 for (refs = 0; copied != 0; start = 0) { in __zerocopy_sg_from_iter()
672 refs++; in __zerocopy_sg_from_iter()
676 if (refs) { in __zerocopy_sg_from_iter()
677 page_ref_sub(last_head, refs); in __zerocopy_sg_from_iter()
678 refs = 0; in __zerocopy_sg_from_iter()
682 if (refs) in __zerocopy_sg_from_iter()
683 page_ref_sub(last_head, refs); in __zerocopy_sg_from_iter()
/net/netfilter/
Dnf_conntrack_ecache.c43 struct nf_conn *refs[ECACHE_STACK_ALLOC]; in ecache_work_evict_list() local
80 refs[evicted] = ct; in ecache_work_evict_list()
82 if (++evicted >= ARRAY_SIZE(refs)) { in ecache_work_evict_list()
92 nf_ct_put(refs[--evicted]); in ecache_work_evict_list()
Dnf_tables_api.c4823 refcount_set(&set->refs, 1); in nf_tables_newset()
4893 if (refcount_dec_and_test(&set->refs)) { in nft_set_put()
9031 refcount_inc(&set->refs); in nft_trans_gc_alloc()
/net/mctp/
Droute.c420 if (refcount_dec_and_test(&rt->refs)) { in mctp_route_release()
436 refcount_set(&rt->refs, 1); in mctp_route_alloc()
557 if (refcount_inc_not_zero(&tmp->refs)) { in mctp_route_lookup()
578 refcount_inc_not_zero(&tmp->refs)) { in mctp_route_lookup_null()
/net/xdp/
Dxsk_diag.c67 du.refs = refcount_read(&umem->users); in xsk_diag_put_umem()