Searched refs:MAP_CHUNK_SIZE (Results 1 – 2 of 2) sorted by relevance
29 #define MAP_CHUNK_SIZE SZ_1GB47 #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_REA27 #define MAP_CHUNK_SIZE global() macro [all...]
419 #define MAP_CHUNK_SIZE (NR_FIX_BTMAPS << PAGE_SHIFT) macro532 if (clen > MAP_CHUNK_SIZE - slop) in acpi_table_upgrade()533 clen = MAP_CHUNK_SIZE - slop; in acpi_table_upgrade()