Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/vm/
Dvirtual_address_range.c22 #define MAP_CHUNK_SIZE 17179869184UL /* 16GB */ macro
88 ptr = mmap((void *) (1UL << 45), MAP_CHUNK_SIZE, PROT_READ | in validate_lower_address_hint()
105 ptr[i] = mmap(NULL, MAP_CHUNK_SIZE, PROT_READ | PROT_WRITE, in main()
121 hptr[i] = mmap(hint, MAP_CHUNK_SIZE, PROT_READ | PROT_WRITE, in main()
133 munmap(ptr[i], MAP_CHUNK_SIZE); in main()
136 munmap(hptr[i], MAP_CHUNK_SIZE); in main()
/linux-6.1.9/drivers/acpi/
Dtables.c556 #define MAP_CHUNK_SIZE (NR_FIX_BTMAPS << PAGE_SHIFT) macro
669 if (clen > MAP_CHUNK_SIZE - slop) in acpi_table_upgrade()
670 clen = MAP_CHUNK_SIZE - slop; in acpi_table_upgrade()