Lines Matching refs:index_end
76 u8 *index_end; in ntfs_lookup_inode_by_name() local
115 index_end = (u8*)&ir->index + le32_to_cpu(ir->index.index_length); in ntfs_lookup_inode_by_name()
126 sizeof(INDEX_ENTRY_HEADER) > index_end || in ntfs_lookup_inode_by_name()
128 index_end) in ntfs_lookup_inode_by_name()
355 index_end = (u8*)ia + dir_ni->itype.index.block_size; in ntfs_lookup_inode_by_name()
356 if (index_end > kaddr + PAGE_SIZE) { in ntfs_lookup_inode_by_name()
364 index_end = (u8*)&ia->index + le32_to_cpu(ia->index.index_length); in ntfs_lookup_inode_by_name()
365 if (index_end > (u8*)ia + dir_ni->itype.index.block_size) { in ntfs_lookup_inode_by_name()
382 sizeof(INDEX_ENTRY_HEADER) > index_end || in ntfs_lookup_inode_by_name()
384 index_end) { in ntfs_lookup_inode_by_name()
629 u8 *index_end;
666 index_end = (u8*)&ir->index + le32_to_cpu(ir->index.index_length);
677 sizeof(INDEX_ENTRY_HEADER) > index_end ||
679 index_end)
833 index_end = (u8*)ia + dir_ni->itype.index.block_size;
834 if (index_end > kaddr + PAGE_SIZE) {
842 index_end = (u8*)&ia->index + le32_to_cpu(ia->index.index_length);
843 if (index_end > (u8*)ia + dir_ni->itype.index.block_size) {
860 sizeof(INDEX_ENTRY_HEADER) > index_end ||
862 index_end) {
1102 u8 *kaddr, *bmp, *index_end; in ntfs_readdir() local
1174 index_end = (u8*)&ir->index + le32_to_cpu(ir->index.index_length); in ntfs_readdir()
1187 sizeof(INDEX_ENTRY_HEADER) > index_end || in ntfs_readdir()
1189 index_end)) in ntfs_readdir()
1337 index_end = (u8*)ia + ndir->itype.index.block_size; in ntfs_readdir()
1338 if (unlikely(index_end > kaddr + PAGE_SIZE)) { in ntfs_readdir()
1347 index_end = (u8*)&ia->index + le32_to_cpu(ia->index.index_length); in ntfs_readdir()
1348 if (unlikely(index_end > (u8*)ia + ndir->itype.index.block_size)) { in ntfs_readdir()
1369 sizeof(INDEX_ENTRY_HEADER) > index_end || in ntfs_readdir()
1371 index_end)) in ntfs_readdir()