Searched refs:ipc_namespace (Results 1 - 19 of 19) sorted by relevance
/linux-master/include/linux/ |
H A D | ipc_namespace.h | 31 struct ipc_namespace { struct 83 extern struct ipc_namespace init_ipc_ns; 87 extern void shm_destroy_orphaned(struct ipc_namespace *ns); 89 static inline void shm_destroy_orphaned(struct ipc_namespace *ns) {} 93 extern int mq_init_ns(struct ipc_namespace *ns); 128 static inline int mq_init_ns(struct ipc_namespace *ns) { return 0; } 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 [all...] |
H A D | nsproxy.h | 11 struct ipc_namespace; 35 struct ipc_namespace *ipc_ns;
|
H A D | syscalls.h | 1291 struct ipc_namespace *ns);
|
/linux-master/ipc/ |
H A D | util.h | 16 #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) { } 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 D | namespace.c | 9 #include <linux/ipc_namespace.h> 38 static struct ipc_namespace *create_ipc_ns(struct user_namespace *user_ns, 39 struct ipc_namespace *old_ns) 41 struct ipc_namespace *ns; 60 ns = kzalloc(sizeof(struct ipc_namespace), GFP_KERNEL_ACCOUNT); 107 struct ipc_namespace *copy_ipcs(unsigned long flags, 108 struct user_namespace *user_ns, struct ipc_namespace *ns) 121 * Called for each kind of ipc when an ipc_namespace exits. 123 void free_ipcs(struct ipc_namespace *ns, struct ipc_ids *ids, 124 void (*free)(struct ipc_namespace *, struc [all...] |
H A D | ipc_sysctl.c | 14 #include <linux/ipc_namespace.h> 23 struct ipc_namespace *ns = 24 container_of(table->data, struct ipc_namespace, shm_rmid_forced); 54 struct ipc_namespace *ns = 55 container_of(table->data, struct ipc_namespace, sem_ctls); 198 struct ipc_namespace *ns = 199 container_of(head->set, struct ipc_namespace, ipc_set); 213 struct ipc_namespace *ns = 214 container_of(head->set, struct ipc_namespace, ipc_set); 247 bool setup_ipc_sysctls(struct ipc_namespace *n [all...] |
H A D | mq_sysctl.c | 9 #include <linux/ipc_namespace.h> 84 struct ipc_namespace *ns = 85 container_of(head->set, struct ipc_namespace, mq_set); 119 bool setup_mq_sysctls(struct ipc_namespace *ns) 161 void retire_mq_sysctls(struct ipc_namespace *ns)
|
H A D | shm.c | 46 #include <linux/ipc_namespace.h> 77 struct ipc_namespace *ns; 86 struct ipc_namespace *ns; 101 static int newseg(struct ipc_namespace *, struct ipc_params *); 104 static void shm_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp); 109 void shm_init_ns(struct ipc_namespace *ns) 123 static void do_shm_rmid(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) 140 void shm_exit_ns(struct ipc_namespace *ns) 167 static inline struct shmid_kernel *shm_obtain_object(struct ipc_namespace *ns, int id) 177 static inline struct shmid_kernel *shm_obtain_object_check(struct ipc_namespace *n [all...] |
H A D | msgutil.c | 13 #include <linux/ipc_namespace.h> 28 struct ipc_namespace init_ipc_ns = {
|
H A D | util.c | 65 #include <linux/ipc_namespace.h> 339 static int ipcget_new(struct ipc_namespace *ns, struct ipc_ids *ids, 365 static int ipc_check_perms(struct ipc_namespace *ns, 397 static int ipcget_public(struct ipc_namespace *ns, struct ipc_ids *ids, 553 int ipcperms(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp, short flag) 673 int ipcget(struct ipc_namespace *ns, struct ipc_ids *ids, 722 struct kern_ipc_perm *ipcctl_obtain_check(struct ipc_namespace *ns, 774 struct ipc_namespace *ns;
|
H A D | msg.c | 40 #include <linux/ipc_namespace.h> 102 static inline struct msg_queue *msq_obtain_object(struct ipc_namespace *ns, int id) 112 static inline struct msg_queue *msq_obtain_object_check(struct ipc_namespace *ns, 123 static inline void msg_rmid(struct ipc_namespace *ns, struct msg_queue *s) 144 static int newque(struct ipc_namespace *ns, struct ipc_params *params) 273 static void freeque(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) 300 struct ipc_namespace *ns; 401 static int msgctl_down(struct ipc_namespace *ns, int msqid, int cmd, 477 static int msgctl_info(struct ipc_namespace *ns, int msqid, 518 static int msgctl_stat(struct ipc_namespace *n [all...] |
H A D | sem.c | 86 #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) 260 void sem_exit_ns(struct ipc_namespace *ns) 478 static inline struct sem_array *sem_obtain_object(struct ipc_namespace *ns, int id) 488 static inline struct sem_array *sem_obtain_object_check(struct ipc_namespace *ns, 505 static inline void sem_rmid(struct ipc_namespace *ns, struct sem_array *s) 531 static int newary(struct ipc_namespace *ns, struct ipc_params *params) 604 struct ipc_namespace *n [all...] |
H A D | mqueue.c | 36 #include <linux/ipc_namespace.h> 47 struct ipc_namespace *ipc_ns; 175 static inline struct ipc_namespace *__get_ns_from_inode(struct inode *inode) 180 static struct ipc_namespace *get_ns_from_inode(struct inode *inode) 182 struct ipc_namespace *ns; 291 struct ipc_namespace *ipc_ns, umode_t mode, 407 struct ipc_namespace *ns = sb->s_fs_info; 468 static struct vfsmount *mq_create_mount(struct ipc_namespace *ns) 515 struct ipc_namespace *ipc_ns; 572 struct ipc_namespace *ipc_n [all...] |
H A D | syscall.c | 11 #include <linux/ipc_namespace.h>
|
/linux-master/fs/proc/ |
H A D | namespaces.c | 9 #include <linux/ipc_namespace.h>
|
/linux-master/arch/arm/kernel/ |
H A D | sys_oabi-compat.c | 86 #include <linux/ipc_namespace.h> 344 struct ipc_namespace *ns;
|
/linux-master/drivers/android/ |
H A D | binder_internal.h | 67 struct ipc_namespace *ipc_ns;
|
H A D | binderfs.c | 10 #include <linux/ipc_namespace.h>
|
/linux-master/kernel/ |
H A D | nsproxy.c | 20 #include <linux/ipc_namespace.h>
|
Completed in 166 milliseconds