Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/ipc/
H A Dmqueue.c47 struct ipc_namespace *ipc_ns; member
293 struct ipc_namespace *ipc_ns, umode_t mode, in mqueue_get_inode() argument
330 info->attr.mq_maxmsg = min(ipc_ns->mq_msg_max, in mqueue_get_inode()
331 ipc_ns->mq_msg_default); in mqueue_get_inode()
332 info->attr.mq_msgsize = min(ipc_ns->mq_msgsize_max, in mqueue_get_inode()
333 ipc_ns->mq_msgsize_default); in mqueue_get_inode()
360 if (info->attr.mq_maxmsg > ipc_ns->mq_msg_max || in mqueue_get_inode()
361 info->attr.mq_msgsize > ipc_ns->mq_msgsize_max) in mqueue_get_inode()
433 fc->s_fs_info = ctx->ipc_ns; in mqueue_get_tree()
436 return get_tree_keyed(fc, mqueue_fill_super, ctx->ipc_ns); in mqueue_get_tree()
[all …]
H A Dipc_sysctl.c20 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()
H A Dmq_sysctl.c16 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()
H A Dnamespace.c189 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()
H A Dmsg.c306 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()
H A Dsem.c609 ns = current->nsproxy->ipc_ns; in ksys_semget()
1660 ns = current->nsproxy->ipc_ns; in ksys_semctl()
1780 ns = current->nsproxy->ipc_ns; in compat_ksys_semctl()
1997 ns = current->nsproxy->ipc_ns; in do_semtimedop()
2361 sma = sem_obtain_object_check(tsk->nsproxy->ipc_ns, semid); in exit_sem()
H A Dshm.c831 ns = current->nsproxy->ipc_ns; in ksys_shmget()
1244 ns = current->nsproxy->ipc_ns; in ksys_shmctl()
1436 ns = current->nsproxy->ipc_ns; in compat_ksys_shmctl()
1573 ns = current->nsproxy->ipc_ns; in do_shmat()
H A Dutil.c872 iter->ns = get_ipc_ns(current->nsproxy->ipc_ns); in sysvipc_proc_open()
/OK3568_Linux_fs/kernel/kernel/
H A Dnsproxy.c36 .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()
/OK3568_Linux_fs/kernel/drivers/android/
H A Dbinderfs.c116 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()
656 info->ipc_ns = get_ipc_ns(current->nsproxy->ipc_ns); in binderfs_fill_super()
H A Dbinder_internal.h67 struct ipc_namespace *ipc_ns; member
/OK3568_Linux_fs/kernel/include/linux/
H A Dnsproxy.h34 struct ipc_namespace *ipc_ns; member