Lines Matching refs:vol

106 		ntfs_error(ni->vol->sb, "Buffer I/O error, logical block "  in ntfs_end_buffer_async_read()
192 ntfs_volume *vol; in ntfs_read_block() local
203 vol = ni->vol; in ntfs_read_block()
208 blocksize = vol->sb->s_blocksize; in ntfs_read_block()
209 blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_read_block()
256 bh->b_bdev = vol->sb->s_bdev; in ntfs_read_block()
263 vol->cluster_size_bits; in ntfs_read_block()
265 vol->cluster_size_mask; in ntfs_read_block()
281 bh->b_blocknr = ((lcn << vol->cluster_size_bits) in ntfs_read_block()
323 ntfs_error(vol->sb, "Failed to read from inode 0x%lx, " in ntfs_read_block()
559 ntfs_volume *vol; in ntfs_write_block() local
570 vol = ni->vol; in ntfs_write_block()
577 blocksize = vol->sb->s_blocksize; in ntfs_write_block()
578 blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_write_block()
584 ntfs_warning(vol->sb, "Error allocating page " in ntfs_write_block()
701 ntfs_error(vol->sb, "Writing beyond initialized size " in ntfs_write_block()
716 bh->b_bdev = vol->sb->s_bdev; in ntfs_write_block()
720 vcn_ofs = vcn & vol->cluster_size_mask; in ntfs_write_block()
721 vcn >>= vol->cluster_size_bits; in ntfs_write_block()
737 bh->b_blocknr = ((lcn << vol->cluster_size_bits) + in ntfs_write_block()
768 ntfs_error(vol->sb, "Writing into sparse regions is " in ntfs_write_block()
804 ntfs_error(vol->sb, "Failed to write to inode 0x%lx, " in ntfs_write_block()
859 ntfs_warning(vol->sb, "Error allocating memory. " in ntfs_write_block()
925 ntfs_volume *vol = ni->vol; in ntfs_write_mst_block() local
950 bh_size = vol->sb->s_blocksize; in ntfs_write_mst_block()
951 bh_size_bits = vol->sb->s_blocksize_bits; in ntfs_write_mst_block()
1023 bh->b_bdev = vol->sb->s_bdev; in ntfs_write_mst_block()
1026 vcn_ofs = vcn & vol->cluster_size_mask; in ntfs_write_mst_block()
1027 vcn >>= vol->cluster_size_bits; in ntfs_write_mst_block()
1044 vol->cluster_size_bits) + in ntfs_write_mst_block()
1076 ntfs_error(vol->sb, "Cannot write ntfs record " in ntfs_write_mst_block()
1084 vol->mft_record_size_bits, in ntfs_write_mst_block()
1140 if (!ntfs_may_write_mft_record(vol, mft_no, in ntfs_write_mst_block()
1171 ntfs_error(vol->sb, "Failed to apply mst fixups " in ntfs_write_mst_block()
1218 ntfs_error(vol->sb, "I/O error while writing ntfs " in ntfs_write_mst_block()
1254 if (mft_no < vol->mftmirr_size) in ntfs_write_mst_block()
1255 ntfs_sync_mft_mirror(vol, mft_no, in ntfs_write_mst_block()
1305 NVolSetErrors(vol); in ntfs_write_mst_block()
1528 NVolSetErrors(ni->vol); in ntfs_writepage()
1570 ntfs_volume *vol = ni->vol; in ntfs_bmap() local
1577 ntfs_error(vol->sb, "BMAP does not make sense for %s " in ntfs_bmap()
1587 blocksize = vol->sb->s_blocksize; in ntfs_bmap()
1588 blocksize_bits = vol->sb->s_blocksize_bits; in ntfs_bmap()
1601 cluster_size_shift = vol->cluster_size_bits; in ntfs_bmap()
1623 ntfs_error(vol->sb, "Not enough memory to complete " in ntfs_bmap()
1628 ntfs_error(vol->sb, "Failed to complete mapping for " in ntfs_bmap()
1645 delta = ofs & vol->cluster_size_mask; in ntfs_bmap()
1651 ntfs_error(vol->sb, "Physical block 0x%llx is too " in ntfs_bmap()