Home
last modified time | relevance | path

Searched refs:nsets (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/arch/arm/mm/
H A Dcache-uniphier.c80 u32 nsets; member
357 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()
/openbmc/linux/drivers/md/bcache/
H A Dbset.c48 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()
H A Dbset.h220 uint8_t nsets; member
236 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()
H A Dbtree.c115 if (b->level && b->keys.nsets) in bch_btree_init_next()
436 unsigned int nsets = b->keys.nsets; in bch_btree_node_write() local
446 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()
/openbmc/linux/include/trace/events/
H A Dbcache.h275 __entry->keys = b->keys.set[b->keys.nsets].data->keys;
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_main.h447 u32 nsets; member