| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/profile/ |
| H A D | GCDAProfiling.c | 400 void llvm_gcda_emit_arcs(uint32_t num_counters, uint64_t *counters) { in llvm_gcda_emit_arcs() argument 420 if (val == (uint32_t)-1 || val / 2 != num_counters) { in llvm_gcda_emit_arcs() 427 old_ctrs = malloc(sizeof(uint64_t) * num_counters); in llvm_gcda_emit_arcs() 428 for (i = 0; i < num_counters; ++i) in llvm_gcda_emit_arcs() 436 write_32bit_value(num_counters * 2); in llvm_gcda_emit_arcs() 437 for (i = 0; i < num_counters; ++i) { in llvm_gcda_emit_arcs() 445 fprintf(stderr, "llvmgcda: %u arcs\n", num_counters); in llvm_gcda_emit_arcs() 446 for (i = 0; i < num_counters; ++i) in llvm_gcda_emit_arcs()
|
| /freebsd-13.1/sys/xen/interface/ |
| H A D | gcov.h | 91 uint32_t num_counters[1]; member
|
| /freebsd-13.1/sys/dev/mlx5/mlx5_core/ |
| H A D | flow_table.h | 61 u32 num_counters, u16 *cnt_ids,
|
| /freebsd-13.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_… 1077 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 1091 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 | 1321 uint32_t num_counters, 1331 uint32_t num_counters,
|
| H A D | ocs_hw.c | 5478 uint32_t num_counters = (mbox_rsp->gec ? 20 : 13); in ocs_hw_cb_link_stat() local 5531 num_counters, in ocs_hw_cb_link_stat() 5614 uint32_t num_counters = OCS_HW_HOST_STAT_MAX; in ocs_hw_cb_host_stat() local 5640 num_counters, in ocs_hw_cb_host_stat()
|
| /freebsd-13.1/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_sysfs.c | 804 if (ret == stats->num_counters) in update_hw_stats() 966 if (!stats->names || stats->num_counters <= 0) in setup_hw_stats() 974 sizeof(void *) * (stats->num_counters + 2), in setup_hw_stats() 980 stats->num_counters); in setup_hw_stats() 981 if (ret != stats->num_counters) in setup_hw_stats() 989 for (i = 0; i < stats->num_counters; i++) { in setup_hw_stats()
|
| /freebsd-13.1/sys/dev/mlx4/mlx4_ib/ |
| H A D | mlx4_ib_main.c | 2143 diag[!!port_num].num_counters, in mlx4_ib_alloc_hw_stats() 2161 diag[!!port].num_counters, port); in mlx4_ib_get_hw_stats() 2166 for (i = 0; i < diag[!!port].num_counters; i++) in mlx4_ib_get_hw_stats() 2169 return diag[!!port].num_counters; in mlx4_ib_get_hw_stats() 2178 u32 num_counters; in __mlx4_ib_alloc_diag_counters() local 2180 num_counters = ARRAY_SIZE(diag_basic); in __mlx4_ib_alloc_diag_counters() 2183 num_counters += ARRAY_SIZE(diag_ext); in __mlx4_ib_alloc_diag_counters() 2186 num_counters += ARRAY_SIZE(diag_device_only); in __mlx4_ib_alloc_diag_counters() 2188 *name = kcalloc(num_counters, sizeof(**name), GFP_KERNEL); in __mlx4_ib_alloc_diag_counters() 2196 *num = num_counters; in __mlx4_ib_alloc_diag_counters() [all …]
|
| H A D | mlx4_ib.h | 562 u32 num_counters; member
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_allocator_primary64.h | 409 PackedCounterArray(u64 num_counters, u64 max_value, MemoryMapper *mapper) in PackedCounterArray() argument 410 : n(num_counters) { in PackedCounterArray() 411 CHECK_GT(num_counters, 0); in PackedCounterArray()
|
| /freebsd-13.1/sys/ofed/include/rdma/ |
| H A D | ib_verbs.h | 465 int num_counters; member 478 const char * const *names, int num_counters, in rdma_alloc_hw_stats_struct() argument 483 stats = kzalloc(sizeof(*stats) + num_counters * sizeof(u64), in rdma_alloc_hw_stats_struct() 488 stats->num_counters = num_counters; in rdma_alloc_hw_stats_struct()
|