Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/mem/hugetlb/lib/
Dhugetlb.c54 key_t ipc_key; in getipckey() local
76 ipc_key = ftok(curdir, ascii_a + random() % 26); in getipckey()
77 if (ipc_key == -1) in getipckey()
80 return ipc_key; in getipckey()
/external/ltp/libs/libltpipc/
Dlibipc.c55 key_t ipc_key; in getipckey() local
73 if ((ipc_key = ftok(curdir, proj_id)) == -1) { in getipckey()
77 return (ipc_key); in getipckey()
/external/ltp/testcases/kernel/syscalls/setns/
Dsetns02.c35 static key_t ipc_key; variable
164 ipc_key = ftok(tmp, 65); in setup()
165 shmid = SAFE_SHMGET(ipc_key, getpagesize(), IPC_CREAT | 0666); in setup()