Lines Matching refs:sectorsize

460 	const u32 sectorsize = fs_info->sectorsize;  in end_bbio_data_write()  local
472 if (!IS_ALIGNED(fi.offset, sectorsize)) in end_bbio_data_write()
476 else if (!IS_ALIGNED(fi.length, sectorsize)) in end_bbio_data_write()
518 const u32 sectorsize = fs_info->sectorsize; in end_bbio_data_read() local
543 if (!IS_ALIGNED(fi.offset, sectorsize)) in end_bbio_data_read()
547 else if (!IS_ALIGNED(fi.offset + fi.length, sectorsize)) in end_bbio_data_read()
958 size_t blocksize = fs_info->sectorsize; in btrfs_do_readpage()
981 ASSERT(IS_ALIGNED(cur, fs_info->sectorsize)); in btrfs_do_readpage()
1283 const u32 sectorsize = fs_info->sectorsize; in submit_one_sector() local
1285 ASSERT(IS_ALIGNED(filepos, sectorsize)); in submit_one_sector()
1290 em = btrfs_get_extent(inode, NULL, filepos, sectorsize); in submit_one_sector()
1297 ASSERT(IS_ALIGNED(em->start, sectorsize)); in submit_one_sector()
1298 ASSERT(IS_ALIGNED(em->len, sectorsize)); in submit_one_sector()
1316 btrfs_folio_clear_dirty(fs_info, folio, filepos, sectorsize); in submit_one_sector()
1317 btrfs_set_range_writeback(inode, filepos, filepos + sectorsize - 1); in submit_one_sector()
1327 sectorsize, filepos - folio_pos(folio)); in submit_one_sector()
1364 for (cur = start; cur < start + len; cur += fs_info->sectorsize) in extent_writepage_io()
1781 start = folio_start + bit_start * fs_info->sectorsize; in submit_eb_subpage()
2186 const u32 sectorsize = fs_info->sectorsize; in extent_write_locked_range() local
2197 ASSERT(IS_ALIGNED(start, sectorsize) && IS_ALIGNED(end + 1, sectorsize)); in extent_write_locked_range()
2294 size_t blocksize = folio_to_fs_info(folio)->sectorsize; in extent_invalidate_folio()
2813 if (!IS_ALIGNED(start, fs_info->sectorsize)) { in check_eb_alignment()