Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/mm/
H A Dvirtual_address_range.c29 #define MAP_CHUNK_SIZE SZ_1GB
47 #define NR_CHUNKS_128TB ((128 * SZ_1TB) / MAP_CHUNK_SIZE) /* Number of chunks for 128TB */
89 ptr = mmap((void *) (1UL << 45), MAP_CHUNK_SIZE, PROT_READ | in validate_lower_address_hint()
129 /* /proc/self/maps must have gaps less than MAP_CHUNK_SIZE */ in main()
130 if (start_addr - prev_end_addr >= MAP_CHUNK_SIZE) in main()
139 * Confirm whether MAP_CHUNK_SIZE chunk can be found or not. in main()
140 * If write succeeds, no need to check MAP_CHUNK_SIZE - 1 in main()
152 hop += MAP_CHUNK_SIZE;
169 ptr[i] = mmap(NULL, MAP_CHUNK_SIZE, PROT_READ | PROT_WRITE,
189 hptr[i] = mmap(hint, MAP_CHUNK_SIZE, PROT_REA
27 #define MAP_CHUNK_SIZE global() macro
[all...]
/linux/drivers/acpi/
H A Dtables.c419 #define MAP_CHUNK_SIZE (NR_FIX_BTMAPS << PAGE_SHIFT) macro
532 if (clen > MAP_CHUNK_SIZE - slop) in acpi_table_upgrade()
533 clen = MAP_CHUNK_SIZE - slop; in acpi_table_upgrade()