Searched refs:err (Results 1 – 9 of 9) sorted by relevance
/ipc/ |
D | shm.c | 197 goto err; in shm_lock() 213 err: in shm_lock() 305 int err = __shm_open(vma); in shm_open() local 310 WARN_ON_ONCE(err); in shm_open() 556 int err = 0; in shm_set_policy() local 559 err = sfd->vm_ops->set_policy(vma, new); in shm_set_policy() 560 return err; in shm_set_policy() 991 int err; in shmctl_down() local 999 err = PTR_ERR(ipcp); in shmctl_down() 1005 err = security_shm_shmctl(&shp->shm_perm, cmd); in shmctl_down() [all …]
|
D | msg.c | 405 int err; in msgctl_down() local 413 err = PTR_ERR(ipcp); in msgctl_down() 419 err = security_msg_queue_msgctl(&msq->q_perm, cmd); in msgctl_down() 420 if (err) in msgctl_down() 435 err = -EPERM; in msgctl_down() 440 err = ipc_update_perm(perm, ipcp); in msgctl_down() 441 if (err) in msgctl_down() 463 err = -EINVAL; in msgctl_down() 473 return err; in msgctl_down() 479 int err; in msgctl_info() local [all …]
|
D | util.c | 281 int idx, err; in ipc_addid() local 308 err = rhashtable_insert_fast(&ids->key_ht, &new->khtnode, in ipc_addid() 310 if (err < 0) { in ipc_addid() 312 idx = err; in ipc_addid() 341 int err; in ipcget_new() local 344 err = ops->getnew(ns, params); in ipcget_new() 346 return err; in ipcget_new() 369 int err; in ipc_check_perms() local 372 err = -EACCES; in ipc_check_perms() 374 err = ops->associate(ipcp, params->flg); in ipc_check_perms() [all …]
|
D | sem.c | 1237 int err; in semctl_stat() local 1245 err = PTR_ERR(sma); in semctl_stat() 1251 err = PTR_ERR(sma); in semctl_stat() 1260 err = -EACCES; in semctl_stat() 1265 err = security_sem_semctl(&sma->sem_perm, cmd); in semctl_stat() 1266 if (err) in semctl_stat() 1273 err = -EIDRM; in semctl_stat() 1292 err = 0; in semctl_stat() 1298 err = sma->sem_perm.id; in semctl_stat() 1303 return err; in semctl_stat() [all …]
|
D | namespace.c | 37 int err; in create_ipc_ns() local 39 err = -ENOSPC; in create_ipc_ns() 44 err = -ENOMEM; in create_ipc_ns() 49 err = ns_alloc_inum(&ns->ns); in create_ipc_ns() 50 if (err) in create_ipc_ns() 58 err = mq_init_ns(ns); in create_ipc_ns() 59 if (err) in create_ipc_ns() 76 return ERR_PTR(err); in create_ipc_ns()
|
D | msgutil.c | 88 int err = -EFAULT; in load_msg() local 107 err = security_msg_msg_alloc(msg); in load_msg() 108 if (err) in load_msg() 115 return ERR_PTR(err); in load_msg()
|
D | syscall.c | 183 int err; in compat_ksys_ipc() local 188 err = do_shmat(first, compat_ptr(ptr), second, &raddr, in compat_ksys_ipc() 190 if (err < 0) in compat_ksys_ipc() 191 return err; in compat_ksys_ipc()
|
D | ipc_sysctl.c | 52 int err = proc_ipc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_ipc_dointvec_minmax_orphans() local 54 if (err < 0) in proc_ipc_dointvec_minmax_orphans() 55 return err; in proc_ipc_dointvec_minmax_orphans() 58 return err; in proc_ipc_dointvec_minmax_orphans()
|
D | mqueue.c | 302 goto err; in mqueue_get_inode() 399 err: in mqueue_get_inode() 954 int err; in SYSCALL_DEFINE1() local 966 err = mnt_want_write(mnt); in SYSCALL_DEFINE1() 967 if (err) in SYSCALL_DEFINE1() 973 err = PTR_ERR(dentry); in SYSCALL_DEFINE1() 979 err = -ENOENT; in SYSCALL_DEFINE1() 982 err = vfs_unlink(d_inode(dentry->d_parent), dentry, NULL); in SYSCALL_DEFINE1() 994 return err; in SYSCALL_DEFINE1()
|