Lines Matching defs:vol

715  * @vol: ntfs volume
731 struct runlist_element *ntfs_mapping_pairs_decompress(const struct ntfs_volume *vol,
749 ntfs_error(vol->sb, "Invalid arguments.");
756 ntfs_error(vol->sb, "Invalid lowest_vcn in mapping pairs.");
767 ntfs_error(vol->sb, "Corrupt attribute.");
819 ntfs_error(vol->sb, "Missing length entry in mapping pairs array.");
827 ntfs_error(vol->sb, "Invalid length in mapping pairs array.");
842 ntfs_error(vol->sb, "VCN overflow in mapping pairs array.");
872 if (vol->major_ver < 3) {
874 ntfs_error(vol->sb, "lcn delta == -1");
876 ntfs_error(vol->sb, "lcn == -1");
881 ntfs_error(vol->sb, "Invalid s64 < -1 in mapping pairs array.");
887 ntfs_error(vol->sb,
911 ntfs_error(vol->sb, "Corrupt mapping pairs array in non-resident attribute.");
919 vol->cluster_size - 1) >>
920 vol->cluster_size_bits) - 1;
941 ntfs_error(vol->sb,
966 ntfs_error(vol->sb, "Failed to merge runlists.");
969 ntfs_error(vol->sb, "Corrupt attribute.");
1095 * @vol: ntfs volume
1116 int ntfs_get_size_for_mapping_pairs(const struct ntfs_volume *vol,
1174 if (likely(rl->lcn >= 0 || vol->major_ver < 3)) {
1210 if (likely(rl->lcn >= 0 || vol->major_ver < 3)) {
1282 * @vol: ntfs volume
1320 int ntfs_mapping_pairs_build(const struct ntfs_volume *vol, s8 *dst,
1387 if (likely(rl->lcn >= 0 || vol->major_ver < 3)) {
1436 if (likely(rl->lcn >= 0 || vol->major_ver < 3)) {
1479 * @vol: ntfs volume (needed for error output)
1501 int ntfs_rl_truncate_nolock(const struct ntfs_volume *vol, struct runlist *const runlist,
1555 ntfs_warning(vol->sb,
1576 ntfs_error(vol->sb, "Failed to expand runlist buffer, aborting.");
1629 * @vol: ntfs volume (need for cluster size)
1634 s64 ntfs_rl_get_compressed_size(struct ntfs_volume *vol, struct runlist_element *rl)
1645 ntfs_error(vol->sb, "%s: bad runlist, rlc->lcn : %lld",
1652 return NTFS_CLU_TO_B(vol, ret);