Searched refs:NUM_PAGES (Results 1 – 3 of 3) sorted by relevance
/linux-6.3-rc2/tools/testing/selftests/mm/ |
A D | thuge-gen.c | 46 #define NUM_PAGES 4 macro 149 map = mmap(NULL, size*NUM_PAGES, PROT_READ|PROT_WRITE, in test_mmap() 153 memset(map, 0xff, size*NUM_PAGES); in test_mmap() 157 assert(size == getpagesize() || (before - after) == NUM_PAGES); in test_mmap() 170 id = shmget(IPC_PRIVATE, size * NUM_PAGES, IPC_CREAT|0600|flags); in test_shmget() 184 memset(map, 0xff, size*NUM_PAGES); in test_shmget() 189 assert(size == getpagesize() || (before - after) == NUM_PAGES); in test_shmget() 204 if (read_free(page_sizes[i]) < NUM_PAGES) { in sanity_checks() 207 NUM_PAGES); in sanity_checks() 212 if (read_sysfs(0, "/proc/sys/kernel/shmmax") < NUM_PAGES * largest) { in sanity_checks() [all …]
|
/linux-6.3-rc2/sound/soc/sof/amd/ |
A D | acp-trace.c | 16 #define NUM_PAGES 16 macro 50 stream->num_pages = NUM_PAGES; in acp_sof_trace_init()
|
/linux-6.3-rc2/tools/testing/selftests/drivers/dma-buf/ |
A D | udmabuf.c | 19 #define NUM_PAGES 4 macro 53 size = getpagesize() * NUM_PAGES; in main()
|
Completed in 7 milliseconds