Searched refs:num_counters (Results 1 – 10 of 10) sorted by relevance
| /freebsd-12.1/contrib/compiler-rt/lib/profile/ |
| H A D | GCDAProfiling.c | 460 void llvm_gcda_emit_arcs(uint32_t num_counters, uint64_t *counters) { in llvm_gcda_emit_arcs() argument 480 if (val == (uint32_t)-1 || val / 2 != num_counters) { in llvm_gcda_emit_arcs() 487 old_ctrs = malloc(sizeof(uint64_t) * num_counters); in llvm_gcda_emit_arcs() 488 for (i = 0; i < num_counters; ++i) in llvm_gcda_emit_arcs() 496 write_32bit_value(num_counters * 2); in llvm_gcda_emit_arcs() 497 for (i = 0; i < num_counters; ++i) { in llvm_gcda_emit_arcs() 505 fprintf(stderr, "llvmgcda: %u arcs\n", num_counters); in llvm_gcda_emit_arcs() 506 for (i = 0; i < num_counters; ++i) in llvm_gcda_emit_arcs()
|
| /freebsd-12.1/sys/xen/interface/ |
| H A D | gcov.h | 92 uint32_t num_counters[1]; member
|
| /freebsd-12.1/sys/dev/ocs_fc/ |
| H A D | ocs_xport.c | 43 static void ocs_xport_link_stats_cb(int32_t status, uint32_t num_counters, ocs_hw_link_stat_counts_… 44 static void ocs_xport_host_stats_cb(int32_t status, uint32_t num_counters, ocs_hw_host_stat_counts_… 1047 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 1062 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 | 1328 uint32_t num_counters, 1338 uint32_t num_counters,
|
| H A D | ocs_hw.c | 5496 uint32_t num_counters = (mbox_rsp->gec ? 20 : 13); in ocs_hw_cb_link_stat() local 5549 num_counters, in ocs_hw_cb_link_stat() 5633 uint32_t num_counters = OCS_HW_HOST_STAT_MAX; in ocs_hw_cb_host_stat() local 5660 num_counters, in ocs_hw_cb_host_stat()
|
| /freebsd-12.1/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_sysfs.c | 775 if (ret == stats->num_counters) in update_hw_stats() 916 if (!stats->names || stats->num_counters <= 0) in setup_hw_stats() 924 sizeof(void *) * (stats->num_counters + 2), in setup_hw_stats() 930 stats->num_counters); in setup_hw_stats() 931 if (ret != stats->num_counters) in setup_hw_stats() 939 for (i = 0; i < stats->num_counters; i++) { in setup_hw_stats()
|
| /freebsd-12.1/sys/dev/mlx4/mlx4_ib/ |
| H A D | mlx4_ib_main.c | 2140 diag[!!port_num].num_counters, in mlx4_ib_alloc_hw_stats() 2158 diag[!!port].num_counters, port); in mlx4_ib_get_hw_stats() 2163 for (i = 0; i < diag[!!port].num_counters; i++) in mlx4_ib_get_hw_stats() 2166 return diag[!!port].num_counters; in mlx4_ib_get_hw_stats() 2175 u32 num_counters; in __mlx4_ib_alloc_diag_counters() local 2177 num_counters = ARRAY_SIZE(diag_basic); in __mlx4_ib_alloc_diag_counters() 2180 num_counters += ARRAY_SIZE(diag_ext); in __mlx4_ib_alloc_diag_counters() 2183 num_counters += ARRAY_SIZE(diag_device_only); in __mlx4_ib_alloc_diag_counters() 2185 *name = kcalloc(num_counters, sizeof(**name), GFP_KERNEL); in __mlx4_ib_alloc_diag_counters() 2193 *num = num_counters; in __mlx4_ib_alloc_diag_counters() [all …]
|
| H A D | mlx4_ib.h | 562 u32 num_counters; member
|
| /freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_allocator_primary64.h | 332 PackedCounterArray(u64 num_counters, u64 max_value, MemoryMapperT *mapper) in PackedCounterArray() argument 333 : n(num_counters), memory_mapper(mapper) { in PackedCounterArray() 334 CHECK_GT(num_counters, 0); in PackedCounterArray()
|
| /freebsd-12.1/sys/ofed/include/rdma/ |
| H A D | ib_verbs.h | 449 int num_counters; member 462 const char * const *names, int num_counters, in rdma_alloc_hw_stats_struct() argument 467 stats = kzalloc(sizeof(*stats) + num_counters * sizeof(u64), in rdma_alloc_hw_stats_struct() 472 stats->num_counters = num_counters; in rdma_alloc_hw_stats_struct()
|