Searched refs:shmid_sum (Results 1 – 2 of 2) sorted by relevance
/third_party/alsa-lib/src/pcm/ |
D | pcm_dmix.c | 77 dmix->u.dmix.shmid_sum = shmget(dmix->ipc_key + 1, size, in shm_sum_create_or_connect() 80 if (dmix->u.dmix.shmid_sum < 0) { in shm_sum_create_or_connect() 90 if (shmctl(dmix->u.dmix.shmid_sum, IPC_STAT, &buf) < 0) { in shm_sum_create_or_connect() 97 shmctl(dmix->u.dmix.shmid_sum, IPC_SET, &buf); in shm_sum_create_or_connect() 99 dmix->u.dmix.sum_buffer = shmat(dmix->u.dmix.shmid_sum, 0, 0); in shm_sum_create_or_connect() 114 if (dmix->u.dmix.shmid_sum < 0) in shm_sum_discard() 119 if (shmctl(dmix->u.dmix.shmid_sum, IPC_STAT, &buf) < 0) in shm_sum_discard() 122 if (shmctl(dmix->u.dmix.shmid_sum, IPC_RMID, NULL) < 0) in shm_sum_discard() 126 dmix->u.dmix.shmid_sum = -1; in shm_sum_discard() 1146 if (dmix->u.dmix.shmid_sum >= 0) in snd_pcm_dmix_open()
|
D | pcm_direct.h | 179 int shmid_sum; /* IPC global sum ring buffer memory identification */ member
|