Lines Matching defs:max_addr
105 static int pcitool_access(pci_t *pci_p, uint64_t phys_addr, uint64_t max_addr,
113 uint64_t base_addr, uint64_t max_addr, uint8_t size, boolean_t write_flag);
550 * max_addr is the upper bound on the physical space used for bounds checking,
556 pcitool_access(pci_t *pci_p, uint64_t phys_addr, uint64_t max_addr,
565 if (phys_addr > max_addr) {
568 phys_addr, max_addr);
631 uint64_t max_addr;
671 max_addr = base_addr + pci_rp[prg.barnum].size;
676 "addr:0x%llx, max_addr:0x%llx\n",
677 base_addr, prg.offset, prg.phys_addr, max_addr);
681 prg.phys_addr, max_addr, &prg.data, size, write_flag,
810 uint64_t max_addr, uint8_t size, boolean_t write_flag)
824 rval = pcitool_access(pci_p, prg->phys_addr, max_addr, &prg->data, size,
840 uint64_t max_addr;
871 max_addr = range_prop + range_prop_size;
883 if ((base_addr < range_prop) || (base_addr >= max_addr)) {
897 rval = pcitool_config_request(pci_p, &prg, base_addr, max_addr,
902 if (pcitool_get_bar(pci_p, &prg, base_addr, max_addr, &bar,
957 max_addr = range_prop + range_prop_size;
971 max_addr, &prg.data, size, write_flag,