Home
last modified time | relevance | path

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

/linux-6.15/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.c6848 enum bpf_prog_type tgt_type; in btf_ctx_access() local
6851 tgt_type = tgt_prog->aux->saved_dst_prog_type; in btf_ctx_access()
6853 tgt_type = tgt_prog->type; in btf_ctx_access()
6855 ret = btf_translate_to_vmlinux(log, btf, t, tgt_type, arg); in btf_ctx_access()
H A Dverifier.c23374 tgt_info->tgt_type = t; in bpf_check_attach_target()
23488 prog->aux->attach_func_proto = tgt_info.tgt_type; in check_attach_btf_id()
/linux-6.15/tools/testing/selftests/ublk/
H A Dkublk.c972 const char *tgt_type = ctx->tgt_type; in __cmd_dev_add() local
981 ops = ublk_find_tgt(tgt_type); in __cmd_dev_add()
984 __func__, tgt_type); in __cmd_dev_add()
997 __func__, dev_id, tgt_type); in __cmd_dev_add()
1031 __func__, dev_id, tgt_type, ret); in __cmd_dev_add()
1312 .tgt_type = "unknown", in main()
1334 if (strlen(optarg) < sizeof(ctx.tgt_type)) in main()
1335 strcpy(ctx.tgt_type, optarg); in main()
1399 ops = ublk_find_tgt(ctx.tgt_type); in main()
1403 tgt_argv[0] = ctx.tgt_type; in main()
H A Dkublk.h77 char tgt_type[16]; member
/linux-6.15/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-6.15/include/linux/
H A Dbpf.h1281 const struct btf_type *tgt_type; member