Searched refs:error (Results 1 – 3 of 3) sorted by relevance
/ipc/ |
D | sem.c | 787 static inline void wake_up_sem_queue_prepare(struct sem_queue *q, int error, in wake_up_sem_queue_prepare() argument 795 smp_store_release(&q->status, error); in wake_up_sem_queue_prepare() 868 int error = perform_atomic_semop(sma, q); in wake_const_ops() local 870 if (error > 0) in wake_const_ops() 875 wake_up_sem_queue_prepare(q, error, wake_q); in wake_const_ops() 876 if (error == 0) in wake_const_ops() 963 int error, restart; in update_queue() local 975 error = perform_atomic_semop(sma, q); in update_queue() 978 if (error > 0) in update_queue() 983 if (error) { in update_queue() [all …]
|
D | mqueue.c | 573 int error; in mqueue_create_attr() local 579 error = -EACCES; in mqueue_create_attr() 585 error = -ENOSPC; in mqueue_create_attr() 593 error = PTR_ERR(inode); in mqueue_create_attr() 610 return error; in mqueue_create_attr() 902 int fd, error; in do_mq_open() local 918 error = PTR_ERR(path.dentry); in do_mq_open() 922 error = prepare_open(path.dentry, oflag, ro, mode, name, attr); in do_mq_open() 923 if (!error) { in do_mq_open() 928 error = PTR_ERR(file); in do_mq_open() [all …]
|
D | shm.c | 697 int error; in newseg() local 723 error = security_shm_alloc(&shp->shm_perm); in newseg() 724 if (error) { in newseg() 726 return error; in newseg() 736 error = -EINVAL; in newseg() 757 error = PTR_ERR(file); in newseg() 771 error = ipc_addid(&shm_ids(ns), &shp->shm_perm, ns->shm_ctlmni); in newseg() 772 if (error < 0) in newseg() 788 error = shp->shm_perm.id; in newseg() 792 return error; in newseg() [all …]
|