Lines Matching refs:count

44 		 const unsigned long count,  in print_page_array()  argument
47 if (!count) { in print_page_array()
51 if (count <= offset) { in print_page_array()
57 for (i = 0; i < count; ++i) { in print_page_array()
60 if (i + offset < count) { in print_page_array()
80 const unsigned long count, in print_node_array() argument
83 if (!count) { in print_node_array()
87 if (count <= offset) { in print_node_array()
93 for (i = 0; i < count; ++i) { in print_node_array()
96 if (i + offset < count) { in print_node_array()
111 print_status_array(const int *const status, const unsigned long count) in print_status_array() argument
113 if (!count) { in print_status_array()
119 for (i = 0; i < count; ++i) { in print_status_array()
137 print_stat_pages(const unsigned long pid, const unsigned long count, in print_stat_pages() argument
143 pid, count, pages, NULL, status, flags); in print_stat_pages()
145 printf("move_pages(%d, %lu, ", (int) pid, count); in print_stat_pages()
146 print_page_array(pages, count, 0); in print_stat_pages()
149 if (count) in print_stat_pages()
154 print_status_array(status, count); in print_stat_pages()
161 unsigned long count, in print_move_pages() argument
168 count += offset; in print_move_pages()
171 pid, count, pages, nodes, status, flags); in print_move_pages()
173 printf("move_pages(%d, %lu, ", (int) pid, count); in print_move_pages()
174 print_page_array(pages, count, offset); in print_move_pages()
176 print_node_array(nodes, count, offset); in print_move_pages()
178 if (count) in print_move_pages()
190 unsigned long count = 1; in main() local
203 print_stat_pages(pid, count, pages, status); in main()
205 print_move_pages(pid, count, 0, pages, nodes, status); in main()
206 print_move_pages(pid, count, 1, pages, nodes, status); in main()
208 ++count; in main()
211 print_stat_pages(pid, count, pages, status); in main()
213 print_move_pages(pid, count, 0, pages, nodes, status); in main()
214 print_move_pages(pid, count, 1, pages, nodes, status); in main()
216 ++count; in main()
219 print_stat_pages(pid, count, pages, status); in main()
221 print_move_pages(pid, count, 0, pages, nodes, status); in main()
222 print_move_pages(pid, count, 1, pages, nodes, status); in main()
224 ++count; in main()
227 print_stat_pages(pid, count, pages, status); in main()
229 print_move_pages(pid, count, 0, pages, nodes, status); in main()
230 print_move_pages(pid, count, 1, pages, nodes, status); in main()