| /linux/tools/tracing/rtla/src/ |
| H A D | osnoise_hist.c | 31 int bucket_size; 64 *osnoise_alloc_histogram(int entries, int bucket_size) 74 data->bucket_size = bucket_size; in osnoise_alloc_histogram() 110 bucket = duration / data->bucket_size; in osnoise_hist_update_multiple() 144 int bucket_size; in osnoise_init_trace_hist() 151 bucket_size = params->common.output_divisor * params->common.hist.bucket_size; in osnoise_init_trace_hist() 152 snprintf(buff, sizeof(buff), "duration.buckets=%d", bucket_size); in osnoise_init_trace_hist() 349 bucket * data->bucket_size); in osnoise_print_stats() 32 int bucket_size; global() member 66 osnoise_alloc_histogram(int nr_cpus,int entries,int bucket_size) osnoise_alloc_histogram() argument 147 int bucket_size; osnoise_init_trace_hist() local [all...] |
| H A D | timerlat_hist.c | 47 int bucket_size; 86 *timerlat_alloc_histogram(int entries, int bucket_size) in timerlat_alloc_histogram() argument 96 data->bucket_size = bucket_size; in timerlat_alloc_histogram() 149 bucket = latency / data->bucket_size; in timerlat_hist_update() 622 bucket * data->bucket_size); in timerlat_print_stats() 777 params->common.hist.bucket_size = 1; in timerlat_hist_parse_args() 848 params->common.hist.bucket_size = get_llong_from_str(optarg); in timerlat_hist_parse_args() 849 if (params->common.hist.bucket_size == 0 || in timerlat_hist_parse_args() 850 params->common.hist.bucket_size > in timerlat_hist_parse_args() 46 int bucket_size; global() member [all...] |
| H A D | timerlat.bpf.c | 55 const volatile int bucket_size = 1; in map_get() 151 bucket = latency / bucket_size; in handle_timerlat_sample() 44 const volatile int bucket_size = 1; global() variable
|
| H A D | timerlat_bpf.c | 36 bpf->rodata->bucket_size = params->common.hist.bucket_size; in timerlat_bpf_init()
|
| H A D | common.h | 67 int bucket_size; 66 int bucket_size; global() member
|
| /linux/tools/testing/selftests/kvm/ |
| H A D | kvm_binary_stats_test.c | 128 TEST_ASSERT(pdesc->bucket_size, in stats_test() 133 TEST_ASSERT(!pdesc->bucket_size, in stats_test()
|
| /linux/drivers/md/bcache/ |
| H A D | bcache_ondisk.h | 192 __le16 bucket_size; /* sectors */ member 254 __u32 bucket_size; /* sectors */ member
|
| H A D | alloc.c | 87 unsigned long next = c->nbuckets * c->cache->sb.bucket_size / 1024; in bch_rescale_priorities() 437 SET_GC_SECTORS_USED(b, ca->sb.bucket_size); in bch_bucket_alloc() 569 ret->sectors_free = c->cache->sb.bucket_size; in pick_data_bucket()
|
| H A D | bcache.h | 775 #define bucket_bytes(ca) ((ca)->sb.bucket_size << 9) 786 n = sb->bucket_size / PAGE_SECTORS; in meta_bucket_pages() 817 return s & (c->cache->sb.bucket_size - 1); in bucket_remainder()
|
| H A D | sysfs.c | 66 read_attribute(bucket_size); 730 sysfs_hprint(bucket_size, bucket_bytes(c->cache)); in SHOW() 1035 sysfs_hprint(bucket_size, bucket_bytes(ca)); in SHOW() 1119 n * ca->sb.bucket_size / (ARRAY_SIZE(q) + 1)); in SHOW()
|
| H A D | extents.c | 57 if (KEY_SIZE(k) + r > c->cache->sb.bucket_size || in __ptr_invalid() 78 if (KEY_SIZE(k) + r > c->cache->sb.bucket_size) in bch_ptr_status()
|
| H A D | btree.h | 197 atomic_set(&c->sectors_to_gc, c->cache->sb.bucket_size * c->nbuckets / 16); in set_gc_sectors()
|
| H A D | btree.c | 160 iter->size = b->c->cache->sb.bucket_size / b->c->cache->sb.block_size; in bch_btree_node_read_done()
|
| /linux/drivers/net/ethernet/marvell/ |
| H A D | mv643xx_eth.c | 1137 int bucket_size; in tx_set_rate() local 1147 bucket_size = (burst + 255) >> 8; in tx_set_rate() 1148 if (bucket_size > 65535) in tx_set_rate() 1149 bucket_size = 65535; in tx_set_rate() 1155 wrlp(mp, TX_BW_BURST, bucket_size); in tx_set_rate() 1160 wrlp(mp, TX_BW_BURST_MOVED, bucket_size); in tx_set_rate() 1169 int bucket_size; in txq_set_rate() local 1175 bucket_size = (burst + 255) >> 8; in txq_set_rate() 1176 if (bucket_size > 65535) in txq_set_rate() 1177 bucket_size = 65535; in txq_set_rate() [all …]
|
| /linux/drivers/net/ethernet/airoha/ |
| H A D | airoha_eth.c | 2401 u32 bucket_size) in airoha_qdma_set_rl_token_bucket() argument 2433 val = bucket_size; in airoha_qdma_set_rl_token_bucket() 2523 u32 rate_val, u32 bucket_size) in airoha_qdma_set_trtcm_token_bucket() argument 2554 val = max_t(u32, bucket_size, MIN_TOKEN_SIZE); in airoha_qdma_set_trtcm_token_bucket() 2564 u32 bucket_size) in airoha_qdma_set_tx_rate_limit() argument 2578 i, rate, bucket_size); in airoha_qdma_set_tx_rate_limit() 2624 u32 rate, u32 bucket_size, in airoha_qdma_set_rx_meter() argument 2641 bucket_size); in airoha_qdma_set_rx_meter() 2706 u32 rate = 0, bucket_size = 0; in airoha_dev_tc_matchall() local 2720 bucket_size = act->police.burst_pkt; in airoha_dev_tc_matchall() [all …]
|
| /linux/kernel/bpf/ |
| H A D | hashtab.c | 1781 u32 batch, max_count, size, bucket_size, map_id; in __htab_map_lookup_and_delete_batch() local 1828 bucket_size = 5; in __htab_map_lookup_and_delete_batch() 1834 keys = kvmalloc_array(key_size, bucket_size, GFP_USER | __GFP_NOWARN); in __htab_map_lookup_and_delete_batch() 1835 values = kvmalloc_array(value_size, bucket_size, GFP_USER | __GFP_NOWARN); in __htab_map_lookup_and_delete_batch() 1880 if (bucket_cnt > bucket_size) { in __htab_map_lookup_and_delete_batch() 1881 bucket_size = bucket_cnt; in __htab_map_lookup_and_delete_batch()
|
| /linux/include/linux/ |
| H A D | kvm_host.h | 1969 .bucket_size = bsz 2085 u64 value, size_t bucket_size) in kvm_stats_linear_hist_update() argument 2087 size_t index = div64_u64(value, bucket_size); in kvm_stats_linear_hist_update()
|
| /linux/include/uapi/linux/ |
| H A D | kvm.h | 1618 __u32 bucket_size; member
|
| /linux/tools/include/uapi/linux/ |
| H A D | kvm.h | 1609 __u32 bucket_size; member
|
| /linux/Documentation/virt/kvm/ |
| H A D | api.rst | 6013 __u32 bucket_size; 6095 The ``bucket_size`` field is used as a parameter for histogram statistics data.
|