Home
last modified time | relevance | path

Searched refs:ipc_ns (Results 1 – 13 of 13) sorted by relevance

/linux/ipc/
H A Dmqueue.c46 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 Dnamespace.c222 ns = get_ipc_ns(nsproxy->ipc_ns); in ipcns_get()
241 put_ipc_ns(nsproxy->ipc_ns); in ipcns_install()
242 nsproxy->ipc_ns = get_ipc_ns(ns); in ipcns_install()
H A Dmsg.c307 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 Dsem.c612 ns = current->nsproxy->ipc_ns; in ksys_semget()
1661 ns = current->nsproxy->ipc_ns; in ksys_semctl()
1781 ns = current->nsproxy->ipc_ns; in compat_ksys_semctl()
2230 ns = current->nsproxy->ipc_ns; in do_semtimedop()
2380 sma = sem_obtain_object_check(tsk->nsproxy->ipc_ns, semid); in exit_sem()
H A Dshm.c838 ns = current->nsproxy->ipc_ns; in ksys_shmget()
1251 ns = current->nsproxy->ipc_ns; in ksys_shmctl()
1443 ns = current->nsproxy->ipc_ns; in compat_ksys_shmctl()
1580 ns = current->nsproxy->ipc_ns; in do_shmat()
H A Dutil.c906 iter->ns = get_ipc_ns(current->nsproxy->ipc_ns); in sysvipc_proc_open()
/linux/drivers/android/
H A Dbinderfs.c126 bool use_reserve = (info->ipc_ns == &init_ipc_ns); in binderfs_binder_device_create()
394 bool use_reserve = (info->ipc_ns == &init_ipc_ns); in binderfs_binder_ctl_create()
646 info->ipc_ns = get_ipc_ns(current->nsproxy->ipc_ns); in binderfs_fill_super()
743 if (info && info->ipc_ns) in binderfs_kill_super()
744 put_ipc_ns(info->ipc_ns); in binderfs_kill_super()
/linux/drivers/android/binder/
H A Drust_binderfs.c126 bool use_reserve = (info->ipc_ns == &init_ipc_ns); in binderfs_binder_device_create()
385 bool use_reserve = (info->ipc_ns == &init_ipc_ns); in binderfs_binder_ctl_create()
650 info->ipc_ns = get_ipc_ns(current->nsproxy->ipc_ns); in binderfs_fill_super()
747 if (info && info->ipc_ns) in binderfs_kill_super()
748 put_ipc_ns(info->ipc_ns); in binderfs_kill_super()
/linux/include/linux/
H A Dnsfs.h30 struct ipc_namespace *: current->nsproxy->ipc_ns, \
H A Dnsproxy.h35 struct ipc_namespace *ipc_ns; member
/linux/fs/
H A Dnsfs.c696 ns_ref_active_get(ns->ipc_ns); in nsproxy_ns_active_get()
708 ns_ref_active_put(ns->ipc_ns); in nsproxy_ns_active_put()
H A Dpidfs.c591 if (!ns_ref_get(nsp->ipc_ns)) in pidfd_ioctl()
593 ns_common = to_ns_common(nsp->ipc_ns); in pidfd_ioctl()
/linux/arch/arm/kernel/
H A Dsys_oabi-compat.c347 ns = current->nsproxy->ipc_ns; in sys_oabi_semtimedop()