Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dproc_ns.h16 struct ns_common *(*get)(struct task_struct *task);
17 void (*put)(struct ns_common *ns);
18 int (*install)(struct nsproxy *nsproxy, struct ns_common *ns);
60 static inline int ns_alloc_inum(struct ns_common *ns) in ns_alloc_inum()
69 #define get_proc_ns(inode) ((struct ns_common *)(inode)->i_private)
Dns_common.h6 struct ns_common { struct
Dutsname.h27 struct ns_common ns;
Dpid_namespace.h47 struct ns_common ns;
Dipc_namespace.h62 struct ns_common ns;
Duser_namespace.h34 struct ns_common ns;
/linux-4.4.14/kernel/
Dutsname.c93 static inline struct uts_namespace *to_uts_ns(struct ns_common *ns) in to_uts_ns()
98 static struct ns_common *utsns_get(struct task_struct *task) in utsns_get()
114 static void utsns_put(struct ns_common *ns) in utsns_put()
119 static int utsns_install(struct nsproxy *nsproxy, struct ns_common *new) in utsns_install()
Dpid_namespace.c337 static inline struct pid_namespace *to_pid_ns(struct ns_common *ns) in to_pid_ns()
342 static struct ns_common *pidns_get(struct task_struct *task) in pidns_get()
355 static void pidns_put(struct ns_common *ns) in pidns_put()
360 static int pidns_install(struct nsproxy *nsproxy, struct ns_common *ns) in pidns_install()
Duser_namespace.c948 static inline struct user_namespace *to_user_ns(struct ns_common *ns) in to_user_ns()
953 static struct ns_common *userns_get(struct task_struct *task) in userns_get()
964 static void userns_put(struct ns_common *ns) in userns_put()
969 static int userns_install(struct nsproxy *nsproxy, struct ns_common *ns) in userns_install()
Dnsproxy.c226 struct ns_common *ns; in SYSCALL_DEFINE2()
/linux-4.4.14/ipc/
Dnamespace.c131 static inline struct ipc_namespace *to_ipc_ns(struct ns_common *ns) in to_ipc_ns()
136 static struct ns_common *ipcns_get(struct task_struct *task) in ipcns_get()
150 static void ipcns_put(struct ns_common *ns) in ipcns_put()
155 static int ipcns_install(struct nsproxy *nsproxy, struct ns_common *new) in ipcns_install()
/linux-4.4.14/fs/
Dnsfs.c28 struct ns_common *ns = inode->i_private; in ns_prune_dentry()
42 struct ns_common *ns = inode->i_private; in nsfs_evict()
54 struct ns_common *ns; in ns_get_path()
112 struct ns_common *ns; in ns_get_name()
Dmount.h9 struct ns_common ns;
Dnamespace.c1654 struct mnt_namespace *to_mnt_ns(struct ns_common *ns) in to_mnt_ns()
3286 static struct ns_common *mntns_get(struct task_struct *task) in mntns_get()
3288 struct ns_common *ns = NULL; in mntns_get()
3302 static void mntns_put(struct ns_common *ns) in mntns_put()
3307 static int mntns_install(struct nsproxy *nsproxy, struct ns_common *ns) in mntns_install()
/linux-4.4.14/net/core/
Dnet_namespace.c469 struct ns_common *ns; in get_net_ns_by_fd()
962 static struct ns_common *netns_get(struct task_struct *task) in netns_get()
976 static inline struct net *to_net_ns(struct ns_common *ns) in to_net_ns()
981 static void netns_put(struct ns_common *ns) in netns_put()
986 static int netns_install(struct nsproxy *nsproxy, struct ns_common *ns) in netns_install()
/linux-4.4.14/include/net/
Dnet_namespace.h66 struct ns_common ns;