Home
last modified time | relevance | path

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

/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c67 atomic_t nfree; /* number of free entries */ member
80 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()
/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.h76 atomic_t nfree; /* number of free entries */ member
146 atomic_dec(&d->nfree); in l2t_hold()
Dl2t.c222 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()
/drivers/net/ppp/
Dppp_generic.c1352 int navail, nfree, nzero; in ppp_mp_explode() local
1363 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 …]