Searched refs:ipc_ns (Results 1 – 13 of 13) sorted by relevance
/Linux-v5.15/ipc/ |
D | mqueue.c | 47 struct ipc_namespace *ipc_ns; member 292 struct ipc_namespace *ipc_ns, umode_t mode, in mqueue_get_inode() argument 328 info->attr.mq_maxmsg = min(ipc_ns->mq_msg_max, in mqueue_get_inode() 329 ipc_ns->mq_msg_default); in mqueue_get_inode() 330 info->attr.mq_msgsize = min(ipc_ns->mq_msgsize_max, in mqueue_get_inode() 331 ipc_ns->mq_msgsize_default); in mqueue_get_inode() 358 if (info->attr.mq_maxmsg > ipc_ns->mq_msg_max || in mqueue_get_inode() 359 info->attr.mq_msgsize > ipc_ns->mq_msgsize_max) in mqueue_get_inode() 430 return get_tree_keyed(fc, mqueue_fill_super, ctx->ipc_ns); in mqueue_get_tree() 437 put_ipc_ns(ctx->ipc_ns); in mqueue_fs_context_free() [all …]
|
D | ipc_sysctl.c | 20 struct ipc_namespace *ipc_ns = current->nsproxy->ipc_ns; in get_ipc() local 21 which = (which - (char *)&init_ipc_ns) + (char *)ipc_ns; in get_ipc() 51 struct ipc_namespace *ns = current->nsproxy->ipc_ns; in proc_ipc_dointvec_minmax_orphans() 91 struct ipc_namespace *ns = current->nsproxy->ipc_ns; in proc_ipc_sem_dointvec() 97 ret = sem_check_semmni(current->nsproxy->ipc_ns); in proc_ipc_sem_dointvec()
|
D | mq_sysctl.c | 16 struct ipc_namespace *ipc_ns = current->nsproxy->ipc_ns; in get_mq() local 17 which = (which - (char *)&init_ipc_ns) + (char *)ipc_ns; in get_mq()
|
D | namespace.c | 189 ns = get_ipc_ns(nsproxy->ipc_ns); in ipcns_get() 208 put_ipc_ns(nsproxy->ipc_ns); in ipcns_install() 209 nsproxy->ipc_ns = get_ipc_ns(ns); in ipcns_install()
|
D | msg.c | 306 ns = current->nsproxy->ipc_ns; in ksys_msgget() 600 ns = current->nsproxy->ipc_ns; in ksys_msgctl() 732 ns = current->nsproxy->ipc_ns; in compat_ksys_msgctl() 851 ns = current->nsproxy->ipc_ns; in do_msgsnd() 1101 ns = current->nsproxy->ipc_ns; in do_msgrcv()
|
D | shm.c | 385 struct ipc_namespace *ns = task->nsproxy->ipc_ns; in exit_shm() 735 ns = current->nsproxy->ipc_ns; in ksys_shmget() 1148 ns = current->nsproxy->ipc_ns; in ksys_shmctl() 1340 ns = current->nsproxy->ipc_ns; in compat_ksys_shmctl() 1477 ns = current->nsproxy->ipc_ns; in do_shmat()
|
D | sem.c | 612 ns = current->nsproxy->ipc_ns; in ksys_semget() 1663 ns = current->nsproxy->ipc_ns; in ksys_semctl() 1783 ns = current->nsproxy->ipc_ns; in compat_ksys_semctl() 2234 ns = current->nsproxy->ipc_ns; in do_semtimedop() 2384 sma = sem_obtain_object_check(tsk->nsproxy->ipc_ns, semid); in exit_sem()
|
D | util.c | 898 iter->ns = get_ipc_ns(current->nsproxy->ipc_ns); in sysvipc_proc_open()
|
/Linux-v5.15/kernel/ |
D | nsproxy.c | 36 .ipc_ns = &init_ipc_ns, 90 new_nsp->ipc_ns = copy_ipcs(flags, user_ns, tsk->nsproxy->ipc_ns); in create_new_namespaces() 91 if (IS_ERR(new_nsp->ipc_ns)) { in create_new_namespaces() 92 err = PTR_ERR(new_nsp->ipc_ns); in create_new_namespaces() 134 if (new_nsp->ipc_ns) in create_new_namespaces() 135 put_ipc_ns(new_nsp->ipc_ns); in create_new_namespaces() 194 if (ns->ipc_ns) in free_nsproxy() 195 put_ipc_ns(ns->ipc_ns); in free_nsproxy() 436 ret = validate_ns(nsset, &nsp->ipc_ns->ns); in validate_nsset()
|
/Linux-v5.15/drivers/android/ |
D | binderfs.c | 124 bool use_reserve = (info->ipc_ns == &init_ipc_ns); in binderfs_binder_device_create() 345 if (info && info->ipc_ns) in binderfs_put_super() 346 put_ipc_ns(info->ipc_ns); in binderfs_put_super() 413 bool use_reserve = (info->ipc_ns == &init_ipc_ns); in binderfs_binder_ctl_create() 720 info->ipc_ns = get_ipc_ns(current->nsproxy->ipc_ns); in binderfs_fill_super()
|
D | binder_internal.h | 67 struct ipc_namespace *ipc_ns; member
|
/Linux-v5.15/include/linux/ |
D | nsproxy.h | 34 struct ipc_namespace *ipc_ns; member
|
/Linux-v5.15/arch/arm/kernel/ |
D | sys_oabi-compat.c | 346 ns = current->nsproxy->ipc_ns; in sys_oabi_semtimedop()
|