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.c69 key_t ipc_key; in getipckey() local
91 ipc_key = ftok(curdir, ascii_a + random() % 26); in getipckey()
92 if (ipc_key == -1) in getipckey()
95 return ipc_key; in getipckey()
/external/ltp/testcases/kernel/syscalls/ipc/lib/
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.c58 static key_t ipc_key; variable
202 ipc_key = ftok(tmp, 65); in setup()
203 shmid = shmget(ipc_key, getpagesize(), IPC_CREAT | 0666); in setup()