Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_l2t.c129 volatile uint_t nfree; /* number of free entries */ member
152 if (!atomic_read(&d->nfree)) in alloc_l2e()
164 atomic_dec_uint(&d->nfree); in alloc_l2e()
240 (void) atomic_swap_uint(&d->nfree, l2t_size); in t4_init_l2t()
276 atomic_dec_uint(&d->nfree); in l2t_hold()
422 atomic_inc_uint(&d->nfree); in t4_l2e_free()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/
H A Dvmprofile.c42 #define PFNFREE(pf) ((pf)->data.data.nfree)
58 Vmulong_t nfree; /* number of free calls */ member
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.c280 glh->nfree = glh->nbuff; in _new_GlHistory()
296 glh->nbuff = glh->nfree; in _new_GlHistory()
1659 glh->nfree = glh->nbuff; in _glh_resize_history()
1680 glh->nfree = 0; in _glh_resize_history()
1737 glh->nfree = nbuff - nbusy; in _glh_resize_history()
1840 glh->nfree = glh->nbuff; in _glh_clear_history()
1844 glh->nbusy = glh->nfree = 0; in _glh_clear_history()
2197 while(glh->nfree < nseg && glh->nbusy > 0) in _glh_acquire_copy()
2203 if(glh->nfree < nseg) in _glh_acquire_copy()
2227 glh->nfree -= nseg; in _glh_acquire_copy()
[all …]
/illumos-gate/usr/src/lib/librsm/inc/
H A Drsmlib_in.h76 int nfree; member
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dbitmap.c103 arp->nfree = cnt; in count_free_pages()
134 if (arp->nfree == 0) in search_phav_pages()
139 arp->nfree--; in search_phav_pages()
H A Dcprboot.h151 pgcnt_t nfree; member
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dutil.c237 qp->nfree(qp->nodep, sizeof (struct q_node)); in queue_remove()
253 newqp->nfree = nodefree; in new_queue()
H A Dutil.h78 void (*nfree)(void *, size_t); member
/illumos-gate/usr/src/lib/watchmalloc/common/
H A Dmallint.h48 static int nmalloc, nrealloc, nfree; variable
H A Dmalloc.c483 COUNT(nfree); in realfree()
/illumos-gate/usr/src/uts/common/sys/
H A Dkobj.h152 int nfree; member
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmallint.h46 static int nmalloc, nrealloc, nfree; variable
H A Dmalloc.c491 COUNT(nfree); in realfree()
/illumos-gate/usr/src/lib/librsm/common/
H A Drsmlib.c407 if (chunk->nfree > 0) in _rsm_insert_pollfd_table()
418 chunk->nfree = RSM_POLLFD_PER_CHUNK - 1; in _rsm_insert_pollfd_table()
436 chunk->nfree--; in _rsm_insert_pollfd_table()
469 assert(chunk->nfree < RSM_POLLFD_PER_CHUNK); in _rsm_lookup_pollfd_table()
512 assert(chunk->nfree < RSM_POLLFD_PER_CHUNK); in _rsm_remove_pollfd_table()
522 chunk->nfree++; in _rsm_remove_pollfd_table()
523 if (chunk->nfree == RSM_POLLFD_PER_CHUNK) { in _rsm_remove_pollfd_table()
/illumos-gate/usr/src/uts/sun/sys/scsi/adapters/
H A Dsfvar.h154 uint_t nfree; member
/illumos-gate/usr/src/uts/common/os/
H A Dkstat_fr.c183 kstat_named_t nfree; member
889 system_pages_kstat.nfree.value.ul = kobj_stat.nfree; in system_pages_kstat_update()
H A Dkmem.c5314 kmem_cache_frag_threshold(kmem_cache_t *cp, uint64_t nfree) in kmem_cache_frag_threshold() argument
5321 return ((nfree * kmem_frag_denom) > in kmem_cache_frag_threshold()
5329 uint64_t nfree; in kmem_cache_is_fragmented() local
5345 nfree = cp->cache_bufslab; in kmem_cache_is_fragmented()
5347 kmem_cache_frag_threshold(cp, nfree)); in kmem_cache_is_fragmented()
5363 nfree += ((uint64_t)reap * cp->cache_magtype->mt_magsize); in kmem_cache_is_fragmented()
5364 if (kmem_cache_frag_threshold(cp, nfree)) { in kmem_cache_is_fragmented()
H A Dmem_config.c695 uint_t nfree; member
1896 MDSTAT_INCR(mhp, nfree); in delete_memory_thread()
2937 printf("\t%8u nfree\n", mhp->mh_delstat.nfree); in mem_del_stat_print_func()
/illumos-gate/usr/src/uts/common/io/vr/
H A Dvr.c1047 vrp->tx.nfree = vrp->tx.ndesc; in vr_txring_init()
1494 if (vrp->tx.nfree == 0) { in vr_mac_tx_enqueue_list()
1503 vrp->tx.nfree--; in vr_mac_tx_enqueue_list()
1619 dirty = vrp->tx.ndesc - vrp->tx.nfree; in vr_tx_reclaim()
1678 vrp->tx.nfree += freed; in vr_tx_reclaim()
3143 (knp++)->value.ui32 = vrp->tx.nfree; in vr_update_kstats()
H A Dvr.h256 uint32_t nfree; member
/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj.c4023 kobj_stat.nfree += size; in kobj_free()