PCIE_CONF_HDR_SIZE
uint8_t pcb_u8[PCIE_CONF_HDR_SIZE];
uint32_t pcb_u32[PCIE_CONF_HDR_SIZE / 4];
VERIFY3U(off, <, PCIE_CONF_HDR_SIZE);
for (uint_t i = PCIE_EXT_CAP / 4; i < PCIE_CONF_HDR_SIZE / 4; i++) {
walk.pcw_valid = PCIE_CONF_HDR_SIZE;
PCIE_CONF_HDR_SIZE - PCIE_EXT_CAP);
regbuf = (uint32_t *)kmem_zalloc((size_t)PCIE_CONF_HDR_SIZE,
maskbufsz = (size_t)((PCIE_CONF_HDR_SIZE/ sizeof (uint32_t)) >>
for (i = 0; i < (PCIE_CONF_HDR_SIZE / sizeof (uint32_t)); i++) {
(size_t)PCIE_CONF_HDR_SIZE)) != DDI_PROP_SUCCESS) {
kmem_free(regbuf, (size_t)PCIE_CONF_HDR_SIZE);
ASSERT(elements == PCIE_CONF_HDR_SIZE);
for (i = 0; i < PCIE_CONF_HDR_SIZE / sizeof (uint32_t); i++) {
max_cfg_size = PCIE_CONF_HDR_SIZE;
if (max_cfg_size == PCIE_CONF_HDR_SIZE)
pci_rp->pci_size_low = PCIE_CONF_HDR_SIZE;
pci_rp->pci_size_low = PCIE_CONF_HDR_SIZE;
reg.pci_size_low = PCIE_CONF_HDR_SIZE; /* overriden in pciex */
reg.pci_size_low = PCIE_CONF_HDR_SIZE; /* overriden in pciex */
if ((off >= PCIE_CONF_HDR_SIZE) ||
(len > PCIE_CONF_HDR_SIZE) ||
(off + len > PCIE_CONF_HDR_SIZE))