Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve_main.c589 int start_id; in gve_register_xdp_qpls() local
593 start_id = gve_tx_qpl_id(priv, gve_xdp_tx_start_queue_id(priv)); in gve_register_xdp_qpls()
594 for (i = start_id; i < start_id + gve_num_xdp_qpls(priv); i++) { in gve_register_xdp_qpls()
611 int start_id; in gve_register_qpls() local
615 start_id = gve_tx_start_qpl_id(priv); in gve_register_qpls()
616 for (i = start_id; i < start_id + gve_num_tx_qpls(priv); i++) { in gve_register_qpls()
629 start_id = gve_rx_start_qpl_id(priv); in gve_register_qpls()
630 for (i = start_id; i < start_id + gve_num_rx_qpls(priv); i++) { in gve_register_qpls()
647 int start_id; in gve_unregister_xdp_qpls() local
651 start_id = gve_tx_qpl_id(priv, gve_xdp_tx_start_queue_id(priv)); in gve_unregister_xdp_qpls()
[all …]
H A Dgve_tx.c304 int gve_tx_alloc_rings(struct gve_priv *priv, int start_id, int num_rings) in gve_tx_alloc_rings() argument
309 for (i = start_id; i < start_id + num_rings; i++) { in gve_tx_alloc_rings()
322 for (j = start_id; j < i; j++) in gve_tx_alloc_rings()
328 void gve_tx_free_rings_gqi(struct gve_priv *priv, int start_id, int num_rings) in gve_tx_free_rings_gqi() argument
332 for (i = start_id; i < start_id + num_rings; i++) in gve_tx_free_rings_gqi()
H A Dgve_adminq.c550 int gve_adminq_create_tx_queues(struct gve_priv *priv, u32 start_id, u32 num_queues) in gve_adminq_create_tx_queues() argument
555 for (i = start_id; i < start_id + num_queues; i++) { in gve_adminq_create_tx_queues()
650 int gve_adminq_destroy_tx_queues(struct gve_priv *priv, u32 start_id, u32 num_queues) in gve_adminq_destroy_tx_queues() argument
655 for (i = start_id; i < start_id + num_queues; i++) { in gve_adminq_destroy_tx_queues()
H A Dgve_adminq.h423 int gve_adminq_create_tx_queues(struct gve_priv *priv, u32 start_id, u32 num_queues);
424 int gve_adminq_destroy_tx_queues(struct gve_priv *priv, u32 start_id, u32 num_queues);
H A Dgve.h1058 int gve_tx_alloc_rings(struct gve_priv *priv, int start_id, int num_rings);
1059 void gve_tx_free_rings_gqi(struct gve_priv *priv, int start_id, int num_rings);
/openbmc/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,
/openbmc/linux/tools/lib/bpf/
H A Dbpf.h459 LIBBPF_API int bpf_prog_get_next_id(__u32 start_id, __u32 *next_id);
460 LIBBPF_API int bpf_map_get_next_id(__u32 start_id, __u32 *next_id);
461 LIBBPF_API int bpf_btf_get_next_id(__u32 start_id, __u32 *next_id);
462 LIBBPF_API int bpf_link_get_next_id(__u32 start_id, __u32 *next_id);
H A Dbtf.c102 int start_id; member
428 pr_warn("BTF type [%d] is malformed\n", btf->start_id + btf->nr_types); in btf_parse_type_sec()
453 return btf->start_id + btf->nr_types; in btf__type_cnt()
466 if (type_id < btf->start_id) in btf_type_by_id()
468 return btf->types_data + btf->type_offs[type_id - btf->start_id]; in btf_type_by_id()
473 if (type_id >= btf->start_id + btf->nr_types) in btf__type_by_id()
752 static __s32 btf_find_by_name_kind(const struct btf *btf, int start_id, in btf_find_by_name_kind() argument
760 for (i = start_id; i < nr_types; i++) { in btf_find_by_name_kind()
777 return btf_find_by_name_kind(btf, btf->start_id, type_name, kind); in btf__find_by_name_kind_own()
825 btf->start_id = 1; in btf_new_empty()
[all …]
H A Dbpf.c988 static int bpf_obj_get_next_id(__u32 start_id, __u32 *next_id, int cmd) in bpf_obj_get_next_id() argument
995 attr.start_id = start_id; in bpf_obj_get_next_id()
1004 int bpf_prog_get_next_id(__u32 start_id, __u32 *next_id) in bpf_prog_get_next_id() argument
1006 return bpf_obj_get_next_id(start_id, next_id, BPF_PROG_GET_NEXT_ID); in bpf_prog_get_next_id()
1009 int bpf_map_get_next_id(__u32 start_id, __u32 *next_id) in bpf_map_get_next_id() argument
1011 return bpf_obj_get_next_id(start_id, next_id, BPF_MAP_GET_NEXT_ID); in bpf_map_get_next_id()
1014 int bpf_btf_get_next_id(__u32 start_id, __u32 *next_id) in bpf_btf_get_next_id() argument
1016 return bpf_obj_get_next_id(start_id, next_id, BPF_BTF_GET_NEXT_ID); in bpf_btf_get_next_id()
1019 int bpf_link_get_next_id(__u32 start_id, __u32 *next_id) in bpf_link_get_next_id() argument
1021 return bpf_obj_get_next_id(start_id, next_id, BPF_LINK_GET_NEXT_ID); in bpf_link_get_next_id()
H A Dlinker.c2240 int i, j, n, start_id, id; in linker_append_btf() local
2246 start_id = btf__type_cnt(linker->btf); in linker_append_btf()
2309 for (i = start_id; i < n; i++) { in linker_append_btf()
/openbmc/linux/drivers/soc/hisilicon/
H A Dkunpeng_hccs.c463 u8 start_id; in hccs_get_all_port_attr() local
469 start_id = die->min_port_id; in hccs_get_all_port_attr()
470 while (start_id <= die->max_port_id) { in hccs_get_all_port_attr()
473 req_head->start_id = start_id; in hccs_get_all_port_attr()
483 start_id, die->die_id, ret); in hccs_get_all_port_attr()
489 if (unlikely(rsp_head.next_id <= start_id)) { in hccs_get_all_port_attr()
492 rsp_head.next_id, start_id, die->die_id); in hccs_get_all_port_attr()
495 start_id = rsp_head.next_id; in hccs_get_all_port_attr()
H A Dkunpeng_hccs.h134 u8 start_id; member
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dnetdev_rx.c473 void *hfi1_netdev_get_first_data(struct hfi1_devdata *dd, int *start_id) in hfi1_netdev_get_first_data() argument
476 unsigned long index = *start_id; in hfi1_netdev_get_first_data()
480 *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);
/openbmc/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()
/openbmc/linux/drivers/message/fusion/
H A Dmptsas.h186 u8 start_id; /* starting logical target id */ member
/openbmc/linux/include/uapi/linux/
H A Dvirtio_snd.h91 __le32 start_id; member
/openbmc/linux/sound/hda/
H A Dhdac_device.c357 hda_nid_t *start_id) in snd_hdac_get_sub_nodes() argument
363 *start_id = 0; in snd_hdac_get_sub_nodes()
366 *start_id = (parm >> 16) & 0x7fff; in snd_hdac_get_sub_nodes()
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_snd.h113 uint32_t start_id; member
/openbmc/linux/tools/bpf/bpftool/
H A Dbtf.c438 int start_id = 1; in dump_btf_raw() local
442 start_id = btf__type_cnt(base); in dump_btf_raw()
444 for (i = start_id; i < cnt; i++) { in dump_btf_raw()
/openbmc/qemu/hw/audio/
H A Dvirtio-snd.c160 uint32_t stream_id, start_id, count, size; in virtio_snd_handle_pcm_info() local
182 start_id = le32_to_cpu(req.start_id); in virtio_snd_handle_pcm_info()
200 stream_id = i + start_id; in virtio_snd_handle_pcm_info()
/openbmc/linux/kernel/bpf/
H A Dbtf.c264 u32 start_id; /* first type ID in this BTF (0 for base BTF) */ member
827 while (type_id < btf->start_id) in btf_type_by_id()
830 type_id -= btf->start_id; in btf_type_by_id()
1572 if (btf->start_id + btf->types_size == BTF_MAX_TYPE) { in btf_add_type()
1794 if (type_id < env->btf->start_id) in env_type_is_resolved()
1797 return env->visit_states[type_id - env->btf->start_id] == RESOLVED; in env_type_is_resolved()
1809 if (type_id < btf->start_id in env_stack_push()
1810 || env->visit_states[type_id - btf->start_id] != NOT_VISITED) in env_stack_push()
1813 env->visit_states[type_id - btf->start_id] = VISITED; in env_stack_push()
1843 type_id -= btf->start_id; /* adjust to local type id */ in env_stack_pop_resolved()
[all …]
/openbmc/linux/include/sound/
H A Dhdaudio.h142 hda_nid_t *start_id);
/openbmc/linux/arch/arm64/kvm/vgic/
H A Dvgic-its.c2176 int start_id, entry_fn_t fn, void *opaque) in scan_its_table() argument
2180 int id = start_id; in scan_its_table()

12