Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
Dhugeshmctl01.c49 #define N_ATTACH 4U macro
159 for (i = 0; i < N_ATTACH; i++) { in stat_setup()
211 if (buf.shm_nattch != N_ATTACH + stat_time) { in func_stat()
244 TST_CHECKPOINT_WAKE2(1, N_ATTACH); in stat_cleanup()
246 for (i = 0; i < N_ATTACH; i++) in stat_cleanup()
/external/ltp/testcases/kernel/syscalls/ipc/shmctl/
Dshmctl01.c66 #define N_ATTACH 4 macro
68 static pid_t pid_arr[N_ATTACH];
232 for (stat_i = 0; stat_i < N_ATTACH; stat_i++) { in stat_setup()
305 if (!fail && buf.shm_nattch != N_ATTACH + stat_time) { in func_istat()
340 for (i = 0; i < N_ATTACH; i++) { in stat_cleanup()
350 for (i = 0; i < N_ATTACH; i++) { in stat_cleanup()