Home
last modified time | relevance | path

Searched refs:graph_root (Results 1 – 6 of 6) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Drefcounted_kptr_fail.c51 private(C) struct bpf_rb_root graph_root __contains(rcu_graph_node, node);
184 rb_node = bpf_rbtree_remove(&graph_root, &node->node); in rbtree_remove_after_rcu_unlock()
/linux/kernel/bpf/
H A Dbtf.c3473 } graph_root; member
3664 info->graph_root.value_btf_id = id; in btf_find_graph_root()
3665 info->graph_root.node_name = node_field_name; in btf_find_graph_root()
4075 t = btf_type_by_id(btf, info->graph_root.value_btf_id); in btf_parse_graph_root()
4081 if (strcmp(info->graph_root.node_name, in btf_parse_graph_root()
4099 field->graph_root.btf = (struct btf *)btf; in btf_parse_graph_root()
4100 field->graph_root.value_btf_id = info->graph_root.value_btf_id; in btf_parse_graph_root()
4101 field->graph_root.node_offset = offset; in btf_parse_graph_root()
4300 btf_id = rec->fields[i].graph_root.value_btf_id; in btf_check_and_fixup_fields()
4304 rec->fields[i].graph_root.value_rec = meta->record; in btf_check_and_fixup_fields()
[all …]
H A Dhelpers.c2287 __bpf_obj_drop_impl((char *)pos - field->graph_root.node_offset, in bpf_list_head_free()
2288 field->graph_root.value_rec, false); in bpf_list_head_free()
2327 obj -= field->graph_root.node_offset; in bpf_rb_root_free()
2332 __bpf_obj_drop_impl(obj, field->graph_root.value_rec, false); in bpf_rb_root_free()
H A Dverifier.c10238 if (!field || !field->graph_root.value_btf_id) in set_rbtree_add_callback_state()
10241 mark_reg_graph_node(callee->regs, BPF_REG_1, &field->graph_root); in set_rbtree_add_callback_state()
10243 mark_reg_graph_node(callee->regs, BPF_REG_2, &field->graph_root); in set_rbtree_add_callback_state()
12619 et = btf_type_by_id(field->graph_root.btf, field->graph_root.value_btf_id); in __process_kf_arg_ptr_to_graph_node()
12621 if (!btf_struct_ids_match(&env->log, reg->btf, reg->btf_id, 0, field->graph_root.btf, in __process_kf_arg_ptr_to_graph_node()
12622 field->graph_root.value_btf_id, true, in __process_kf_arg_ptr_to_graph_node()
12628 field->graph_root.node_offset, in __process_kf_arg_ptr_to_graph_node()
12629 btf_name_by_offset(field->graph_root.btf, et->name_off), in __process_kf_arg_ptr_to_graph_node()
12636 if (node_off != field->graph_root in __process_kf_arg_ptr_to_graph_node()
[all...]
/linux/Documentation/bpf/
H A Dgraph_ds_impl.rst38 as "graph_api", "graph_root", "graph_node", etc.
/linux/include/linux/
H A Dbpf.h258 struct btf_field_graph_root graph_root; member