Lines Matching refs:ipc_namespace
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()
328 static void shm_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp) in shm_destroy()
371 struct ipc_namespace *ns = sfd->ns; in __shm_close()
410 struct ipc_namespace *ns = data; in shm_try_destroy_orphaned()
430 void shm_destroy_orphaned(struct ipc_namespace *ns) in shm_destroy_orphaned()
443 struct ipc_namespace *ns; in exit_shm()
705 static int newseg(struct ipc_namespace *ns, struct ipc_params *params) in newseg()
833 struct ipc_namespace *ns; in ksys_shmget()
965 static void shm_get_stat(struct ipc_namespace *ns, unsigned long *rss, in shm_get_stat()
996 static int shmctl_down(struct ipc_namespace *ns, int shmid, int cmd, in shmctl_down()
1046 static int shmctl_ipc_info(struct ipc_namespace *ns, in shmctl_ipc_info()
1065 static int shmctl_shm_info(struct ipc_namespace *ns, in shmctl_shm_info()
1085 static int shmctl_stat(struct ipc_namespace *ns, int shmid, in shmctl_stat()
1169 static int shmctl_do_lock(struct ipc_namespace *ns, int shmid, int cmd) in shmctl_do_lock()
1248 struct ipc_namespace *ns; in ksys_shmctl()
1442 struct ipc_namespace *ns; in compat_ksys_shmctl()
1533 struct ipc_namespace *ns; in do_shmat()