Home
last modified time | relevance | path

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

/illumos-gate/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()
/illumos-gate/usr/src/uts/common/sys/
H A Dbitmap.h109 #define BT_SIZEOFMAP(nbits) \ macro
/illumos-gate/usr/src/uts/common/syscall/
H A Dlgrpsys.c1274 bitmask_size = BT_SIZEOFMAP(snap_nlgrpsmax); in lgrp_snapshot()
1337 bitmask_size = BT_SIZEOFMAP(snap_nlgrpsmax); in lgrp_snapshot()
1549 bitmask_size = BT_SIZEOFMAP(snap_nlgrpsmax); in lgrp_snapshot()
1646 bitmask_size = BT_SIZEOFMAP(snap_nlgrpsmax); in lgrp_snapshot_copy()
1976 (i * LGRP_RSRC_COUNT * BT_SIZEOFMAP(snap_nlgrpsmax))); in lgrp_snapshot_copy32()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dpmem.c669 plp->pl_bitmap = kmem_zalloc(BT_SIZEOFMAP(pmem_pgcnt), kflags); in pmem_lpg_alloc()
691 kmem_free(plp->pl_bitmap, BT_SIZEOFMAP(pmem_pgcnt)); in pmem_lpg_free()
H A Dmp_startup.c1691 uchar_t new_x86_featureset[BT_SIZEOFMAP(NUM_X86_FEATURES)]; in mp_startup_common()
1706 bzero(new_x86_featureset, BT_SIZEOFMAP(NUM_X86_FEATURES)); in mp_startup_common()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/
H A Dkvm_isadep.c537 kmt->kmt_trapmap = mdb_zalloc(BT_SIZEOFMAP(kmt->kmt_trapmax), UM_SLEEP); in kmt_init_isadep()
/illumos-gate/usr/src/lib/liblgrp/common/
H A Dlgrp.c178 (i * BT_SIZEOFMAP(nlgrpsmax))); in parent_orphans()
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/unix/
H A Dunix.c918 size_t sz = sizeof (uchar_t) * BT_SIZEOFMAP(NUM_X86_FEATURES); in x86_featureset_dcmd()
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_kp.c212 segkp_bitmap = kmem_zalloc(BT_SIZEOFMAP(np), KM_SLEEP); in segkp_create()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_kvm.c2394 mdb_free(kmt->kmt_trapmap, BT_SIZEOFMAP(kmt->kmt_trapmax)); in kmt_destroy()
/illumos-gate/usr/src/uts/intel/os/
H A Dcpuid.c1599 uchar_t x86_featureset[BT_SIZEOFMAP(NUM_X86_FEATURES)];
1745 if (memcmp(setA, setB, BT_SIZEOFMAP(NUM_X86_FEATURES)) == 0) { in compare_x86_featureset()