Home
last modified time | relevance | path

Searched refs:ipc_namespace (Results 1 – 11 of 11) sorted by relevance

/linux/include/linux/
H A Dipc_namespace.h31 struct ipc_namespace { struct
83 extern struct ipc_namespace init_ipc_ns; argument
87 extern void shm_destroy_orphaned(struct ipc_namespace *ns);
89 static inline void shm_destroy_orphaned(struct ipc_namespace *ns) {} in shm_destroy_orphaned()
93 extern int mq_init_ns(struct ipc_namespace *ns);
128 static inline int mq_init_ns(struct ipc_namespace *ns) { return 0; } in mq_init_ns()
132 extern struct ipc_namespace *copy_ipcs(unsigned long flags,
133 struct user_namespace *user_ns, struct ipc_namespace *ns);
135 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *n
32 idsipc_namespace global() argument
34 sem_ctlsipc_namespace global() argument
35 used_semsipc_namespace global() argument
37 msg_ctlmaxipc_namespace global() argument
38 msg_ctlmnbipc_namespace global() argument
39 msg_ctlmniipc_namespace global() argument
40 percpu_msg_bytesipc_namespace global() argument
41 percpu_msg_hdrsipc_namespace global() argument
43 shm_ctlmaxipc_namespace global() argument
44 shm_ctlallipc_namespace global() argument
45 shm_totipc_namespace global() argument
46 shm_ctlmniipc_namespace global() argument
51 shm_rmid_forcedipc_namespace global() argument
53 ipcns_nbipc_namespace global() argument
56 mq_mntipc_namespace global() argument
59 mq_queues_countipc_namespace global() argument
[all...]
H A Dnsproxy.h11 struct ipc_namespace;
35 struct ipc_namespace *ipc_ns;
48 struct ipc_namespace *: &(__ns->ns), \
/linux/ipc/
H A Dutil.h16 #include <linux/ipc_namespace.h>
55 struct ipc_namespace;
59 extern void mq_clear_sbinfo(struct ipc_namespace *ns);
61 static inline void mq_clear_sbinfo(struct ipc_namespace *ns) { } in mq_clear_sbinfo()
65 void sem_init_ns(struct ipc_namespace *ns);
66 int msg_init_ns(struct ipc_namespace *ns);
67 void shm_init_ns(struct ipc_namespace *ns);
69 void sem_exit_ns(struct ipc_namespace *ns);
70 void msg_exit_ns(struct ipc_namespace *ns);
71 void shm_exit_ns(struct ipc_namespace *n
[all...]
H A Dnamespace.c9 #include <linux/ipc_namespace.h>
38 static struct ipc_namespace *create_ipc_ns(struct user_namespace *user_ns, in create_ipc_ns()
39 struct ipc_namespace *old_ns) in create_ipc_ns()
41 struct ipc_namespace *ns; in create_ipc_ns()
60 ns = kzalloc(sizeof(struct ipc_namespace), GFP_KERNEL_ACCOUNT); in create_ipc_ns()
109 struct ipc_namespace *copy_ipcs(unsigned long flags, in copy_ipcs()
110 struct user_namespace *user_ns, struct ipc_namespace *ns) in copy_ipcs()
123 * Called for each kind of ipc when an ipc_namespace exits.
125 void free_ipcs(struct ipc_namespace *ns, struct ipc_ids *ids, in free_ipcs()
126 void (*free)(struct ipc_namespace *, struc in free_ipcs() argument
[all...]
H A Dipc_sysctl.c14 #include <linux/ipc_namespace.h>
23 struct ipc_namespace *ns = in proc_ipc_dointvec_minmax_orphans()
24 container_of(table->data, struct ipc_namespace, shm_rmid_forced); in proc_ipc_dointvec_minmax_orphans()
54 struct ipc_namespace *ns = in proc_ipc_sem_dointvec()
55 container_of(table->data, struct ipc_namespace, sem_ctls); in proc_ipc_sem_dointvec()
196 struct ipc_namespace *ns = in ipc_set_ownership()
197 container_of(head->set, struct ipc_namespace, ipc_set); in ipc_set_ownership()
211 struct ipc_namespace *ns = in ipc_permissions()
212 container_of(head->set, struct ipc_namespace, ipc_set); in ipc_permissions()
245 bool setup_ipc_sysctls(struct ipc_namespace *n
[all...]
H A Dmsg.c40 #include <linux/ipc_namespace.h>
102 static inline struct msg_queue *msq_obtain_object(struct ipc_namespace *ns, int id) in msq_obtain_object()
112 static inline struct msg_queue *msq_obtain_object_check(struct ipc_namespace *ns, in msq_obtain_object_check()
123 static inline void msg_rmid(struct ipc_namespace *ns, struct msg_queue *s) in msg_rmid()
144 static int newque(struct ipc_namespace *ns, struct ipc_params *params) in newque()
273 static void freeque(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in freeque()
300 struct ipc_namespace *ns; in ksys_msgget()
401 static int msgctl_down(struct ipc_namespace *ns, int msqid, int cmd, in msgctl_down()
477 static int msgctl_info(struct ipc_namespace *ns, int msqid, in msgctl_info()
518 static int msgctl_stat(struct ipc_namespace *n
[all...]
H A Dsem.c86 #include <linux/ipc_namespace.h>
171 static int newary(struct ipc_namespace *, struct ipc_params *);
172 static void freeary(struct ipc_namespace *, struct kern_ipc_perm *);
249 void sem_init_ns(struct ipc_namespace *ns) in sem_init_ns()
260 void sem_exit_ns(struct ipc_namespace *ns) in sem_exit_ns()
478 static inline struct sem_array *sem_obtain_object(struct ipc_namespace *ns, int id) in sem_obtain_object()
488 static inline struct sem_array *sem_obtain_object_check(struct ipc_namespace *ns, in sem_obtain_object_check()
505 static inline void sem_rmid(struct ipc_namespace *ns, struct sem_array *s) in sem_rmid()
531 static int newary(struct ipc_namespace *ns, struct ipc_params *params) in newary()
604 struct ipc_namespace *n in ksys_semget()
[all...]
H A Dutil.c65 #include <linux/ipc_namespace.h>
339 static int ipcget_new(struct ipc_namespace *ns, struct ipc_ids *ids, in ipcget_new()
365 static int ipc_check_perms(struct ipc_namespace *ns, in ipc_check_perms()
397 static int ipcget_public(struct ipc_namespace *ns, struct ipc_ids *ids, in ipcget_public()
553 int ipcperms(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp, short flag) in ipcperms()
670 int ipcget(struct ipc_namespace *ns, struct ipc_ids *ids, in ipcget()
719 struct kern_ipc_perm *ipcctl_obtain_check(struct ipc_namespace *ns, in ipcctl_obtain_check()
771 struct ipc_namespace *ns;
H A Dmqueue.c36 #include <linux/ipc_namespace.h>
47 struct ipc_namespace *ipc_ns;
175 static inline struct ipc_namespace *__get_ns_from_inode(struct inode *inode) in __get_ns_from_inode()
180 static struct ipc_namespace *get_ns_from_inode(struct inode *inode) in get_ns_from_inode()
182 struct ipc_namespace *ns; in get_ns_from_inode()
291 struct ipc_namespace *ipc_ns, umode_t mode, in mqueue_get_inode()
407 struct ipc_namespace *ns = sb->s_fs_info; in mqueue_fill_super()
469 static struct vfsmount *mq_create_mount(struct ipc_namespace *ns) in mq_create_mount()
516 struct ipc_namespace *ipc_ns; in mqueue_evict_inode()
573 struct ipc_namespace *ipc_n in mqueue_create_attr()
[all...]
/linux/drivers/android/
H A Dbinder_internal.h66 struct ipc_namespace *ipc_ns;
/linux/arch/arm/kernel/
H A Dsys_oabi-compat.c86 #include <linux/ipc_namespace.h>
342 struct ipc_namespace *ns; in sys_oabi_semtimedop()