Home
last modified time | relevance | path

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

/third_party/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()
/third_party/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()
/third_party/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()
/third_party/alsa-lib/src/conf/pcm/
Ddsnoop.conf40 ipc_key {
42 name defaults.pcm.ipc_key
Ddmix.conf47 ipc_key {
49 name defaults.pcm.ipc_key
/third_party/alsa-lib/doc/
Dasoundrc.txt319 ipc_key INT # Unique ipc key
322 ipc_key_add_uid BOOL # Add current uid to ipc_key
329 ipc_key INT # Unique ipc key
332 ipc_key_add_uid BOOL # Add current uid to ipc_key
339 ipc_key INT # Unique ipc key
342 ipc_key_add_uid BOOL # Add current uid to ipc_key
/third_party/alsa-lib/src/pcm/
Dpcm_direct.c65 dmix->semid = semget(dmix->ipc_key, DIRECT_IPC_SEMS, in snd_pcm_direct_semaphore_create_or_connect()
103 dmix->shmid = shmget(dmix->ipc_key, sizeof(snd_pcm_direct_share_t), in snd_pcm_direct_shm_create_or_connect()
106 if ((dmix->shmid = shmget(dmix->ipc_key, sizeof(snd_pcm_direct_share_t), in snd_pcm_direct_shm_create_or_connect()
115 if ((tmpid = shmget(dmix->ipc_key, 0, dmix->ipc_perm)) != -1) in snd_pcm_direct_shm_create_or_connect()
1878 rec->ipc_key = 0;
1915 rec->ipc_key = key;
2061 if (!rec->ipc_key) {
2066 rec->ipc_key += getuid();
2070 rec->ipc_key += err;
2111 dmix->ipc_key = opts->ipc_key;
Dpcm_direct.h134 key_t ipc_key; /* IPC key for semaphore and memory */ member
354 key_t ipc_key; member
Dpcm_dmix.c77 dmix->u.dmix.shmid_sum = shmget(dmix->ipc_key + 1, size, in shm_sum_create_or_connect()
82 if ((tmpid = shmget(dmix->ipc_key + 1, 0, dmix->ipc_perm)) != -1) in shm_sum_create_or_connect()
/third_party/alsa-lib/src/conf/
Dalsa.conf112 defaults.pcm.ipc_key 5678293