Home
last modified time | relevance | path

Searched refs:MAP_CHUNK_SIZE (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/tools/testing/selftests/mm/
Dvirtual_address_range.c26 #define MAP_CHUNK_SIZE SZ_1GB macro
44 #define NR_CHUNKS_128TB ((128 * SZ_1TB) / MAP_CHUNK_SIZE) /* Number of chunks for 128TB */
94 ptr = mmap((void *) (1UL << 45), MAP_CHUNK_SIZE, PROT_READ | in validate_lower_address_hint()
111 ptr[i] = mmap(NULL, MAP_CHUNK_SIZE, PROT_READ | PROT_WRITE, in main()
130 hptr[i] = mmap(hint, MAP_CHUNK_SIZE, PROT_READ | PROT_WRITE, in main()
142 munmap(ptr[i], MAP_CHUNK_SIZE); in main()
145 munmap(hptr[i], MAP_CHUNK_SIZE); in main()
/linux-6.6.21/drivers/acpi/
Dtables.c577 #define MAP_CHUNK_SIZE (NR_FIX_BTMAPS << PAGE_SHIFT) macro
690 if (clen > MAP_CHUNK_SIZE - slop) in acpi_table_upgrade()
691 clen = MAP_CHUNK_SIZE - slop; in acpi_table_upgrade()