• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ntfs/

Lines Matching refs:vol

394 	ni->vol = NTFS_SB(sb);
477 ntfs_error(ctx->ntfs_ino->vol->sb, "Corrupt file name "
482 ntfs_error(ctx->ntfs_ino->vol->sb, "Non-resident file "
487 ntfs_error(ctx->ntfs_ino->vol->sb, "File name with "
493 ntfs_error(ctx->ntfs_ino->vol->sb, "Unindexed file "
509 ntfs_error(ctx->ntfs_ino->vol->sb, "Inode hard link count "
545 ntfs_volume *vol = NTFS_SB(vi->i_sb);
564 vi->i_uid = vol->uid;
565 vi->i_gid = vol->gid;
611 vi->i_mode &= ~vol->dmask;
618 vi->i_mode &= ~vol->fmask;
725 ni->attr_list_rl.rl = ntfs_mapping_pairs_decompress(vol,
735 if ((err = load_attribute_list(vol, &ni->attr_list_rl,
747 (u8*)ctx->mrec + vol->mft_record_size) {
786 ntfs_error(vol->sb, "$INDEX_ROOT attribute is not "
793 ntfs_error(vol->sb, "$INDEX_ROOT attribute name is "
818 if (ir_end > (u8*)ctx->mrec + vol->mft_record_size) {
869 if (vol->cluster_size <= ni->itype.index.block_size) {
870 ni->itype.index.vcn_size = vol->cluster_size;
871 ni->itype.index.vcn_size_bits = vol->cluster_size_bits;
873 ni->itype.index.vcn_size = vol->sector_size;
874 ni->itype.index.vcn_size_bits = vol->sector_size_bits;
923 ntfs_error(vol->sb, "$INDEX_ALLOCATION attribute name "
1036 if (vol->cluster_size > 4096) {
1043 vol->cluster_size);
1084 vol->cluster_size_bits);
1170 ntfs_error(vol->sb, "Failed with error code %i. Marking corrupt "
1174 NVolSetErrors(vol);
1202 ntfs_volume *vol = NTFS_SB(vi->i_sb);
1258 if (vol->cluster_size > 4096) {
1263 vol->cluster_size);
1318 ntfs_error(vol->sb, "Attribute name is placed after "
1347 ntfs_error(vol->sb, "Attribute name is placed after "
1366 vol->cluster_size_bits);
1421 ntfs_error(vol->sb, "Failed with error code %i while reading attribute "
1428 NVolSetErrors(vol);
1468 ntfs_volume *vol = NTFS_SB(vi->i_sb);
1516 ntfs_error(vol->sb, "$INDEX_ROOT attribute is not resident.");
1522 ntfs_error(vol->sb, "$INDEX_ROOT attribute name is placed "
1538 if (ir_end > (u8*)ctx->mrec + vol->mft_record_size) {
1577 if (vol->cluster_size <= ni->itype.index.block_size) {
1578 ni->itype.index.vcn_size = vol->cluster_size;
1579 ni->itype.index.vcn_size_bits = vol->cluster_size_bits;
1581 ni->itype.index.vcn_size = vol->sector_size;
1582 ni->itype.index.vcn_size_bits = vol->sector_size_bits;
1622 ntfs_error(vol->sb, "$INDEX_ALLOCATION attribute name is "
1711 NVolSetErrors(vol);
1755 ntfs_volume *vol = NTFS_SB(sb);
1782 ni->itype.index.block_size = vol->mft_record_size;
1783 ni->itype.index.block_size_bits = vol->mft_record_size_bits;
1786 vol->mft_ino = vi;
1789 if (vol->mft_record_size > 64 * 1024) {
1791 vol->mft_record_size);
1794 i = vol->mft_record_size;
1804 block = vol->mft_lcn << vol->cluster_size_bits >>
1806 nr_blocks = vol->mft_record_size >> sb->s_blocksize_bits;
1823 if (post_read_mst_fixup((NTFS_RECORD*)m, vol->mft_record_size)) {
1895 ni->attr_list_rl.rl = ntfs_mapping_pairs_decompress(vol,
1906 if ((err = load_attribute_list(vol, &ni->attr_list_rl,
1920 (u8*)ctx->mrec + vol->mft_record_size) {
2015 nrl = ntfs_mapping_pairs_decompress(vol, a, ni->runlist.rl);
2036 >> vol->cluster_size_bits;
2048 if ((vi->i_size >> vol->mft_record_size_bits) >=
2198 ntfs_error(ni->vol->sb, "Clearing dirty extent inode! "
2274 ntfs_volume *vol = NTFS_SB(mnt->mnt_sb);
2277 seq_printf(sf, ",uid=%i", vol->uid);
2278 seq_printf(sf, ",gid=%i", vol->gid);
2279 if (vol->fmask == vol->dmask)
2280 seq_printf(sf, ",umask=0%o", vol->fmask);
2282 seq_printf(sf, ",fmask=0%o", vol->fmask);
2283 seq_printf(sf, ",dmask=0%o", vol->dmask);
2285 seq_printf(sf, ",nls=%s", vol->nls_map->charset);
2286 if (NVolCaseSensitive(vol))
2288 if (NVolShowSystemFiles(vol))
2290 if (!NVolSparseEnabled(vol))
2293 if (on_errors_arr[i].val & vol->on_errors)
2296 seq_printf(sf, ",mft_zone_multiplier=%i", vol->mft_zone_multiplier);
2334 ntfs_volume *vol = ni->vol;
2398 new_alloc_size = (new_size + vol->cluster_size - 1) &
2399 ~(s64)vol->cluster_size_mask;
2431 err = ntfs_attr_size_bounds_check(vol, ni->type, new_size);
2434 ntfs_error(vol->sb, "Truncate would cause the "
2444 ntfs_error(vol->sb, "Inode 0x%lx has unknown "
2468 if (new_size < vol->mft_record_size &&
2536 ntfs_error(vol->sb, "Cannot truncate inode 0x%lx, attribute "
2547 ntfs_error(vol->sb, "Not enough space in the mft record/on "
2551 ntfs_error(vol->sb, "This attribute type may not be "
2561 old_alloc_size >> vol->cluster_size_bits >
2567 ntfs_error(vol->sb, "Cannot truncate inode 0x%lx, "
2642 vol->cluster_size_bits, -1, ctx);
2646 ntfs_error(vol->sb, "Failed to release cluster(s) (error code "
2649 NVolSetErrors(vol);
2653 err = ntfs_rl_truncate_nolock(vol, &ni->runlist,
2654 new_alloc_size >> vol->cluster_size_bits);
2662 ntfs_error(vol->sb, "Failed to %s (error code %li).%s",
2671 mp_size = ntfs_get_size_for_mapping_pairs(vol, ni->runlist.rl, 0, -1);
2673 ntfs_error(vol->sb, "Cannot shrink allocation of inode 0x%lx, "
2693 err = ntfs_mapping_pairs_build(vol, (u8*)a +
2697 ntfs_error(vol->sb, "Cannot shrink allocation of inode 0x%lx, "
2707 vol->cluster_size_bits) - 1);
2714 vol->cluster_size_bits;
2775 NVolSetErrors(vol);
2791 NVolSetErrors(vol);
3036 NVolSetErrors(ni->vol);