Home
last modified time | relevance | path

Searched refs:start_id (Results 1 – 21 of 21) sorted by relevance

/linux/tools/lib/bpf/
H A Dbtf.c146 int start_id; member
592 pr_warn("BTF type [%u] is malformed\n", btf->start_id + btf->nr_types); in btf_parse_type_sec()
769 for (i = btf->start_id; i < n; i++) { in btf_sanity_check()
780 return btf->start_id + btf->nr_types; in btf__type_cnt()
793 if (type_id < btf->start_id) in btf_type_by_id()
795 return btf->types_data + btf->type_offs[type_id - btf->start_id]; in btf_type_by_id()
800 if (type_id >= btf->start_id + btf->nr_types) in btf__type_by_id()
1066 for (i = btf->start_id + 1; i < n; i++) { in btf_check_sorted()
1086 __s32 start_id) in btf_find_type_by_name_bsearch() argument
1092 l = start_id; in btf_find_type_by_name_bsearch()
[all …]
H A Dlinker.c2415 int i, j, n, start_id, id, err; in linker_append_btf() local
2421 start_id = btf__type_cnt(linker->btf); in linker_append_btf()
2484 for (i = start_id; i < n; i++) { in linker_append_btf()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_dedup_split.c348 static void btf_add_dup_struct_in_cu(struct btf *btf, int start_id) in btf_add_dup_struct_in_cu()
350 #define ID(n) (start_id + n) in btf_add_dup_struct_in_cu()
332 btf_add_dup_struct_in_cu(struct btf * btf,int start_id) btf_add_dup_struct_in_cu() argument
/linux/sound/virtio/
H A Dvirtio_ctl_msg.h73 int virtsnd_ctl_query_info(struct virtio_snd *snd, int command, int start_id,
/linux/drivers/message/fusion/
H A Dmptsas.h186 u8 start_id; /* starting logical target id */ member
H A Dmptsas.c1422 enclosure->start_id = buffer->StartTargetID; in mptsas_sas_enclosure_pg0()
/linux/drivers/soc/hisilicon/
H A Dkunpeng_hccs.h176 u8 start_id; member
/linux/drivers/net/ethernet/google/gve/
H A Dgve_adminq.c733 int gve_adminq_create_tx_queues(struct gve_priv *priv, u32 start_id, u32 num_queues) in gve_adminq_create_tx_queues() argument
740 for (i = start_id; i < start_id + num_queues; i++) { in gve_adminq_create_tx_queues()
856 int gve_adminq_destroy_tx_queues(struct gve_priv *priv, u32 start_id, u32 num_queues) in gve_adminq_destroy_tx_queues() argument
863 for (i = start_id; i < start_id + num_queues; i++) { in gve_adminq_destroy_tx_queues()
H A Dgve_adminq.h632 int gve_adminq_create_tx_queues(struct gve_priv *priv, u32 start_id, u32 num_queues);
633 int gve_adminq_destroy_tx_queues(struct gve_priv *priv, u32 start_id, u32 num_queues);
H A Dgve_main.c938 int start_id = gve_xdp_tx_start_queue_id(priv); in init_xdp_sync_stats() local
942 for (i = start_id; i < start_id + priv->tx_cfg.num_xdp_queues; i++) { in init_xdp_sync_stats()
/linux/tools/bpf/resolve_btfids/
H A Dmain.c1539 __u32 start_id = 0, id; in sort_btf_by_name() local
1542 start_id = btf__type_cnt(btf__base_btf(btf)); in sort_btf_by_name()
1543 nr_types = btf__type_cnt(btf) - start_id; in sort_btf_by_name()
1557 for (i = 0, id = start_id; i < nr_types; i++, id++) in sort_btf_by_name()
1564 id = permute_ids[i] - start_id; in sort_btf_by_name()
1565 id_map[id] = i + start_id; in sort_btf_by_name()
/linux/include/uapi/linux/
H A Dvirtio_snd.h113 __le32 start_id; member
H A Dbpf.h1729 __u32 start_id; member
/linux/kernel/bpf/
H A Dbtf.c277 u32 start_id; /* first type ID in this BTF (0 for base BTF) */ member
502 return btf->start_id + (btf->base_btf ? 0 : 1); in btf_start_id()
614 return base_btf->named_start_id ?: (base_btf->start_id ?: 1); in btf_named_start_id()
962 while (type_id < btf->start_id) in btf_type_by_id()
965 type_id -= btf->start_id; in btf_type_by_id()
1729 if (btf->start_id + btf->types_size == BTF_MAX_TYPE) { in btf_add_type()
1922 btf->start_id = btf_nr_types(base_btf); in btf_set_base_btf()
1997 if (type_id < env->btf->start_id) in env_type_is_resolved()
2000 return env->visit_states[type_id - env->btf->start_id] == RESOLVED; in env_type_is_resolved()
2012 if (type_id < btf->start_id in env_stack_push()
[all …]
H A Dsyscall.c4817 u32 next_id = attr->start_id; in bpf_obj_get_next_id()
/linux/tools/bpf/bpftool/
H A Dbtf.c450 int start_id = 1; in dump_btf_raw() local
454 start_id = btf__type_cnt(base); in dump_btf_raw()
456 for (i = start_id; i < cnt; i++) { in dump_btf_raw()
/linux/include/sound/
H A Dhdaudio.h143 hda_nid_t *start_id);
/linux/arch/arm64/kvm/vgic/
H A Dvgic-its.c2079 int start_id, entry_fn_t fn, void *opaque) in scan_its_table() argument
2083 int id = start_id; in scan_its_table()
/linux/drivers/scsi/qedi/
H A Dqedi_main.c533 u16 start_id, u16 next) in qedi_init_id_tbl() argument
535 id_tbl->start = start_id; in qedi_init_id_tbl()
/linux/tools/include/uapi/linux/
H A Dbpf.h1729 __u32 start_id; member
/linux/drivers/net/ethernet/broadcom/
H A Dcnic.c657 static int cnic_init_id_tbl(struct cnic_id_tbl *id_tbl, u32 size, u32 start_id, in cnic_init_id_tbl() argument
660 id_tbl->start = start_id; in cnic_init_id_tbl()