Lines Matching refs:lbo

279 		u64 t64 = sbi->mft.lbo;  in ntfs_loadlog_and_replay()
281 sbi->mft.lbo = sbi->mft.lbo2; in ntfs_loadlog_and_replay()
283 sbi->mft.lbo = t64; in ntfs_loadlog_and_replay()
835 block1 = sbi->mft.lbo >> sb->s_blocksize_bits; in ntfs_update_mftmirr()
986 int ntfs_sb_read(struct super_block *sb, u64 lbo, size_t bytes, void *buffer) in ntfs_sb_read() argument
990 u64 block = lbo >> sb->s_blocksize_bits; in ntfs_sb_read()
991 u32 off = lbo & (blocksize - 1); in ntfs_sb_read()
1014 int ntfs_sb_write(struct super_block *sb, u64 lbo, size_t bytes, in ntfs_sb_write() argument
1019 sector_t block = lbo >> sb->s_blocksize_bits; in ntfs_sb_write()
1020 u32 off = lbo & (blocksize - 1); in ntfs_sb_write()
1086 u64 lbo, len; in ntfs_sb_write_run() local
1095 lbo = ((u64)lcn << cluster_bits) + off; in ntfs_sb_write_run()
1100 int err = ntfs_sb_write(sb, lbo, op, buf, sync); in ntfs_sb_write_run()
1120 lbo = ((u64)lcn << cluster_bits); in ntfs_sb_write_run()
1133 u64 lbo; in ntfs_bread_run() local
1138 lbo = ((u64)lcn << cluster_bits) + (vbo & sbi->cluster_mask); in ntfs_bread_run()
1140 return ntfs_bread(sb, lbo >> sb->s_blocksize_bits); in ntfs_bread_run()
1154 u64 lbo, len; in ntfs_read_run_nb() local
1166 lbo = vbo + sbi->mft.lbo; in ntfs_read_run_nb()
1177 lbo = ((u64)lcn << cluster_bits) + off; in ntfs_read_run_nb()
1181 off = lbo & (blocksize - 1); in ntfs_read_run_nb()
1189 sector_t block = lbo >> sb->s_blocksize_bits; in ntfs_read_run_nb()
1239 lbo = ((u64)lcn << cluster_bits); in ntfs_read_run_nb()
1283 u64 lbo, len; in ntfs_get_bh() local
1294 lbo = ((u64)lcn << cluster_bits) + off; in ntfs_get_bh()
1297 nb->off = off = lbo & (blocksize - 1); in ntfs_get_bh()
1301 sector_t block = lbo >> sb->s_blocksize_bits; in ntfs_get_bh()
1352 lbo = ((u64)lcn << cluster_bits); in ntfs_get_bh()
1461 u64 lbo, len; in ntfs_bio_pages() local
1471 lbo = (vbo + bytes + 511) & ~511ull; in ntfs_bio_pages()
1473 bytes = lbo - vbo; in ntfs_bio_pages()
1485 lbo = ((u64)lcn << cluster_bits) + off; in ntfs_bio_pages()
1494 bio->bi_iter.bi_sector = lbo >> 9; in ntfs_bio_pages()
1520 lbo += add; in ntfs_bio_pages()
1556 u64 lbo, len; in ntfs_bio_fill_1() local
1582 lbo = (u64)lcn << cluster_bits; in ntfs_bio_fill_1()
1591 bio->bi_iter.bi_sector = lbo >> 9; in ntfs_bio_fill_1()
1599 lbo += add; in ntfs_bio_fill_1()
1619 u64 vbo, u64 *lbo, u64 *bytes) in ntfs_vbo_to_lbo() argument
1629 *lbo = lcn == SPARSE_LCN ? -1 : (((u64)lcn << cluster_bits) + off); in ntfs_vbo_to_lbo()