Home
last modified time | relevance | path

Searched refs:BSET_CACHELINE (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/md/bcache/
H A Dbset.c251 * BSET_CACHELINE was originally intended to match the hardware cacheline size -
265 #define BSET_CACHELINE 128 macro
275 return btree_keys_bytes(b) / BSET_CACHELINE; in btree_keys_cachelines()
510 * in one cacheline in t->set (BSET_CACHELINE bytes).
529 return ((void *) t->data) + cacheline * BSET_CACHELINE + offset * 8; in cacheline_to_bkey()
534 return ((void *) k - (void *) t->data) / BSET_CACHELINE; in bkey_to_cacheline()
/kernel/linux/linux-6.6/drivers/md/bcache/
H A Dbset.c251 * BSET_CACHELINE was originally intended to match the hardware cacheline size -
265 #define BSET_CACHELINE 128 macro
275 return btree_keys_bytes(b) / BSET_CACHELINE; in btree_keys_cachelines()
510 * in one cacheline in t->set (BSET_CACHELINE bytes).
529 return ((void *) t->data) + cacheline * BSET_CACHELINE + offset * 8; in cacheline_to_bkey()
534 return ((void *) k - (void *) t->data) / BSET_CACHELINE; in bkey_to_cacheline()

Completed in 5 milliseconds