Home
last modified time | relevance | path

Searched refs:maxbit (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dbitmap.c72 index_t maxbit; /* last bit to look at */ in bt_availbit() local
76 maxbit = wx == maxword ? nbits & BT_ULMASK : BT_NBIPUL - 1; in bt_availbit()
79 for (bx = 0; bx <= maxbit; bx++, bit <<= 1) { in bt_availbit()
H A Derrorq.c478 ulong_t bit, maxbit, bx; in errorq_availbit() local
493 maxbit = (nextword == maxword) ? maxbitindex : BT_ULMASK; in errorq_availbit()
494 for (bx = 0, bit = 1; bx <= maxbit; bx++, bit <<= 1) in errorq_availbit()
H A Dsunddi.c861 maxbit(attr->dma_attr_minxfer, mod->dma_attr_minxfer); in ddi_dma_attr_merge()
/illumos-gate/usr/src/uts/common/sys/
H A Dddidmareq.h444 #define maxbit(val, mybit) \ macro
/illumos-gate/usr/src/uts/sun4/os/
H A Dddi_impl.c1206 iomin = maxbit(iomin, attr->dma_attr_minxfer); in i_ddi_mem_alloc()
1207 iomin = maxbit(iomin, attr->dma_attr_align); in i_ddi_mem_alloc()
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dvm_machdep.c1248 align = maxbit(mattr->dma_attr_align, mattr->dma_attr_minxfer); in page_get_contigpage()
2638 align = maxbit(mattr->dma_attr_align, mattr->dma_attr_minxfer); in page_io_pool_alloc()
2911 align = maxbit(mattr->dma_attr_align, mattr->dma_attr_minxfer); in page_get_contigpages()
3041 align = maxbit(mattr->dma_attr_align, mattr->dma_attr_minxfer); in page_create_io()
/illumos-gate/usr/src/uts/sun4u/io/
H A Dsysiosbus.c1396 val = maxbit(val, in sbus_ctlops()
1399 val = maxbit(val, in sbus_ctlops()
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus.c969 val = maxbit(val, PCI_SBUF_LINE_SIZE); in cardbus_ctlops()
971 val = maxbit(val, 64); in cardbus_ctlops()
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci.c1247 val = maxbit(val, PCI_SBUF_LINE_SIZE); in pci_ctlops()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dddi_impl.c1627 iomin = maxbit(iomin, attr->dma_attr_align); in i_ddi_mem_alloc()
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c2533 val = maxbit(val, attr->dma_attr_minxfer); in scsi_hba_bus_ctl()
2534 *((int *)result) = maxbit(val, ((intptr_t)arg ? in scsi_hba_bus_ctl()