Home
last modified time | relevance | path

Searched refs:total_pages (Results 1 – 5 of 5) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/set_mempolicy/
Dset_mempolicy04.c59 unsigned int total_pages = 0; in alloc_and_check() local
73 total_pages += size; in alloc_and_check()
78 float treshold = 1.00 * total_pages / 60; /* five percents */ in alloc_and_check()
79 float min_pages = 1.00 * total_pages / nodes->cnt - treshold; in alloc_and_check()
80 float max_pages = 1.00 * total_pages / nodes->cnt + treshold; in alloc_and_check()
93 if (sum_pages != total_pages) { in alloc_and_check()
95 sum_pages, total_pages); in alloc_and_check()
99 tst_res(TPASS, "Sum of nodes equals to allocated pages (%u)", total_pages); in alloc_and_check()
/third_party/ltp/testcases/kernel/syscalls/memfd_create/
Dmemfd_create03.c196 long total_pages; in setup() local
218 SAFE_FILE_LINES_SCANF(TOTAL_HP_PATH, "%ld", &total_pages); in setup()
219 if (total_pages != (og_total_pages + 1)) in setup()
229 long total_pages; in cleanup() local
243 SAFE_FILE_LINES_SCANF(TOTAL_HP_PATH, "%ld", &total_pages); in cleanup()
244 if (og_total_pages != total_pages) in cleanup()
/third_party/e2fsprogs/ext2ed/
Dwin.c108 int current_page,total_pages; in refresh_show_win() local
113 total_pages=show_pad_info.max_line/show_pad_info.display_lines+1; in refresh_show_win()
116 wprintw (show_win,"Page %d of %d\n",current_page,total_pages); in refresh_show_win()
/third_party/ltp/testcases/kernel/mce-test/tools/
Dpage-types.c196 static unsigned long total_pages; variable
401 total_pages, pages2mb(total_pages)); in show_summary()
564 total_pages++; in add_page()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/
Dshard_index_generator.cc563 auto total_pages = shard_header_.GetLastPageId(shard_no) + 1; in DatabaseWriter() local
567 for (uint64_t i = 0; i < total_pages; ++i) { in DatabaseWriter()