Searched refs:ns_common (Results 1 – 25 of 1554) sorted by relevance
12345678910>>...63
/linux/include/linux/ |
A D | proc_ns.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) in ns_alloc_inum() 76 #define get_proc_ns(inode) ((struct ns_common *)(inode)->i_private) 79 typedef struct ns_common *ns_get_path_helper_t(void *); 83 extern bool ns_match(const struct ns_common *ns, dev_t dev, ino_t ino);
|
A D | user_namespace.h | 74 struct ns_common ns; 172 struct ns_common *ns_get_owner(struct ns_common *ns); 213 static inline struct ns_common *ns_get_owner(struct ns_common *ns) in ns_get_owner()
|
A D | mnt_namespace.h | 9 struct ns_common; 14 extern struct ns_common *from_mnt_ns(struct mnt_namespace *);
|
A D | proc_fs.h | 212 struct ns_common; 213 int open_related_ns(struct ns_common *ns, 214 struct ns_common *(*get_ns)(struct ns_common *ns));
|
A D | ns_common.h | 9 struct ns_common { struct
|
A D | pid_namespace.h | 33 struct ns_common ns;
|
A D | utsname.h | 27 struct ns_common ns;
|
A D | ipc_namespace.h | 72 struct ns_common ns;
|
A D | time_namespace.h | 22 struct ns_common ns;
|
A D | cgroup.h | 850 struct ns_common ns;
|
/linux/fs/ |
A D | nsfs.c | 39 struct ns_common *ns = inode->i_private; in ns_prune_dentry() 53 struct ns_common *ns = inode->i_private; in nsfs_evict() 58 static int __ns_get_path(struct path *path, struct ns_common *ns) in __ns_get_path() 115 struct ns_common *ns = ns_get_cb(private_data); in ns_get_path_cb() 129 static struct ns_common *ns_get_path_task(void *private_data) in ns_get_path_task() 147 int open_related_ns(struct ns_common *ns, in open_related_ns() 148 struct ns_common *(*get_ns)(struct ns_common *ns)) in open_related_ns() 160 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() [all …]
|
A D | mount.h | 9 struct ns_common ns;
|
A D | namespace.c | 1803 static struct mnt_namespace *to_mnt_ns(struct ns_common *ns) in to_mnt_ns() 1808 struct ns_common *from_mnt_ns(struct mnt_namespace *mnt) in from_mnt_ns() 4102 struct ns_common *ns; in build_mount_idmapped() 4520 static struct ns_common *mntns_get(struct task_struct *task) in mntns_get() 4522 struct ns_common *ns = NULL; in mntns_get() 4536 static void mntns_put(struct ns_common *ns) in mntns_put() 4541 static int mntns_install(struct nsset *nsset, struct ns_common *ns) in mntns_install() 4585 static struct user_namespace *mntns_owner(struct ns_common *ns) in mntns_owner()
|
/linux/kernel/time/ |
A D | namespace.c | 238 static struct time_namespace *to_time_ns(struct ns_common *ns) in to_time_ns() 243 static struct ns_common *timens_get(struct task_struct *task) in timens_get() 259 static struct ns_common *timens_for_children_get(struct task_struct *task) in timens_for_children_get() 275 static void timens_put(struct ns_common *ns) in timens_put() 286 static int timens_install(struct nsset *nsset, struct ns_common *new) in timens_install() 310 struct ns_common *nsc = &nsproxy->time_ns_for_children->ns; in timens_on_fork() 324 static struct user_namespace *timens_owner(struct ns_common *ns) in timens_owner() 349 struct ns_common *ns; in proc_timens_show_offsets() 365 struct ns_common *ns; in proc_timens_set_offset()
|
/linux/kernel/cgroup/ |
A D | namespace.c | 93 static inline struct cgroup_namespace *to_cg_ns(struct ns_common *ns) in to_cg_ns() 98 static int cgroupns_install(struct nsset *nsset, struct ns_common *ns) in cgroupns_install() 118 static struct ns_common *cgroupns_get(struct task_struct *task) in cgroupns_get() 134 static void cgroupns_put(struct ns_common *ns) in cgroupns_put() 139 static struct user_namespace *cgroupns_owner(struct ns_common *ns) in cgroupns_owner()
|
/linux/kernel/ |
A D | pid_namespace.c | 329 static inline struct pid_namespace *to_pid_ns(struct ns_common *ns) in to_pid_ns() 334 static struct ns_common *pidns_get(struct task_struct *task) in pidns_get() 347 static struct ns_common *pidns_for_children_get(struct task_struct *task) in pidns_for_children_get() 370 static void pidns_put(struct ns_common *ns) in pidns_put() 375 static int pidns_install(struct nsset *nsset, struct ns_common *ns) in pidns_install() 407 static struct ns_common *pidns_get_parent(struct ns_common *ns) in pidns_get_parent() 425 static struct user_namespace *pidns_owner(struct ns_common *ns) in pidns_owner()
|
A D | utsname.c | 114 static inline struct uts_namespace *to_uts_ns(struct ns_common *ns) in to_uts_ns() 119 static struct ns_common *utsns_get(struct task_struct *task) in utsns_get() 135 static void utsns_put(struct ns_common *ns) in utsns_put() 140 static int utsns_install(struct nsset *nsset, struct ns_common *new) in utsns_install() 155 static struct user_namespace *utsns_owner(struct ns_common *ns) in utsns_owner()
|
A D | user_namespace.c | 1298 static inline struct user_namespace *to_user_ns(struct ns_common *ns) in to_user_ns() 1303 static struct ns_common *userns_get(struct task_struct *task) in userns_get() 1314 static void userns_put(struct ns_common *ns) in userns_put() 1319 static int userns_install(struct nsset *nsset, struct ns_common *ns) in userns_install() 1353 struct ns_common *ns_get_owner(struct ns_common *ns) in ns_get_owner() 1371 static struct user_namespace *userns_owner(struct ns_common *ns) in userns_owner()
|
A D | nsproxy.c | 344 static inline int validate_ns(struct nsset *nsset, struct ns_common *ns) in validate_ns() 530 struct ns_common *ns = NULL; in SYSCALL_DEFINE2()
|
A D | .utsname_sysctl.o.cmd | 636 include/linux/ns_common.h \
|
/linux/ipc/ |
A D | namespace.c | 176 static inline struct ipc_namespace *to_ipc_ns(struct ns_common *ns) in to_ipc_ns() 181 static struct ns_common *ipcns_get(struct task_struct *task) in ipcns_get() 195 static void ipcns_put(struct ns_common *ns) in ipcns_put() 200 static int ipcns_install(struct nsset *nsset, struct ns_common *new) in ipcns_install() 213 static struct user_namespace *ipcns_owner(struct ns_common *ns) in ipcns_owner()
|
/linux/include/net/ |
A D | net_namespace.h | 89 struct ns_common ns; 194 struct ns_common *get_net_ns(struct ns_common *ns); 216 static inline struct ns_common *get_net_ns(struct ns_common *ns) in get_net_ns()
|
/linux/net/core/ |
A D | net_namespace.c | 650 struct ns_common *get_net_ns(struct ns_common *ns) in get_net_ns() 659 struct ns_common *ns; in get_net_ns_by_fd() 1329 static struct ns_common *netns_get(struct task_struct *task) in netns_get() 1343 static inline struct net *to_net_ns(struct ns_common *ns) in to_net_ns() 1348 static void netns_put(struct ns_common *ns) in netns_put() 1353 static int netns_install(struct nsset *nsset, struct ns_common *ns) in netns_install() 1367 static struct user_namespace *netns_owner(struct ns_common *ns) in netns_owner()
|
/linux/kernel/bpf/ |
A D | offload.c | 268 static struct ns_common *bpf_prog_offload_info_fill_ns(void *private_data) in bpf_prog_offload_info_fill_ns() 272 struct ns_common *ns; in bpf_prog_offload_info_fill_ns() 496 static struct ns_common *bpf_map_offload_info_fill_ns(void *private_data) in bpf_map_offload_info_fill_ns() 499 struct ns_common *ns; in bpf_map_offload_info_fill_ns()
|
/linux/init/ |
A D | .version.o.cmd | 643 include/linux/ns_common.h \
|
Completed in 56 milliseconds
12345678910>>...63