Lines Matching refs:INDEX_ROOT
168 static inline NTFS_CMP_FUNC get_cmp_func(const struct INDEX_ROOT *root) in get_cmp_func()
878 const struct INDEX_ROOT *root = resident_data(attr); in indx_init()
881 if (t32 <= offsetof(struct INDEX_ROOT, ihdr) || in indx_init()
883 t32 - offsetof(struct INDEX_ROOT, ihdr))) { in indx_init()
994 struct INDEX_ROOT *indx_get_root(struct ntfs_index *indx, struct ntfs_inode *ni, in indx_get_root()
1000 struct INDEX_ROOT *root; in indx_get_root()
1010 root = resident_data_ex(a, sizeof(struct INDEX_ROOT)); in indx_get_root()
1014 offsetof(struct INDEX_ROOT, ihdr) + le32_to_cpu(root->ihdr.used) > in indx_get_root()
1138 const struct INDEX_ROOT *root, const void *key, size_t key_len, in indx_find()
1201 const struct INDEX_ROOT *root, struct NTFS_DE **entry, in indx_find_sort()
1311 const struct INDEX_ROOT *root, struct NTFS_DE **entry, in indx_find_raw()
1591 struct INDEX_ROOT *root, *a_root; in indx_insert_into_root()
1665 new_root_size = sizeof(struct INDEX_ROOT) + sizeof(struct NTFS_DE) + in indx_insert_into_root()
1686 cpu_to_le32(new_root_size - offsetof(struct INDEX_ROOT, ihdr)); in indx_insert_into_root()
1787 struct INDEX_ROOT *root, const struct NTFS_DE *new_de, in indx_insert_into_buffer()
1941 struct INDEX_ROOT *root; in indx_insert_entry()
2001 const struct INDEX_ROOT *root, in indx_find_buffer()
2259 struct INDEX_ROOT *root; in indx_delete_entry()
2604 sizeof(struct INDEX_ROOT) + sizeof(struct NTFS_DE); in indx_delete_entry()
2625 new_root_size - offsetof(struct INDEX_ROOT, ihdr)); in indx_delete_entry()
2649 struct INDEX_ROOT *root; in indx_update_dup()