Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/migrate_pages/
Dmigrate_pages01.c56 static int sane_nodemask_size; variable
140 old_nodes = SAFE_MALLOC(NULL, sane_nodemask_size); in test_invalid_nodes()
141 new_nodes = SAFE_MALLOC(NULL, sane_nodemask_size); in test_invalid_nodes()
142 memcpy(old_nodes, sane_old_nodes, sane_nodemask_size); in test_invalid_nodes()
143 memset(new_nodes, 0, sane_nodemask_size); in test_invalid_nodes()
229 sane_nodemask_size = sane_max_node / 8; in setup()
230 sane_old_nodes = SAFE_MALLOC(NULL, sane_nodemask_size); in setup()
231 sane_new_nodes = SAFE_MALLOC(NULL, sane_nodemask_size); in setup()
232 memset(sane_old_nodes, 0, sane_nodemask_size); in setup()
233 memset(sane_new_nodes, 0, sane_nodemask_size); in setup()