Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/
H A Dsysevent.c94 BT_SIZEOFMAP(sysevent_minor_bits + BT_NBIPUL), KM_SLEEP); in sysevent_minor_alloc()
95 bcopy(bhst, sysevent_minor_bitmap, BT_SIZEOFMAP(sysevent_minor_bits)); in sysevent_minor_alloc()
97 kmem_free(bhst, BT_SIZEOFMAP(sysevent_minor_bits)); in sysevent_minor_alloc()
107 kmem_free(bitmap, BT_SIZEOFMAP(sysevent_minor_bits)); in sysevent_minor_free()
H A Dcpc.c497 kcpc_cpumap = kmem_zalloc(BT_SIZEOFMAP(max_cpuid + 1), in kcpc_open()
531 kmem_free(kcpc_cpumap, BT_SIZEOFMAP(max_cpuid + 1)); in kcpc_close()
/titanic_41/usr/src/uts/common/sys/
H A Dbitmap.h106 #define BT_SIZEOFMAP(nbits) \ macro
/titanic_41/usr/src/uts/common/syscall/
H A Dlgrpsys.c1255 bitmask_size = BT_SIZEOFMAP(snap_nlgrpsmax); in lgrp_snapshot()
1318 bitmask_size = BT_SIZEOFMAP(snap_nlgrpsmax); in lgrp_snapshot()
1530 bitmask_size = BT_SIZEOFMAP(snap_nlgrpsmax); in lgrp_snapshot()
1627 bitmask_size = BT_SIZEOFMAP(snap_nlgrpsmax); in lgrp_snapshot_copy()
1957 (i * LGRP_RSRC_COUNT * BT_SIZEOFMAP(snap_nlgrpsmax))); in lgrp_snapshot_copy32()
/titanic_41/usr/src/uts/common/os/
H A Ddumpsubr.c937 bzero(dumpcfg.rbitmap, BT_SIZEOFMAP(dumpcfg.rbitmapsize)); in dumpsys_get_maxmem()
1132 dumpcfg.helpermap = kmem_zalloc(BT_SIZEOFMAP(NCPU), KM_SLEEP); in dumphdr_init()
1143 void *map = kmem_alloc(BT_SIZEOFMAP(npages), KM_SLEEP); in dumphdr_init()
1144 void *rmap = kmem_alloc(BT_SIZEOFMAP(rlen), KM_SLEEP); in dumphdr_init()
1147 kmem_free(dumpcfg.bitmap, BT_SIZEOFMAP(dumpcfg. in dumphdr_init()
1150 kmem_free(dumpcfg.rbitmap, BT_SIZEOFMAP(dumpcfg. in dumphdr_init()
2712 bzero(dumpcfg.bitmap, BT_SIZEOFMAP(dumpcfg.bitmapsize)); in dumpsys()
2873 bzero(dumpcfg.helpermap, BT_SIZEOFMAP(NCPU)); in dumpsys()
H A Derrorq.c355 eqp->eq_bitmap = kmem_zalloc(BT_SIZEOFMAP(qlen), KM_SLEEP); in errorq_create()
464 kmem_free(eqp->eq_bitmap, BT_SIZEOFMAP(eqp->eq_qlen)); in errorq_destroy()
/titanic_41/usr/src/uts/sun4v/io/
H A Dvlds.c210 BT_SIZEOFMAP(vlds_minor_bits + BT_NBIPUL), KM_SLEEP); in vlds_minor_alloc()
211 bcopy(bhst, vlds_minor_bitmap, BT_SIZEOFMAP(vlds_minor_bits)); in vlds_minor_alloc()
213 kmem_free(bhst, BT_SIZEOFMAP(vlds_minor_bits)); in vlds_minor_alloc()
223 kmem_free(bitmap, BT_SIZEOFMAP(vlds_minor_bits)); in vlds_minor_free()
/titanic_41/usr/src/uts/i86pc/os/
H A Dpmem.c671 plp->pl_bitmap = kmem_zalloc(BT_SIZEOFMAP(pmem_pgcnt), kflags); in pmem_lpg_alloc()
693 kmem_free(plp->pl_bitmap, BT_SIZEOFMAP(pmem_pgcnt)); in pmem_lpg_free()
H A Dmp_startup.c1658 uchar_t new_x86_featureset[BT_SIZEOFMAP(NUM_X86_FEATURES)]; in mp_startup_common()
1669 bzero(new_x86_featureset, BT_SIZEOFMAP(NUM_X86_FEATURES)); in mp_startup_common()
H A Dcpuid.c127 uchar_t x86_featureset[BT_SIZEOFMAP(NUM_X86_FEATURES)];
205 if (memcmp(setA, setB, BT_SIZEOFMAP(NUM_X86_FEATURES)) == 0) { in compare_x86_featureset()
H A Dstartup.c2002 kmem_zalloc(BT_SIZEOFMAP(toxic_bit_map_len), KM_NOSLEEP); in startup_vm()
/titanic_41/usr/src/cmd/mdb/sparc/kmdb/
H A Dkvm_isadep.c496 kmt->kmt_trapmap = mdb_zalloc(BT_SIZEOFMAP(kmt->kmt_trapmax), UM_SLEEP); in kmt_init_isadep()
/titanic_41/usr/src/lib/libdtrace/common/
H A Ddt_provider.c153 size_t oldsize = BT_SIZEOFMAP(pvp->pv_xrmax); in dt_provider_xref()
154 size_t newsize = BT_SIZEOFMAP(dtp->dt_xlatorid); in dt_provider_xref()
H A Ddt_as.c177 dt_zalloc(dtp, BT_SIZEOFMAP(dxp->dx_nmembers)); in dt_as_xlate()
/titanic_41/usr/src/cmd/mdb/intel/kmdb/
H A Dkvm_isadep.c559 kmt->kmt_trapmap = mdb_zalloc(BT_SIZEOFMAP(kmt->kmt_trapmax), UM_SLEEP); in kmt_init_isadep()
/titanic_41/usr/src/lib/liblgrp/common/
H A Dlgrp.c181 (i * BT_SIZEOFMAP(nlgrpsmax))); in parent_orphans()
/titanic_41/usr/src/cmd/mdb/i86pc/modules/unix/
H A Dunix.c839 size_t sz = sizeof (uchar_t) * BT_SIZEOFMAP(NUM_X86_FEATURES); in x86_featureset_cmd()
/titanic_41/usr/src/uts/common/vm/
H A Dseg_kp.c212 segkp_bitmap = kmem_zalloc(BT_SIZEOFMAP(np), KM_SLEEP); in segkp_create()
/titanic_41/usr/src/uts/common/io/scsi/conf/
H A Dscsi_confsubr.c272 scsi_pkt_bad_alloc_bitmap = kmem_zalloc(BT_SIZEOFMAP(devcnt), KM_SLEEP); in _init()
/titanic_41/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_kvm.c2393 mdb_free(kmt->kmt_trapmap, BT_SIZEOFMAP(kmt->kmt_trapmax)); in kmt_destroy()
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_sp.c2358 Zalloc(BT_SIZEOFMAP(MD_MAXUNITS)); in meta_sp_print()