Searched refs:ns_common (Results 1 – 12 of 12) sorted by relevance
20 struct ns_common *(*get)(struct task_struct *task);21 void (*put)(struct ns_common *ns);22 int (*install)(struct nsproxy *nsproxy, struct ns_common *ns);23 struct user_namespace *(*owner)(struct ns_common *ns);24 struct ns_common *(*get_parent)(struct ns_common *ns);69 static inline int ns_alloc_inum(struct ns_common *ns) in ns_alloc_inum()78 #define get_proc_ns(inode) ((struct ns_common *)(inode)->i_private)81 typedef struct ns_common *ns_get_path_helper_t(void *);
64 struct ns_common ns;128 struct ns_common *ns_get_owner(struct ns_common *ns);169 static inline struct ns_common *ns_get_owner(struct ns_common *ns) in ns_get_owner()
135 struct ns_common;136 int open_related_ns(struct ns_common *ns,137 struct ns_common *(*get_ns)(struct ns_common *ns));
7 struct ns_common { struct
29 struct ns_common ns;
47 struct ns_common ns;
70 struct ns_common ns;
847 struct ns_common ns;
35 struct ns_common *ns = inode->i_private; in ns_prune_dentry()49 struct ns_common *ns = inode->i_private; in nsfs_evict()54 static void *__ns_get_path(struct path *path, struct ns_common *ns) in __ns_get_path()108 struct ns_common *ns; in ns_get_path_cb()127 static struct ns_common *ns_get_path_task(void *private_data) in ns_get_path_task()145 int open_related_ns(struct ns_common *ns, in open_related_ns()146 struct ns_common *(*get_ns)(struct ns_common *ns)) in open_related_ns()158 struct ns_common *relative; in open_related_ns()192 struct ns_common *ns = get_proc_ns(file_inode(filp)); in ns_ioctl()220 struct ns_common *ns; in ns_get_name()
10 struct ns_common ns;
1702 struct mnt_namespace *to_mnt_ns(struct ns_common *ns) in to_mnt_ns()3432 static struct ns_common *mntns_get(struct task_struct *task) in mntns_get()3434 struct ns_common *ns = NULL; in mntns_get()3448 static void mntns_put(struct ns_common *ns) in mntns_put()3453 static int mntns_install(struct nsproxy *nsproxy, struct ns_common *ns) in mntns_install()3492 static struct user_namespace *mntns_owner(struct ns_common *ns) in mntns_owner()
77 struct ns_common ns;179 struct ns_common *get_net_ns(struct ns_common *ns);200 static inline struct ns_common *get_net_ns(struct ns_common *ns) in get_net_ns()