Searched refs:ipc_key (Results 1 - 7 of 7) sorted by relevance
/third_party/backends/backend/ |
H A D | snapscan-mutex.c | 135 key_t ipc_key = -1; in snapscani_mutex_open() local 139 key_t ipc_key = (key_t) snapscani_bernstein((const unsigned char*) dev+7); in snapscani_mutex_open() local 141 me, ipc_key, dev); in snapscani_mutex_open() 145 ipc_key = ftok(dev, 0x12); in snapscani_mutex_open() 147 if (ipc_key == -1) in snapscani_mutex_open() 154 *sem_id = semget( ipc_key, 1, IPC_CREAT | 0660 ); in snapscani_mutex_open()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/lib/ |
H A D | hugetlb.c | 54 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/ |
H A D | libipc.c | 55 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/ |
H A D | setns02.c | 35 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/pcm/ |
H A D | pcm_direct.c | 70 dmix->semid = semget(dmix->ipc_key, DIRECT_IPC_SEMS, in snd_pcm_direct_semaphore_create_or_connect() 108 dmix->shmid = shmget(dmix->ipc_key, sizeof(snd_pcm_direct_share_t), in snd_pcm_direct_shm_create_or_connect() 111 if ((dmix->shmid = shmget(dmix->ipc_key, sizeof(snd_pcm_direct_share_t), in snd_pcm_direct_shm_create_or_connect() 120 if ((tmpid = shmget(dmix->ipc_key, 0, dmix->ipc_perm)) != -1) in snd_pcm_direct_shm_create_or_connect() 1803 * parse slave config and calculate the ipc_key offset 1931 rec->ipc_key = 0; 1960 if (strcmp(id, "ipc_key") == 0) { 1964 SNDERR("The field ipc_key must be an integer type"); 1968 rec->ipc_key = key; 2114 if (!rec->ipc_key) { [all...] |
H A D | pcm_direct.h | 134 key_t ipc_key; /* IPC key for semaphore and memory */ member 360 key_t ipc_key; member
|
H A D | pcm_dmix.c | 78 dmix->u.dmix.shmid_sum = shmget(dmix->ipc_key + 1, size, in shm_sum_create_or_connect() 83 if ((tmpid = shmget(dmix->ipc_key + 1, 0, dmix->ipc_perm)) != -1) in shm_sum_create_or_connect() 1139 ipc_key INT # unique IPC key 1175 <code>ipc_key</code> specfies the unique IPC key in integer. 1179 added to the value set in <code>ipc_key</code>. This will 1217 ipc_key 321456 # any unique value 1237 ipc_key 321456 # any unique value
|
Completed in 7 milliseconds