Searched refs:nfree (Results 1 – 4 of 4) sorted by relevance
67 atomic_t nfree; /* number of free entries */ member80 atomic_dec(&d->nfree); in l2t_hold()273 if (!atomic_read(&d->nfree)) in alloc_l2e()285 atomic_dec(&d->nfree); in alloc_l2e()327 atomic_inc(&d->nfree); in t4_l2e_free()529 atomic_set(&d->nfree, L2T_SIZE); in t4_init_l2t()
76 atomic_t nfree; /* number of free entries */ member146 atomic_dec(&d->nfree); in l2t_hold()
222 if (!atomic_read(&d->nfree)) in alloc_l2e()233 atomic_dec(&d->nfree); in alloc_l2e()273 atomic_inc(&d->nfree); in t3_l2e_free()453 atomic_set(&d->nfree, l2t_capacity - 1); in t3_init_l2t()
1352 int navail, nfree, nzero; in ppp_mp_explode() local1363 nfree = 0; /* # channels which have no packet already queued */ in ppp_mp_explode()1389 ++nfree; in ppp_mp_explode()1402 if (nfree == 0 || nfree < navail / 2) in ppp_mp_explode()1414 nbigger = len % nfree; in ppp_mp_explode()1445 if (nfree > 0) in ppp_mp_explode()1464 nfree--; in ppp_mp_explode()1477 if (nfree > 0) { in ppp_mp_explode()1479 flen = len/nfree; in ppp_mp_explode()1493 nfree--; in ppp_mp_explode()[all …]