Home
last modified time | relevance | path

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

/net/ieee802154/6lowpan/
A Dreassembly.c35 int *refs);
49 int refs = 1; in lowpan_frag_expire() local
58 inet_frag_kill(&fq->q, &refs); in lowpan_frag_expire()
61 inet_frag_putn(&fq->q, refs); in lowpan_frag_expire()
88 int *refs) in lowpan_frag_queue() argument
149 res = lowpan_frag_reasm(fq, skb, prev_tail, ldev, refs); in lowpan_frag_queue()
169 int *refs) in lowpan_frag_reasm() argument
173 inet_frag_kill(&fq->q, refs); in lowpan_frag_reasm()
310 int ret, refs = 0; in lowpan_frag_rcv() local
313 ret = lowpan_frag_queue(fq, skb, frag_type, &refs); in lowpan_frag_rcv()
[all …]
/net/ipv4/
A Dip_fragment.c80 int *refs);
131 int refs = 1; in ip_expire() local
148 inet_frag_kill(&qp->q, &refs); in ip_expire()
191 inet_frag_putn(&qp->q, refs); in ip_expire()
287 inet_frag_kill(&qp->q, refs); in ip_frag_queue()
374 inet_frag_kill(&qp->q, refs); in ip_frag_queue()
391 inet_frag_kill(&qp->q, refs); in ip_frag_queue()
406 int *refs) in ip_frag_reasm() argument
414 inet_frag_kill(&qp->q, refs); in ip_frag_reasm()
489 int ret, refs = 0; in ip_defrag() local
[all …]
A Dinet_fragment.c228 void inet_frag_kill(struct inet_frag_queue *fq, int *refs) in inet_frag_kill() argument
231 (*refs)++; in inet_frag_kill()
246 (*refs)++; in inet_frag_kill()
357 int refs = 1; in inet_frag_create() local
360 inet_frag_kill(q, &refs); in inet_frag_create()
361 inet_frag_putn(q, refs); in inet_frag_create()
/net/ipv6/netfilter/
A Dnf_conntrack_reasm.c127 int *refs);
172 int *refs) in nf_ct_frag6_queue() argument
226 inet_frag_kill(&fq->q, refs); in nf_ct_frag6_queue()
292 err = nf_ct_frag6_reasm(fq, skb, prev, dev, refs); in nf_ct_frag6_queue()
306 inet_frag_kill(&fq->q, refs); in nf_ct_frag6_queue()
321 int *refs) in nf_ct_frag6_reasm() argument
327 inet_frag_kill(&fq->q, refs); in nf_ct_frag6_reasm()
378 inet_frag_kill(&fq->q, refs); in nf_ct_frag6_reasm()
453 int refs = 0; in nf_ct_frag6_gather() local
491 ret = nf_ct_frag6_queue(fq, skb, fhdr, nhoff, &refs); in nf_ct_frag6_gather()
[all …]
/net/ipv6/
A Dreassembly.c72 int *refs);
110 u32 *prob_offset, int *refs) in ip6_frag_queue() argument
224 err = ip6_frag_reasm(fq, skb, prev_tail, dev, refs); in ip6_frag_queue()
242 inet_frag_kill(&fq->q, refs); in ip6_frag_queue()
259 int *refs) in ip6_frag_reasm() argument
267 inet_frag_kill(&fq->q, refs); in ip6_frag_reasm()
321 inet_frag_kill(&fq->q, refs); in ip6_frag_reasm()
382 int ret, refs = 0; in ipv6_frag_rcv() local
388 &prob_offset, &refs); in ipv6_frag_rcv()
392 inet_frag_putn(&fq->q, refs); in ipv6_frag_rcv()
/net/mctp/test/
A Dutils.c116 refcount_set(&rt->rt.refs, 1); in mctp_route_test_alloc()
199 unsigned int refs; in mctp_test_route_destroy() local
208 refs = refcount_read(&rt->rt.refs); in mctp_test_route_destroy()
209 KUNIT_ASSERT_EQ_MSG(test, refs, 1, "route ref imbalance"); in mctp_test_route_destroy()
/net/core/
A Ddatagram.c632 int refs, order, n = 0; in zerocopy_fill_skb_from_iter() local
653 for (refs = 0; copied != 0; start = 0) { in zerocopy_fill_skb_from_iter()
676 refs++; in zerocopy_fill_skb_from_iter()
680 if (refs) { in zerocopy_fill_skb_from_iter()
681 page_ref_sub(last_head, refs); in zerocopy_fill_skb_from_iter()
682 refs = 0; in zerocopy_fill_skb_from_iter()
686 if (refs) in zerocopy_fill_skb_from_iter()
687 page_ref_sub(last_head, refs); in zerocopy_fill_skb_from_iter()
A Dskbuff.c7015 refcount_inc(&flow->key->refs); in skb_ext_maybe_cow()
/net/mctp/
A Ddevice.c38 if (!refcount_inc_not_zero(&mdev->refs)) in __mctp_dev_get()
302 refcount_inc(&mdev->refs); in mctp_dev_hold()
307 if (mdev && refcount_dec_and_test(&mdev->refs)) { in mctp_dev_put()
347 refcount_set(&mdev->refs, 1); in mctp_add_dev()
A Droute.c206 refcount_inc(&key->refs); in mctp_lookup_key()
241 refcount_set(&key->refs, 1); in mctp_key_alloc()
251 if (!refcount_dec_and_test(&key->refs)) in mctp_key_unref()
292 refcount_inc(&key->refs); in mctp_key_add()
354 refcount_inc(&key->refs); in mctp_skb_set_flow()
662 if (refcount_dec_and_test(&rt->refs)) { in mctp_route_release()
679 refcount_set(&rt->refs, 1); in mctp_route_alloc()
714 refcount_inc(&key->refs); in mctp_reserve_tag()
835 refcount_inc(&key->refs); in mctp_lookup_prealloc_tag()
/net/xdp/
A Dxsk_diag.c67 du.refs = refcount_read(&umem->users); in xsk_diag_put_umem()
/net/netfilter/
A Dnf_tables_api.c5557 refcount_set(&set->refs, 1); in nf_tables_newset()
5627 if (refcount_dec_and_test(&set->refs)) { in nft_set_put()
10537 refcount_inc(&set->refs); in nft_trans_gc_alloc()

Completed in 51 milliseconds