Searched refs:NUM_PAGES (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | thuge-gen.c | 47 #define NUM_PAGES 4 macro 132 map = mmap(NULL, size*NUM_PAGES, PROT_READ|PROT_WRITE, in test_mmap() 136 memset(map, 0xff, size*NUM_PAGES); in test_mmap() 140 assert(size == getpagesize() || (before - after) == NUM_PAGES); in test_mmap() 142 err = munmap(map, size * NUM_PAGES); in test_mmap() 153 id = shmget(IPC_PRIVATE, size * NUM_PAGES, IPC_CREAT|0600|flags); in test_shmget() 167 memset(map, 0xff, size*NUM_PAGES); in test_shmget() 172 assert(size == getpagesize() || (before - after) == NUM_PAGES); in test_shmget() 187 if (read_free(page_sizes[i]) < NUM_PAGES) { in sanity_checks() 190 NUM_PAGES); in sanity_checks() [all …]
|
/openbmc/linux/sound/soc/sof/amd/ |
H A D | acp-trace.c | 16 #define NUM_PAGES 16 macro 50 stream->num_pages = NUM_PAGES; in acp_sof_trace_init()
|
/openbmc/linux/tools/testing/selftests/drivers/dma-buf/ |
H A D | udmabuf.c | 19 #define NUM_PAGES 4 macro 53 size = getpagesize() * NUM_PAGES; in main()
|
/openbmc/phosphor-power/power-sequencer/ |
H A D | ucd90160.cpp | 41 constexpr auto NUM_PAGES = 16; variable 126 for (size_t page = 0; page < NUM_PAGES; page++) in checkVOUTFaults()
|
/openbmc/witherspoon-pfault-analysis/power-sequencer/ |
H A D | ucd90160.cpp | 41 constexpr auto NUM_PAGES = 16; variable 126 for (size_t page = 0; page < NUM_PAGES; page++) in checkVOUTFaults()
|
/openbmc/openbmc-tools/bi2cp/ |
H A D | bi2cp | 23 NUM_PAGES = (0xD6, 1) variable in UCD90320Command
|