Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/arch/mips/netlogic/xlr/
H A 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 …]
H A Dfmn.c123 bucket_sizes = xlr_board_fmn_config.bucket_size; in xlr_percpu_fmn_init()
/OK3568_Linux_fs/kernel/drivers/staging/netlogic/
H A 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()
H A Dplatform_net.h18 int *bucket_size; member
H A Dxlr_net.c482 int *bucket_size = priv->nd->bucket_size; in xlr_config_common() local
489 bucket_size[i]); in xlr_config_common()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/debug/
H A Dsafe_local_iterator.tcc47 _M_get_sequence()->bucket_size(bucket()), in _M_get_distance_to()
59 -_M_get_sequence()->bucket_size(bucket()), in _M_get_distance_to()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/debug/
H A Dsafe_local_iterator.tcc47 _M_get_sequence()->bucket_size(bucket()), in _M_get_distance_to()
59 -_M_get_sequence()->bucket_size(bucket()), in _M_get_distance_to()
/OK3568_Linux_fs/kernel/drivers/md/bcache/
H A 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()
586 ret->sectors_free = c->cache->sb.bucket_size; in pick_data_bucket()
H A Dsuper.c66 unsigned int bucket_size = le16_to_cpu(s->bucket_size); in get_bucket_size() local
73 order = le16_to_cpu(s->bucket_size); in get_bucket_size()
81 bucket_size = 1 << order; in get_bucket_size()
83 bucket_size += in get_bucket_size()
88 return bucket_size; in get_bucket_size()
99 sb->bucket_size = get_bucket_size(sb, s); in read_super_common()
125 if (!is_power_of_2(sb->bucket_size)) in read_super_common()
129 if (sb->bucket_size < PAGE_SECTORS) in read_super_common()
134 sb->bucket_size * sb->nbuckets) in read_super_common()
157 if (sb->first_bucket * sb->bucket_size < 16) in read_super_common()
[all …]
H A 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()
H A Dbcache.h758 #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()
H A Dsysfs.c66 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()
H A 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()
H A 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()
H A Dbtree.h197 atomic_set(&c->sectors_to_gc, c->cache->sb.bucket_size * c->nbuckets / 16); in set_gc_sectors()
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dbcache.h191 __le16 bucket_size; /* sectors */ member
253 __u32 bucket_size; /* sectors */ member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/
H A Dmv643xx_eth.c1134 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 …]
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dhashtab.c1378 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_array(key_size, bucket_size, GFP_USER | __GFP_NOWARN); in __htab_map_lookup_and_delete_batch()
1429 values = kvmalloc_array(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()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/bits/
H A Dunordered_set.h718 bucket_size(size_type __n) const in _GLIBCXX_VISIBILITY()
719 { return _M_h.bucket_size(__n); } in _GLIBCXX_VISIBILITY()
1512 bucket_size(size_type __n) const in _GLIBCXX_VISIBILITY()
1513 { return _M_h.bucket_size(__n); } in _GLIBCXX_VISIBILITY()
H A Dunordered_map.h1027 bucket_size(size_type __n) const in _GLIBCXX_VISIBILITY()
1028 { return _M_h.bucket_size(__n); } in _GLIBCXX_VISIBILITY()
1878 bucket_size(size_type __n) const in _GLIBCXX_VISIBILITY()
1879 { return _M_h.bucket_size(__n); } in _GLIBCXX_VISIBILITY()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/bits/
H A Dunordered_set.h718 bucket_size(size_type __n) const in _GLIBCXX_VISIBILITY()
719 { return _M_h.bucket_size(__n); } in _GLIBCXX_VISIBILITY()
1512 bucket_size(size_type __n) const in _GLIBCXX_VISIBILITY()
1513 { return _M_h.bucket_size(__n); } in _GLIBCXX_VISIBILITY()
H A Dunordered_map.h1027 bucket_size(size_type __n) const in _GLIBCXX_VISIBILITY()
1028 { return _M_h.bucket_size(__n); } in _GLIBCXX_VISIBILITY()
1878 bucket_size(size_type __n) const in _GLIBCXX_VISIBILITY()
1879 { return _M_h.bucket_size(__n); } in _GLIBCXX_VISIBILITY()
/OK3568_Linux_fs/kernel/arch/mips/include/asm/netlogic/xlr/
H A Dfmn.h348 int bucket_size[128]; /* size of buckets for all stations */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dbcache.h183 __u16 bucket_size; /* sectors */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dbcache.h183 __u16 bucket_size; /* sectors */ member

12