Home
last modified time | relevance | path

Searched refs:RAID5_STRIPE_SHIFT (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/md/
H A Draid5.h697 #define RAID5_STRIPE_SHIFT(conf) STRIPE_SHIFT macro
701 #define RAID5_STRIPE_SHIFT(conf) ((conf)->stripe_shift) macro
H A Draid5.c74 int hash = (sect >> RAID5_STRIPE_SHIFT(conf)) & HASH_MASK; in stripe_hash()
80 return (sect >> RAID5_STRIPE_SHIFT(conf)) & STRIPE_HASH_LOCKS_MASK; in stripe_hash_locks_hash()
5905 RAID5_STRIPE_SHIFT(conf), ctx->sectors_to_do); in add_all_stripe_bios()
6227 s = (logical_sector - ctx.first_sector) >> RAID5_STRIPE_SHIFT(conf); in raid5_make_request()
6262 (s << RAID5_STRIPE_SHIFT(conf)); in raid5_make_request()
8122 RAID5_MAX_REQ_STRIPES << RAID5_STRIPE_SHIFT(conf)); in raid5_run()
H A Draid5-cache.c364 conf->chunk_sectors >> RAID5_STRIPE_SHIFT(conf))) in r5c_check_cached_full_stripe()