Searched refs:field_offs (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/kernel/bpf/ |
A D | map_in_map.c | 60 struct btf_field_offs *field_offs; in bpf_map_meta_alloc() local 64 …field_offs = kmemdup(inner_map->field_offs, sizeof(*inner_map->field_offs), GFP_KERNEL | __GFP_NOW… in bpf_map_meta_alloc() 65 if (!field_offs) { in bpf_map_meta_alloc() 69 inner_map_meta->field_offs = field_offs; in bpf_map_meta_alloc() 102 kfree(map_meta->field_offs); in bpf_map_meta_free()
|
A D | syscall.c | 698 struct btf_field_offs *foffs = map->field_offs; in bpf_map_free_deferred() 1193 map->field_offs = foffs; in map_create() 1222 kfree(map->field_offs); in map_create()
|
A D | helpers.c | 1829 bpf_obj_init(meta->field_offs, p); in bpf_obj_new_impl()
|
A D | btf.c | 1666 kfree(tab->types[i].field_offs); in btf_struct_metas_free() 5425 type->field_offs = foffs; in btf_parse_struct_metas()
|
/linux-6.3-rc2/include/linux/ |
A D | bpf.h | 253 struct btf_field_offs *field_offs; member 375 bpf_obj_init(map->field_offs, dst); in check_and_init_map_value() 422 bpf_obj_memcpy(map->field_offs, dst, src, map->value_size, false); in copy_map_value() 427 bpf_obj_memcpy(map->field_offs, dst, src, map->value_size, true); in copy_map_value_long() 452 bpf_obj_memzero(map->field_offs, dst, map->value_size); in zero_map_value()
|
A D | btf.h | 112 struct btf_field_offs *field_offs; member
|
Completed in 47 milliseconds