Lines Matching refs:vol

85  * @vol:
91 static ntfs_inode *__ntfs_inode_allocate(ntfs_volume *vol)
97 ni->vol = vol;
103 * @vol:
109 ntfs_inode *ntfs_inode_allocate(ntfs_volume *vol)
111 return __ntfs_inode_allocate(vol);
136 * @vol: volume to get the inode from
145 * volume @vol, and attach it to the ntfs_inode structure (->mrec). The
157 static ntfs_inode *ntfs_inode_real_open(ntfs_volume *vol, const MFT_REF mref)
167 if (!vol) {
171 ni = __ntfs_inode_allocate(vol);
174 if (ntfs_file_record_read(vol, mref, &ni->mrec, NULL))
244 l = ntfs_get_attribute_value(vol, ctx->attr, ni->attr_list);
441 void ntfs_inode_invalidate(ntfs_volume *vol, const MFT_REF mref)
449 ntfs_invalidate_cache(vol->nidata_cache,
465 ntfs_inode *ntfs_inode_open(ntfs_volume *vol, const MFT_REF mref)
477 cached = (struct CACHED_NIDATA*)ntfs_fetch_cache(vol->nidata_cache,
482 ntfs_remove_cache(vol->nidata_cache,
485 ni = ntfs_inode_real_open(vol, mref);
491 ni = ntfs_inode_real_open(vol, mref);
516 if (ni->vol && ni->vol->nidata_cache
537 ntfs_enter_cache(ni->vol->nidata_cache,
566 * volume @base_ni->vol, and attach it to the ntfs_inode structure (->mrec).
582 ntfs_volume *vol;
607 vol = base_ni->vol;
608 extent_vcn = mft_no << vol->mft_record_size_bits
609 >> vol->cluster_size_bits;
610 rl = vol->mft_na->rl;
651 ni = __ntfs_inode_allocate(base_ni->vol);
654 if (ntfs_file_record_read(base_ni->vol, le64_to_cpu(mref), &ni->mrec, NULL))
840 index_ni = ntfs_inode_open(ni->vol,
1030 if (ntfs_mft_record_write(ni->vol, ni->mft_no, ni->mrec)) {
1053 if (ntfs_mft_record_write(eni->vol, eni->mft_no,
1394 NVolReadOnly(ni->vol) || !mask)