Lines Matching refs:shmid_sum
78 dmix->u.dmix.shmid_sum = shmget(dmix->ipc_key + 1, size,
81 if (dmix->u.dmix.shmid_sum < 0) {
91 if (shmctl(dmix->u.dmix.shmid_sum, IPC_STAT, &buf) < 0) {
98 shmctl(dmix->u.dmix.shmid_sum, IPC_SET, &buf);
100 dmix->u.dmix.sum_buffer = shmat(dmix->u.dmix.shmid_sum, 0, 0);
115 if (dmix->u.dmix.shmid_sum < 0)
120 if (shmctl(dmix->u.dmix.shmid_sum, IPC_STAT, &buf) < 0)
123 if (shmctl(dmix->u.dmix.shmid_sum, IPC_RMID, NULL) < 0)
127 dmix->u.dmix.shmid_sum = -1;
1114 if (dmix->u.dmix.shmid_sum >= 0)