Home
last modified time | relevance | path

Searched refs:ns_inode (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/tools/bpf/bpftool/
Dcommon.c590 void print_dev_plain(__u32 ifindex, __u64 ns_dev, __u64 ns_inode) in print_dev_plain() argument
598 if (ifindex_to_name_ns(ifindex, ns_dev, ns_inode, name)) in print_dev_plain()
602 ifindex, ns_dev, ns_inode); in print_dev_plain()
605 void print_dev_json(__u32 ifindex, __u64 ns_dev, __u64 ns_inode) in print_dev_json() argument
616 jsonw_uint_field(json_wtr, "ns_inode", ns_inode); in print_dev_json()
617 if (ifindex_to_name_ns(ifindex, ns_dev, ns_inode, name)) in print_dev_json()
Dmain.h115 void print_dev_plain(__u32 ifindex, __u64 ns_dev, __u64 ns_inode);
116 void print_dev_json(__u32 ifindex, __u64 ns_dev, __u64 ns_inode);
/Linux-v4.19/kernel/bpf/
Doffload.c270 struct inode *ns_inode; in bpf_prog_offload_info_fill() local
303 ns_inode = ns_path.dentry->d_inode; in bpf_prog_offload_info_fill()
304 info->netns_dev = new_encode_dev(ns_inode->i_sb->s_dev); in bpf_prog_offload_info_fill()
305 info->netns_ino = ns_inode->i_ino; in bpf_prog_offload_info_fill()
495 struct inode *ns_inode; in bpf_map_offload_info_fill() local
506 ns_inode = ns_path.dentry->d_inode; in bpf_map_offload_info_fill()
507 info->netns_dev = new_encode_dev(ns_inode->i_sb->s_dev); in bpf_map_offload_info_fill()
508 info->netns_ino = ns_inode->i_ino; in bpf_map_offload_info_fill()
/Linux-v4.19/kernel/events/
Dcore.c7060 struct inode *ns_inode; in perf_fill_ns_link_info() local
7065 ns_inode = ns_path.dentry->d_inode; in perf_fill_ns_link_info()
7066 ns_link_info->dev = new_encode_dev(ns_inode->i_sb->s_dev); in perf_fill_ns_link_info()
7067 ns_link_info->ino = ns_inode->i_ino; in perf_fill_ns_link_info()