Searched refs:PAGE_COUNT (Results 1 – 2 of 2) sorted by relevance
27 #define PAGE_COUNT (1 << PAGE_IDX_BITS) macro28 #define PAGE_IDX_MASK (PAGE_COUNT - 1)171 ctx.ptr = mmap(NULL, PAGE_COUNT * ctx.pagesize, in main()175 for (i = 0; i < PAGE_COUNT; i++) { in main()203 ret = munmap(ctx.ptr, PAGE_COUNT * ctx.pagesize); in main()
141 #define PAGE_COUNT(x) (((x) + PAGE_SIZE - 1) >> PAGE_SHIFT) macro218 if (PAGE_COUNT(image->segment[i].memsz) > nr_pages / 2) in sanity_check_segment_list()221 total_pages += PAGE_COUNT(image->segment[i].memsz); in sanity_check_segment_list()