Lines Matching +defs:bit +defs:offset
251 * use the page uptodate bit in the stripe cache array
255 * bit.
293 * we shift down quite a bit. We're using byte
358 u32 offset;
361 for (i = 0, offset = 0; i < rbio->nr_sectors * rbio->sector_nsteps;
362 i++, offset += step) {
363 int page_index = offset >> PAGE_SHIFT;
370 offset_in_page(offset);
471 * check the bit again under the hash table lock.
1312 u32 offset = (bio->bi_iter.bi_sector << SECTOR_SHIFT) -
1316 unsigned int index = (offset >> step_bits);
1319 offset += step;
1359 trace_info->offset = (bio->bi_iter.bi_sector << SECTOR_SHIFT) -
1366 trace_info->offset = -1;
1564 u32 offset = (bio->bi_iter.bi_sector << SECTOR_SHIFT) -
1566 int total_nr_sector = offset >> fs_info->sectorsize_bits;
1617 u32 offset = 0;
1624 if (IS_ALIGNED(offset, sectorsize)) {
1631 offset += step;
1664 * Instead use set_bit() for each bit, as set_bit() itself is atomic.
1679 u32 offset = 0;
1695 paddrs[(offset / step) % nr_steps] = paddr;
1696 offset += step;
1699 if (!IS_ALIGNED(offset, fs_info->sectorsize))
1851 int bit = ((u32)(cur_logical - full_stripe_start) >>
1854 set_bit(bit, &rbio->dbitmap);
2178 * Also set the error bit for missing device, which
2179 * may not yet have its error bit set.
2249 /* Set the extra bit in error bitmap. */