/net/netfilter/ipvs/ |
H A D | ip_vs_nq.c | 109 "activeconns %d refcnt %d weight %d overhead %d\n", 113 atomic_read(&least->refcnt), 123 .refcnt = ATOMIC_INIT(0),
|
H A D | ip_vs_sed.c | 110 "activeconns %d refcnt %d weight %d overhead %d\n", 114 atomic_read(&least->refcnt), 124 .refcnt = ATOMIC_INIT(0),
|
H A D | ip_vs_wlc.c | 82 "activeconns %d refcnt %d weight %d overhead %d\n", 86 atomic_read(&least->refcnt), 96 .refcnt = ATOMIC_INIT(0),
|
H A D | ip_vs_rr.c | 97 "activeconns %d refcnt %d weight %d\n", 100 atomic_read(&dest->refcnt), atomic_read(&dest->weight)); 108 .refcnt = ATOMIC_INIT(0),
|
H A D | ip_vs_fo.c | 60 .refcnt = ATOMIC_INIT(0),
|
H A D | ip_vs_lc.c | 73 .refcnt = ATOMIC_INIT(0),
|
H A D | ip_vs_conn.c | 183 atomic_inc(&cp->refcnt); 217 atomic_dec(&cp->refcnt); 243 /* Decrease refcnt and unlink conn only if we are last user */ 244 if (atomic_cmpxchg(&cp->refcnt, 1, 0) == 1) { 250 ret = atomic_read(&cp->refcnt) ? false : true; 572 /* Increase the refcnt counter of the dest */ 594 "d:%s:%d fwd:%c s:%u conn->flags:%X conn->refcnt:%d " 595 "dest->refcnt:%d\n", 601 cp->flags, atomic_read(&cp->refcnt), 602 atomic_read(&dest->refcnt)); [all...] |
H A D | ip_vs_wrr.c | 218 "activeconns %d refcnt %d weight %d\n", 221 atomic_read(&dest->refcnt), 246 .refcnt = ATOMIC_INIT(0),
|
/net/netfilter/ |
H A D | xt_LED.c | 47 int refcnt; member in struct:xt_led_info_internal 122 ledinternal->refcnt++; 135 ledinternal->refcnt = 1; 177 if (--ledinternal->refcnt) {
|
H A D | xt_RATEEST.c | 52 est->refcnt++; 65 if (--est->refcnt == 0) { 130 est->refcnt = 1;
|
H A D | nfnetlink_acct.c | 37 atomic_t refcnt; member in struct:nf_acct 126 atomic_set(&nfacct->refcnt, 1); 167 nla_put_be32(skb, NFACCT_USE, htonl(atomic_read(&acct->refcnt)))) 323 if (atomic_dec_and_test(&cur->refcnt)) { 329 atomic_inc(&cur->refcnt); 409 if (!atomic_inc_not_zero(&cur->refcnt)) { 425 atomic_dec(&acct->refcnt); 506 * it's safe to release them all without checking refcnt. */
|
H A D | xt_IDLETIMER.c | 73 unsigned int refcnt; member in struct:idletimer_tg 308 info->timer->refcnt = 1; 426 info->timer->refcnt++; 428 pr_debug("increased refcnt of timer %s to %u\n", 429 info->label, info->timer->refcnt); 452 if (--info->timer->refcnt == 0) { 462 pr_debug("decreased refcnt of timer %s to %u\n", 463 info->label, info->timer->refcnt);
|
H A D | nfnetlink_cttimeout.c | 147 atomic_set(&timeout->refcnt, 1); 181 htonl(atomic_read(&timeout->refcnt)))) 300 if (atomic_dec_and_test(&timeout->refcnt)) { 307 atomic_inc(&timeout->refcnt); 497 if (!atomic_inc_not_zero(&timeout->refcnt)) { 511 atomic_dec(&timeout->refcnt); 573 * it's safe to release them all without checking refcnt.
|
/net/ipv4/ |
H A D | inet_fragment.c | 146 atomic_inc(&fq->refcnt); 295 atomic_dec(&fq->refcnt); 299 atomic_dec(&fq->refcnt); 356 atomic_inc(&qp->refcnt); 366 atomic_inc(&qp->refcnt); 368 atomic_inc(&qp->refcnt); 397 atomic_set(&q->refcnt, 1); 432 atomic_inc(&q->refcnt);
|
H A D | inet_timewait_sock.c | 74 int refcnt; local 79 refcnt = inet_twsk_unhash(tw); 87 refcnt += inet_twsk_bind_unhash(tw, hashinfo); 90 BUG_ON(refcnt >= atomic_read(&tw->tw_refcnt)); 91 atomic_sub(refcnt, &tw->tw_refcnt);
|
H A D | inetpeer.c | 49 * refcnt: atomically against modifications on other CPU; 118 if (!atomic_read(&p->refcnt)) { 221 * deleted (refcnt=-1) 223 if (!atomic_add_unless(&u->refcnt, 1, -1)) 401 if (atomic_read(&p->refcnt) == 0) { 405 atomic_cmpxchg(&p->refcnt, 0, -1) == 0) { 451 atomic_inc(&p->refcnt); 463 atomic_set(&p->refcnt, 1); 487 atomic_dec(&p->refcnt);
|
H A D | geneve.c | 268 atomic_set(&gs->refcnt, 1); 308 atomic_inc(&gs->refcnt); 321 if (!atomic_dec_and_test(&gs->refcnt))
|
/net/sched/ |
H A D | cls_u32.c | 79 int refcnt; member in struct:tc_u_hnode 88 int refcnt; member in struct:tc_u_common 333 root_ht->refcnt++; 347 tp_c->refcnt++; 363 n->ht_down->refcnt--; 449 WARN_ON(ht->refcnt); 474 if (root_ht && --root_ht->refcnt == 0) 477 if (--tp_c->refcnt == 0) { 485 ht->refcnt--; 514 if (ht->refcnt [all...] |
H A D | sch_drr.c | 23 unsigned int refcnt; member in struct:drr_class 111 cl->refcnt = 1; 160 BUG_ON(--cl->refcnt == 0); 175 cl->refcnt++; 184 if (--cl->refcnt == 0)
|
/net/ipv6/ |
H A D | xfrm6_tunnel.c | 62 atomic_t refcnt; member in struct:xfrm6_tunnel_spi 163 atomic_set(&x6spi->refcnt, 1); 181 atomic_inc(&x6spi->refcnt); 210 if (atomic_dec_and_test(&x6spi->refcnt)) {
|
/net/caif/ |
H A D | cffrml.c | 192 int i, refcnt = 0; local 195 refcnt += *per_cpu_ptr(this->pcpu_refcnt, i); 196 return refcnt;
|
H A D | caif_dev.c | 85 int i, refcnt = 0; local 87 refcnt += *per_cpu_ptr(e->pcpu_refcnt, i); 88 return refcnt;
|
/net/sctp/ |
H A D | chunk.c | 52 atomic_set(&msg->refcnt, 1); 140 atomic_inc(&msg->refcnt); 146 if (atomic_dec_and_test(&msg->refcnt))
|
H A D | endpointola.c | 117 atomic_set(&ep->base.refcnt, 1); 287 atomic_inc(&ep->base.refcnt); 295 if (atomic_dec_and_test(&ep->base.refcnt))
|
/net/llc/ |
H A D | llc_core.c | 44 atomic_set(&sap->refcnt, 1);
|