Lines Matching refs:ir
72 INDEX_ROOT *ir; in ntfs_lookup_inode_by_name() local
112 ir = (INDEX_ROOT*)((u8*)ctx->attr + in ntfs_lookup_inode_by_name()
114 index_end = (u8*)&ir->index + le32_to_cpu(ir->index.index_length); in ntfs_lookup_inode_by_name()
116 ie = (INDEX_ENTRY*)((u8*)&ir->index + in ntfs_lookup_inode_by_name()
117 le32_to_cpu(ir->index.entries_offset)); in ntfs_lookup_inode_by_name()
625 INDEX_ROOT *ir;
663 ir = (INDEX_ROOT*)((u8*)ctx->attr +
665 index_end = (u8*)&ir->index + le32_to_cpu(ir->index.index_length);
667 ie = (INDEX_ENTRY*)((u8*)&ir->index +
668 le32_to_cpu(ir->index.entries_offset));
1094 INDEX_ROOT *ir = NULL; in ntfs_readdir() local
1161 ir = kmalloc(rc, GFP_NOFS); in ntfs_readdir()
1162 if (unlikely(!ir)) { in ntfs_readdir()
1167 memcpy(ir, (u8*)ctx->attr + in ntfs_readdir()
1173 index_end = (u8*)&ir->index + le32_to_cpu(ir->index.index_length); in ntfs_readdir()
1175 ie = (INDEX_ENTRY*)((u8*)&ir->index + in ntfs_readdir()
1176 le32_to_cpu(ir->index.entries_offset)); in ntfs_readdir()
1183 ntfs_debug("In index root, offset 0x%zx.", (u8*)ie - (u8*)ir); in ntfs_readdir()
1185 if (unlikely((u8*)ie < (u8*)ir || (u8*)ie + in ntfs_readdir()
1194 if (ir_pos > (u8*)ie - (u8*)ir) in ntfs_readdir()
1197 actor->pos = (u8*)ie - (u8*)ir; in ntfs_readdir()
1201 kfree(ir); in ntfs_readdir()
1206 kfree(ir); in ntfs_readdir()
1207 ir = NULL; in ntfs_readdir()
1422 kfree(ir); in ntfs_readdir()