Home
last modified time | relevance | path

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

/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()
/drivers/md/bcache/
Dalloc.c90 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()
585 ret->sectors_free = c->cache->sb.bucket_size; in pick_data_bucket()
Dsuper.c67 unsigned int bucket_size = le16_to_cpu(s->bucket_size); in get_bucket_size() local
74 order = le16_to_cpu(s->bucket_size); in get_bucket_size()
82 bucket_size = 1 << order; in get_bucket_size()
84 bucket_size += in get_bucket_size()
89 return bucket_size; in get_bucket_size()
100 sb->bucket_size = get_bucket_size(sb, s); in read_super_common()
126 if (!is_power_of_2(sb->bucket_size)) in read_super_common()
130 if (sb->bucket_size < PAGE_SECTORS) in read_super_common()
135 sb->bucket_size * sb->nbuckets) in read_super_common()
158 if (sb->first_bucket * sb->bucket_size < 16) in read_super_common()
[all …]
Dmovinggc.c209 reserve_sectors = ca->sb.bucket_size * in bch_moving_gc()
217 GC_SECTORS_USED(b) == ca->sb.bucket_size || in bch_moving_gc()
Dbcache_ondisk.h191 __le16 bucket_size; /* sectors */ member
253 __u32 bucket_size; /* sectors */ member
Dbcache.h762 #define bucket_bytes(ca) ((ca)->sb.bucket_size << 9)
773 n = sb->bucket_size / PAGE_SECTORS; in meta_bucket_pages()
804 return s & (c->cache->sb.bucket_size - 1); in bucket_remainder()
Dsysfs.c66 read_attribute(bucket_size);
735 sysfs_hprint(bucket_size, bucket_bytes(c->cache)); in SHOW()
1037 sysfs_hprint(bucket_size, bucket_bytes(ca)); in SHOW()
1122 n * ca->sb.bucket_size / (ARRAY_SIZE(q) + 1)); in SHOW()
Djournal.c52 while (offset < ca->sb.bucket_size) { in journal_read_bucket()
53 reread: left = ca->sb.bucket_size - offset; in journal_read_bucket()
690 c->journal.blocks_free = ca->sb.bucket_size >> c->block_bits; in journal_reclaim()
Dextents.c57 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()
Dbtree.h197 atomic_set(&c->sectors_to_gc, c->cache->sb.bucket_size * c->nbuckets / 16); in set_gc_sectors()
Dwriteback.c38 uint64_t cache_sectors = c->nbuckets * c->cache->sb.bucket_size - in __calc_target_rate()
108 div_s64((dirty_buckets * c->cache->sb.bucket_size), dirty); in __update_writeback_rate()
Dbtree.c160 iter->size = b->c->cache->sb.bucket_size / b->c->cache->sb.block_size; in bch_btree_node_read_done()
/drivers/net/ethernet/marvell/
Dmv643xx_eth.c1136 int bucket_size; in tx_set_rate() local
1146 bucket_size = (burst + 255) >> 8; in tx_set_rate()
1147 if (bucket_size > 65535) in tx_set_rate()
1148 bucket_size = 65535; in tx_set_rate()
1154 wrlp(mp, TX_BW_BURST, bucket_size); in tx_set_rate()
1159 wrlp(mp, TX_BW_BURST_MOVED, bucket_size); in tx_set_rate()
1168 int bucket_size; in txq_set_rate() local
1174 bucket_size = (burst + 255) >> 8; in txq_set_rate()
1175 if (bucket_size > 65535) in txq_set_rate()
1176 bucket_size = 65535; in txq_set_rate()
[all …]
/drivers/net/ethernet/neterion/vxge/
Dvxge-config.h2060 u16 bucket_size);
Dvxge-config.c3701 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()