Lines Matching refs:shmid
97 dmix->shmid = shmget(dmix->ipc_key, sizeof(snd_pcm_direct_share_t),
100 if (dmix->shmid < 0){
110 dmix->shmptr = shmat(dmix->shmid, 0, 0);
117 if (shmctl(dmix->shmid, IPC_STAT, &buf) < 0) {
126 shmctl(dmix->shmid, IPC_SET, &buf);
151 if (dmix->shmid < 0)
156 if (shmctl(dmix->shmid, IPC_STAT, &buf) < 0)
159 if (shmctl(dmix->shmid, IPC_RMID, NULL) < 0)
163 dmix->shmid = -1;
347 if (shmctl(dmix->shmid, IPC_STAT, &buf) < 0) {