Home
last modified time | relevance | path

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

/kernel/bpf/
Dbtf.c188 #define for_each_member_from(i, from, struct_type, member) \ argument
189 for (i = from, member = btf_type_member(struct_type) + from; \
191 i++, member++)
193 #define for_each_vsi_from(i, from, struct_type, member) \ argument
194 for (i = from, member = btf_type_var_secinfo(struct_type) + from; \
196 i++, member++)
366 const struct btf_member *member; member
385 const struct btf_member *member,
389 const struct btf_member *member,
814 const struct btf_member *m = show->state.member; in btf_show_name()
[all …]
Dbpf_struct_ops.c103 const struct btf_member *member; in bpf_struct_ops_init() local
155 for_each_member(j, t, member) { in bpf_struct_ops_init()
158 mname = btf_name_by_offset(btf, member->name_off); in bpf_struct_ops_init()
165 if (btf_member_bitfield_size(t, member)) { in bpf_struct_ops_init()
172 member->type, in bpf_struct_ops_init()
291 const struct btf_member *member; in check_zero_holes() local
295 for_each_member(i, t, member) { in check_zero_holes()
296 moff = btf_member_bit_offset(t, member) / 8; in check_zero_holes()
301 mtype = btf_type_by_id(btf_vmlinux, member->type); in check_zero_holes()
321 const struct btf_member *member; in bpf_struct_ops_map_update_elem() local
[all …]
Dverifier.c13506 const struct btf_member *member; in check_struct_ops_btf_id() local
13532 member = &btf_type_member(t)[member_idx]; in check_struct_ops_btf_id()
13533 mname = btf_name_by_offset(btf_vmlinux, member->name_off); in check_struct_ops_btf_id()
13534 func_proto = btf_type_resolve_func_ptr(btf_vmlinux, member->type, in check_struct_ops_btf_id()
13543 int err = st_ops->check_member(t, member); in check_struct_ops_btf_id()
/kernel/sched/
Ddebug.c379 #define SDM(type, mode, member) \ in register_sd() argument
380 debugfs_create_##type(#member, mode, parent, &sd->member) in register_sd()