Home
last modified time | relevance | path

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

/Linux-v5.10/tools/lib/bpf/
Dbtf.h320 __u32 member_idx) in btf_member_bit_offset() argument
322 const struct btf_member *m = btf_members(t) + member_idx; in btf_member_bit_offset()
332 __u32 member_idx) in btf_member_bitfield_size() argument
334 const struct btf_member *m = btf_members(t) + member_idx; in btf_member_bitfield_size()
Dlibbpf.c8485 __u32 member_idx; in bpf_object__collect_st_ops_relos() local
8541 member_idx = member - btf_members(st_ops->type); in bpf_object__collect_st_ops_relos()
8570 prog->expected_attach_type = member_idx; in bpf_object__collect_st_ops_relos()
8573 prog->expected_attach_type != member_idx) { in bpf_object__collect_st_ops_relos()
8576 st_ops->progs[member_idx] = prog; in bpf_object__collect_st_ops_relos()
/Linux-v5.10/kernel/bpf/
Dverifier.c11413 u32 btf_id, member_idx; in check_struct_ops_btf_id() local
11425 member_idx = prog->expected_attach_type; in check_struct_ops_btf_id()
11426 if (member_idx >= btf_type_vlen(t)) { in check_struct_ops_btf_id()
11428 member_idx, st_ops->name); in check_struct_ops_btf_id()
11432 member = &btf_type_member(t)[member_idx]; in check_struct_ops_btf_id()
11438 mname, member_idx, st_ops->name); in check_struct_ops_btf_id()