Lines Matching refs:vol

136 	((scx)->vol->secure_flags & (1 << SECURITY_DEFAULT) \
275 static s64 ntfs_get_nr_free_mft_records(ntfs_volume *vol)
277 ntfs_attr *na = vol->mftbmp_na;
297 scx->vol = ctx->vol;
342 if (scx->vol->secure_flags & (1 << SECURITY_DEFAULT))
358 dir_ni2 = ntfs_pathname_to_inode(scx->vol,
378 ni2 = ntfs_pathname_to_inode(scx->vol, NULL,
427 dir_ni2 = ntfs_pathname_to_inode(scx->vol, NULL,
453 dir_ni = ntfs_pathname_to_inode(ctx->vol,
487 ntfs_volume *vol;
489 vol = ctx->vol;
490 if (!vol)
497 sfs->f_bsize = vol->cluster_size;
500 sfs->f_frsize = vol->cluster_size;
507 sfs->f_blocks = vol->nr_clusters;
510 size = vol->free_clusters;
516 delta_bits = vol->cluster_size_bits - vol->mft_record_size_bits;
523 sfs->f_files = (vol->mftbmp_na->allocated_size << 3) + size;
526 size += vol->free_mft_records;
598 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
622 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
643 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
664 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
694 && ((ctx->vol->nr_clusters << ctx->vol->cluster_size_bits)
821 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
1153 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
1311 ni = ntfs_inode_open(ctx->vol, mref);
1385 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
1439 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
1485 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
1574 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
1662 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
1748 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
1826 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
1944 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
1992 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
2035 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
2086 && ntfs_forbidden_names(ctx->vol,uname,uname_len,TRUE))) {
2099 dir_ni = ntfs_pathname_to_inode(ctx->vol, NULL, dir_path);
2259 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
2318 && ntfs_forbidden_names(ctx->vol,stream_name,
2376 ni = ntfs_pathname_to_inode(ctx->vol, NULL, old_path);
2388 && ntfs_forbidden_names(ctx->vol,uname,uname_len,TRUE))) {
2394 dir_ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
2464 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
2486 dir_ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
2512 if (ntfs_delete(ctx->vol, org_path, ni, dir_ni,
2537 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
2698 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
2724 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
2788 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
2849 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
2913 ret = ntfs_device_sync(ctx->vol->dev);
2931 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
2955 int cl_per_bl = ctx->vol->cluster_size / blocksize;
2957 if (blocksize > ctx->vol->cluster_size)
2963 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
3063 ni = ntfs_pathname_to_inode(ctx->vol,
3164 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
3221 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
3310 attr = ntfs_xattr_system_type(name,ctx->vol);
3345 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
3384 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
3470 attr = ntfs_xattr_system_type(name,ctx->vol);
3515 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
3567 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
3692 attr = ntfs_xattr_system_type(name,ctx->vol);
3755 ni = ntfs_pathname_to_inode(ctx->vol,
3809 ni = ntfs_pathname_to_inode(ctx->vol, NULL, path);
3914 if (!ctx->vol)
3919 ctx->vol->vol_name);
3935 if (ntfs_umount(ctx->vol, FALSE))
3938 ctx->vol = NULL;
4040 ctx->vol = ntfs_mount(device, flags);
4041 if (!ctx->vol) {
4045 if (ctx->sync && ctx->vol->dev)
4046 NDevSetSync(ctx->vol->dev);
4048 NVolSetCompression(ctx->vol);
4050 NVolClearCompression(ctx->vol);
4056 if (ntfs_set_shown_files(ctx->vol, ctx->show_sys_files,
4060 if (ntfs_volume_get_free_space(ctx->vol)) {
4065 ctx->vol->free_mft_records = ntfs_get_nr_free_mft_records(ctx->vol);
4066 if (ctx->vol->free_mft_records < 0) {
4071 if (ctx->hiberfile && ntfs_volume_check_hiberfile(ctx->vol, 0)) {
4230 u32 blksize = ctx->vol->cluster_size;
4321 ctx->vol->vol_name, ctx->vol->major_ver,
4322 ctx->vol->minor_ver);
4465 if (!ctx->ro && NVolReadOnly(ctx->vol)) {
4478 ctx->vol->abs_mnt_point = ctx->abs_mnt_point;
4479 ctx->security.vol = ctx->vol;
4480 ctx->vol->secure_flags = ctx->secure_flags;
4481 ctx->vol->special_files = ctx->special_files;
4483 ctx->vol->efs_raw = ctx->efs_raw;
4486 (ctx->vol->secure_flags
4489 && !(ctx->vol->secure_flags & (1 << SECURITY_WANTED)))) {
4492 if (ctx->vol->secure_flags & (1 << SECURITY_DEFAULT))
4505 if (!(ctx->vol->secure_flags
4511 ctx->vol->secure_flags |= (1 << SECURITY_DEFAULT);
4527 if ((ctx->vol->secure_flags & (1 << SECURITY_WANTED))
4528 && !(ctx->vol->secure_flags & (1 << SECURITY_DEFAULT))) {
4529 ctx->vol->secure_flags |= (1 << SECURITY_DEFAULT);
4535 if (ctx->vol->secure_flags & (1 << SECURITY_DEFAULT)) {
4536 ctx->vol->secure_flags |= (1 << SECURITY_RAW);
4539 ctx->vol->secure_flags &= ~(1 << SECURITY_RAW);
4547 xattr_mapping = ntfs_xattr_build_mapping(ctx->vol,
4549 ctx->vol->xattr_mapping = xattr_mapping;
4580 if ((ctx->vol->secure_flags & (1 << SECURITY_RAW))