Lines Matching refs:direct
51 struct bpf_map *direct) in check_bpf_map_ptr() argument
53 VERIFY(indirect->map_type == direct->map_type); in check_bpf_map_ptr()
54 VERIFY(indirect->key_size == direct->key_size); in check_bpf_map_ptr()
55 VERIFY(indirect->value_size == direct->value_size); in check_bpf_map_ptr()
56 VERIFY(indirect->max_entries == direct->max_entries); in check_bpf_map_ptr()
57 VERIFY(indirect->id == direct->id); in check_bpf_map_ptr()
62 static inline int check(struct bpf_map *indirect, struct bpf_map *direct, in check() argument
65 VERIFY(check_bpf_map_ptr(indirect, direct)); in check()
72 struct bpf_map *direct) in check_default() argument
74 VERIFY(check(indirect, direct, sizeof(__u32), sizeof(__u32), in check_default()
80 check_default_noinline(struct bpf_map *indirect, struct bpf_map *direct) in check_default_noinline() argument
82 VERIFY(check(indirect, direct, sizeof(__u32), sizeof(__u32), in check_default_noinline()