| /netbsd-src/sys/arch/hpcmips/stand/pbsdboot/ |
| H A D | elf.c | 137 void *min_addr, *max_addr; in scanfile() local 194 if (first || max_addr < (void *)(phtbl[i].p_vaddr + phtbl[i].p_memsz)) { in scanfile() 195 max_addr = (void *)(phtbl[i].p_vaddr + phtbl[i].p_memsz); in scanfile() 235 elf->e_entry, min_addr, max_addr); in scanfile() 287 max_addr, in scanfile() 302 max_addr + sizeof(Elf_Ehdr), in scanfile() 315 max_addr + dbg_hdr_size, in scanfile() 328 max_addr + dbg_hdr_size + shtbl[sh_symidx].sh_size, in scanfile() 343 max_addr += dbg_info_size; in scanfile() 353 if (end) *end = max_addr; in scanfile()
|
| /netbsd-src/sys/external/bsd/drm2/drm/ |
| H A D | drm_memory.c | 280 resource_size_t max_addr) in drm_limit_dma_space() argument 284 KASSERT(min_addr <= max_addr); in drm_limit_dma_space() 292 max_addr = MIN(max_addr, dev->dmat_subregion_max); in drm_limit_dma_space() 302 if (min_addr == 0 && max_addr >= UINT32_C(0xffffffff) && in drm_limit_dma_space() 319 ret = -bus_dmatag_subregion(dev->bus_dmat, min_addr, max_addr, in drm_limit_dma_space() 328 min_addr == 0 && max_addr >= UINT32_C(0xffffffff)) in drm_limit_dma_space() 345 dev->dmat_subregion_max = max_addr; in drm_limit_dma_space()
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/hwasan/ |
| H A D | hwasan_globals.cpp | 29 ElfW(Addr) min_addr = -1ull, max_addr = 0; in CheckCodeModel() 36 if (max_addr < hi) in CheckCodeModel() 37 max_addr = hi; in CheckCodeModel() 40 if (max_addr - min_addr > 1ull << 32) { in CheckCodeModel() 44 if (max_addr > 1ull << 48) { in CheckCodeModel()
|
| /netbsd-src/sys/arch/mips/fdt/ |
| H A D | fdt_dma_machdep.c | 55 bus_addr_t min_addr, max_addr; in fdtbus_dma_tag_create() local 65 max_addr = min_addr + ranges[0].dr_len - 1; in fdtbus_dma_tag_create() 66 error = bus_dmatag_subregion(&fdtbus_dma_tag, min_addr, max_addr, in fdtbus_dma_tag_create()
|
| /netbsd-src/sys/dev/fdt/ |
| H A D | fdt_memory.c | 126 fdt_memory_remove_reserved(uint64_t min_addr, uint64_t max_addr) in fdt_memory_remove_reserved() argument 148 if (addr >= max_addr) in fdt_memory_remove_reserved() 154 if (addr + size > max_addr) in fdt_memory_remove_reserved() 155 size = max_addr - addr; in fdt_memory_remove_reserved()
|
| /netbsd-src/sys/arch/x86/x86/ |
| H A D | bus_dma.c | 172 bus_addr_t max_addr, bus_dma_tag_t *newtag, int flags); 1329 bus_addr_t max_addr, bus_dma_tag_t *newtag, int flags) in _bus_dmatag_subregion() argument 1332 if ((tag->_bounce_thresh != 0 && max_addr >= tag->_bounce_thresh - 1) && in _bus_dmatag_subregion() 1333 (tag->_bounce_alloc_hi != 0 && max_addr >= tag->_bounce_alloc_hi - 1) && in _bus_dmatag_subregion() 1349 if (tag->_bounce_thresh == 0 || max_addr < tag->_bounce_thresh) in _bus_dmatag_subregion() 1350 (*newtag)->_bounce_thresh = max_addr; in _bus_dmatag_subregion() 1351 if (tag->_bounce_alloc_hi == 0 || max_addr < tag->_bounce_alloc_hi) in _bus_dmatag_subregion() 1352 (*newtag)->_bounce_alloc_hi = max_addr; in _bus_dmatag_subregion() 1628 bus_addr_t max_addr, bus_dma_tag_t *newtag, int flags) in bus_dmatag_subregion() argument 1638 min_addr, max_addr, newtag, flags); in bus_dmatag_subregion() [all …]
|
| /netbsd-src/sys/arch/mips/mips/ |
| H A D | bus_dma.c | 1335 bus_addr_t max_addr, bus_dma_tag_t *newtag, int flags) 1340 max_addr >= tag->_bounce_thresh - 1 && in _bus_dmatag_subregion() 1342 max_addr >= tag->_bounce_alloc_hi - 1) || in _bus_dmatag_subregion() 1343 (tag->_bounce_alloc_hi == 0 && max_addr > _BUS_AVAIL_END)) && in _bus_dmatag_subregion() 1359 if (tag->_bounce_thresh == 0 || max_addr < tag->_bounce_thresh) in _bus_dmatag_subregion() 1360 (*newtag)->_bounce_thresh = max_addr; in _bus_dmatag_subregion() 1361 if (tag->_bounce_alloc_hi == 0 || max_addr < tag->_bounce_alloc_hi) in _bus_dmatag_subregion() 1362 (*newtag)->_bounce_alloc_hi = max_addr; in _bus_dmatag_subregion() 1338 _bus_dmatag_subregion(bus_dma_tag_t tag,bus_addr_t min_addr,bus_addr_t max_addr,bus_dma_tag_t * newtag,int flags) _bus_dmatag_subregion() argument
|
| /netbsd-src/tests/modules/ufetchstore/ |
| H A D | t_ufetchstore.c | 107 static unsigned long max_addr = 0; in vm_max_address_raw() local 110 if (max_addr == 0) { in vm_max_address_raw() 111 size_t max_addr_size = sizeof(max_addr); in vm_max_address_raw() 112 rv = sysctlbyname("vm.maxaddress", &max_addr, &max_addr_size, in vm_max_address_raw() 117 return max_addr; in vm_max_address_raw()
|
| /netbsd-src/tests/modules/ |
| H A D | t_ufetchstore.c | 107 static unsigned long max_addr = 0; in vm_max_address_raw() local 110 if (max_addr == 0) { in vm_max_address_raw() 111 size_t max_addr_size = sizeof(max_addr); in vm_max_address_raw() 112 rv = sysctlbyname("vm.maxaddress", &max_addr, &max_addr_size, in vm_max_address_raw() 117 return max_addr; in vm_max_address_raw()
|
| /netbsd-src/sys/dev/pci/ |
| H A D | pciconf.c | 100 bus_addr_t max_addr; member 237 r->max_addr = start + (size - 1); in init_range_resource() 1112 *limit = r->max_addr; in constrain_bridge_mem_range() 1119 if (r->max_addr > 0xffffffffUL) { in constrain_bridge_mem_range() 1146 io_limit = pb->io_res.max_addr; in configure_bridge() 1448 r->max_addr = VMEM_ADDR_MIN; in pciconf_resource_add() 1455 if (end > r->max_addr) in pciconf_resource_add() 1456 r->max_addr = end; in pciconf_resource_add()
|
| /netbsd-src/sys/arch/riscv/riscv/ |
| H A D | bus_dma.c | 1816 bus_addr_t max_addr, bus_dma_tag_t *newtag, int flags) in _bus_dmatag_subregion() 1819 if (min_addr >= max_addr) in _bus_dmatag_subregion() 1834 || max_addr < dr->dr_sysbase + dr->dr_len - 1) { in _bus_dmatag_subregion() 1838 && max_addr >= dr->dr_sysbase) { in _bus_dmatag_subregion() 1868 dr->dr_len = max_addr + 1 - min_addr; in _bus_dmatag_subregion() 1876 || max_addr < pdr->dr_sysbase) { in _bus_dmatag_subregion() 1894 if (max_addr <= dr->dr_sysbase + dr->dr_len - 1) { in _bus_dmatag_subregion() 1895 dr->dr_len = max_addr + 1 - dr->dr_sysbase; in _bus_dmatag_subregion() 1813 _bus_dmatag_subregion(bus_dma_tag_t tag,bus_addr_t min_addr,bus_addr_t max_addr,bus_dma_tag_t * newtag,int flags) _bus_dmatag_subregion() argument
|
| /netbsd-src/sys/arch/arm/arm32/ |
| H A D | bus_dma.c | 1914 bus_addr_t max_addr, bus_dma_tag_t *newtag, int flags) in _bus_dmatag_subregion() 1917 if (min_addr >= max_addr) in _bus_dmatag_subregion() 1932 || max_addr < dr->dr_sysbase + dr->dr_len - 1) { in _bus_dmatag_subregion() 1936 && max_addr >= dr->dr_sysbase) { in _bus_dmatag_subregion() 1966 dr->dr_len = max_addr + 1 - min_addr; in _bus_dmatag_subregion() 1974 || max_addr < pdr->dr_sysbase) { in _bus_dmatag_subregion() 1992 if (max_addr <= dr->dr_sysbase + dr->dr_len - 1) { in _bus_dmatag_subregion() 1993 dr->dr_len = max_addr + 1 - dr->dr_sysbase; in _bus_dmatag_subregion() 1905 _bus_dmatag_subregion(bus_dma_tag_t tag,bus_addr_t min_addr,bus_addr_t max_addr,bus_dma_tag_t * newtag,int flags) _bus_dmatag_subregion() argument
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | final.cc | 1197 int max_addr = INSN_ADDRESSES (INSN_UID (max_lab)); in shorten_branches() local 1228 max_addr += insn_current_address - insn_last_address; in shorten_branches() 1264 max_addr += align_fuzz (rel_lab, insn, rel_align, ~0); in shorten_branches() 1265 max_addr += align_fuzz (insn, max_lab, 0, ~0); in shorten_branches() 1268 max_addr += align_fuzz (rel_lab, max_lab, rel_align, ~0); in shorten_branches() 1274 max_addr += align_fuzz (max_lab, insn, 0, 0); in shorten_branches() 1275 max_addr += align_fuzz (insn, rel_lab, 0, 0); in shorten_branches() 1278 max_addr += align_fuzz (max_lab, rel_lab, 0, 0); in shorten_branches() 1281 max_addr - rel_addr, body); in shorten_branches()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | final.c | 1210 int max_addr = INSN_ADDRESSES (INSN_UID (max_lab)); in shorten_branches() local 1241 max_addr += insn_current_address - insn_last_address; in shorten_branches() 1277 max_addr += align_fuzz (rel_lab, insn, rel_align, ~0); in shorten_branches() 1278 max_addr += align_fuzz (insn, max_lab, 0, ~0); in shorten_branches() 1281 max_addr += align_fuzz (rel_lab, max_lab, rel_align, ~0); in shorten_branches() 1287 max_addr += align_fuzz (max_lab, insn, 0, 0); in shorten_branches() 1288 max_addr += align_fuzz (insn, rel_lab, 0, 0); in shorten_branches() 1291 max_addr += align_fuzz (max_lab, rel_lab, 0, 0); in shorten_branches() 1294 max_addr - rel_addr, body); in shorten_branches()
|
| /netbsd-src/sys/arch/i386/include/ |
| H A D | multiboot2.h | 177 multiboot_uint32_t max_addr; member
|
| /netbsd-src/sys/dev/microcode/aic7xxx/ |
| H A D | aicasm_gram.y | 373 u_int max_addr; variable 376 max_addr = scb_or_sram_symbol->info.rinfo->address 381 if (sym_max_addr > max_addr)
|
| /netbsd-src/sys/arch/i386/stand/lib/ |
| H A D | exec_multiboot2.c | 446 mpp->mpp_relocatable->max_addr, in multiboot2_header_dump()
|