| /freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/profile/ |
| HD | GCDAProfiling.c | 466 void llvm_gcda_emit_arcs(uint32_t num_counters, uint64_t *counters) { in llvm_gcda_emit_arcs() argument 486 if (val == (uint32_t)-1 || val / 2 != num_counters) { in llvm_gcda_emit_arcs() 493 old_ctrs = malloc(sizeof(uint64_t) * num_counters); in llvm_gcda_emit_arcs() 494 for (i = 0; i < num_counters; ++i) in llvm_gcda_emit_arcs() 502 write_32bit_value(num_counters * 2); in llvm_gcda_emit_arcs() 503 for (i = 0; i < num_counters; ++i) { in llvm_gcda_emit_arcs() 511 fprintf(stderr, "llvmgcda: %u arcs\n", num_counters); in llvm_gcda_emit_arcs() 512 for (i = 0; i < num_counters; ++i) in llvm_gcda_emit_arcs()
|
| /freebsd-11-stable/sys/xen/interface/ |
| HD | gcov.h | 92 uint32_t num_counters[1]; member
|
| /freebsd-11-stable/sys/dev/mlx5/mlx5_core/ |
| HD | flow_table.h | 61 u32 num_counters, u16 *cnt_ids,
|
| /freebsd-11-stable/sys/dev/ocs_fc/ |
| HD | 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
|
| HD | ocs_hw.h | 1328 uint32_t num_counters, 1338 uint32_t num_counters,
|
| HD | 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-11-stable/sys/ofed/drivers/infiniband/core/ |
| HD | 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-11-stable/sys/dev/mlx4/mlx4_ib/ |
| HD | mlx4_ib_main.c | 2145 diag[!!port_num].num_counters, in mlx4_ib_alloc_hw_stats() 2163 diag[!!port].num_counters, port); in mlx4_ib_get_hw_stats() 2168 for (i = 0; i < diag[!!port].num_counters; i++) in mlx4_ib_get_hw_stats() 2171 return diag[!!port].num_counters; in mlx4_ib_get_hw_stats() 2180 u32 num_counters; in __mlx4_ib_alloc_diag_counters() local 2182 num_counters = ARRAY_SIZE(diag_basic); in __mlx4_ib_alloc_diag_counters() 2185 num_counters += ARRAY_SIZE(diag_ext); in __mlx4_ib_alloc_diag_counters() 2188 num_counters += ARRAY_SIZE(diag_device_only); in __mlx4_ib_alloc_diag_counters() 2190 *name = kcalloc(num_counters, sizeof(**name), GFP_KERNEL); in __mlx4_ib_alloc_diag_counters() 2194 *offset = kcalloc(num_counters, sizeof(**offset), GFP_KERNEL); in __mlx4_ib_alloc_diag_counters() [all …]
|
| HD | mlx4_ib.h | 562 u32 num_counters; member
|
| /freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| HD | 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-11-stable/sys/ofed/include/rdma/ |
| HD | ib_verbs.h | 447 int num_counters; member 460 const char * const *names, int num_counters, in rdma_alloc_hw_stats_struct() argument 465 stats = kzalloc(sizeof(*stats) + num_counters * sizeof(u64), in rdma_alloc_hw_stats_struct() 470 stats->num_counters = num_counters; in rdma_alloc_hw_stats_struct()
|