Lines Matching full:ie
115 INDEX_ENTRY *ie; in ntfs_index_lookup() local
165 ie = (INDEX_ENTRY*)((u8*)&ir->index + in ntfs_index_lookup()
171 for (;; ie = (INDEX_ENTRY*)((u8*)ie + le16_to_cpu(ie->length))) { in ntfs_index_lookup()
173 if ((u8*)ie < (u8*)actx->mrec || (u8*)ie + in ntfs_index_lookup()
175 (u8*)ie + le16_to_cpu(ie->length) > index_end) in ntfs_index_lookup()
181 if (ie->flags & INDEX_ENTRY_END) in ntfs_index_lookup()
185 le16_to_cpu(ie->key_length) > in ntfs_index_lookup()
186 le16_to_cpu(ie->data.vi.data_offset) || in ntfs_index_lookup()
187 (u32)le16_to_cpu(ie->data.vi.data_offset) + in ntfs_index_lookup()
188 le16_to_cpu(ie->data.vi.data_length) > in ntfs_index_lookup()
189 le16_to_cpu(ie->length)) in ntfs_index_lookup()
192 if ((key_len == le16_to_cpu(ie->key_length)) && !memcmp(key, in ntfs_index_lookup()
193 &ie->key, key_len)) { in ntfs_index_lookup()
202 ictx->entry = ie; in ntfs_index_lookup()
203 ictx->data = (u8*)ie + in ntfs_index_lookup()
204 le16_to_cpu(ie->data.vi.data_offset); in ntfs_index_lookup()
205 ictx->data_len = le16_to_cpu(ie->data.vi.data_length); in ntfs_index_lookup()
214 key_len, &ie->key, le16_to_cpu(ie->key_length)); in ntfs_index_lookup()
235 if (!(ie->flags & INDEX_ENTRY_NODE)) { in ntfs_index_lookup()
248 vcn = sle64_to_cpup((sle64*)((u8*)ie + le16_to_cpu(ie->length) - 8)); in ntfs_index_lookup()
328 ie = (INDEX_ENTRY*)((u8*)&ia->index + in ntfs_index_lookup()
335 for (;; ie = (INDEX_ENTRY*)((u8*)ie + le16_to_cpu(ie->length))) { in ntfs_index_lookup()
337 if ((u8*)ie < (u8*)ia || (u8*)ie + in ntfs_index_lookup()
339 (u8*)ie + le16_to_cpu(ie->length) > index_end) { in ntfs_index_lookup()
348 if (ie->flags & INDEX_ENTRY_END) in ntfs_index_lookup()
352 le16_to_cpu(ie->key_length) > in ntfs_index_lookup()
353 le16_to_cpu(ie->data.vi.data_offset) || in ntfs_index_lookup()
354 (u32)le16_to_cpu(ie->data.vi.data_offset) + in ntfs_index_lookup()
355 le16_to_cpu(ie->data.vi.data_length) > in ntfs_index_lookup()
356 le16_to_cpu(ie->length)) { in ntfs_index_lookup()
362 if ((key_len == le16_to_cpu(ie->key_length)) && !memcmp(key, in ntfs_index_lookup()
363 &ie->key, key_len)) { in ntfs_index_lookup()
377 key_len, &ie->key, le16_to_cpu(ie->key_length)); in ntfs_index_lookup()
397 if (!(ie->flags & INDEX_ENTRY_NODE)) { in ntfs_index_lookup()
409 vcn = sle64_to_cpup((sle64*)((u8*)ie + le16_to_cpu(ie->length) - 8)); in ntfs_index_lookup()