Lines Matching refs:thisblock
159 static int __dust_map_read(struct dust_device *dd, sector_t thisblock) in __dust_map_read() argument
161 struct badblock *bblk = dust_rb_search(&dd->badblocklist, thisblock); in __dust_map_read()
169 static int dust_map_read(struct dust_device *dd, sector_t thisblock, in dust_map_read() argument
176 thisblock >>= dd->sect_per_block_shift; in dust_map_read()
178 r = __dust_map_read(dd, thisblock); in dust_map_read()
185 static int __dust_map_write(struct dust_device *dd, sector_t thisblock) in __dust_map_write() argument
187 struct badblock *bblk = dust_rb_search(&dd->badblocklist, thisblock); in __dust_map_write()
199 sector_div(thisblock, dd->sect_per_block); in __dust_map_write()
201 (unsigned long long)thisblock); in __dust_map_write()
208 static int dust_map_write(struct dust_device *dd, sector_t thisblock, in dust_map_write() argument
215 thisblock >>= dd->sect_per_block_shift; in dust_map_write()
217 r = __dust_map_write(dd, thisblock); in dust_map_write()