Searched refs:ns_path (Results 1 – 4 of 4) sorted by relevance
39 self.ns_path = f"/run/netns/{ns_name}"43 with open(self.ns_path) as ns_file:
48 struct path ns_path; in proc_ns_get_link() local61 error = ns_get_path(&ns_path, task, ns_ops); in proc_ns_get_link()65 error = nd_jump_link(&ns_path); in proc_ns_get_link()
471 struct path ns_path; in bpf_prog_offload_info_fill() local476 res = ns_get_path_cb(&ns_path, bpf_prog_offload_info_fill_ns, &args); in bpf_prog_offload_info_fill()503 ns_inode = ns_path.dentry->d_inode; in bpf_prog_offload_info_fill()506 path_put(&ns_path); in bpf_prog_offload_info_fill()681 struct path ns_path; in bpf_map_offload_info_fill() local684 res = ns_get_path_cb(&ns_path, bpf_map_offload_info_fill_ns, &args); in bpf_map_offload_info_fill()691 ns_inode = ns_path.dentry->d_inode; in bpf_map_offload_info_fill()694 path_put(&ns_path); in bpf_map_offload_info_fill()
9110 struct path ns_path; in perf_fill_ns_link_info() local9114 error = ns_get_path(&ns_path, task, ns_ops); in perf_fill_ns_link_info()9116 ns_inode = ns_path.dentry->d_inode; in perf_fill_ns_link_info()9119 path_put(&ns_path); in perf_fill_ns_link_info()