Searched refs:ipc_ns (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.10/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 329 info->attr.mq_maxmsg = min(ipc_ns->mq_msg_max, in mqueue_get_inode() 330 ipc_ns->mq_msg_default); in mqueue_get_inode() 331 info->attr.mq_msgsize = min(ipc_ns->mq_msgsize_max, in mqueue_get_inode() 332 ipc_ns->mq_msgsize_default); in mqueue_get_inode() 359 if (info->attr.mq_maxmsg > ipc_ns->mq_msg_max || in mqueue_get_inode() 360 info->attr.mq_msgsize > ipc_ns->mq_msgsize_max) in mqueue_get_inode() 427 return get_tree_keyed(fc, mqueue_fill_super, ctx->ipc_ns); in mqueue_get_tree() 434 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 | 304 ns = current->nsproxy->ipc_ns; in ksys_msgget() 598 ns = current->nsproxy->ipc_ns; in ksys_msgctl() 730 ns = current->nsproxy->ipc_ns; in compat_ksys_msgctl() 849 ns = current->nsproxy->ipc_ns; in do_msgsnd() 1099 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 | 609 ns = current->nsproxy->ipc_ns; in ksys_semget() 1658 ns = current->nsproxy->ipc_ns; in ksys_semctl() 1778 ns = current->nsproxy->ipc_ns; in compat_ksys_semctl() 1995 ns = current->nsproxy->ipc_ns; in do_semtimedop() 2358 sma = sem_obtain_object_check(tsk->nsproxy->ipc_ns, semid); in exit_sem()
|
D | util.c | 872 iter->ns = get_ipc_ns(current->nsproxy->ipc_ns); in sysvipc_proc_open()
|
/Linux-v5.10/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() 199 if (ns->ipc_ns) in free_nsproxy() 200 put_ipc_ns(ns->ipc_ns); in free_nsproxy() 441 ret = validate_ns(nsset, &nsp->ipc_ns->ns); in validate_nsset()
|
/Linux-v5.10/drivers/android/ |
D | binderfs.c | 116 bool use_reserve = (info->ipc_ns == &init_ipc_ns); in binderfs_binder_device_create() 337 if (info && info->ipc_ns) in binderfs_put_super() 338 put_ipc_ns(info->ipc_ns); in binderfs_put_super() 403 bool use_reserve = (info->ipc_ns == &init_ipc_ns); in binderfs_binder_ctl_create() 683 info->ipc_ns = get_ipc_ns(current->nsproxy->ipc_ns); in binderfs_fill_super()
|
D | binder_internal.h | 65 struct ipc_namespace *ipc_ns; member
|
/Linux-v5.10/include/linux/ |
D | nsproxy.h | 34 struct ipc_namespace *ipc_ns; member
|