Searched refs:bucket_size (Results 26 - 44 of 44) sorted by path

12

/linux-master/fs/bcachefs/
H A Dextents.c1111 bkey_fsck_err_on(bucket_offset + size_ondisk > ca->mi.bucket_size, c, err,
1114 bucket_offset, size_ondisk, ca->mi.bucket_size);
H A Djournal.c959 ca->mi.bucket_size));
1126 (1 << 24) / ca->mi.bucket_size));
1493 prt_printf(out, "\tbucket size\t%u\n", ca->mi.bucket_size);
H A Djournal_io.c27 div64_u64_rem(i->sector, ca->mi.bucket_size, &offset);
991 end = offset + ca->mi.bucket_size;
1149 ja->sectors_free = ca->mi.bucket_size;
1164 ja->sectors_free = ca->mi.bucket_size - wrote;
1172 ja->sectors_free == ca->mi.bucket_size) {
1179 bch_err(c, "ja->sectors_free == ca->mi.bucket_size");
1476 ca->mi.bucket_size -
1534 sectors <= ca->mi.bucket_size &&
1538 ja->sectors_free = ca->mi.bucket_size;
H A Djournal_reclaim.c87 .next_entry = ca->mi.bucket_size,
88 .total = ca->mi.bucket_size * ja->nr,
107 if (unwritten > ca->mi.bucket_size)
117 sectors = ca->mi.bucket_size;
123 if (sectors < ca->mi.bucket_size && buckets) {
125 sectors = ca->mi.bucket_size;
130 .total = sectors + buckets * ca->mi.bucket_size,
200 max_entry_size = min_t(unsigned, max_entry_size, ca->mi.bucket_size);
274 ca->mi.bucket_size, GFP_NOFS);
H A Dmove.c693 unsigned dirty_sectors, bucket_size; local
719 bucket_size = bch_dev_bkey_exists(c, bucket.inode)->mi.bucket_size;
829 trace_evacuate_bucket(c, &bucket, dirty_sectors, bucket_size, fragmentation, ret);
H A Dmovinggc.c275 ca->mi.bucket_size) >> 1);
H A Dsb-members.c140 if (le16_to_cpu(m.bucket_size) <
143 i, le16_to_cpu(m.bucket_size), le16_to_cpu(sb->block_size));
147 if (le16_to_cpu(m.bucket_size) <
150 i, le16_to_cpu(m.bucket_size), BCH_SB_BTREE_NODE_SIZE(sb));
164 u64 bucket_size = le16_to_cpu(m.bucket_size); local
165 u64 device_size = le64_to_cpu(m.nbuckets) * bucket_size;
218 prt_units_u64(out, bucket_size << 9);
H A Dsb-members.h214 .bucket_size = le16_to_cpu(mi->bucket_size),
H A Dsuper.c1087 if (le16_to_cpu(m.bucket_size) <
1314 ca->mi.bucket_size / btree_sectors(c));
1381 ca->mi.bucket_size * ca->mi.nbuckets) {
1971 ca->mi.bucket_size * nbuckets) {
H A Dsuper_types.h32 u16 bucket_size; /* sectors */ member in struct:bch_member_cpu
H A Dsysfs.c151 read_attribute(bucket_size); variable
904 sysfs_print(bucket_size, bucket_bytes(ca));
H A Dtrace.h880 unsigned sectors, unsigned bucket_size,
882 TP_ARGS(c, bucket, sectors, bucket_size, fragmentation, ret),
889 __field(u32, bucket_size )
899 __entry->bucket_size = bucket_size;
907 __entry->sectors, __entry->bucket_size,
/linux-master/include/linux/
H A Dkvm_host.h1849 .bucket_size = bsz
1972 * @bucket_size: the size (width) of a bucket
1975 u64 value, size_t bucket_size)
1977 size_t index = div64_u64(value, bucket_size);
1974 kvm_stats_linear_hist_update(u64 *data, size_t size, u64 value, size_t bucket_size) argument
/linux-master/include/uapi/linux/
H A Dkvm.h1502 * @bucket_size: A parameter value used for histogram stats. It is only used
1512 __u32 bucket_size; member in struct:kvm_stats_desc
/linux-master/kernel/bpf/
H A Dhashtab.c1701 u32 batch, max_count, size, bucket_size, map_id; local
1745 bucket_size = 5;
1751 keys = kvmalloc_array(key_size, bucket_size, GFP_USER | __GFP_NOWARN);
1752 values = kvmalloc_array(value_size, bucket_size, GFP_USER | __GFP_NOWARN);
1797 if (bucket_cnt > bucket_size) {
1798 bucket_size = bucket_cnt;
/linux-master/tools/include/uapi/linux/
H A Dkvm.h1502 * @bucket_size: A parameter value used for histogram stats. It is only used
1512 __u32 bucket_size; member in struct:kvm_stats_desc
/linux-master/tools/testing/selftests/kvm/
H A Dkvm_binary_stats_test.c125 /* Check bucket_size field */
128 TEST_ASSERT(pdesc->bucket_size,
133 TEST_ASSERT(!pdesc->bucket_size,
/linux-master/tools/tracing/rtla/src/
H A Dosnoise_hist.c43 int bucket_size; member in struct:osnoise_hist_params
63 int bucket_size; member in struct:osnoise_hist_data
92 *osnoise_alloc_histogram(int nr_cpus, int entries, int bucket_size) argument
102 data->bucket_size = bucket_size;
139 bucket = duration / data->bucket_size;
173 int bucket_size; local
180 bucket_size = params->output_divisor * params->bucket_size;
181 snprintf(buff, sizeof(buff), "duration.buckets=%d", bucket_size);
[all...]
H A Dtimerlat_hist.c54 int bucket_size; member in struct:timerlat_hist_params
85 int bucket_size; member in struct:timerlat_hist_data
121 *timerlat_alloc_histogram(int nr_cpus, int entries, int bucket_size) argument
131 data->bucket_size = bucket_size;
185 bucket = latency / data->bucket_size;
576 bucket * data->bucket_size);
737 params->bucket_size = 1;
820 params->bucket_size = get_llong_from_str(optarg);
821 if ((params->bucket_size
[all...]

Completed in 604 milliseconds

12