/titanic_44/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_l2t.c | 131 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_44/usr/src/lib/libast/common/vmalloc/ |
H A D | vmprofile.c | 42 #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_44/usr/src/lib/libtecla/common/ |
H A D | history.c | 191 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_44/usr/src/uts/common/avs/ns/nsctl/ |
H A D | nsc_mem.c | 283 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 D | nsc_mem.h | 57 int nfree; /* Number of frees */ member
|
/titanic_44/usr/src/lib/librsm/inc/ |
H A D | rsmlib_in.h | 78 int nfree; member
|
/titanic_44/usr/src/psm/stand/cpr/sparcv9/sun4u/ |
H A D | bitmap.c | 103 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 D | cprboot.h | 151 pgcnt_t nfree; member
|
/titanic_44/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | util.c | 239 qp->nfree(qp->nodep, sizeof (struct q_node)); in queue_remove() 255 newqp->nfree = nodefree; in new_queue()
|
H A D | util.h | 80 void (*nfree)(void *, size_t); member
|
/titanic_44/usr/src/lib/watchmalloc/common/ |
H A D | mallint.h | 50 static int nmalloc, nrealloc, nfree; variable
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | kobj.h | 141 int nfree; member
|
/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | mallint.h | 48 static int nmalloc, nrealloc, nfree; variable
|
H A D | malloc.c | 493 COUNT(nfree); in realfree()
|
/titanic_44/usr/src/lib/librsm/common/ |
H A D | rsmlib.c | 409 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_44/usr/src/uts/sun4u/starfire/io/ |
H A D | idn_smr.c | 1718 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 D | idn.c | 3871 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_44/usr/src/cmd/mdb/common/modules/nsctl/ |
H A D | nsctl.c | 1900 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_44/usr/src/uts/sun/sys/scsi/adapters/ |
H A D | sfvar.h | 154 uint_t nfree; member
|
/titanic_44/usr/src/uts/common/os/ |
H A D | kstat_fr.c | 183 kstat_named_t nfree; member 885 system_pages_kstat.nfree.value.ul = kobj_stat.nfree; in system_pages_kstat_update()
|
H A D | kmem.c | 5376 kmem_cache_frag_threshold(kmem_cache_t *cp, uint64_t nfree) in kmem_cache_frag_threshold() argument 5383 return ((nfree * kmem_frag_denom) > in kmem_cache_frag_threshold() 5391 uint64_t nfree; in kmem_cache_is_fragmented() local 5407 nfree = cp->cache_bufslab; in kmem_cache_is_fragmented() 5409 kmem_cache_frag_threshold(cp, nfree)); in kmem_cache_is_fragmented() 5425 nfree += ((uint64_t)reap * cp->cache_magtype->mt_magsize); in kmem_cache_is_fragmented() 5426 if (kmem_cache_frag_threshold(cp, nfree)) { in kmem_cache_is_fragmented()
|
H A D | mem_config.c | 694 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_44/usr/src/uts/common/io/vr/ |
H A D | vr.c | 1043 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 D | vr.h | 256 uint32_t nfree; member
|
/titanic_44/usr/src/uts/sun/io/scsi/adapters/ |
H A D | sf.c | 1124 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()
|