Home
last modified time | relevance | path

Searched refs:bucket_size (Results 1 – 22 of 22) sorted by relevance

/Linux-v5.4/arch/mips/netlogic/xlr/
Dfmn-config.c56 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 …]
Dfmn.c129 bucket_sizes = xlr_board_fmn_config.bucket_size; in xlr_percpu_fmn_init()
/Linux-v5.4/drivers/staging/netlogic/
Dplatform_net.c71 .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()
Dplatform_net.h18 int *bucket_size; member
Dxlr_net.c482 int *bucket_size = priv->nd->bucket_size; in xlr_config_common() local
489 bucket_size[i]); in xlr_config_common()
/Linux-v5.4/drivers/md/bcache/
Dsuper.c135 sb->bucket_size = le16_to_cpu(s->bucket_size); in read_super()
151 !is_power_of_2(sb->bucket_size) || in read_super()
152 sb->bucket_size < PAGE_SECTORS) in read_super()
157 sb->bucket_size * sb->nbuckets) in read_super()
180 if (sb->first_bucket * sb->bucket_size < 16) in read_super()
433 SET_KEY_SIZE(&k.key, c->sb.bucket_size); in __uuid_write()
439 atomic_long_add(ca->sb.bucket_size, &ca->meta_sectors_written); in __uuid_write()
519 bio->bi_iter.bi_sector = bucket * ca->sb.bucket_size; in prio_io()
544 atomic_long_add(ca->sb.bucket_size * prio_buckets(ca), in bch_prio_write()
1756 c->sb.bucket_size = sb->bucket_size; in bch_cache_set_alloc()
[all …]
Dalloc.c90 unsigned int next = c->nbuckets * c->sb.bucket_size / 1024; in bch_rescale_priorities()
340 ca->sb.bucket_size, GFP_KERNEL, 0); in bch_allocator_thread()
447 SET_GC_SECTORS_USED(b, ca->sb.bucket_size); in bch_bucket_alloc()
589 ret->sectors_free = c->sb.bucket_size; in pick_data_bucket()
Dmovinggc.c210 unsigned int reserve_sectors = ca->sb.bucket_size * in bch_moving_gc()
218 GC_SECTORS_USED(b) == ca->sb.bucket_size || in bch_moving_gc()
Dbcache.h754 #define bucket_pages(c) ((c)->sb.bucket_size / PAGE_SECTORS)
755 #define bucket_bytes(c) ((c)->sb.bucket_size << 9)
776 return s & (c->sb.bucket_size - 1); in bucket_remainder()
Dsysfs.c59 read_attribute(bucket_size);
689 sysfs_hprint(bucket_size, bucket_bytes(c)); in SHOW()
975 sysfs_hprint(bucket_size, bucket_bytes(ca)); in SHOW()
1058 n * ca->sb.bucket_size / (ARRAY_SIZE(q) + 1)); in SHOW()
Dbtree.h196 atomic_set(&c->sectors_to_gc, c->sb.bucket_size * c->nbuckets / 16); in set_gc_sectors()
Dextents.c57 if (KEY_SIZE(k) + r > c->sb.bucket_size || in __ptr_invalid()
78 if (KEY_SIZE(k) + r > c->sb.bucket_size) in bch_ptr_status()
Djournal.c52 while (offset < ca->sb.bucket_size) { in journal_read_bucket()
53 reread: left = ca->sb.bucket_size - offset; in journal_read_bucket()
623 c->journal.blocks_free = c->sb.bucket_size >> c->block_bits; in journal_reclaim()
Dwriteback.c38 uint64_t cache_sectors = c->nbuckets * c->sb.bucket_size - in __calc_target_rate()
Dbtree.c216 iter->size = b->c->sb.bucket_size / b->c->sb.block_size; in bch_btree_node_read_done()
/Linux-v5.4/drivers/net/ethernet/marvell/
Dmv643xx_eth.c1140 int bucket_size; in tx_set_rate() local
1150 bucket_size = (burst + 255) >> 8; in tx_set_rate()
1151 if (bucket_size > 65535) in tx_set_rate()
1152 bucket_size = 65535; in tx_set_rate()
1158 wrlp(mp, TX_BW_BURST, bucket_size); in tx_set_rate()
1163 wrlp(mp, TX_BW_BURST_MOVED, bucket_size); in tx_set_rate()
1172 int bucket_size; in txq_set_rate() local
1178 bucket_size = (burst + 255) >> 8; in txq_set_rate()
1179 if (bucket_size > 65535) in txq_set_rate()
1180 bucket_size = 65535; in txq_set_rate()
[all …]
/Linux-v5.4/include/uapi/linux/
Dbcache.h183 __u16 bucket_size; /* sectors */ member
/Linux-v5.4/arch/mips/include/asm/netlogic/xlr/
Dfmn.h348 int bucket_size[128]; /* size of buckets for all stations */ member
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-block-bcache116 What: /sys/block/<disk>/bcache/bucket_size
/Linux-v5.4/Documentation/admin-guide/
Dbcache.rst219 bucket_size: 1024
524 bucket_size
611 bucket_size
/Linux-v5.4/drivers/net/ethernet/neterion/vxge/
Dvxge-config.h2065 u16 bucket_size);
Dvxge-config.c3707 u16 bucket_size) in vxge_hw_vpath_rts_rth_set() argument
3728 VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_GEN_BUCKET_SIZE(bucket_size) | in vxge_hw_vpath_rts_rth_set()