| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | ipc_namespace.h | 29 struct ipc_namespace { struct 76 extern struct ipc_namespace init_ipc_ns; argument 80 extern void shm_destroy_orphaned(struct ipc_namespace *ns); 82 static inline void shm_destroy_orphaned(struct ipc_namespace *ns) {} in shm_destroy_orphaned() 86 extern int mq_init_ns(struct ipc_namespace *ns); 121 static inline int mq_init_ns(struct ipc_namespace *ns) { return 0; } in mq_init_ns() 125 extern struct ipc_namespace *copy_ipcs(unsigned long flags, 126 struct user_namespace *user_ns, struct ipc_namespace *ns); 128 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns() 135 static inline struct ipc_namespace *get_ipc_ns_not_zero(struct ipc_namespace *ns) in get_ipc_ns_not_zero() [all …]
|
| H A D | nsproxy.h | 10 struct ipc_namespace; 34 struct ipc_namespace *ipc_ns;
|
| /OK3568_Linux_fs/kernel/ipc/ |
| H A D | util.h | 54 struct ipc_namespace; 58 extern void mq_clear_sbinfo(struct ipc_namespace *ns); 59 extern void mq_put_mnt(struct ipc_namespace *ns); 61 static inline void mq_clear_sbinfo(struct ipc_namespace *ns) { } in mq_clear_sbinfo() 62 static inline void mq_put_mnt(struct ipc_namespace *ns) { } in mq_put_mnt() 66 void sem_init_ns(struct ipc_namespace *ns); 67 void msg_init_ns(struct ipc_namespace *ns); 68 void shm_init_ns(struct ipc_namespace *ns); 70 void sem_exit_ns(struct ipc_namespace *ns); 71 void msg_exit_ns(struct ipc_namespace *ns); [all …]
|
| H A D | namespace.c | 32 static struct ipc_namespace *create_ipc_ns(struct user_namespace *user_ns, in create_ipc_ns() 33 struct ipc_namespace *old_ns) in create_ipc_ns() 35 struct ipc_namespace *ns; in create_ipc_ns() 45 ns = kzalloc(sizeof(struct ipc_namespace), GFP_KERNEL); in create_ipc_ns() 79 struct ipc_namespace *copy_ipcs(unsigned long flags, in copy_ipcs() 80 struct user_namespace *user_ns, struct ipc_namespace *ns) in copy_ipcs() 95 void free_ipcs(struct ipc_namespace *ns, struct ipc_ids *ids, in free_ipcs() 96 void (*free)(struct ipc_namespace *, struct kern_ipc_perm *)) in free_ipcs() argument 118 static void free_ipc_ns(struct ipc_namespace *ns) in free_ipc_ns() 138 struct ipc_namespace *n, *t; in free_ipc() [all …]
|
| H A D | shm.c | 76 struct ipc_namespace *ns; 85 struct ipc_namespace *ns; 100 static int newseg(struct ipc_namespace *, struct ipc_params *); 103 static void shm_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp); 108 void shm_init_ns(struct ipc_namespace *ns) in shm_init_ns() 122 static void do_shm_rmid(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in do_shm_rmid() 139 void shm_exit_ns(struct ipc_namespace *ns) in shm_exit_ns() 166 static inline struct shmid_kernel *shm_obtain_object(struct ipc_namespace *ns, int id) in shm_obtain_object() 176 static inline struct shmid_kernel *shm_obtain_object_check(struct ipc_namespace *ns, int id) in shm_obtain_object_check() 190 static inline struct shmid_kernel *shm_lock(struct ipc_namespace *ns, int id) in shm_lock() [all …]
|
| H A D | msg.c | 101 static inline struct msg_queue *msq_obtain_object(struct ipc_namespace *ns, int id) in msq_obtain_object() 111 static inline struct msg_queue *msq_obtain_object_check(struct ipc_namespace *ns, in msq_obtain_object_check() 122 static inline void msg_rmid(struct ipc_namespace *ns, struct msg_queue *s) in msg_rmid() 143 static int newque(struct ipc_namespace *ns, struct ipc_params *params) in newque() 272 static void freeque(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in freeque() 299 struct ipc_namespace *ns; in ksys_msgget() 400 static int msgctl_down(struct ipc_namespace *ns, int msqid, int cmd, in msgctl_down() 476 static int msgctl_info(struct ipc_namespace *ns, int msqid, in msgctl_info() 512 static int msgctl_stat(struct ipc_namespace *ns, int msqid, in msgctl_stat() 593 struct ipc_namespace *ns; in ksys_msgctl() [all …]
|
| H A D | sem.c | 171 static int newary(struct ipc_namespace *, struct ipc_params *); 172 static void freeary(struct ipc_namespace *, struct kern_ipc_perm *); 247 void sem_init_ns(struct ipc_namespace *ns) in sem_init_ns() 258 void sem_exit_ns(struct ipc_namespace *ns) in sem_exit_ns() 475 static inline struct sem_array *sem_obtain_object(struct ipc_namespace *ns, int id) in sem_obtain_object() 485 static inline struct sem_array *sem_obtain_object_check(struct ipc_namespace *ns, in sem_obtain_object_check() 502 static inline void sem_rmid(struct ipc_namespace *ns, struct sem_array *s) in sem_rmid() 528 static int newary(struct ipc_namespace *ns, struct ipc_params *params) in newary() 601 struct ipc_namespace *ns; in ksys_semget() 1141 static void freeary(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in freeary() [all …]
|
| H A D | util.c | 338 static int ipcget_new(struct ipc_namespace *ns, struct ipc_ids *ids, in ipcget_new() 364 static int ipc_check_perms(struct ipc_namespace *ns, in ipc_check_perms() 396 static int ipcget_public(struct ipc_namespace *ns, struct ipc_ids *ids, in ipcget_public() 519 int ipcperms(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp, short flag) in ipcperms() 639 int ipcget(struct ipc_namespace *ns, struct ipc_ids *ids, in ipcget() 688 struct kern_ipc_perm *ipcctl_obtain_check(struct ipc_namespace *ns, in ipcctl_obtain_check() 740 struct ipc_namespace *ns;
|
| H A D | mqueue.c | 47 struct ipc_namespace *ipc_ns; 177 static inline struct ipc_namespace *__get_ns_from_inode(struct inode *inode) in __get_ns_from_inode() 182 static struct ipc_namespace *get_ns_from_inode(struct inode *inode) in get_ns_from_inode() 184 struct ipc_namespace *ns; in get_ns_from_inode() 293 struct ipc_namespace *ipc_ns, umode_t mode, in mqueue_get_inode() 406 struct ipc_namespace *ns = sb->s_fs_info; in mqueue_fill_super() 467 static struct vfsmount *mq_create_mount(struct ipc_namespace *ns) in mq_create_mount() 515 struct ipc_namespace *ipc_ns; in mqueue_evict_inode() 572 struct ipc_namespace *ipc_ns; in mqueue_create_attr() 958 struct ipc_namespace *ipc_ns = current->nsproxy->ipc_ns; in SYSCALL_DEFINE1() [all …]
|
| H A D | ipc_sysctl.c | 20 struct ipc_namespace *ipc_ns = current->nsproxy->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()
|
| H A D | mq_sysctl.c | 16 struct ipc_namespace *ipc_ns = current->nsproxy->ipc_ns; in get_mq()
|
| H A D | msgutil.c | 28 struct ipc_namespace init_ipc_ns = {
|
| /OK3568_Linux_fs/kernel/drivers/android/ |
| H A D | binder_internal.h | 67 struct ipc_namespace *ipc_ns;
|