Home
last modified time | relevance | path

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

12

/linux/sound/virtio/
H A Dvirtio_ctl_msg.c261 int virtsnd_ctl_query_info(struct virtio_snd *snd, int command, int start_id, in virtsnd_ctl_query_info() argument
275 query->start_id = cpu_to_le32(start_id); in virtsnd_ctl_query_info()
H A Dvirtio_ctl_msg.h73 int virtsnd_ctl_query_info(struct virtio_snd *snd, int command, int start_id,
/linux/tools/lib/bpf/
H A Dbtf.c102 int start_id; member
431 pr_warn("BTF type [%d] is malformed\n", btf->start_id + btf->nr_types); in btf_parse_type_sec()
604 for (i = btf->start_id; i < n; i++) { in btf_sanity_check()
615 return btf->start_id + btf->nr_types; in btf__type_cnt()
628 if (type_id < btf->start_id) in btf_type_by_id()
630 return btf->types_data + btf->type_offs[type_id - btf->start_id]; in btf_type_by_id()
635 if (type_id >= btf->start_id + btf->nr_types) in btf__type_by_id()
914 static __s32 btf_find_by_name_kind(const struct btf *btf, int start_id, in btf_find_by_name_kind() argument
922 for (i = start_id; i < nr_types; i++) { in btf_find_by_name_kind()
939 return btf_find_by_name_kind(btf, btf->start_id, type_name, kind); in btf__find_by_name_kind_own()
[all …]
H A Dbpf.h479 LIBBPF_API int bpf_prog_get_next_id(__u32 start_id, __u32 *next_id);
480 LIBBPF_API int bpf_map_get_next_id(__u32 start_id, __u32 *next_id);
481 LIBBPF_API int bpf_btf_get_next_id(__u32 start_id, __u32 *next_id);
482 LIBBPF_API int bpf_link_get_next_id(__u32 start_id, __u32 *next_id);
H A Dbpf.c1013 static int bpf_obj_get_next_id(__u32 start_id, __u32 *next_id, int cmd) in bpf_obj_get_next_id() argument
1020 attr.start_id = start_id; in bpf_obj_get_next_id()
1029 int bpf_prog_get_next_id(__u32 start_id, __u32 *next_id) in bpf_prog_get_next_id() argument
1031 return bpf_obj_get_next_id(start_id, next_id, BPF_PROG_GET_NEXT_ID); in bpf_prog_get_next_id()
1034 int bpf_map_get_next_id(__u32 start_id, __u32 *next_id) in bpf_map_get_next_id() argument
1036 return bpf_obj_get_next_id(start_id, next_id, BPF_MAP_GET_NEXT_ID); in bpf_map_get_next_id()
1039 int bpf_btf_get_next_id(__u32 start_id, __u32 *next_id) in bpf_btf_get_next_id() argument
1041 return bpf_obj_get_next_id(start_id, next_id, BPF_BTF_GET_NEXT_ID); in bpf_btf_get_next_id()
1044 int bpf_link_get_next_id(__u32 start_id, __u32 *next_id) in bpf_link_get_next_id() argument
1046 return bpf_obj_get_next_id(start_id, next_id, BPF_LINK_GET_NEXT_ID); in bpf_link_get_next_id()
H A Dlinker.c2261 int i, j, n, start_id, id, err; in linker_append_btf() local
2267 start_id = btf__type_cnt(linker->btf); in linker_append_btf()
2330 for (i = start_id; i < n; i++) { in linker_append_btf()
/linux/drivers/net/ethernet/google/gve/
H A Dgve_main.c743 int start_id; in gve_register_xdp_qpls() local
747 start_id = gve_xdp_tx_start_queue_id(priv); in gve_register_xdp_qpls()
748 for (i = start_id; i < start_id + gve_num_xdp_qpls(priv); i++) { in gve_register_xdp_qpls()
784 int start_id; in gve_unregister_xdp_qpls() local
788 start_id = gve_xdp_tx_start_queue_id(priv); in gve_unregister_xdp_qpls()
789 for (i = start_id; i < start_id + gve_num_xdp_qpls(priv); i++) { in gve_unregister_xdp_qpls()
896 int start_id = gve_xdp_tx_start_queue_id(priv); in init_xdp_sync_stats() local
900 for (i = start_id; i < start_id + priv->num_xdp_queues; i++) { in init_xdp_sync_stats()
933 static void gve_tx_stop_rings(struct gve_priv *priv, int start_id, int num_rings) in gve_tx_stop_rings() argument
940 for (i = start_id; i < start_id + num_rings; i++) { in gve_tx_stop_rings()
[all …]
H A Dgve_adminq.c707 int gve_adminq_create_tx_queues(struct gve_priv *priv, u32 start_id, u32 num_queues) in gve_adminq_create_tx_queues() argument
712 for (i = start_id; i < start_id + num_queues; i++) { in gve_adminq_create_tx_queues()
820 int gve_adminq_destroy_tx_queues(struct gve_priv *priv, u32 start_id, u32 num_queues) in gve_adminq_destroy_tx_queues() argument
825 for (i = start_id; i < start_id + num_queues; i++) { in gve_adminq_destroy_tx_queues()
H A Dgve_adminq.h606 int gve_adminq_create_tx_queues(struct gve_priv *priv, u32 start_id, u32 num_queues);
607 int gve_adminq_destroy_tx_queues(struct gve_priv *priv, u32 start_id, u32 num_queues);
/linux/drivers/soc/hisilicon/
H A Dkunpeng_hccs.c524 u8 start_id; in hccs_get_all_port_attr() local
530 start_id = die->min_port_id; in hccs_get_all_port_attr()
531 while (start_id <= die->max_port_id) { in hccs_get_all_port_attr()
534 req_head->start_id = start_id; in hccs_get_all_port_attr()
544 start_id, die->die_id, ret); in hccs_get_all_port_attr()
550 if (unlikely(rsp_head.next_id <= start_id)) { in hccs_get_all_port_attr()
553 rsp_head.next_id, start_id, die->die_id); in hccs_get_all_port_attr()
556 start_id = rsp_head.next_id; in hccs_get_all_port_attr()
H A Dkunpeng_hccs.h149 u8 start_id; member
/linux/drivers/infiniband/hw/hfi1/
H A Dnetdev_rx.c478 void *hfi1_netdev_get_first_data(struct hfi1_devdata *dd, int *start_id) in hfi1_netdev_get_first_data() argument
481 unsigned long index = *start_id; in hfi1_netdev_get_first_data()
485 *start_id = (int)index; in hfi1_netdev_get_first_data()
H A Dnetdev.h100 void *hfi1_netdev_get_first_data(struct hfi1_devdata *dd, int *start_id);
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_dedup_split.c332 static void btf_add_dup_struct_in_cu(struct btf *btf, int start_id) in btf_add_dup_struct_in_cu() argument
334 #define ID(n) (start_id + n) in btf_add_dup_struct_in_cu()
/linux/drivers/message/fusion/
H A Dmptsas.h186 u8 start_id; /* starting logical target id */ member
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen4_hw_data.c344 unsigned int ae_mask, start_id, worker_obj_cnt, i; in adf_gen4_get_ring_to_svc_map() local
361 start_id = worker_obj_cnt - RP_GROUP_COUNT; in adf_gen4_get_ring_to_svc_map()
363 for (i = start_id; i < worker_obj_cnt; i++) { in adf_gen4_get_ring_to_svc_map()
/linux/sound/hda/
H A Dhdac_device.c358 hda_nid_t *start_id) in snd_hdac_get_sub_nodes() argument
364 *start_id = 0; in snd_hdac_get_sub_nodes()
367 *start_id = (parm >> 16) & 0x7fff; in snd_hdac_get_sub_nodes()
/linux/include/uapi/linux/
H A Dvirtio_snd.h113 __le32 start_id; member
H A Dbpf.h1632 __u32 start_id; member
/linux/kernel/bpf/
H A Dbtf.c273 u32 start_id; /* first type ID in this BTF (0 for base BTF) */ member
853 while (type_id < btf->start_id) in btf_type_by_id()
856 type_id -= btf->start_id; in btf_type_by_id()
1598 if (btf->start_id + btf->types_size == BTF_MAX_TYPE) { in btf_add_type()
1782 btf->start_id = btf_nr_types(base_btf); in btf_set_base_btf()
1857 if (type_id < env->btf->start_id) in env_type_is_resolved()
1860 return env->visit_states[type_id - env->btf->start_id] == RESOLVED; in env_type_is_resolved()
1872 if (type_id < btf->start_id in env_stack_push()
1873 || env->visit_states[type_id - btf->start_id] != NOT_VISITED) in env_stack_push()
1876 env->visit_states[type_id - btf->start_id] = VISITED; in env_stack_push()
[all …]
/linux/tools/bpf/bpftool/
H A Dbtf.c448 int start_id = 1; in dump_btf_raw() local
452 start_id = btf__type_cnt(base); in dump_btf_raw()
454 for (i = start_id; i < cnt; i++) { in dump_btf_raw()
/linux/include/sound/
H A Dhdaudio.h142 hda_nid_t *start_id);
/linux/arch/arm64/kvm/vgic/
H A Dvgic-its.c2049 int start_id, entry_fn_t fn, void *opaque) in scan_its_table() argument
2053 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.h1632 __u32 start_id; member

12