Searched refs:nsets (Results 1 – 6 of 6) sorted by relevance
80 u32 nsets; member357 if (of_property_read_u32(np, "cache-sets", &data->nsets) || in __uniphier_cache_init()358 !is_power_of_2(data->nsets)) { in __uniphier_cache_init()366 cache_size == 0 || cache_size % (data->nsets * data->line_size)) { in __uniphier_cache_init()373 data->way_mask = GENMASK(cache_size / data->nsets / data->line_size - 1, in __uniphier_cache_init()
48 for (i = 0; i <= b->nsets; i++) in bch_dump_bucket()352 b->nsets = 0; in bch_btree_keys_init()669 b->set[++b->nsets].data = i; in bch_bset_init_next()1054 BUG_ON(!b->nsets && in __bch_bset_search()1257 b->nsets = start; in __btree_sort()1304 for (i = start; i <= b->nsets; i++) in bch_btree_sort_partial()1345 if (!b->nsets) in bch_btree_sort_lazy()1348 for (i = b->nsets - 1; i >= 0; --i) { in bch_btree_sort_lazy()1358 if (b->nsets + 1 == MAX_BSETS) { in bch_btree_sort_lazy()1371 for (i = 0; i <= b->nsets; i++) { in bch_btree_keys_stats()
220 uint8_t nsets; member236 return b->set + b->nsets; in bset_tree_last()241 return t <= b->set + b->nsets - b->last_set_unwritten; in bset_written()246 return !b->last_set_unwritten || k < b->set[b->nsets].data->start; in bkey_written()
115 if (b->level && b->keys.nsets) in bch_btree_init_next()436 unsigned int nsets = b->keys.nsets; in bch_btree_node_write() local446 if (nsets && !b->keys.nsets) in bch_btree_node_write()1048 for (; i <= b->keys.nsets && b->keys.set[i].size; i++) { in bch_btree_node_get()1053 for (; i <= b->keys.nsets; i++) in bch_btree_node_get()1326 for (t = b->keys.set; t <= &b->keys.set[b->keys.nsets]; t++) in btree_gc_mark_node()
275 __entry->keys = b->keys.set[b->keys.nsets].data->keys;
447 u32 nsets; member