Searched refs:Sem_id (Results 1 – 1 of 1) sorted by relevance
/titanic_41/usr/src/cmd/fs.d/ufs/volcopy/ |
H A D | volcopy.c | 82 int Sem_id[BUFCNT], /* semaphore ids for controlling shared memory */ variable 797 if ((Sem_id[cnt] = semget(IPC_PRIVATE, 1, 0)) < 0) in mem_setup() 800 if (semctl(Sem_id[cnt], 0, SETVAL, sem_arg) < 0) in mem_setup() 916 if (semop(Sem_id[cur_buf], &Sem_buf, 1) < 0) in child_copy() 948 if (semop(Sem_id[cur_buf], &Sem_buf, 1) < 0) in child_copy() 980 if (semop(Sem_id[cur_buf], &Sem_buf, 1) < 0) in parent_copy() 1028 if (semop(Sem_id[cur_buf], &Rstsem_buf, 1) < 0) in parent_copy() 1032 if (semop(Sem_id[cur_buf], &Sem_buf, 1) < 0) in parent_copy() 1035 if (semop(Sem_id[cur_buf], &Rstsem_buf, 1) < 0) in parent_copy() 1133 if (semop(Sem_id[buffer], &Rstsem_buf, 1) < 0) in flush_bufs() [all …]
|