Lines Matching refs:vol

91 		ntfs_error(ni->vol->sb, "Buffer I/O error, logical block "  in ntfs_end_buffer_async_read()
175 ntfs_volume *vol; in ntfs_read_block() local
186 vol = ni->vol; in ntfs_read_block()
191 blocksize = vol->sb->s_blocksize; in ntfs_read_block()
192 blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_read_block()
239 bh->b_bdev = vol->sb->s_bdev; in ntfs_read_block()
246 vol->cluster_size_bits; in ntfs_read_block()
248 vol->cluster_size_mask; in ntfs_read_block()
264 bh->b_blocknr = ((lcn << vol->cluster_size_bits) in ntfs_read_block()
306 ntfs_error(vol->sb, "Failed to read from inode 0x%lx, " in ntfs_read_block()
542 ntfs_volume *vol; in ntfs_write_block() local
553 vol = ni->vol; in ntfs_write_block()
560 blocksize = vol->sb->s_blocksize; in ntfs_write_block()
561 blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_write_block()
567 ntfs_warning(vol->sb, "Error allocating page " in ntfs_write_block()
684 ntfs_error(vol->sb, "Writing beyond initialized size " in ntfs_write_block()
699 bh->b_bdev = vol->sb->s_bdev; in ntfs_write_block()
703 vcn_ofs = vcn & vol->cluster_size_mask; in ntfs_write_block()
704 vcn >>= vol->cluster_size_bits; in ntfs_write_block()
720 bh->b_blocknr = ((lcn << vol->cluster_size_bits) + in ntfs_write_block()
751 ntfs_error(vol->sb, "Writing into sparse regions is " in ntfs_write_block()
787 ntfs_error(vol->sb, "Failed to write to inode 0x%lx, " in ntfs_write_block()
842 ntfs_warning(vol->sb, "Error allocating memory. " in ntfs_write_block()
908 ntfs_volume *vol = ni->vol; in ntfs_write_mst_block() local
936 bh_size = vol->sb->s_blocksize; in ntfs_write_mst_block()
937 bh_size_bits = vol->sb->s_blocksize_bits; in ntfs_write_mst_block()
1009 bh->b_bdev = vol->sb->s_bdev; in ntfs_write_mst_block()
1012 vcn_ofs = vcn & vol->cluster_size_mask; in ntfs_write_mst_block()
1013 vcn >>= vol->cluster_size_bits; in ntfs_write_mst_block()
1030 vol->cluster_size_bits) + in ntfs_write_mst_block()
1062 ntfs_error(vol->sb, "Cannot write ntfs record " in ntfs_write_mst_block()
1070 vol->mft_record_size_bits, in ntfs_write_mst_block()
1126 if (!ntfs_may_write_mft_record(vol, mft_no, in ntfs_write_mst_block()
1157 ntfs_error(vol->sb, "Failed to apply mst fixups " in ntfs_write_mst_block()
1204 ntfs_error(vol->sb, "I/O error while writing ntfs " in ntfs_write_mst_block()
1240 if (mft_no < vol->mftmirr_size) in ntfs_write_mst_block()
1241 ntfs_sync_mft_mirror(vol, mft_no, in ntfs_write_mst_block()
1291 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()