Searched refs:nfree (Results 1 - 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/lib/librsm/inc/
H A Drsmlib_in.h78 int nfree; member in struct:rsm_pollfd_chunk
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_mem.h57 int nfree; /* Number of frees */ member in struct:nsc_mem_s
H A Dnsc_mem.c283 mp->nalloc -= mp->nfree;
284 mp->nfree = 0;
584 mp->nfree++;
834 mp->nfree++;
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dutil.h80 void (*nfree)(void *, size_t); member in struct:q_head
H A Dutil.c239 qp->nfree(qp->nodep, sizeof (struct q_node));
255 newqp->nfree = nodefree;
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_l2t.c131 volatile uint_t nfree; /* number of free entries */ member in struct:l2t_data
152 if (!atomic_read(&d->nfree))
164 atomic_dec_uint(&d->nfree);
230 (void) atomic_swap_uint(&d->nfree, L2T_SIZE);
264 atomic_dec_uint(&d->nfree);
398 * table since it is likely to be reused but we also bump nfree to indicate
425 atomic_inc_uint(&d->nfree);
/illumos-gate/usr/src/lib/watchmalloc/common/
H A Dmallint.h50 static int nmalloc, nrealloc, nfree; variable
/illumos-gate/usr/src/lib/libast/common/vmalloc/
H A Dvmprofile.c42 #define PFNFREE(pf) ((pf)->data.data.nfree)
58 Vmulong_t nfree; /* number of free calls */ member in struct:_pfdata_s
363 reg Vmulong_t nalloc, alloc, nfree, free; local
377 alloc = free = nalloc = nfree = 0;
398 nfree += PFNFREE(pf);
408 bufp = pfsummary(bufp,nalloc,alloc,nfree,free,0,0);
427 alloc = free = nalloc = nfree = 0;
433 nfree += PFNFREE(last);
439 bufp = pfsummary(bufp,nalloc,alloc,nfree,free,0,0);
/illumos-gate/usr/src/lib/libtecla/common/
H A Dhistory.c191 int nfree; /* The number of line segments in buffer that are */ member in struct:GlHistory
282 glh->nfree = glh->nbuff;
298 glh->nbuff = glh->nfree;
1661 glh->nfree = glh->nbuff;
1682 glh->nfree = 0;
1739 glh->nfree = nbuff - nbusy;
1740 glh->unused = glh->nfree > 0 ? (buffer + nbusy) : NULL;
1842 glh->nfree = glh->nbuff;
1846 glh->nbusy = glh->nfree = 0;
2131 *buff_size = (glh->nbusy + glh->nfree) * GLH_SEG_SIZ
[all...]
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dbitmap.c103 arp->nfree = cnt;
128 * nfree is checked to eliminate scanning overhead when most
134 if (arp->nfree == 0)
139 arp->nfree--;
H A Dcprboot.h151 pgcnt_t nfree; member in struct:avail_range
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmallint.h48 static int nmalloc, nrealloc, nfree; variable
H A Dmalloc.c493 COUNT(nfree);
/illumos-gate/usr/src/uts/common/sys/
H A Dkobj.h141 int nfree; member in struct:__anon8038
/illumos-gate/usr/src/cmd/mdb/common/modules/nsctl/
H A Dnsctl.c1900 mp->nalloc, mp->nfree);
1976 mem.nalloc, mem.nfree, mem.base);
1982 mp->nfree += mem.nfree;
/illumos-gate/usr/src/uts/sun4u/starfire/io/
H A Didn_smr.c1718 idn.slabpool->pool[p].nfree = nslabs;
1841 ATOMIC_DEC(idn.slabpool->pool[p].nfree);
1927 ATOMIC_INC(idn.slabpool->pool[p].nfree);
2022 total_free += tblp->nfree;
H A Didn.c3871 register int p, nfree; local
3883 for (p = nfree = 0; p < idn.slabpool->npools; p++)
3884 nfree += idn.slabpool->pool[p].nfree;
3890 idn.slabpool->ntotslabs - nfree,
3893 (void) mi_mpprintf(mp, "pool nslabs nfree domains");
3924 idn.slabpool->pool[p].nfree,
3929 idn.slabpool->pool[p].nfree,
/illumos-gate/usr/src/uts/sun/sys/scsi/adapters/
H A Dsfvar.h154 uint_t nfree; member in struct:sf_cr_pool
/illumos-gate/usr/src/lib/librsm/common/
H A Drsmlib.c409 if (chunk->nfree > 0)
420 chunk->nfree = RSM_POLLFD_PER_CHUNK - 1;
438 chunk->nfree--;
471 assert(chunk->nfree < RSM_POLLFD_PER_CHUNK);
514 assert(chunk->nfree < RSM_POLLFD_PER_CHUNK);
524 chunk->nfree++;
525 if (chunk->nfree == RSM_POLLFD_PER_CHUNK) {
/illumos-gate/usr/src/uts/common/io/vr/
H A Dvr.c1041 * Every transmit decreases nfree. Every reclaim increases nfree.
1043 vrp->tx.nfree = vrp->tx.ndesc;
1490 if (vrp->tx.nfree == 0) {
1499 vrp->tx.nfree--;
1615 dirty = vrp->tx.ndesc - vrp->tx.nfree;
1674 vrp->tx.nfree += freed;
3139 (knp++)->value.ui32 = vrp->tx.nfree;
H A Dvr.h256 uint32_t nfree; member in struct:__anon6564
/illumos-gate/usr/src/uts/common/os/
H A Dkstat_fr.c183 kstat_named_t nfree; member in struct:__anon370
204 { "nfree", KSTAT_DATA_ULONG },
885 system_pages_kstat.nfree.value.ul = kobj_stat.nfree;
H A Dkmem.c5460 kmem_cache_frag_threshold(kmem_cache_t *cp, uint64_t nfree) argument
5463 * nfree kmem_frag_numer
5467 return ((nfree * kmem_frag_denom) >
5475 uint64_t nfree; local
5491 nfree = cp->cache_bufslab;
5493 kmem_cache_frag_threshold(cp, nfree));
5509 nfree += ((uint64_t)reap * cp->cache_magtype->mt_magsize);
5510 if (kmem_cache_frag_threshold(cp, nfree)) {
H A Dmem_config.c694 uint_t nfree; member in struct:mem_del_stat
1895 MDSTAT_INCR(mhp, nfree);
2936 printf("\t%8u nfree\n", mhp->mh_delstat.nfree);
/illumos-gate/usr/src/uts/sun/io/scsi/adapters/
H A Dsf.c1107 * our finagle of "ntot" and "nfree"
1119 * set ntot to nfree for this particular entry
1124 sf->sf_cr_pool->ntot = sf->sf_cr_pool->nfree;
1922 ptr->nfree = ptr->ntot;
2004 if (ptr->nfree != 0) {
2005 ptr->nfree--;
2089 cp->nfree++;
2090 ASSERT(cp->nfree <= cp->ntot);
2110 if (cp->nfree == cp->ntot) {

Completed in 189 milliseconds

12