Lines Matching defs:ns

49 	struct ipc_namespace *ns;  member
59 #define shm_ids(ns) ((ns)->ids[IPC_SHM_IDS]) argument
72 void shm_init_ns(struct ipc_namespace *ns) in shm_init_ns()
86 static void do_shm_rmid(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in do_shm_rmid()
101 void shm_exit_ns(struct ipc_namespace *ns) in shm_exit_ns()
131 static inline struct shmid_kernel *shm_lock(struct ipc_namespace *ns, int id) in shm_lock()
147 static inline struct shmid_kernel *shm_lock_check(struct ipc_namespace *ns, in shm_lock_check()
158 static inline void shm_rmid(struct ipc_namespace *ns, struct shmid_kernel *s) in shm_rmid()
188 static void shm_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp) in shm_destroy()
213 static bool shm_may_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp) in shm_may_destroy()
231 struct ipc_namespace *ns = sfd->ns; in shm_close() local
250 struct ipc_namespace *ns = data; in shm_try_destroy_current() local
281 struct ipc_namespace *ns = data; in shm_try_destroy_orphaned() local
301 void shm_destroy_orphaned(struct ipc_namespace *ns) in shm_destroy_orphaned()
312 struct ipc_namespace *ns = task->nsproxy->ipc_ns; in exit_shm() local
446 static int newseg(struct ipc_namespace *ns, struct ipc_params *params) in newseg()
564 struct ipc_namespace *ns; in SYSCALL_DEFINE3() local
690 static void shm_get_stat(struct ipc_namespace *ns, unsigned long *rss, in shm_get_stat()
721 static int shmctl_down(struct ipc_namespace *ns, int shmid, int cmd, in shmctl_down()
766 struct ipc_namespace *ns; in SYSCALL_DEFINE3() local
955 struct ipc_namespace *ns; in do_shmat() local