Home
last modified time | relevance | path

Searched refs:ns_common (Results 1 – 12 of 12) sorted by relevance

/linux-4.19.296/include/linux/
Dproc_ns.h20 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 *);
Duser_namespace.h64 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()
Dproc_fs.h135 struct ns_common;
136 int open_related_ns(struct ns_common *ns,
137 struct ns_common *(*get_ns)(struct ns_common *ns));
Dns_common.h7 struct ns_common { struct
Dutsname.h29 struct ns_common ns;
Dpid_namespace.h47 struct ns_common ns;
Dipc_namespace.h70 struct ns_common ns;
Dcgroup.h847 struct ns_common ns;
/linux-4.19.296/fs/
Dnsfs.c35 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()
Dmount.h10 struct ns_common ns;
Dnamespace.c1702 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()
/linux-4.19.296/include/net/
Dnet_namespace.h77 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()