| /Linux-v5.10/arch/mips/netlogic/xlr/ |
| D | fmn-config.c | 56 xlr_board_fmn_config.bucket_size[(bkt * 8) + 0], in print_credit_config() 57 xlr_board_fmn_config.bucket_size[(bkt * 8) + 1], in print_credit_config() 58 xlr_board_fmn_config.bucket_size[(bkt * 8) + 2], in print_credit_config() 59 xlr_board_fmn_config.bucket_size[(bkt * 8) + 3], in print_credit_config() 60 xlr_board_fmn_config.bucket_size[(bkt * 8) + 4], in print_credit_config() 61 xlr_board_fmn_config.bucket_size[(bkt * 8) + 5], in print_credit_config() 62 xlr_board_fmn_config.bucket_size[(bkt * 8) + 6], in print_credit_config() 63 xlr_board_fmn_config.bucket_size[(bkt * 8) + 7]); in print_credit_config() 98 if (total_credits > cfg->bucket_size[bkt]) in check_credit_distribution() 100 bkt, total_credits, cfg->bucket_size[bkt]); in check_credit_distribution() [all …]
|
| D | fmn.c | 123 bucket_sizes = xlr_board_fmn_config.bucket_size; in xlr_percpu_fmn_init()
|
| /Linux-v5.10/drivers/staging/netlogic/ |
| D | platform_net.c | 71 .bucket_size = xlr_board_fmn_config.bucket_size, in gmac_controller2_init() 115 .bucket_size = xlr_board_fmn_config.bucket_size, in xls_gmac_init() 181 .bucket_size = xlr_board_fmn_config.bucket_size, in xlr_gmac_init()
|
| D | platform_net.h | 18 int *bucket_size; member
|
| D | xlr_net.c | 482 int *bucket_size = priv->nd->bucket_size; in xlr_config_common() local 489 bucket_size[i]); in xlr_config_common()
|
| /Linux-v5.10/drivers/md/bcache/ |
| D | alloc.c | 90 unsigned long next = c->nbuckets * c->cache->sb.bucket_size / 1024; in bch_rescale_priorities() 339 ca->sb.bucket_size, GFP_KERNEL, 0); in bch_allocator_thread() 449 SET_GC_SECTORS_USED(b, ca->sb.bucket_size); in bch_bucket_alloc() 586 ret->sectors_free = c->cache->sb.bucket_size; in pick_data_bucket()
|
| D | movinggc.c | 209 reserve_sectors = ca->sb.bucket_size * in bch_moving_gc() 217 GC_SECTORS_USED(b) == ca->sb.bucket_size || in bch_moving_gc()
|
| D | super.c | 65 unsigned int bucket_size = le16_to_cpu(s->bucket_size); in get_bucket_size() local 69 bucket_size |= le16_to_cpu(s->bucket_size_hi) << 16; in get_bucket_size() 71 return bucket_size; in get_bucket_size() 82 sb->bucket_size = get_bucket_size(sb, s); in read_super_common() 108 if (!is_power_of_2(sb->bucket_size)) in read_super_common() 112 if (sb->bucket_size < PAGE_SECTORS) in read_super_common() 117 sb->bucket_size * sb->nbuckets) in read_super_common() 140 if (sb->first_bucket * sb->bucket_size < 16) in read_super_common() 489 atomic_long_add(ca->sb.bucket_size, &ca->meta_sectors_written); in __uuid_write() 569 bio->bi_iter.bi_sector = bucket * ca->sb.bucket_size; in prio_io() [all …]
|
| D | bcache.h | 758 #define bucket_bytes(ca) ((ca)->sb.bucket_size << 9) 769 n = sb->bucket_size / PAGE_SECTORS; in meta_bucket_pages() 800 return s & (c->cache->sb.bucket_size - 1); in bucket_remainder()
|
| D | sysfs.c | 66 read_attribute(bucket_size); 716 sysfs_hprint(bucket_size, bucket_bytes(c->cache)); in SHOW() 1018 sysfs_hprint(bucket_size, bucket_bytes(ca)); in SHOW() 1101 n * ca->sb.bucket_size / (ARRAY_SIZE(q) + 1)); in SHOW()
|
| 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()
|
| D | journal.c | 52 while (offset < ca->sb.bucket_size) { in journal_read_bucket() 53 reread: left = ca->sb.bucket_size - offset; in journal_read_bucket() 669 c->journal.blocks_free = ca->sb.bucket_size >> c->block_bits; in journal_reclaim()
|
| D | btree.h | 197 atomic_set(&c->sectors_to_gc, c->cache->sb.bucket_size * c->nbuckets / 16); in set_gc_sectors()
|
| D | writeback.c | 38 uint64_t cache_sectors = c->nbuckets * c->cache->sb.bucket_size - in __calc_target_rate()
|
| D | btree.c | 158 iter->size = b->c->cache->sb.bucket_size / b->c->cache->sb.block_size; in bch_btree_node_read_done()
|
| /Linux-v5.10/include/uapi/linux/ |
| D | bcache.h | 191 __le16 bucket_size; /* sectors */ member 253 __u32 bucket_size; /* sectors */ member
|
| /Linux-v5.10/drivers/net/ethernet/marvell/ |
| D | mv643xx_eth.c | 1134 int bucket_size; in tx_set_rate() local 1144 bucket_size = (burst + 255) >> 8; in tx_set_rate() 1145 if (bucket_size > 65535) in tx_set_rate() 1146 bucket_size = 65535; in tx_set_rate() 1152 wrlp(mp, TX_BW_BURST, bucket_size); in tx_set_rate() 1157 wrlp(mp, TX_BW_BURST_MOVED, bucket_size); in tx_set_rate() 1166 int bucket_size; in txq_set_rate() local 1172 bucket_size = (burst + 255) >> 8; in txq_set_rate() 1173 if (bucket_size > 65535) in txq_set_rate() 1174 bucket_size = 65535; in txq_set_rate() [all …]
|
| /Linux-v5.10/kernel/bpf/ |
| D | hashtab.c | 1378 u32 batch, max_count, size, bucket_size; in __htab_map_lookup_and_delete_batch() local 1422 bucket_size = 5; in __htab_map_lookup_and_delete_batch() 1428 keys = kvmalloc(key_size * bucket_size, GFP_USER | __GFP_NOWARN); in __htab_map_lookup_and_delete_batch() 1429 values = kvmalloc(value_size * bucket_size, GFP_USER | __GFP_NOWARN); in __htab_map_lookup_and_delete_batch() 1468 if (bucket_cnt > bucket_size) { in __htab_map_lookup_and_delete_batch() 1469 bucket_size = bucket_cnt; in __htab_map_lookup_and_delete_batch()
|
| /Linux-v5.10/arch/mips/include/asm/netlogic/xlr/ |
| D | fmn.h | 348 int bucket_size[128]; /* size of buckets for all stations */ member
|
| /Linux-v5.10/Documentation/ABI/testing/ |
| D | sysfs-block-bcache | 116 What: /sys/block/<disk>/bcache/bucket_size
|
| /Linux-v5.10/Documentation/admin-guide/ |
| D | bcache.rst | 226 bucket_size: 1024 531 bucket_size 618 bucket_size
|
| /Linux-v5.10/drivers/net/ethernet/neterion/vxge/ |
| D | vxge-config.h | 2060 u16 bucket_size);
|
| D | vxge-config.c | 3701 u16 bucket_size) in vxge_hw_vpath_rts_rth_set() argument 3722 VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_GEN_BUCKET_SIZE(bucket_size) | in vxge_hw_vpath_rts_rth_set()
|