Searched refs:ns_common (Results 1 - 23 of 23) sorted by relevance
/linux-master/include/linux/ |
H A D | ns_common.h | 9 struct ns_common { struct
|
H A D | proc_ns.h | 8 #include <linux/ns_common.h> 20 struct ns_common *(*get)(struct task_struct *task); 21 void (*put)(struct ns_common *ns); 22 int (*install)(struct nsset *nsset, struct ns_common *ns); 23 struct user_namespace *(*owner)(struct ns_common *ns); 24 struct ns_common *(*get_parent)(struct ns_common *ns); 67 static inline int ns_alloc_inum(struct ns_common *ns) 75 #define get_proc_ns(inode) ((struct ns_common *)(inode)->i_private) 78 typedef struct ns_common *ns_get_path_helper_ [all...] |
H A D | mnt_namespace.h | 9 struct ns_common; 14 extern struct ns_common *from_mnt_ns(struct mnt_namespace *);
|
H A D | utsname.h | 8 #include <linux/ns_common.h> 28 struct ns_common ns;
|
H A D | pid_namespace.h | 11 #include <linux/ns_common.h> 40 struct ns_common ns;
|
H A D | user_namespace.h | 7 #include <linux/ns_common.h> 80 struct ns_common ns; 189 struct ns_common *ns_get_owner(struct ns_common *ns); 230 static inline struct ns_common *ns_get_owner(struct ns_common *ns)
|
H A D | ipc_namespace.h | 10 #include <linux/ns_common.h> 80 struct ns_common ns;
|
H A D | proc_fs.h | 235 struct ns_common; 236 int open_related_ns(struct ns_common *ns, 237 struct ns_common *(*get_ns)(struct ns_common *ns));
|
H A D | time_namespace.h | 8 #include <linux/ns_common.h> 25 struct ns_common ns;
|
H A D | cgroup.h | 22 #include <linux/ns_common.h> 770 struct ns_common ns;
|
/linux-master/fs/ |
H A D | nsfs.c | 30 struct ns_common *ns = inode->i_private; 45 struct ns_common *ns = inode->i_private; 53 struct ns_common *ns; 67 static struct ns_common *ns_get_path_task(void *private_data) 85 int open_related_ns(struct ns_common *ns, 86 struct ns_common *(*get_ns)(struct ns_common *ns)) 89 struct ns_common *relative; 126 struct ns_common *ns = get_proc_ns(file_inode(filp)); 154 struct ns_common *n [all...] |
H A D | mount.h | 5 #include <linux/ns_common.h> 9 struct ns_common ns;
|
H A D | namespace.c | 1946 static struct mnt_namespace *to_mnt_ns(struct ns_common *ns) 1951 struct ns_common *from_mnt_ns(struct mnt_namespace *mnt) 4511 struct ns_common *ns; 5372 static struct ns_common *mntns_get(struct task_struct *task) 5374 struct ns_common *ns = NULL; 5388 static void mntns_put(struct ns_common *ns) 5393 static int mntns_install(struct nsset *nsset, struct ns_common *ns) 5437 static struct user_namespace *mntns_owner(struct ns_common *ns)
|
/linux-master/kernel/ |
H A D | utsname.c | 114 static inline struct uts_namespace *to_uts_ns(struct ns_common *ns) 119 static struct ns_common *utsns_get(struct task_struct *task) 135 static void utsns_put(struct ns_common *ns) 140 static int utsns_install(struct nsset *nsset, struct ns_common *new) 155 static struct user_namespace *utsns_owner(struct ns_common *ns)
|
H A D | pid_namespace.c | 343 static inline struct pid_namespace *to_pid_ns(struct ns_common *ns) 348 static struct ns_common *pidns_get(struct task_struct *task) 361 static struct ns_common *pidns_for_children_get(struct task_struct *task) 384 static void pidns_put(struct ns_common *ns) 389 static int pidns_install(struct nsset *nsset, struct ns_common *ns) 421 static struct ns_common *pidns_get_parent(struct ns_common *ns) 439 static struct user_namespace *pidns_owner(struct ns_common *ns)
|
H A D | user_namespace.c | 1318 static inline struct user_namespace *to_user_ns(struct ns_common *ns) 1323 static struct ns_common *userns_get(struct task_struct *task) 1334 static void userns_put(struct ns_common *ns) 1339 static int userns_install(struct nsset *nsset, struct ns_common *ns) 1373 struct ns_common *ns_get_owner(struct ns_common *ns) 1391 static struct user_namespace *userns_owner(struct ns_common *ns)
|
H A D | nsproxy.c | 363 static inline int validate_ns(struct nsset *nsset, struct ns_common *ns) 506 * a separate ns_common operation seems unnecessary for now. 510 * should be added to ns_common. 549 struct ns_common *ns = NULL;
|
/linux-master/kernel/cgroup/ |
H A D | namespace.c | 93 static inline struct cgroup_namespace *to_cg_ns(struct ns_common *ns) 98 static int cgroupns_install(struct nsset *nsset, struct ns_common *ns) 118 static struct ns_common *cgroupns_get(struct task_struct *task) 134 static void cgroupns_put(struct ns_common *ns) 139 static struct user_namespace *cgroupns_owner(struct ns_common *ns)
|
/linux-master/kernel/time/ |
H A D | namespace.c | 256 static struct time_namespace *to_time_ns(struct ns_common *ns) 261 static struct ns_common *timens_get(struct task_struct *task) 277 static struct ns_common *timens_for_children_get(struct task_struct *task) 293 static void timens_put(struct ns_common *ns) 304 static int timens_install(struct nsset *nsset, struct ns_common *new) 328 struct ns_common *nsc = &nsproxy->time_ns_for_children->ns; 342 static struct user_namespace *timens_owner(struct ns_common *ns) 367 struct ns_common *ns; 383 struct ns_common *ns;
|
/linux-master/ipc/ |
H A D | namespace.c | 209 static inline struct ipc_namespace *to_ipc_ns(struct ns_common *ns) 214 static struct ns_common *ipcns_get(struct task_struct *task) 228 static void ipcns_put(struct ns_common *ns) 233 static int ipcns_install(struct nsset *nsset, struct ns_common *new) 246 static struct user_namespace *ipcns_owner(struct ns_common *ns)
|
/linux-master/include/net/ |
H A D | net_namespace.h | 41 #include <linux/ns_common.h> 92 struct ns_common ns; 206 struct ns_common *get_net_ns(struct ns_common *ns); 228 static inline struct ns_common *get_net_ns(struct ns_common *ns)
|
/linux-master/net/core/ |
H A D | net_namespace.c | 695 struct ns_common *get_net_ns(struct ns_common *ns) 710 struct ns_common *ns = get_proc_ns(file_inode(f.file)); 1427 static struct ns_common *netns_get(struct task_struct *task) 1441 static inline struct net *to_net_ns(struct ns_common *ns) 1446 static void netns_put(struct ns_common *ns) 1451 static int netns_install(struct nsset *nsset, struct ns_common *ns) 1465 static struct user_namespace *netns_owner(struct ns_common *ns)
|
/linux-master/kernel/bpf/ |
H A D | offload.c | 435 static struct ns_common *bpf_prog_offload_info_fill_ns(void *private_data) 439 struct ns_common *ns; 644 static struct ns_common *bpf_map_offload_info_fill_ns(void *private_data) 647 struct ns_common *ns;
|
Completed in 471 milliseconds