Searched refs:VM_PHYSSEG_MAX (Results 1 – 15 of 15) sorted by relevance
/freebsd/contrib/netbsd-tests/sys/uvm/ |
H A D | t_uvm_physseg.c | 106 #if !defined(VM_PHYSSEG_MAX) 107 #define VM_PHYSSEG_MAX 1 macro 318 uvm_physseg_alloc((VM_PHYSSEG_MAX + 1) * sizeof(struct uvm_physseg)); in ATF_TC_BODY() 335 ATF_REQUIRE(uvm_physseg_alloc(VM_PHYSSEG_MAX * sizeof(struct uvm_physseg))); in ATF_TC_BODY() 340 ATF_REQUIRE(uvm_physseg_alloc(2 * VM_PHYSSEG_MAX * sizeof(struct uvm_physseg))); in ATF_TC_BODY() 373 #if VM_PHYSSEG_MAX > 1 in ATF_TC_BODY() 379 seg = uvm_physseg_alloc((VM_PHYSSEG_MAX - 1) * sizeof(*seg)); in ATF_TC_BODY() 380 uvm_physseg_free(seg, (VM_PHYSSEG_MAX - 1) * sizeof(struct uvm_physseg)); in ATF_TC_BODY() 389 seg = uvm_physseg_alloc(2 * VM_PHYSSEG_MAX * sizeof(struct uvm_physseg)); in ATF_TC_BODY() 391 uvm_physseg_free(seg, 2 * VM_PHYSSEG_MAX * sizeof(struct uvm_physseg)); in ATF_TC_BODY() [all …]
|
H A D | t_uvm_physseg_load.c | 106 #if !defined(VM_PHYSSEG_MAX) 107 #define VM_PHYSSEG_MAX 32 macro 340 ATF_REQUIRE_EQ(VM_PHYSSEG_MAX, uvm_physseg_get_entries()); in ATF_TC_BODY() 369 ATF_REQUIRE_EQ(VM_PHYSSEG_MAX, uvm_physseg_get_entries()); in ATF_TC_BODY() 398 ATF_REQUIRE_EQ(VM_PHYSSEG_MAX, uvm_physseg_get_entries()); in ATF_TC_BODY() 427 ATF_REQUIRE_EQ(VM_PHYSSEG_MAX, uvm_physseg_get_entries()); in ATF_TC_BODY() 456 ATF_REQUIRE_EQ(VM_PHYSSEG_MAX, uvm_physseg_get_entries()); in ATF_TC_BODY() 485 ATF_REQUIRE_EQ(VM_PHYSSEG_MAX, uvm_physseg_get_entries()); in ATF_TC_BODY() 514 ATF_REQUIRE_EQ(VM_PHYSSEG_MAX, uvm_physseg_get_entries()); in ATF_TC_BODY()
|
/freebsd/sys/powerpc/include/ |
H A D | vmparam.h | 150 #define VM_PHYSSEG_MAX 63 /* 1? */ macro 152 #define VM_PHYSSEG_MAX 16 /* 1? */ macro
|
/freebsd/sys/vm/ |
H A D | vm_param.h | 128 #define PHYS_AVAIL_ENTRIES (VM_PHYSSEG_MAX * 2)
|
H A D | vm_phys.c | 75 _Static_assert(sizeof(long) * NBBY >= VM_PHYSSEG_MAX, 94 struct vm_phys_seg __read_mostly vm_phys_segs[VM_PHYSSEG_MAX]; 427 if (vm_phys_nsegs >= VM_PHYSSEG_MAX) in _vm_phys_create_seg()
|
/freebsd/sys/arm/include/ |
H A D | vmparam.h | 92 #define VM_PHYSSEG_MAX 32 macro
|
/freebsd/sys/i386/include/ |
H A D | vmparam.h | 81 #define VM_PHYSSEG_MAX 17 macro
|
/freebsd/sys/riscv/include/ |
H A D | vmparam.h | 69 #define VM_PHYSSEG_MAX 64 macro
|
/freebsd/sys/amd64/include/ |
H A D | vmparam.h | 94 #define VM_PHYSSEG_MAX 63 macro
|
/freebsd/sys/arm64/include/ |
H A D | vmparam.h | 73 #define VM_PHYSSEG_MAX 64 macro
|
/freebsd/sys/dev/acpica/ |
H A D | acpi_pxm.c | 66 struct mem_affinity mem_info[VM_PHYSSEG_MAX + 1]; 347 if (num_mem == VM_PHYSSEG_MAX) { in srat_parse_entry()
|
/freebsd/sys/powerpc/powerpc/ |
H A D | platform.c | 72 static struct mem_affinity mem_info[VM_PHYSSEG_MAX + 1];
|
/freebsd/sys/dev/nvdimm/ |
H A D | nvdimm_e820.c | 62 } pram_segments[VM_PHYSSEG_MAX];
|
/freebsd/sys/powerpc/aim/ |
H A D | mmu_radix.c | 1748 vm_paddr_t phys_avail_debug[2 * VM_PHYSSEG_MAX]; 1915 if (2 * VM_PHYSSEG_MAX < regions_sz) in mmu_radix_early_bootstrap()
|
/freebsd/sys/arm64/arm64/ |
H A D | pmap.c | 353 #define PHYSMAP_SIZE (2 * (VM_PHYSSEG_MAX - 1))
|