/titanic_41/usr/src/uts/common/io/ |
H A D | sysevent.c | 94 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 D | cpc.c | 497 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 D | bitmap.h | 106 #define BT_SIZEOFMAP(nbits) \ macro
|
/titanic_41/usr/src/uts/common/syscall/ |
H A D | lgrpsys.c | 1255 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 D | dumpsubr.c | 937 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 D | errorq.c | 355 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 D | vlds.c | 210 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 D | pmem.c | 671 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 D | mp_startup.c | 1658 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 D | cpuid.c | 127 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 D | startup.c | 2002 kmem_zalloc(BT_SIZEOFMAP(toxic_bit_map_len), KM_NOSLEEP); in startup_vm()
|
/titanic_41/usr/src/cmd/mdb/sparc/kmdb/ |
H A D | kvm_isadep.c | 496 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 D | dt_provider.c | 153 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 D | dt_as.c | 177 dt_zalloc(dtp, BT_SIZEOFMAP(dxp->dx_nmembers)); in dt_as_xlate()
|
/titanic_41/usr/src/cmd/mdb/intel/kmdb/ |
H A D | kvm_isadep.c | 559 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 D | lgrp.c | 181 (i * BT_SIZEOFMAP(nlgrpsmax))); in parent_orphans()
|
/titanic_41/usr/src/cmd/mdb/i86pc/modules/unix/ |
H A D | unix.c | 839 size_t sz = sizeof (uchar_t) * BT_SIZEOFMAP(NUM_X86_FEATURES); in x86_featureset_cmd()
|
/titanic_41/usr/src/uts/common/vm/ |
H A D | seg_kp.c | 212 segkp_bitmap = kmem_zalloc(BT_SIZEOFMAP(np), KM_SLEEP); in segkp_create()
|
/titanic_41/usr/src/uts/common/io/scsi/conf/ |
H A D | scsi_confsubr.c | 272 scsi_pkt_bad_alloc_bitmap = kmem_zalloc(BT_SIZEOFMAP(devcnt), KM_SLEEP); in _init()
|
/titanic_41/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_kvm.c | 2393 mdb_free(kmt->kmt_trapmap, BT_SIZEOFMAP(kmt->kmt_trapmax)); in kmt_destroy()
|
/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_sp.c | 2358 Zalloc(BT_SIZEOFMAP(MD_MAXUNITS)); in meta_sp_print()
|