/freebsd/contrib/llvm-project/compiler-rt/lib/profile/ |
H A D | GCDAProfiling.c | 395 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 D | flow_table.h | 59 u32 num_counters, u16 *cnt_ids,
|
H A D | mlx5_diag_cnt.c | 297 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 D | mlx5_fs_counters.c | 283 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 D | vnic_dev.c | 520 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 D | vnic_dev.h | 93 u32 num_counters);
|
/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_xport.c | 41 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 D | ocs_hw.h | 1319 uint32_t num_counters, 1329 uint32_t num_counters,
|
H A D | ocs_hw.c | 5495 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 D | ib_sysfs.c | 802 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 D | mlx4_ib_main.c | 2053 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 D | mlx4_ib.h | 557 u32 num_counters; member
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_allocator_primary64.h | 410 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 D | gve_adminq.h | 256 __be32 num_counters; member
|
H A D | gve_adminq.c | 569 .num_counters = htobe32(priv->num_event_counters), in gve_adminq_configure_device_resources()
|
/freebsd/sys/dev/irdma/ |
H A D | irdma_kcompat.c | 1610 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 D | ib_verbs.h | 518 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 D | driver.h | 297 size_t num_counters; member
|
/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | hsi_struct_def.h | 73380 uint32_t num_counters; member
|