Lines Matching refs:vol

80 	ntfs_volume *vol;
517 bufpos = pos & ((alctx->vol->cluster_size << 3) - 1);
622 << alctx->vol->cluster_size_bits;
665 if (ntfs_bitmap_set_run(alctx->vol->lcnbmp_na,
671 << alctx->vol->cluster_size_bits;
706 ntfs_volume *vol;
713 vol = alctx->vol;
715 pos = vol->mft_zone_end;
716 br = vol->cluster_size;
719 && (br == vol->cluster_size)
720 && (pos < vol->nr_clusters)) {
721 br = ntfs_attr_pread(vol->lcnbmp_na,
722 (pos >> 3) & -vol->cluster_size,
723 vol->cluster_size, alctx->buf);
726 pos = (pos | ((vol->cluster_size << 3) - 1)) + 1;
731 br = vol->cluster_size;
734 && (br == vol->cluster_size)
735 && (pos < vol->mft_zone_start)) {
736 br = ntfs_attr_pread(vol->lcnbmp_na,
737 (pos >> 3) & -vol->cluster_size,
738 vol->cluster_size, alctx->buf);
741 pos = (pos | ((vol->cluster_size << 3) - 1)) + 1;
765 ntfs_volume *vol;
769 vol = na->ni->vol;
772 alctx->buf = (unsigned char*)ntfs_malloc(vol->cluster_size);
775 alctx->vol = vol;
781 + vol->cluster_size - 1)
782 >> vol->cluster_size_bits;
840 ntfs_volume *vol;
880 vol = utils_mount_volume(opts.device, flags);
881 if (!vol) {
886 if ((vol->flags & VOLUME_IS_DIRTY) && !opts.force)
889 NVolSetCompression(vol); /* allow compression */
890 if (ntfs_volume_get_free_space(vol)) {
920 out = ntfs_inode_open(vol, inode_num);
925 out = ntfs_pathname_to_inode(vol, NULL, unix_name);
929 out = ntfs_pathname_to_inode(vol, NULL, opts.dest_file);
957 dir_ni = ntfs_pathname_to_inode(vol, NULL,
962 dir_ni = ntfs_inode_open(vol, FILE_root);
1027 ni = ntfs_pathname_to_inode(vol, dir_ni, overwrite_filename);
1176 ntfs_umount(vol, FALSE);