Home
last modified time | relevance | path

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

/drivers/md/
Ddm-dust.c152 static int __dust_map_read(struct dust_device *dd, sector_t thisblock) in __dust_map_read() argument
154 struct badblock *bblk = dust_rb_search(&dd->badblocklist, thisblock); in __dust_map_read()
162 static int dust_map_read(struct dust_device *dd, sector_t thisblock, in dust_map_read() argument
169 thisblock >>= dd->sect_per_block_shift; in dust_map_read()
171 ret = __dust_map_read(dd, thisblock); in dust_map_read()
178 static void __dust_map_write(struct dust_device *dd, sector_t thisblock) in __dust_map_write() argument
180 struct badblock *bblk = dust_rb_search(&dd->badblocklist, thisblock); in __dust_map_write()
187 sector_div(thisblock, dd->sect_per_block); in __dust_map_write()
189 (unsigned long long)thisblock); in __dust_map_write()
194 static int dust_map_write(struct dust_device *dd, sector_t thisblock, in dust_map_write() argument
[all …]