Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/drivers/staging/netlogic/
Dplatform_net.c100 .bucket_size = xlr_board_fmn_config.bucket_size, in gmac_controller2_init()
142 .bucket_size = xlr_board_fmn_config.bucket_size, in xls_gmac_init()
207 .bucket_size = xlr_board_fmn_config.bucket_size, in xlr_gmac_init()
Dplatform_net.h46 int *bucket_size; member
Dxlr_net.c514 int *bucket_size = priv->nd->bucket_size; in xlr_config_common() local
521 bucket_size[i]); in xlr_config_common()
/Linux-v4.19/drivers/md/bcache/
Dsuper.c133 sb->bucket_size = le16_to_cpu(s->bucket_size); in read_super()
149 !is_power_of_2(sb->bucket_size) || in read_super()
150 sb->bucket_size < PAGE_SECTORS) in read_super()
155 sb->bucket_size * sb->nbuckets) in read_super()
178 if (sb->first_bucket * sb->bucket_size < 16) in read_super()
428 SET_KEY_SIZE(&k.key, c->sb.bucket_size); in __uuid_write()
510 bio->bi_iter.bi_sector = bucket * ca->sb.bucket_size; in prio_io()
535 atomic_long_add(ca->sb.bucket_size * prio_buckets(ca), in bch_prio_write()
1712 c->sb.bucket_size = sb->bucket_size; in bch_cache_set_alloc()
1715 c->bucket_bits = ilog2(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()
339 ca->sb.bucket_size, GFP_KERNEL, 0); in bch_allocator_thread()
441 SET_GC_SECTORS_USED(b, ca->sb.bucket_size); in bch_bucket_alloc()
579 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.h738 #define bucket_pages(c) ((c)->sb.bucket_size / PAGE_SECTORS)
739 #define bucket_bytes(c) ((c)->sb.bucket_size << 9)
760 return s & (c->sb.bucket_size - 1); in bucket_remainder()
Dsysfs.c57 read_attribute(bucket_size);
619 sysfs_hprint(bucket_size, bucket_bytes(c)); in SHOW()
884 sysfs_hprint(bucket_size, bucket_bytes(ca)); in SHOW()
969 n * ca->sb.bucket_size / (ARRAY_SIZE(q) + 1)); in SHOW()
Dbtree.h194 atomic_set(&c->sectors_to_gc, c->sb.bucket_size * c->nbuckets / 16); in set_gc_sectors()
Djournal.c52 while (offset < ca->sb.bucket_size) { in journal_read_bucket()
53 reread: left = ca->sb.bucket_size - offset; in journal_read_bucket()
547 c->journal.blocks_free = c->sb.bucket_size >> c->block_bits; in journal_reclaim()
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()
Dwriteback.c29 uint64_t cache_sectors = c->nbuckets * c->sb.bucket_size - in __calc_target_rate()
Dbtree.c211 iter->size = b->c->sb.bucket_size / b->c->sb.block_size; in bch_btree_node_read_done()
/Linux-v4.19/drivers/net/ethernet/marvell/
Dmv643xx_eth.c1152 int bucket_size; in tx_set_rate() local
1162 bucket_size = (burst + 255) >> 8; in tx_set_rate()
1163 if (bucket_size > 65535) in tx_set_rate()
1164 bucket_size = 65535; in tx_set_rate()
1170 wrlp(mp, TX_BW_BURST, bucket_size); in tx_set_rate()
1175 wrlp(mp, TX_BW_BURST_MOVED, bucket_size); in tx_set_rate()
1184 int bucket_size; in txq_set_rate() local
1190 bucket_size = (burst + 255) >> 8; in txq_set_rate()
1191 if (bucket_size > 65535) in txq_set_rate()
1192 bucket_size = 65535; in txq_set_rate()
[all …]
/Linux-v4.19/arch/mips/include/asm/netlogic/xlr/
Dfmn.h348 int bucket_size[128]; /* size of buckets for all stations */ member
/Linux-v4.19/include/uapi/linux/
Dbcache.h183 __u16 bucket_size; /* sectors */ member
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-block-bcache116 What: /sys/block/<disk>/bcache/bucket_size
/Linux-v4.19/Documentation/admin-guide/
Dbcache.rst219 bucket_size: 1024
524 bucket_size
611 bucket_size
/Linux-v4.19/drivers/net/ethernet/neterion/vxge/
Dvxge-config.h2085 u16 bucket_size);
Dvxge-config.c3705 u16 bucket_size) in vxge_hw_vpath_rts_rth_set() argument
3726 VXGE_HW_RTS_ACCESS_STEER_DATA0_RTH_GEN_BUCKET_SIZE(bucket_size) | in vxge_hw_vpath_rts_rth_set()