Searched refs:graph_root (Results 1 – 5 of 5) sorted by relevance
/linux/kernel/bpf/ |
H A D | helpers.c | 1997 obj -= field->graph_root.node_offset; in bpf_list_head_free() 2003 __bpf_obj_drop_impl(obj, field->graph_root.value_rec, false); in bpf_list_head_free() 2038 obj -= field->graph_root.node_offset; in bpf_rb_root_free() 2042 __bpf_obj_drop_impl(obj, field->graph_root.value_rec, false); in bpf_rb_root_free()
|
H A D | btf.c | 3300 } graph_root; member 3434 info->graph_root.value_btf_id = id; in btf_find_graph_root() 3435 info->graph_root.node_name = node_field_name; in btf_find_graph_root() 3748 t = btf_type_by_id(btf, info->graph_root.value_btf_id); in btf_parse_graph_root() 3754 if (strcmp(info->graph_root.node_name, in btf_parse_graph_root() 3772 field->graph_root.btf = (struct btf *)btf; in btf_parse_graph_root() 3773 field->graph_root.value_btf_id = info->graph_root.value_btf_id; in btf_parse_graph_root() 3774 field->graph_root.node_offset = offset; in btf_parse_graph_root() 3942 btf_id = rec->fields[i].graph_root.value_btf_id; in btf_check_and_fixup_fields() 3946 rec->fields[i].graph_root.value_rec = meta->record; in btf_check_and_fixup_fields()
|
H A D | verifier.c | 9856 if (!field || !field->graph_root.value_btf_id) in set_rbtree_add_callback_state() 9859 mark_reg_graph_node(callee->regs, BPF_REG_1, &field->graph_root); in set_rbtree_add_callback_state() 11658 et = btf_type_by_id(field->graph_root.btf, field->graph_root.value_btf_id); in __process_kf_arg_ptr_to_graph_node() 11661 field->graph_root.value_btf_id, true)) { in __process_kf_arg_ptr_to_graph_node() 11666 field->graph_root.node_offset, in __process_kf_arg_ptr_to_graph_node() 11667 btf_name_by_offset(field->graph_root.btf, et->name_off), in __process_kf_arg_ptr_to_graph_node() 11674 if (node_off != field->graph_root.node_offset) { in __process_kf_arg_ptr_to_graph_node() 11677 field->graph_root.node_offset, in __process_kf_arg_ptr_to_graph_node() 11678 btf_name_by_offset(field->graph_root.btf, et->name_off)); in __process_kf_arg_ptr_to_graph_node() 12544 mark_reg_graph_node(regs, BPF_REG_0, &field->graph_root); in check_kfunc_call() [all …]
|
/linux/Documentation/bpf/ |
H A D | graph_ds_impl.rst | 38 as "graph_api", "graph_root", "graph_node", etc.
|
/linux/include/linux/ |
H A D | bpf.h | 233 struct btf_field_graph_root graph_root; member
|