/fs/ntfs/ |
H A D | usnjrnl.c | 39 * @vol: ntfs volume on which to stamp the transaction log 41 * Stamp the transaction log ($UsnJrnl) on the ntfs volume @vol and return 47 bool ntfs_stamp_usnjrnl(ntfs_volume *vol) argument 50 if (likely(!NVolUsnJrnlStamped(vol))) { 55 page = ntfs_map_page(vol->usnjrnl_max_ino->i_mapping, 0); 57 ntfs_error(vol->sb, "Failed to read from " 70 i_size_read(vol->usnjrnl_j_ino)); 72 cpu_to_sle64(i_size_read(vol->usnjrnl_j_ino)); 78 NVolSetUsnJrnlStamped(vol);
|
H A D | quota.c | 32 * @vol: ntfs volume on which to mark the quotas out of date 34 * Mark the quotas out of date on the ntfs volume @vol and return 'true' on 37 bool ntfs_mark_quotas_out_of_date(ntfs_volume *vol) argument 45 if (NVolQuotaOutOfDate(vol)) 47 if (!vol->quota_ino || !vol->quota_q_ino) { 48 ntfs_error(vol->sb, "Quota inodes are not open."); 51 mutex_lock(&vol->quota_q_ino->i_mutex); 52 ictx = ntfs_index_ctx_get(NTFS_I(vol->quota_q_ino)); 54 ntfs_error(vol [all...] |
H A D | collate.c | 26 static int ntfs_collate_binary(ntfs_volume *vol, argument 44 static int ntfs_collate_ntofs_ulong(ntfs_volume *vol, argument 87 * @vol: ntfs volume to which the data items belong 101 int ntfs_collate(ntfs_volume *vol, COLLATION_RULE cr, argument 115 return ntfs_do_collate0x0[i](vol, data1, data1_len, 120 return ntfs_do_collate0x1[i](vol, data1, data1_len,
|
H A D | lcnalloc.h | 43 extern runlist_element *ntfs_cluster_alloc(ntfs_volume *vol, 113 extern int ntfs_cluster_free_from_rl_nolock(ntfs_volume *vol, 118 * @vol: mounted ntfs volume on which to free the clusters 121 * Free all the clusters described by the runlist @rl on the volume @vol. In 132 static inline int ntfs_cluster_free_from_rl(ntfs_volume *vol, argument 137 down_write(&vol->lcnbmp_lock); 138 ret = ntfs_cluster_free_from_rl_nolock(vol, rl); 139 up_write(&vol->lcnbmp_lock);
|
H A D | index.c | 124 ntfs_volume *vol = idx_ni->vol; local 125 struct super_block *sb = vol->sb; 227 rc = ntfs_collate(vol, idx_ni->itype.index.collation_rule, key, 390 rc = ntfs_collate(vol, idx_ni->itype.index.collation_rule, key, 429 if (old_vcn << vol->cluster_size_bits >> 431 vol->cluster_size_bits >>
|
H A D | namei.c | 106 ntfs_volume *vol = NTFS_SB(dir_ino->i_sb); local 117 uname_len = ntfs_nlstoucs(vol, dent->d_name.name, dent->d_name.len, 121 ntfs_error(vol->sb, "Failed to convert name to " 131 dent_inode = ntfs_iget(vol->sb, dent_ino); 148 ntfs_error(vol->sb, "Found stale reference to inode " 157 ntfs_error(vol->sb, "ntfs_iget(0x%lx) failed with " 172 ntfs_error(vol->sb, "ntfs_lookup_ino_by_name() failed with error " 187 nls_name.len = (unsigned)ntfs_ucstonls(vol, 218 ntfs_error(vol->sb, "Inode corrupt: No WIN32 " 241 nls_name.len = (unsigned)ntfs_ucstonls(vol, [all...] |
H A D | dir.c | 83 ntfs_volume *vol = dir_ni->vol; local 84 struct super_block *sb = vol->sb; 159 CASE_SENSITIVE, vol->upcase, vol->upcase_len)) { 204 if (!NVolCaseSensitive(vol) && 209 IGNORE_CASE, vol->upcase, vol->upcase_len)) { 250 IGNORE_CASE, vol->upcase, vol 1025 ntfs_filldir(ntfs_volume *vol, ntfs_inode *ndir, struct page *ia_page, INDEX_ENTRY *ie, u8 *name, struct dir_context *actor) argument 1106 ntfs_volume *vol = NTFS_SB(sb); local [all...] |
H A D | inode.h | 56 ntfs_volume *vol; /* Pointer to the ntfs volume of this inode. */ member in struct:_ntfs_inode
|
H A D | lcnalloc.c | 38 * @vol: mounted ntfs volume on which to free the clusters 41 * Free all the clusters described by the runlist @rl on the volume @vol. In 50 int ntfs_cluster_free_from_rl_nolock(ntfs_volume *vol, argument 53 struct inode *lcnbmp_vi = vol->lcnbmp_ino; 74 * @vol: mounted ntfs volume on which to allocate the clusters 83 * @vol. @zone is either DATA_ZONE for allocation of normal clusters or 146 runlist_element *ntfs_cluster_alloc(ntfs_volume *vol, const VCN start_vcn, argument 168 BUG_ON(!vol); 169 lcnbmp_vi = vol->lcnbmp_ino; 181 down_write(&vol 853 ntfs_volume *vol; local [all...] |
H A D | logfile.c | 488 ntfs_volume *vol = NTFS_SB(log_vi->i_sb); local 500 if (NVolLogFileEmpty(vol)) 530 ntfs_error(vol->sb, "$LogFile is too small."); 548 ntfs_error(vol->sb, "Error mapping $LogFile " 616 NVolSetLogFileEmpty(vol); 623 ntfs_error(vol->sb, "Did not find any restart pages in " 681 ntfs_volume *vol = NTFS_SB(log_vi->i_sb); local 686 if (NVolLogFileEmpty(vol)) { 693 ntfs_error(vol->sb, "Restart page buffer is invalid. This is " 730 ntfs_volume *vol local [all...] |
H A D | unistr.c | 238 * @vol: ntfs volume which we are working with 259 int ntfs_nlstoucs(const ntfs_volume *vol, const char *ins, argument 262 struct nls_table *nls = vol->nls_map; 289 ntfs_error(vol->sb, "Failed to allocate buffer for converted " 293 ntfs_error(vol->sb, "Received NULL pointer."); 298 ntfs_error(vol->sb, "Name using character set %s contains " 303 ntfs_error(vol->sb, "Name is too long (maximum length for a " 313 * @vol: ntfs volume which we are working with 336 int ntfs_ucstonls(const ntfs_volume *vol, const ntfschar *ins, argument 339 struct nls_table *nls = vol [all...] |
H A D | aops.c | 106 ntfs_error(ni->vol->sb, "Buffer I/O error, logical block " 192 ntfs_volume *vol; local 203 vol = ni->vol; 208 blocksize = vol->sb->s_blocksize; 209 blocksize_bits = vol->sb->s_blocksize_bits; 256 bh->b_bdev = vol->sb->s_bdev; 263 vol->cluster_size_bits; 265 vol->cluster_size_mask; 281 bh->b_blocknr = ((lcn << vol 559 ntfs_volume *vol; local 925 ntfs_volume *vol = ni->vol; local 1570 ntfs_volume *vol = ni->vol; local [all...] |
H A D | attrib.c | 123 ni->vol->cluster_size_bits; 187 rl = ntfs_mapping_pairs_decompress(ni->vol, a, ni->runlist.rl); 402 ntfs_error(ni->vol->sb, "Failed with error code %lli.", 528 ntfs_error(ni->vol->sb, "Failed with error code %i.", err); 594 ntfs_volume *vol = ctx->ntfs_ino->vol; local 595 ntfschar *upcase = vol->upcase; 596 u32 upcase_len = vol->upcase_len; 689 ntfs_error(vol->sb, "Inode is corrupt. Run chkdsk."); 690 NVolSetErrors(vol); 710 load_attribute_list(ntfs_volume *vol, runlist *runlist, u8 *al_start, const s64 size, const s64 initialized_size) argument 863 ntfs_volume *vol; local 1306 ntfs_attr_find_in_attrdef(const ntfs_volume *vol, const ATTR_TYPE type) argument 1342 ntfs_attr_size_bounds_check(const ntfs_volume *vol, const ATTR_TYPE type, const s64 size) argument 1378 ntfs_attr_can_be_non_resident(const ntfs_volume *vol, const ATTR_TYPE type) argument 1410 ntfs_attr_can_be_resident(const ntfs_volume *vol, const ATTR_TYPE type) argument 1539 ntfs_volume *vol = ni->vol; local 1910 ntfs_volume *vol = ni->vol; local 2495 ntfs_volume *vol = ni->vol; local [all...] |
H A D | compress.c | 488 ntfs_volume *vol = ni->vol; local 489 struct super_block *sb = vol->sb; 502 vol->cluster_size_bits; 508 & ~cb_size_mask) >> vol->cluster_size_bits; 510 unsigned int nr_cbs = (end_vcn - start_vcn) << vol->cluster_size_bits 518 vol->cluster_size_bits >> PAGE_CACHE_SHIFT; 544 ntfs_error(vol->sb, "Failed to allocate internal buffers."); 552 offset = start_vcn << vol->cluster_size_bits >> PAGE_CACHE_SHIFT; 650 block = lcn << vol [all...] |
H A D | inode.c | 401 ni->vol = NTFS_SB(sb); 484 ntfs_error(ctx->ntfs_ino->vol->sb, "Corrupt file name " 489 ntfs_error(ctx->ntfs_ino->vol->sb, "Non-resident file " 494 ntfs_error(ctx->ntfs_ino->vol->sb, "File name with " 500 ntfs_error(ctx->ntfs_ino->vol->sb, "Unindexed file " 516 ntfs_error(ctx->ntfs_ino->vol->sb, "Inode hard link count " 552 ntfs_volume *vol = NTFS_SB(vi->i_sb); local 571 vi->i_uid = vol->uid; 572 vi->i_gid = vol->gid; 634 vi->i_mode &= ~vol 1229 ntfs_volume *vol = NTFS_SB(vi->i_sb); local 1496 ntfs_volume *vol = NTFS_SB(vi->i_sb); local 1781 ntfs_volume *vol = NTFS_SB(sb); local 2315 ntfs_volume *vol = NTFS_SB(root->d_sb); local 2370 ntfs_volume *vol = ni->vol; local [all...] |
H A D | mft.c | 50 ntfs_volume *vol = ni->vol; local 51 struct inode *mft_vi = vol->mft_ino; 63 index = (u64)ni->mft_no << vol->mft_record_size_bits >> 65 ofs = (ni->mft_no << vol->mft_record_size_bits) & ~PAGE_CACHE_MASK; 74 vol->mft_record_size) { 76 ntfs_error(vol->sb, "Attempt to read mft record 0x%lx, " 93 ntfs_error(vol->sb, "Mft record 0x%lx is corrupt. " 97 NVolSetErrors(vol); 173 ntfs_error(ni->vol 438 ntfs_sync_mft_mirror_umount(ntfs_volume *vol, const unsigned long mft_no, MFT_RECORD *m) argument 465 ntfs_sync_mft_mirror(ntfs_volume *vol, const unsigned long mft_no, MFT_RECORD *m, int sync) argument 671 ntfs_volume *vol = ni->vol; local 925 ntfs_may_write_mft_record(ntfs_volume *vol, const unsigned long mft_no, const MFT_RECORD *m, ntfs_inode **locked_ni) argument 1131 ntfs_mft_bitmap_find_and_alloc_free_rec_nolock(ntfs_volume *vol, ntfs_inode *base_ni) argument 1278 ntfs_mft_bitmap_extend_allocation_nolock(ntfs_volume *vol) argument 1577 ntfs_mft_bitmap_extend_initialized_nolock(ntfs_volume *vol) argument 1714 ntfs_mft_data_extend_allocation_nolock(ntfs_volume *vol) argument 2012 ntfs_mft_record_layout(const ntfs_volume *vol, const s64 mft_no, MFT_RECORD *m) argument 2091 ntfs_mft_record_format(const ntfs_volume *vol, const s64 mft_no) argument 2243 ntfs_mft_record_alloc(ntfs_volume *vol, const int mode, ntfs_inode *base_ni, MFT_RECORD **mrec) argument 2787 ntfs_volume *vol = ni->vol; local [all...] |
H A D | runlist.c | 723 * @vol: ntfs volume on which the attribute resides 749 runlist_element *ntfs_mapping_pairs_decompress(const ntfs_volume *vol, argument 767 ntfs_error(vol->sb, "Invalid arguments."); 779 ntfs_error(vol->sb, "Corrupt attribute."); 833 ntfs_error(vol->sb, "Missing length entry in mapping " 842 ntfs_error(vol->sb, "Invalid length in mapping pairs " 878 if (vol->major_ver < 3) { 880 ntfs_error(vol->sb, "lcn delta == -1"); 882 ntfs_error(vol->sb, "lcn == -1"); 887 ntfs_error(vol 1131 ntfs_get_size_for_mapping_pairs(const ntfs_volume *vol, const runlist_element *rl, const VCN first_vcn, const VCN last_vcn) argument 1323 ntfs_mapping_pairs_build(const ntfs_volume *vol, s8 *dst, const int dst_len, const runlist_element *rl, const VCN first_vcn, const VCN last_vcn, VCN *const stop_vcn) argument 1499 ntfs_rl_truncate_nolock(const ntfs_volume *vol, runlist *const runlist, const s64 new_length) argument 1644 ntfs_rl_punch_nolock(const ntfs_volume *vol, runlist *const runlist, const VCN start, const s64 length) argument [all...] |
H A D | file.c | 489 ntfs_volume *vol; local 513 vol = ni->vol; 518 blocksize = vol->sb->s_blocksize; 519 blocksize_bits = vol->sb->s_blocksize_bits; 541 cpos = pos >> vol->cluster_size_bits; 543 cend = (end + vol->cluster_size - 1) >> vol->cluster_size_bits; 562 bh_cpos = bh_pos >> vol->cluster_size_bits; 563 bh_cofs = bh_pos & vol 1787 ntfs_volume *vol = ni->vol; local [all...] |
H A D | super.c | 96 * @vol: ntfs volume 99 * Parse the recognized options in @opt for the ntfs volume described by @vol. 101 static bool parse_options(ntfs_volume *vol, char *opt) argument 206 ntfs_warning(vol->sb, "Ignoring obsolete option %s.", 210 ntfs_warning(vol->sb, "Option iocharset is " 221 ntfs_error(vol->sb, "NLS character set " 225 ntfs_error(vol->sb, "NLS character set %s not " 234 ntfs_warning(vol->sb, "Option utf8 is no longer " 248 ntfs_error(vol->sb, "Unrecognized mount option %s.", p); 261 ntfs_warning(vol 375 ntfs_write_volume_flags(ntfs_volume *vol, const VOLUME_FLAGS flags) argument 430 ntfs_set_volume_flags(ntfs_volume *vol, VOLUME_FLAGS flags) argument 445 ntfs_clear_volume_flags(ntfs_volume *vol, VOLUME_FLAGS flags) argument 468 ntfs_volume *vol = NTFS_SB(sb); local 766 parse_ntfs_boot_sector(ntfs_volume *vol, const NTFS_BOOT_SECTOR *b) argument 948 ntfs_setup_allocators(ntfs_volume *vol) argument 1034 load_and_init_mft_mirror(ntfs_volume *vol) argument 1087 check_mft_mirror(ntfs_volume *vol) argument 1216 load_and_check_logfile(ntfs_volume *vol, RESTART_PAGE_HEADER **rp) argument 1266 check_windows_hibernation_status(ntfs_volume *vol) argument 1363 load_and_init_quota(ntfs_volume *vol) argument 1439 load_and_init_usnjrnl(ntfs_volume *vol) argument 1592 load_and_init_attrdef(ntfs_volume *vol) argument 1657 load_and_init_upcase(ntfs_volume *vol) argument 1772 load_system_files(ntfs_volume *vol) argument 2274 ntfs_volume *vol = NTFS_SB(sb); local 2469 get_nr_free_clusters(ntfs_volume *vol) argument 2549 __get_nr_free_mft_records(ntfs_volume *vol, s64 nr_free, const pgoff_t max_index) argument 2619 ntfs_volume *vol = NTFS_SB(sb); local 2723 ntfs_volume *vol; local [all...] |
/fs/afs/ |
H A D | super.c | 73 { afs_opt_vol, "vol=%s" }, 359 struct afs_volume *vol; local 394 vol = afs_volume_lookup(¶ms); 395 if (IS_ERR(vol)) { 396 ret = PTR_ERR(vol); 404 afs_put_volume(vol); 407 as->volume = vol; 413 afs_put_volume(vol); 431 afs_put_volume(vol);
|
/fs/cifs/ |
H A D | dir.c | 49 cifs_build_path_to_root(struct smb_vol *vol, struct cifs_sb_info *cifs_sb, argument 52 int pplen = vol->prepath ? strlen(vol->prepath) + 1 : 0; 74 strncpy(full_path + dfsplen + 1, vol->prepath, pplen);
|
H A D | cifsfs.c | 591 cifs_get_root(struct smb_vol *vol, struct super_block *sb) argument 599 full_path = cifs_build_path_to_root(vol, cifs_sb, 692 mnt_data.vol = volume_info;
|
/fs/affs/ |
H A D | super.c | 275 char *vol = match_strdup(&args[0]); local 276 if (!vol) 278 strlcpy(volume, vol, 32); 279 kfree(vol);
|
/fs/ubifs/ |
H A D | super.c | 1911 int dev, vol; local 1938 vol = simple_strtoul(endptr + 1, &endptr, 0); 1941 return ubi_open_volume(dev, vol, mode);
|
/fs/btrfs/ |
H A D | super.c | 1877 struct btrfs_ioctl_vol_args *vol; local 1884 vol = memdup_user((void __user *)arg, sizeof(*vol)); 1885 if (IS_ERR(vol)) 1886 return PTR_ERR(vol); 1890 ret = btrfs_scan_one_device(vol->name, FMODE_READ, 1894 ret = btrfs_scan_one_device(vol->name, FMODE_READ, 1902 kfree(vol);
|