Lines Matching refs:vol

91 		ntfs_error(ni->vol->sb, "Buffer I/O error, logical block "  in ntfs_end_buffer_async_read()
172 ntfs_volume *vol; in ntfs_read_block() local
183 vol = ni->vol; in ntfs_read_block()
188 blocksize = vol->sb->s_blocksize; in ntfs_read_block()
189 blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_read_block()
236 bh->b_bdev = vol->sb->s_bdev; in ntfs_read_block()
243 vol->cluster_size_bits; in ntfs_read_block()
245 vol->cluster_size_mask; in ntfs_read_block()
261 bh->b_blocknr = ((lcn << vol->cluster_size_bits) in ntfs_read_block()
303 ntfs_error(vol->sb, "Failed to read from inode 0x%lx, " in ntfs_read_block()
540 ntfs_volume *vol; in ntfs_write_block() local
551 vol = ni->vol; in ntfs_write_block()
558 blocksize = vol->sb->s_blocksize; in ntfs_write_block()
559 blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_write_block()
565 ntfs_warning(vol->sb, "Error allocating page " in ntfs_write_block()
683 ntfs_error(vol->sb, "Writing beyond initialized size " in ntfs_write_block()
698 bh->b_bdev = vol->sb->s_bdev; in ntfs_write_block()
702 vcn_ofs = vcn & vol->cluster_size_mask; in ntfs_write_block()
703 vcn >>= vol->cluster_size_bits; in ntfs_write_block()
719 bh->b_blocknr = ((lcn << vol->cluster_size_bits) + in ntfs_write_block()
750 ntfs_error(vol->sb, "Writing into sparse regions is " in ntfs_write_block()
786 ntfs_error(vol->sb, "Failed to write to inode 0x%lx, " in ntfs_write_block()
841 ntfs_warning(vol->sb, "Error allocating memory. " in ntfs_write_block()
907 ntfs_volume *vol = ni->vol; in ntfs_write_mst_block() local
935 bh_size = vol->sb->s_blocksize; in ntfs_write_mst_block()
936 bh_size_bits = vol->sb->s_blocksize_bits; in ntfs_write_mst_block()
1008 bh->b_bdev = vol->sb->s_bdev; in ntfs_write_mst_block()
1011 vcn_ofs = vcn & vol->cluster_size_mask; in ntfs_write_mst_block()
1012 vcn >>= vol->cluster_size_bits; in ntfs_write_mst_block()
1029 vol->cluster_size_bits) + in ntfs_write_mst_block()
1061 ntfs_error(vol->sb, "Cannot write ntfs record " in ntfs_write_mst_block()
1069 vol->mft_record_size_bits, in ntfs_write_mst_block()
1125 if (!ntfs_may_write_mft_record(vol, mft_no, in ntfs_write_mst_block()
1156 ntfs_error(vol->sb, "Failed to apply mst fixups " in ntfs_write_mst_block()
1203 ntfs_error(vol->sb, "I/O error while writing ntfs " in ntfs_write_mst_block()
1239 if (mft_no < vol->mftmirr_size) in ntfs_write_mst_block()
1240 ntfs_sync_mft_mirror(vol, mft_no, in ntfs_write_mst_block()
1290 NVolSetErrors(vol); in ntfs_write_mst_block()
1514 NVolSetErrors(ni->vol); in ntfs_writepage()
1556 ntfs_volume *vol = ni->vol; in ntfs_bmap() local
1563 ntfs_error(vol->sb, "BMAP does not make sense for %s " in ntfs_bmap()
1573 blocksize = vol->sb->s_blocksize; in ntfs_bmap()
1574 blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_bmap()
1587 cluster_size_shift = vol->cluster_size_bits; in ntfs_bmap()
1609 ntfs_error(vol->sb, "Not enough memory to complete " in ntfs_bmap()
1614 ntfs_error(vol->sb, "Failed to complete mapping for " in ntfs_bmap()
1631 delta = ofs & vol->cluster_size_mask; in ntfs_bmap()
1637 ntfs_error(vol->sb, "Physical block 0x%llx is too " in ntfs_bmap()