Searched refs:member_idx (Results 1 – 4 of 4) sorted by relevance
423 static inline u32 btf_member_bit_offset(const struct btf_type *t, u32 member_idx) in btf_member_bit_offset() argument425 const struct btf_member *m = btf_members(t) + member_idx; in btf_member_bit_offset()430 static inline u32 btf_member_bitfield_size(const struct btf_type *t, u32 member_idx) in btf_member_bitfield_size() argument432 const struct btf_member *m = btf_members(t) + member_idx; in btf_member_bitfield_size()
529 __u32 member_idx) in btf_member_bit_offset() argument531 const struct btf_member *m = btf_members(t) + member_idx; in btf_member_bit_offset()541 __u32 member_idx) in btf_member_bitfield_size() argument543 const struct btf_member *m = btf_members(t) + member_idx; in btf_member_bitfield_size()
9136 __u32 member_idx; in bpf_object__collect_st_ops_relos() local9193 member_idx = member - btf_members(st_ops->type); in bpf_object__collect_st_ops_relos()9221 prog->expected_attach_type = member_idx; in bpf_object__collect_st_ops_relos()9230 prog->expected_attach_type != member_idx) { in bpf_object__collect_st_ops_relos()9237 st_ops->progs[member_idx] = prog; in bpf_object__collect_st_ops_relos()
19739 u32 btf_id, member_idx; in check_struct_ops_btf_id() local19756 member_idx = prog->expected_attach_type; in check_struct_ops_btf_id()19757 if (member_idx >= btf_type_vlen(t)) { in check_struct_ops_btf_id()19759 member_idx, st_ops->name); in check_struct_ops_btf_id()19763 member = &btf_type_member(t)[member_idx]; in check_struct_ops_btf_id()19769 mname, member_idx, st_ops->name); in check_struct_ops_btf_id()