Searched refs:ipc_ns (Results 1 – 12 of 12) sorted by relevance
| /linux/ipc/ |
| H A D | mqueue.c | 46 struct ipc_namespace *ipc_ns; member 290 struct ipc_namespace *ipc_ns, umode_t mode, in mqueue_get_inode() argument 326 info->attr.mq_maxmsg = min(ipc_ns->mq_msg_max, in mqueue_get_inode() 327 ipc_ns->mq_msg_default); in mqueue_get_inode() 328 info->attr.mq_msgsize = min(ipc_ns->mq_msgsize_max, in mqueue_get_inode() 329 ipc_ns->mq_msgsize_default); in mqueue_get_inode() 356 if (info->attr.mq_maxmsg > ipc_ns->mq_msg_max || in mqueue_get_inode() 357 info->attr.mq_msgsize > ipc_ns->mq_msgsize_max) in mqueue_get_inode() 434 fc->s_fs_info = ctx->ipc_ns; in mqueue_get_tree() 437 return get_tree_keyed(fc, mqueue_fill_super, ctx->ipc_ns); in mqueue_get_tree() [all …]
|
| H A D | namespace.c | 197 * (Clearly, a task raising the refcount on its own ipc_ns 221 ns = get_ipc_ns(nsproxy->ipc_ns); in ipcns_get() 240 put_ipc_ns(nsproxy->ipc_ns); in ipcns_install() 241 nsproxy->ipc_ns = get_ipc_ns(ns); in ipcns_install()
|
| H A D | msg.c | 307 ns = current->nsproxy->ipc_ns; in ksys_msgget() 606 ns = current->nsproxy->ipc_ns; in ksys_msgctl() 738 ns = current->nsproxy->ipc_ns; in compat_ksys_msgctl() 857 ns = current->nsproxy->ipc_ns; in do_msgsnd() 1107 ns = current->nsproxy->ipc_ns; in do_msgrcv()
|
| H A D | util.c | 906 iter->ns = get_ipc_ns(current->nsproxy->ipc_ns); in sysvipc_proc_open()
|
| /linux/kernel/ |
| H A D | nsproxy.c | 38 .ipc_ns = &init_ipc_ns, 68 put_ipc_ns(ns->ipc_ns); in nsproxy_free() 112 new_nsp->ipc_ns = copy_ipcs(flags, user_ns, tsk->nsproxy->ipc_ns); in create_new_namespaces() 113 if (IS_ERR(new_nsp->ipc_ns)) { in create_new_namespaces() 114 err = PTR_ERR(new_nsp->ipc_ns); in create_new_namespaces() 155 put_ipc_ns(new_nsp->ipc_ns); in create_new_namespaces() 484 ret = validate_ns(nsset, &nsp->ipc_ns->ns); in validate_nsset()
|
| /linux/drivers/android/binder/ |
| H A D | rust_binderfs.c | 132 bool use_reserve = (info->ipc_ns == &init_ipc_ns); in binderfs_binder_device_create() 391 bool use_reserve = (info->ipc_ns == &init_ipc_ns); in binderfs_binder_ctl_create() 680 info->ipc_ns = get_ipc_ns(current->nsproxy->ipc_ns); in binderfs_fill_super() 777 if (info && info->ipc_ns) in init_rust_binderfs() 778 put_ipc_ns(info->ipc_ns); in init_rust_binderfs()
|
| /linux/drivers/android/ |
| H A D | binderfs.c | |
| /linux/include/linux/ |
| H A D | nsfs.h | 30 struct ipc_namespace *: current->nsproxy->ipc_ns, \
|
| H A D | nsproxy.h | 35 struct ipc_namespace *ipc_ns; member
|
| /linux/fs/ |
| H A D | nsfs.c | 695 ns_ref_active_get(ns->ipc_ns); in nsproxy_ns_active_get() 707 ns_ref_active_put(ns->ipc_ns); in nsproxy_ns_active_put()
|
| H A D | pidfs.c | 640 if (!ns_ref_get(nsp->ipc_ns)) in pidfd_ioctl() 642 ns_common = to_ns_common(nsp->ipc_ns); in pidfd_ioctl()
|
| /linux/arch/arm/kernel/ |
| H A D | sys_oabi-compat.c | 350 ns = current->nsproxy->ipc_ns; in sys_oabi_semtimedop()
|