Home
last modified time | relevance | path

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

12

/titanic_50/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_l2t.c131 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()
230 (void) atomic_swap_uint(&d->nfree, L2T_SIZE); in t4_init_l2t()
264 atomic_dec_uint(&d->nfree); in l2t_hold()
425 atomic_inc_uint(&d->nfree); in t4_l2e_free()
/titanic_50/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
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);
/titanic_50/usr/src/lib/libtecla/common/
H A Dhistory.c191 int nfree; /* The number of line segments in buffer that are */ member
282 glh->nfree = glh->nbuff; in _new_GlHistory()
298 glh->nbuff = glh->nfree; in _new_GlHistory()
1661 glh->nfree = glh->nbuff; in _glh_resize_history()
1682 glh->nfree = 0; in _glh_resize_history()
1739 glh->nfree = nbuff - nbusy; in _glh_resize_history()
1740 glh->unused = glh->nfree > 0 ? (buffer + nbusy) : NULL; in _glh_resize_history()
1842 glh->nfree = glh->nbuff; in _glh_clear_history()
1846 glh->nbusy = glh->nfree = 0; in _glh_clear_history()
2131 *buff_size = (glh->nbusy + glh->nfree) * GLH_SEG_SIZE; in _glh_size_of_history()
[all …]
/titanic_50/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_mem.c283 mp->nalloc -= mp->nfree; in nsc_register_mem()
284 mp->nfree = 0; in nsc_register_mem()
584 mp->nfree++; in _nsc_mem_free()
834 mp->nfree++; in _nsc_rm_free()
H A Dnsc_mem.h57 int nfree; /* Number of frees */ member
/titanic_50/usr/src/lib/librsm/inc/
H A Drsmlib_in.h78 int nfree; member
/titanic_50/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
/titanic_50/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dutil.c239 qp->nfree(qp->nodep, sizeof (struct q_node)); in queue_remove()
255 newqp->nfree = nodefree; in new_queue()
H A Dutil.h80 void (*nfree)(void *, size_t); member
/titanic_50/usr/src/lib/watchmalloc/common/
H A Dmallint.h50 static int nmalloc, nrealloc, nfree; variable
/titanic_50/usr/src/uts/common/sys/
H A Dkobj.h141 int nfree; member
/titanic_50/usr/src/lib/libc/port/gen/
H A Dmallint.h48 static int nmalloc, nrealloc, nfree; variable
H A Dmalloc.c493 COUNT(nfree); in realfree()
/titanic_50/usr/src/lib/librsm/common/
H A Drsmlib.c409 if (chunk->nfree > 0) in _rsm_insert_pollfd_table()
420 chunk->nfree = RSM_POLLFD_PER_CHUNK - 1; in _rsm_insert_pollfd_table()
438 chunk->nfree--; in _rsm_insert_pollfd_table()
471 assert(chunk->nfree < RSM_POLLFD_PER_CHUNK); in _rsm_lookup_pollfd_table()
514 assert(chunk->nfree < RSM_POLLFD_PER_CHUNK); in _rsm_remove_pollfd_table()
524 chunk->nfree++; in _rsm_remove_pollfd_table()
525 if (chunk->nfree == RSM_POLLFD_PER_CHUNK) { in _rsm_remove_pollfd_table()
/titanic_50/usr/src/uts/sun4u/starfire/io/
H A Didn_smr.c1718 idn.slabpool->pool[p].nfree = nslabs; in smr_slabpool_init()
1841 ATOMIC_DEC(idn.slabpool->pool[p].nfree); in smr_slab_reserve()
1927 ATOMIC_INC(idn.slabpool->pool[p].nfree); in smr_slab_unreserve()
2022 total_free += tblp->nfree; in smr_slab_reap_global()
H A Didn.c3871 register int p, nfree; in idn_slabpool_report() local
3883 for (p = nfree = 0; p < idn.slabpool->npools; p++) in idn_slabpool_report()
3884 nfree += idn.slabpool->pool[p].nfree; in idn_slabpool_report()
3890 idn.slabpool->ntotslabs - nfree, in idn_slabpool_report()
3924 idn.slabpool->pool[p].nfree, in idn_slabpool_report()
3929 idn.slabpool->pool[p].nfree, in idn_slabpool_report()
/titanic_50/usr/src/cmd/mdb/common/modules/nsctl/
H A Dnsctl.c1900 mp->nalloc, mp->nfree); in nsc_mem_type()
1976 mem.nalloc, mem.nfree, mem.base); in nsc_mem()
1982 mp->nfree += mem.nfree; in nsc_mem()
/titanic_50/usr/src/uts/sun/sys/scsi/adapters/
H A Dsfvar.h154 uint_t nfree; member
/titanic_50/usr/src/uts/common/os/
H A Dkstat_fr.c183 kstat_named_t nfree; member
885 system_pages_kstat.nfree.value.ul = kobj_stat.nfree; in system_pages_kstat_update()
H A Dkmem.c5231 kmem_cache_frag_threshold(kmem_cache_t *cp, uint64_t nfree) in kmem_cache_frag_threshold() argument
5238 return ((nfree * kmem_frag_denom) > in kmem_cache_frag_threshold()
5246 uint64_t nfree; in kmem_cache_is_fragmented() local
5262 nfree = cp->cache_bufslab; in kmem_cache_is_fragmented()
5264 kmem_cache_frag_threshold(cp, nfree)); in kmem_cache_is_fragmented()
5280 nfree += ((uint64_t)reap * cp->cache_magtype->mt_magsize); in kmem_cache_is_fragmented()
5281 if (kmem_cache_frag_threshold(cp, nfree)) { in kmem_cache_is_fragmented()
H A Dmem_config.c694 uint_t nfree; member
1895 MDSTAT_INCR(mhp, nfree); in delete_memory_thread()
2936 printf("\t%8u nfree\n", mhp->mh_delstat.nfree); in mem_del_stat_print_func()
/titanic_50/usr/src/uts/common/io/vr/
H A Dvr.c1043 vrp->tx.nfree = vrp->tx.ndesc; in vr_txring_init()
1490 if (vrp->tx.nfree == 0) { in vr_mac_tx_enqueue_list()
1499 vrp->tx.nfree--; in vr_mac_tx_enqueue_list()
1615 dirty = vrp->tx.ndesc - vrp->tx.nfree; in vr_tx_reclaim()
1674 vrp->tx.nfree += freed; in vr_tx_reclaim()
3139 (knp++)->value.ui32 = vrp->tx.nfree; in vr_update_kstats()
H A Dvr.h256 uint32_t nfree; member
/titanic_50/usr/src/uts/sun/io/scsi/adapters/
H A Dsf.c1124 sf->sf_cr_pool->ntot = sf->sf_cr_pool->nfree; in sf_detach()
1922 ptr->nfree = ptr->ntot; in sf_add_cr_pool()
2004 if (ptr->nfree != 0) { in sf_cr_alloc()
2005 ptr->nfree--; in sf_cr_alloc()
2089 cp->nfree++; in sf_cr_free()
2090 ASSERT(cp->nfree <= cp->ntot); in sf_cr_free()
2110 if (cp->nfree == cp->ntot) { in sf_crpool_free()

12