/net/ipv4/ |
D | inet_fragment.c | 146 atomic_inc(&fq->refcnt); in inet_evict_bucket() 295 atomic_dec(&fq->refcnt); in inet_frag_kill() 299 atomic_dec(&fq->refcnt); in inet_frag_kill() 356 atomic_inc(&qp->refcnt); in inet_frag_intern() 366 atomic_inc(&qp->refcnt); in inet_frag_intern() 368 atomic_inc(&qp->refcnt); in inet_frag_intern() 397 atomic_set(&q->refcnt, 1); in inet_frag_alloc() 432 atomic_inc(&q->refcnt); in inet_frag_find()
|
D | inetpeer.c | 118 if (!atomic_read(&p->refcnt)) { in inetpeer_gc_worker() 223 if (!atomic_add_unless(&u->refcnt, 1, -1)) in lookup_rcu() 401 if (atomic_read(&p->refcnt) == 0) { in inet_peer_gc() 405 atomic_cmpxchg(&p->refcnt, 0, -1) == 0) { in inet_peer_gc() 451 atomic_inc(&p->refcnt); in inet_getpeer() 463 atomic_set(&p->refcnt, 1); in inet_getpeer() 487 atomic_dec(&p->refcnt); in inet_putpeer()
|
D | inet_timewait_sock.c | 74 int refcnt; in __inet_twsk_kill() local 79 refcnt = inet_twsk_unhash(tw); in __inet_twsk_kill() 87 refcnt += inet_twsk_bind_unhash(tw, hashinfo); in __inet_twsk_kill() 90 BUG_ON(refcnt >= atomic_read(&tw->tw_refcnt)); in __inet_twsk_kill() 91 atomic_sub(refcnt, &tw->tw_refcnt); in __inet_twsk_kill()
|
D | geneve.c | 273 atomic_set(&gs->refcnt, 1); in geneve_socket_create() 314 !atomic_add_unless(&gs->refcnt, 1, 0))) in geneve_sock_add() 330 if (!atomic_dec_and_test(&gs->refcnt)) in geneve_sock_release()
|
/net/netfilter/ |
D | xt_LED.c | 47 int refcnt; member 122 ledinternal->refcnt++; in led_tg_check() 135 ledinternal->refcnt = 1; in led_tg_check() 177 if (--ledinternal->refcnt) { in led_tg_destroy()
|
D | nfnetlink_acct.c | 37 atomic_t refcnt; member 126 atomic_set(&nfacct->refcnt, 1); in nfnl_acct_new() 167 nla_put_be32(skb, NFACCT_USE, htonl(atomic_read(&acct->refcnt)))) in nfnl_acct_fill_info() 323 if (atomic_dec_and_test(&cur->refcnt)) { in nfnl_acct_try_del() 329 atomic_inc(&cur->refcnt); in nfnl_acct_try_del() 409 if (!atomic_inc_not_zero(&cur->refcnt)) { in nfnl_acct_find_get() 425 atomic_dec(&acct->refcnt); in nfnl_acct_put()
|
D | xt_IDLETIMER.c | 73 unsigned int refcnt; member 308 info->timer->refcnt = 1; in idletimer_tg_create() 426 info->timer->refcnt++; in idletimer_tg_checkentry() 429 info->label, info->timer->refcnt); in idletimer_tg_checkentry() 452 if (--info->timer->refcnt == 0) { in idletimer_tg_destroy() 463 info->label, info->timer->refcnt); in idletimer_tg_destroy()
|
D | xt_RATEEST.c | 52 est->refcnt++; in xt_rateest_lookup() 65 if (--est->refcnt == 0) { in xt_rateest_put() 130 est->refcnt = 1; in xt_rateest_tg_checkentry()
|
D | nfnetlink_cttimeout.c | 147 atomic_set(&timeout->refcnt, 1); in cttimeout_new_timeout() 181 htonl(atomic_read(&timeout->refcnt)))) in ctnl_timeout_fill_info() 300 if (atomic_dec_and_test(&timeout->refcnt)) { in ctnl_timeout_try_del() 307 atomic_inc(&timeout->refcnt); in ctnl_timeout_try_del() 497 if (!atomic_inc_not_zero(&timeout->refcnt)) { in ctnl_timeout_find_get() 511 atomic_dec(&timeout->refcnt); in ctnl_timeout_put()
|
/net/sched/ |
D | cls_u32.c | 79 int refcnt; member 91 int refcnt; member 336 root_ht->refcnt++; in u32_init() 350 tp_c->refcnt++; in u32_init() 366 n->ht_down->refcnt--; in u32_destroy_key() 452 WARN_ON(ht->refcnt); in u32_destroy_hnode() 477 if (root_ht && --root_ht->refcnt == 0) in u32_destroy() 480 if (--tp_c->refcnt == 0) { in u32_destroy() 488 ht->refcnt--; in u32_destroy() 517 if (ht->refcnt == 1) { in u32_delete() [all …]
|
D | sch_drr.c | 23 unsigned int refcnt; member 112 cl->refcnt = 1; in drr_change_class() 161 BUG_ON(--cl->refcnt == 0); in drr_delete_class() 176 cl->refcnt++; in drr_get_class() 185 if (--cl->refcnt == 0) in drr_put_class()
|
D | sch_api.c | 397 rtab->refcnt++; in qdisc_get_rtab() 405 rtab->refcnt = 1; in qdisc_get_rtab() 420 if (!tab || --tab->refcnt) in qdisc_put_rtab() 477 stab->refcnt++; in qdisc_get_stab() 488 stab->refcnt = 1; in qdisc_get_stab() 512 if (--tab->refcnt == 0) { in qdisc_put_stab() 831 atomic_inc(&new->refcnt); in qdisc_graft() 842 atomic_inc(&new->refcnt); in qdisc_graft() 1232 atomic_inc(&q->refcnt); in tc_modify_qdisc() 1347 tcm->tcm_info = atomic_read(&q->refcnt); in tc_fill_qdisc()
|
/net/caif/ |
D | cffrml.c | 192 int i, refcnt = 0; in cffrml_refcnt_read() local 195 refcnt += *per_cpu_ptr(this->pcpu_refcnt, i); in cffrml_refcnt_read() 196 return refcnt; in cffrml_refcnt_read()
|
/net/netfilter/ipvs/ |
D | ip_vs_nq.c | 113 atomic_read(&least->refcnt), in ip_vs_nq_schedule() 123 .refcnt = ATOMIC_INIT(0),
|
D | ip_vs_wlc.c | 86 atomic_read(&least->refcnt), in ip_vs_wlc_schedule() 96 .refcnt = ATOMIC_INIT(0),
|
D | ip_vs_sed.c | 114 atomic_read(&least->refcnt), in ip_vs_sed_schedule() 124 .refcnt = ATOMIC_INIT(0),
|
D | ip_vs_conn.c | 183 atomic_inc(&cp->refcnt); in ip_vs_conn_hash() 217 atomic_dec(&cp->refcnt); in ip_vs_conn_unhash() 244 if (atomic_cmpxchg(&cp->refcnt, 1, 0) == 1) { in ip_vs_conn_unlink() 250 ret = atomic_read(&cp->refcnt) ? false : true; in ip_vs_conn_unlink() 601 cp->flags, atomic_read(&cp->refcnt), in ip_vs_bind_dest() 602 atomic_read(&dest->refcnt)); in ip_vs_bind_dest() 698 cp->flags, atomic_read(&cp->refcnt), in ip_vs_unbind_dest() 699 atomic_read(&dest->refcnt)); in ip_vs_unbind_dest() 843 atomic_read(&cp->refcnt), in ip_vs_conn_expire() 846 atomic_inc(&cp->refcnt); in ip_vs_conn_expire() [all …]
|
D | ip_vs_rr.c | 100 atomic_read(&dest->refcnt), atomic_read(&dest->weight)); in ip_vs_rr_schedule() 108 .refcnt = ATOMIC_INIT(0),
|
D | ip_vs_wrr.c | 221 atomic_read(&dest->refcnt), in ip_vs_wrr_schedule() 246 .refcnt = ATOMIC_INIT(0),
|
D | ip_vs_lblcr.c | 207 atomic_read(&least->refcnt), in ip_vs_dest_set_min() 252 atomic_read(&most->refcnt), in ip_vs_dest_set_max() 616 atomic_read(&least->refcnt), in __ip_vs_lblcr_schedule() 727 .refcnt = ATOMIC_INIT(0),
|
/net/ipv6/ |
D | xfrm6_tunnel.c | 62 atomic_t refcnt; member 163 atomic_set(&x6spi->refcnt, 1); in __xfrm6_tunnel_alloc_spi() 181 atomic_inc(&x6spi->refcnt); in xfrm6_tunnel_alloc_spi() 210 if (atomic_dec_and_test(&x6spi->refcnt)) { in xfrm6_tunnel_free_spi()
|
D | addrlabel.c | 41 atomic_t refcnt; member 145 return atomic_inc_not_zero(&p->refcnt); in ip6addrlbl_hold() 150 if (atomic_dec_and_test(&p->refcnt)) in ip6addrlbl_put() 246 atomic_set(&newp->refcnt, 1); in ip6addrlbl_alloc()
|
/net/sctp/ |
D | chunk.c | 52 atomic_set(&msg->refcnt, 1); in sctp_datamsg_init() 140 atomic_inc(&msg->refcnt); in sctp_datamsg_hold() 146 if (atomic_dec_and_test(&msg->refcnt)) in sctp_datamsg_put()
|
D | endpointola.c | 117 atomic_set(&ep->base.refcnt, 1); in sctp_endpoint_init() 287 atomic_inc(&ep->base.refcnt); in sctp_endpoint_hold() 295 if (atomic_dec_and_test(&ep->base.refcnt)) in sctp_endpoint_put()
|
/net/lapb/ |
D | lapb_iface.c | 57 atomic_inc(&lapb->refcnt); in lapb_hold() 62 if (atomic_dec_and_test(&lapb->refcnt)) in lapb_put() 138 atomic_set(&lapb->refcnt, 1); in lapb_create_cb()
|