Searched refs:nsets (Results 1 – 5 of 5) sorted by relevance
78 u32 nsets; member355 if (of_property_read_u32(np, "cache-sets", &data->nsets) || in __uniphier_cache_init()356 !is_power_of_2(data->nsets)) { in __uniphier_cache_init()364 cache_size == 0 || cache_size % (data->nsets * data->line_size)) { in __uniphier_cache_init()371 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()1024 for (; i <= b->keys.nsets && b->keys.set[i].size; i++) { in bch_btree_node_get()1029 for (; i <= b->keys.nsets; i++) in bch_btree_node_get()1296 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;