Searched defs:ns (Results 1 – 8 of 8) sorted by relevance
/ipc/ |
D | namespace.c | 22 static struct ucounts *inc_ipc_namespaces(struct user_namespace *ns) in inc_ipc_namespaces() 35 struct ipc_namespace *ns; in create_ipc_ns() local 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() 118 static void free_ipc_ns(struct ipc_namespace *ns) in free_ipc_ns() 165 void put_ipc_ns(struct ipc_namespace *ns) in put_ipc_ns() 176 static inline struct ipc_namespace *to_ipc_ns(struct ns_common *ns) in to_ipc_ns() 183 struct ipc_namespace *ns = NULL; in ipcns_get() local 195 static void ipcns_put(struct ns_common *ns) in ipcns_put() 203 struct ipc_namespace *ns = to_ipc_ns(new); in ipcns_install() local [all …]
|
D | util.h | 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() 74 static inline void sem_init_ns(struct ipc_namespace *ns) { } in sem_init_ns() 75 static inline void msg_init_ns(struct ipc_namespace *ns) { } in msg_init_ns() 76 static inline void shm_init_ns(struct ipc_namespace *ns) { } in shm_init_ns() 78 static inline void sem_exit_ns(struct ipc_namespace *ns) { } in sem_exit_ns() 79 static inline void msg_exit_ns(struct ipc_namespace *ns) { } in msg_exit_ns() 80 static inline void shm_exit_ns(struct ipc_namespace *ns) { } in shm_exit_ns() 246 static inline int sem_check_semmni(struct ipc_namespace *ns) { in sem_check_semmni()
|
D | shm.c | 76 struct ipc_namespace *ns; member 85 struct ipc_namespace *ns; member 95 #define shm_ids(ns) ((ns)->ids[IPC_SHM_IDS]) argument 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() 322 static void shm_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp) in shm_destroy() [all …]
|
D | msg.c | 99 #define msg_ids(ns) ((ns)->ids[IPC_MSG_IDS]) argument 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() local 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() [all …]
|
D | sem.c | 169 #define sem_ids(ns) ((ns)->ids[IPC_SEM_IDS]) argument 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() local 1141 static void freeary(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in freeary() 1232 static int semctl_stat(struct ipc_namespace *ns, int semid, in semctl_stat() [all …]
|
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; member
|
D | ipc_sysctl.c | 51 struct ipc_namespace *ns = current->nsproxy->ipc_ns; in proc_ipc_dointvec_minmax_orphans() local 91 struct ipc_namespace *ns = current->nsproxy->ipc_ns; in proc_ipc_sem_dointvec() local
|
D | mqueue.c | 184 struct ipc_namespace *ns; in get_ns_from_inode() local 406 struct ipc_namespace *ns = sb->s_fs_info; in mqueue_fill_super() local 467 static struct vfsmount *mq_create_mount(struct ipc_namespace *ns) in mq_create_mount() 1689 int mq_init_ns(struct ipc_namespace *ns) in mq_init_ns() 1707 void mq_clear_sbinfo(struct ipc_namespace *ns) in mq_clear_sbinfo() 1712 void mq_put_mnt(struct ipc_namespace *ns) in mq_put_mnt()
|