ncache
db_pgno_t ncache;
ncache = (b.cachesize + t->bt_psize - 1) / t->bt_psize;
mpool_open(NULL, t->bt_fd, t->bt_psize, ncache)) == NULL)
kmem_cache_t *ncache, *ocache;
ncache = hdr_full_crypt_cache;
ncache = hdr_full_cache;
nhdr = kmem_cache_alloc(ncache, KM_PUSHPAGE);
struct ncache *hash_next; /* hash chain, MUST BE FIRST */
struct ncache *hash_prev;
xpv_ncache(cmi_hdl_impl_t *hdl, uint32_t *ncache)
cmi_cache_ncaches(cmi_hdl_t hdl, uint32_t *ncache)
return (HDLOPS(IMPLHDL(hdl))->cmio_ncache(IMPLHDL(hdl), ncache));
ntv_ncache(cmi_hdl_impl_t *hdl, uint32_t *ncache)
int ret = cpuid_getncaches(HDLPRIV(hdl), ncache);
uint32_t ncache;
err = cmi_cache_ncaches(hdl, &ncache);
if (ncache == 0) {
} else if (ncache > FM_MAX_CACHES) {
for (uint32_t i = 0; i < ncache; i++) {
fnvlist_add_nvlist_array(nvl, buf, caches, (uint_t)ncache);
for (uint32_t i = 0; i < ncache; i++) {
cpuid_getncaches(struct cpu *cpu, uint32_t *ncache)
*ncache = cpi->cpi_cache_leaf_size;
int ncache, ncpu;
ncache = md_alloc_scan_dag(mdp, md_root_node(mdp), "cache",
if (ncache < 1) {
for (i = 0; i < ncache; i++) {