Lines Matching refs:ns_ops
18 const struct proc_ns_operations *ns_ops = dentry->d_fsdata; in ns_dname() local
21 ns_ops->name, inode->i_ino); in ns_dname()
48 const struct proc_ns_operations *ns_ops) in ns_get_path() argument
58 ns = ns_ops->get(task); in ns_get_path()
71 ns_ops->put(ns); in ns_get_path()
80 ns_ops->put(ns); in ns_get_path()
98 dentry->d_fsdata = (void *)ns_ops; in ns_get_path()
110 const struct proc_ns_operations *ns_ops) in ns_get_name() argument
114 ns = ns_ops->get(task); in ns_get_name()
116 res = snprintf(buf, size, "%s:[%u]", ns_ops->name, ns->inum); in ns_get_name()
117 ns_ops->put(ns); in ns_get_name()
143 const struct proc_ns_operations *ns_ops = dentry->d_fsdata; in nsfs_show_path() local
145 seq_printf(seq, "%s:[%lu]", ns_ops->name, inode->i_ino); in nsfs_show_path()