Home
last modified time | relevance | path

Searched refs:member_idx (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/tools/lib/bpf/
Dbtf.h321 __u32 member_idx) in btf_member_bit_offset() argument
323 const struct btf_member *m = btf_members(t) + member_idx; in btf_member_bit_offset()
333 __u32 member_idx) in btf_member_bitfield_size() argument
335 const struct btf_member *m = btf_members(t) + member_idx; in btf_member_bitfield_size()
Dlibbpf.c8569 __u32 member_idx; in bpf_object__collect_st_ops_relos() local
8625 member_idx = member - btf_members(st_ops->type); in bpf_object__collect_st_ops_relos()
8654 prog->expected_attach_type = member_idx; in bpf_object__collect_st_ops_relos()
8657 prog->expected_attach_type != member_idx) { in bpf_object__collect_st_ops_relos()
8660 st_ops->progs[member_idx] = prog; in bpf_object__collect_st_ops_relos()
/kernel/linux/linux-5.10/kernel/bpf/
Dverifier.c11968 u32 btf_id, member_idx; in check_struct_ops_btf_id() local
11985 member_idx = prog->expected_attach_type; in check_struct_ops_btf_id()
11986 if (member_idx >= btf_type_vlen(t)) { in check_struct_ops_btf_id()
11988 member_idx, st_ops->name); in check_struct_ops_btf_id()
11992 member = &btf_type_member(t)[member_idx]; in check_struct_ops_btf_id()
11998 mname, member_idx, st_ops->name); in check_struct_ops_btf_id()