Lines Matching refs:dir_ni
41 * @dir_ni: ntfs inode of the directory in which to search for the name
46 * Look for an inode with name @uname in the directory with inode @dir_ni.
80 MFT_REF ntfs_lookup_inode_by_name(ntfs_inode *dir_ni, const ntfschar *uname,
83 ntfs_volume *vol = dir_ni->vol;
99 BUG_ON(!S_ISDIR(VFS_I(dir_ni)->i_mode));
100 BUG_ON(NInoAttr(dir_ni));
102 m = map_mft_record(dir_ni);
108 ctx = ntfs_attr_get_search_ctx(dir_ni, m);
120 dir_ni->mft_no);
191 unmap_mft_record(dir_ni);
290 unmap_mft_record(dir_ni);
298 if (!NInoIndexAllocPresent(dir_ni)) {
301 "corrupt or driver bug.", dir_ni->mft_no);
306 ia_mapping = VFS_I(dir_ni)->i_mapping;
312 unmap_mft_record(dir_ni);
322 dir_ni->itype.index.vcn_size_bits >> PAGE_CACHE_SHIFT);
334 dir_ni->itype.index.vcn_size_bits) & ~PAGE_CACHE_MASK));
338 "inode 0x%lx or driver bug.", dir_ni->mft_no);
345 (unsigned long long)vcn, dir_ni->mft_no);
354 (unsigned long long)vcn, dir_ni->mft_no);
358 dir_ni->itype.index.block_size) {
363 (unsigned long long)vcn, dir_ni->mft_no,
365 dir_ni->itype.index.block_size);
368 index_end = (u8*)ia + dir_ni->itype.index.block_size;
374 dir_ni->mft_no);
378 if (index_end > (u8*)ia + dir_ni->itype.index.block_size) {
381 (unsigned long long)vcn, dir_ni->mft_no);
400 dir_ni->mft_no);
551 dir_ni->mft_no);
571 "0x%lx.", dir_ni->mft_no);
595 unmap_mft_record(dir_ni);