Home
last modified time | relevance | path

Searched refs:num_counters (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DGCDAProfiling.c395 void llvm_gcda_emit_arcs(uint32_t num_counters, uint64_t *counters) { in llvm_gcda_emit_arcs() argument
415 if (val == (uint32_t)-1 || val / 2 != num_counters) { in llvm_gcda_emit_arcs()
422 old_ctrs = malloc(sizeof(uint64_t) * num_counters); in llvm_gcda_emit_arcs()
423 for (i = 0; i < num_counters; ++i) in llvm_gcda_emit_arcs()
431 write_32bit_value(num_counters * 2); in llvm_gcda_emit_arcs()
432 for (i = 0; i < num_counters; ++i) { in llvm_gcda_emit_arcs()
440 fprintf(stderr, "llvmgcda: %u arcs\n", num_counters); in llvm_gcda_emit_arcs()
441 for (i = 0; i < num_counters; ++i) in llvm_gcda_emit_arcs()
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dflow_table.h59 u32 num_counters, u16 *cnt_ids,
H A Dmlx5_diag_cnt.c297 u32 num_counters = MLX5_CAP_GEN(dev, num_of_diagnostic_counters); in get_supported_cnt_ids() local
301 diag_cnt->cnt_id = kzalloc(sizeof(*diag_cnt->cnt_id) * num_counters, in get_supported_cnt_ids()
306 for (i = 0; i != num_counters; i++) { in get_supported_cnt_ids()
H A Dmlx5_fs_counters.c283 fc_stats->num_counters++; in mlx5_fc_stats_work()
290 fc_stats->num_counters--; in mlx5_fc_stats_work()
294 fc_stats->num_counters > get_init_bulk_query_len(dev)) in mlx5_fc_stats_work()
/freebsd/sys/dev/enic/
H A Dvnic_dev.c520 u32 num_counters) in vnic_dev_counter_dma_cfg() argument
526 if (num_counters > VNIC_MAX_FLOW_COUNTERS) in vnic_dev_counter_dma_cfg()
529 num_counters == 0)) in vnic_dev_counter_dma_cfg()
532 args[0] = num_counters; in vnic_dev_counter_dma_cfg()
545 vdev->flow_counters_dma_active = (num_counters != 0 && in vnic_dev_counter_dma_cfg()
H A Dvnic_dev.h93 u32 num_counters);
/freebsd/sys/dev/ocs_fc/
H A Docs_xport.c41 static void ocs_xport_link_stats_cb(int32_t status, uint32_t num_counters, ocs_hw_link_stat_counts_…
42 static void ocs_xport_host_stats_cb(int32_t status, uint32_t num_counters, ocs_hw_host_stat_counts_…
1075 ocs_xport_link_stats_cb(int32_t status, uint32_t num_counters, ocs_hw_link_stat_counts_t *counters,… in ocs_xport_link_stats_cb() argument
1089 ocs_xport_host_stats_cb(int32_t status, uint32_t num_counters, ocs_hw_host_stat_counts_t *counters,… in ocs_xport_host_stats_cb() argument
H A Docs_hw.h1319 uint32_t num_counters,
1329 uint32_t num_counters,
H A Docs_hw.c5495 uint32_t num_counters = (mbox_rsp->gec ? 20 : 13); in ocs_hw_cb_link_stat() local
5548 num_counters, in ocs_hw_cb_link_stat()
5631 uint32_t num_counters = OCS_HW_HOST_STAT_MAX; in ocs_hw_cb_host_stat() local
5657 num_counters, in ocs_hw_cb_host_stat()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_sysfs.c802 if (ret == stats->num_counters) in update_hw_stats()
964 if (!stats->names || stats->num_counters <= 0) in setup_hw_stats()
972 sizeof(void *) * (stats->num_counters + 2), in setup_hw_stats()
978 stats->num_counters); in setup_hw_stats()
979 if (ret != stats->num_counters) in setup_hw_stats()
987 for (i = 0; i < stats->num_counters; i++) { in setup_hw_stats()
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_main.c2053 diag[!!port_num].num_counters, in mlx4_ib_alloc_hw_stats()
2071 diag[!!port].num_counters, port); in mlx4_ib_get_hw_stats()
2076 for (i = 0; i < diag[!!port].num_counters; i++) in mlx4_ib_get_hw_stats()
2079 return diag[!!port].num_counters; in mlx4_ib_get_hw_stats()
2088 u32 num_counters; in __mlx4_ib_alloc_diag_counters() local
2090 num_counters = ARRAY_SIZE(diag_basic); in __mlx4_ib_alloc_diag_counters()
2093 num_counters += ARRAY_SIZE(diag_ext); in __mlx4_ib_alloc_diag_counters()
2096 num_counters += ARRAY_SIZE(diag_device_only); in __mlx4_ib_alloc_diag_counters()
2098 *name = kcalloc(num_counters, sizeof(**name), GFP_KERNEL); in __mlx4_ib_alloc_diag_counters()
2102 *offset = kcalloc(num_counters, sizeof(**offset), GFP_KERNEL); in __mlx4_ib_alloc_diag_counters()
[all …]
H A Dmlx4_ib.h557 u32 num_counters; member
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_primary64.h410 PackedCounterArray(u64 num_counters, u64 max_value, MemoryMapper *mapper) in PackedCounterArray() argument
411 : n(num_counters) { in PackedCounterArray()
412 CHECK_GT(num_counters, 0); in PackedCounterArray()
/freebsd/sys/dev/gve/
H A Dgve_adminq.h256 __be32 num_counters; member
H A Dgve_adminq.c569 .num_counters = htobe32(priv->num_event_counters), in gve_adminq_configure_device_resources()
/freebsd/sys/dev/irdma/
H A Dirdma_kcompat.c1610 int num_counters = dev->hw_attrs.max_stat_idx; in irdma_alloc_hw_stats() local
1613 return rdma_alloc_hw_stats_struct(irdma_hw_stat_names, num_counters, in irdma_alloc_hw_stats()
1635 memcpy(&stats->value[0], hw_stats, sizeof(u64)* stats->num_counters); in irdma_get_hw_stats()
1637 return stats->num_counters; in irdma_get_hw_stats()
/freebsd/sys/ofed/include/rdma/
H A Dib_verbs.h518 int num_counters; member
531 const char * const *names, int num_counters, in rdma_alloc_hw_stats_struct() argument
536 stats = kzalloc(sizeof(*stats) + num_counters * sizeof(u64), in rdma_alloc_hw_stats_struct()
541 stats->num_counters = num_counters; in rdma_alloc_hw_stats_struct()
/freebsd/sys/dev/mlx5/
H A Ddriver.h297 size_t num_counters; member
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dhsi_struct_def.h73380 uint32_t num_counters; member