Home
last modified time | relevance | path

Searched refs:tgt_type (Results 1 – 3 of 3) sorted by relevance

/kernel/bpf/
Dbpf_lru_list.c89 enum bpf_lru_list_type tgt_type) in __bpf_lru_node_move_in() argument
92 WARN_ON_ONCE(IS_LOCAL_LIST_TYPE(tgt_type))) in __bpf_lru_node_move_in()
95 bpf_lru_list_count_inc(l, tgt_type); in __bpf_lru_node_move_in()
96 node->type = tgt_type; in __bpf_lru_node_move_in()
98 list_move(&node->list, &l->lists[tgt_type]); in __bpf_lru_node_move_in()
107 enum bpf_lru_list_type tgt_type) in __bpf_lru_node_move() argument
110 WARN_ON_ONCE(IS_LOCAL_LIST_TYPE(tgt_type))) in __bpf_lru_node_move()
113 if (node->type != tgt_type) { in __bpf_lru_node_move()
115 bpf_lru_list_count_inc(l, tgt_type); in __bpf_lru_node_move()
116 node->type = tgt_type; in __bpf_lru_node_move()
[all …]
Dbtf.c4868 enum bpf_prog_type tgt_type; in btf_ctx_access() local
4871 tgt_type = tgt_prog->aux->saved_dst_prog_type; in btf_ctx_access()
4873 tgt_type = tgt_prog->type; in btf_ctx_access()
4875 ret = btf_translate_to_vmlinux(log, btf, t, tgt_type, arg); in btf_ctx_access()
Dverifier.c13841 tgt_info->tgt_type = t; in bpf_check_attach_target()
13906 prog->aux->attach_func_proto = tgt_info.tgt_type; in BTF_SET_START()