Lines Matching refs:alter
324 q->undo, q->pid, q->alter); in update_queue()
330 if (error == 0 && q->alter) { in update_queue()
806 static int alloc_undo(struct sem_array *sma, struct sem_undo** unp, int semid, int alter) in alloc_undo() argument
820 error = sem_revalidate(semid, sma, nsems, alter ? S_IWUGO : S_IRUGO); in alloc_undo()
849 int undos = 0, decrease = 0, alter = 0; in sys_semtimedop() local
895 alter = 1; in sys_semtimedop()
897 alter |= decrease; in sys_semtimedop()
900 if (ipcperms(&sma->sem_perm, alter ? S_IWUGO : S_IRUGO)) in sys_semtimedop()
916 error = alloc_undo(sma,&un,semid,alter); in sys_semtimedop()
936 queue.alter = decrease; in sys_semtimedop()
938 if (alter) in sys_semtimedop()
991 if (alter) in sys_semtimedop()