Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A 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 …]
H A Dbtf.c6571 enum bpf_prog_type tgt_type; in btf_ctx_access() local
6574 tgt_type = tgt_prog->aux->saved_dst_prog_type; in btf_ctx_access()
6576 tgt_type = tgt_prog->type; in btf_ctx_access()
6578 ret = btf_translate_to_vmlinux(log, btf, t, tgt_type, arg); in btf_ctx_access()
H A Dverifier.c22163 tgt_info->tgt_type = t; in bpf_check_attach_target()
22250 prog->aux->attach_func_proto = tgt_info.tgt_type; in check_attach_btf_id()
/linux/drivers/scsi/snic/
H A Dsnic_disc.c259 SNIC_BUG_ON(le16_to_cpu(tgtid->tgt_type) > SNIC_TGT_SAN); in snic_tgt_create()
260 tgt->tdata.typ = le16_to_cpu(tgtid->tgt_type); in snic_tgt_create()
H A Dsnic_fwint.h204 __le16 tgt_type; /* tgt type */ member
/linux/include/linux/
H A Dbpf.h1230 const struct btf_type *tgt_type; member