Searched refs:Sem_id (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/cmd/fs.d/ufs/volcopy/ |
H A D | volcopy.c | 80 int Sem_id[BUFCNT], /* semaphore ids for controlling shared memory */ variable 795 if ((Sem_id[cnt] = semget(IPC_PRIVATE, 1, 0)) < 0) in mem_setup() 798 if (semctl(Sem_id[cnt], 0, SETVAL, sem_arg) < 0) in mem_setup() 914 if (semop(Sem_id[cur_buf], &Sem_buf, 1) < 0) in child_copy() 946 if (semop(Sem_id[cur_buf], &Sem_buf, 1) < 0) in child_copy() 978 if (semop(Sem_id[cur_buf], &Sem_buf, 1) < 0) in parent_copy() 1026 if (semop(Sem_id[cur_buf], &Rstsem_buf, 1) < 0) in parent_copy() 1030 if (semop(Sem_id[cur_buf], &Sem_buf, 1) < 0) in parent_copy() 1033 if (semop(Sem_id[cur_buf], &Rstsem_buf, 1) < 0) in parent_copy() 1131 if (semop(Sem_id[buffer], &Rstsem_buf, 1) < 0) in flush_bufs() [all …]
|