Home
last modified time | relevance | path

Searched refs:ns_ops (Results 1 – 6 of 6) sorted by relevance

/linux/fs/proc/
H A Dnamespaces.c46 const struct proc_ns_operations *ns_ops = PROC_I(inode)->ns_ops; in proc_ns_get_link() local
61 error = ns_get_path(&ns_path, task, ns_ops); in proc_ns_get_link()
74 const struct proc_ns_operations *ns_ops = PROC_I(inode)->ns_ops; in proc_ns_readlink() local
84 res = ns_get_name(name, sizeof(name), task, ns_ops); in proc_ns_readlink()
101 const struct proc_ns_operations *ns_ops = ptr; in proc_ns_instantiate() local
111 ei->ns_ops = ns_ops; in proc_ns_instantiate()
H A Dinode.c67 ei->ns_ops = NULL; in proc_alloc_inode()
/linux/fs/
H A Dnsfs.c33 const struct proc_ns_operations *ns_ops = ns->ops; in ns_dname() local
36 ns_ops->name, inode->i_ino); in ns_dname()
65 const struct proc_ns_operations *ns_ops; member
73 return args->ns_ops->get(args->task); in ns_get_path_task()
77 const struct proc_ns_operations *ns_ops) in ns_get_path() argument
80 .ns_ops = ns_ops, in ns_get_path()
321 const struct proc_ns_operations *ns_ops) in ns_get_name() argument
326 ns = ns_ops->get(task); in ns_get_name()
328 name = ns_ops->real_ns_name ? : ns_ops->name; in ns_get_name()
330 ns_ops->put(ns); in ns_get_name()
[all …]
/linux/include/linux/
H A Dproc_ns.h77 const struct proc_ns_operations *ns_ops);
85 const struct proc_ns_operations *ns_ops);
/linux/lib/
H A Dkobject.c32 const struct kobj_ns_type_operations *ns_ops = kobj_ns_ops(kobj); in kobject_namespace() local
34 if (!ns_ops || ns_ops->type == KOBJ_NS_TYPE_NONE) in kobject_namespace()
/linux/kernel/events/
H A Dcore.c8634 const struct proc_ns_operations *ns_ops) in perf_fill_ns_link_info() argument
8640 error = ns_get_path(&ns_path, task, ns_ops); in perf_fill_ns_link_info()