Searched refs:error (Results 1 – 3 of 3) sorted by relevance
/ipc/ |
D | sem.c | 766 static inline void wake_up_sem_queue_prepare(struct sem_queue *q, int error, in wake_up_sem_queue_prepare() argument 777 WRITE_ONCE(q->status, error); in wake_up_sem_queue_prepare() 848 int error = perform_atomic_semop(sma, q); in wake_const_ops() local 850 if (error > 0) in wake_const_ops() 855 wake_up_sem_queue_prepare(q, error, wake_q); in wake_const_ops() 856 if (error == 0) in wake_const_ops() 943 int error, restart; in update_queue() local 955 error = perform_atomic_semop(sma, q); in update_queue() 958 if (error > 0) in update_queue() 963 if (error) { in update_queue() [all …]
|
D | mqueue.c | 497 int error; in mqueue_create_attr() local 503 error = -EACCES; in mqueue_create_attr() 509 error = -ENOSPC; in mqueue_create_attr() 517 error = PTR_ERR(inode); in mqueue_create_attr() 534 return error; in mqueue_create_attr() 805 int fd, error; in do_mq_open() local 821 error = PTR_ERR(path.dentry); in do_mq_open() 825 error = prepare_open(path.mnt, path.dentry, oflag, ro, mode, name, attr); in do_mq_open() 826 if (!error) { in do_mq_open() 831 error = PTR_ERR(file); in do_mq_open() [all …]
|
D | shm.c | 605 int error; in newseg() local 631 error = security_shm_alloc(&shp->shm_perm); in newseg() 632 if (error) { in newseg() 634 return error; in newseg() 644 error = -EINVAL; in newseg() 665 error = PTR_ERR(file); in newseg() 679 error = ipc_addid(&shm_ids(ns), &shp->shm_perm, ns->shm_ctlmni); in newseg() 680 if (error < 0) in newseg() 692 error = shp->shm_perm.id; in newseg() 696 return error; in newseg() [all …]
|