• Home
  • Raw
  • Download

Lines Matching defs:ns

67     struct ipc_namespace *ns;  member
76 struct ipc_namespace *ns; member
86 #define shm_ids(ns) ((ns)->ids[IPC_SHM_IDS]) argument
98 void shm_init_ns(struct ipc_namespace *ns) in shm_init_ns()
112 static void do_shm_rmid(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in do_shm_rmid()
130 void shm_exit_ns(struct ipc_namespace *ns) in shm_exit_ns()
159 static inline struct shmid_kernel *shm_obtain_object(struct ipc_namespace *ns, int id) in shm_obtain_object()
170 static inline struct shmid_kernel *shm_obtain_object_check(struct ipc_namespace *ns, int id) in shm_obtain_object_check()
185 static inline struct shmid_kernel *shm_lock(struct ipc_namespace *ns, int id) in shm_lock()
315 static void shm_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp) in shm_destroy()
363 struct ipc_namespace *ns = sfd->ns; in shm_close() local
391 struct ipc_namespace *ns = data; in shm_try_destroy_orphaned() local
412 void shm_destroy_orphaned(struct ipc_namespace *ns) in shm_destroy_orphaned()
426 struct ipc_namespace *ns; in exit_shm() local
691 static int newseg(struct ipc_namespace *ns, struct ipc_params *params) in newseg()
828 struct ipc_namespace *ns; in ksys_shmget() local
958 static void shm_get_stat(struct ipc_namespace *ns, unsigned long *rss, unsigned long *swp) in shm_get_stat()
989 static int shmctl_down(struct ipc_namespace *ns, int shmid, int cmd, struct shmid64_ds *shmid64) in shmctl_down()
1039 static int shmctl_ipc_info(struct ipc_namespace *ns, struct shminfo64 *shminfo) in shmctl_ipc_info()
1058 static int shmctl_shm_info(struct ipc_namespace *ns, struct shm_info *shm_info) in shmctl_shm_info()
1078 static int shmctl_stat(struct ipc_namespace *ns, int shmid, int cmd, struct shmid64_ds *tbuf) in shmctl_stat()
1163 static int shmctl_do_lock(struct ipc_namespace *ns, int shmid, int cmd) in shmctl_do_lock()
1243 struct ipc_namespace *ns; in ksys_shmctl() local
1442 struct ipc_namespace *ns; in compat_ksys_shmctl() local
1540 struct ipc_namespace *ns; in do_shmat() local