Home
last modified time | relevance | path

Searched refs:attach_to_parent (Results 1 - 1 of 1) sorted by relevance

/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
H A Dhugeshmctl01.c45 static void *attach_to_parent; variable
111 if (!attach_to_parent) in stat_setup_2()
112 attach_to_parent = set_shmat(); in stat_setup_2()
131 test = (attach_to_parent == NULL) ? set_shmat() : attach_to_parent; in stat_setup_1()
181 num = (attach_to_parent == NULL) ? 0 : 1; in func_stat()
221 if (attach_to_parent) { in stat_cleanup()
222 if (shmdt(attach_to_parent) == -1) in stat_cleanup()
225 attach_to_parent = NULL; in stat_cleanup()

Completed in 1 milliseconds