Lines Matching refs:dx_entry
185 struct dx_entry struct
212 struct dx_entry entries[0];
218 struct dx_entry entries[0];
225 struct dx_entry *entries;
226 struct dx_entry *at;
244 static inline ext4_lblk_t dx_get_block(struct dx_entry *entry);
245 static void dx_set_block(struct dx_entry *entry, ext4_lblk_t value);
246 static inline unsigned dx_get_hash(struct dx_entry *entry);
247 static void dx_set_hash(struct dx_entry *entry, unsigned value);
248 static unsigned dx_get_count(struct dx_entry *entries);
249 static unsigned dx_get_limit(struct dx_entry *entries);
250 static void dx_set_count(struct dx_entry *entries, unsigned value);
251 static void dx_set_limit(struct dx_entry *entries, unsigned value);
426 size = count_offset + (count * sizeof(struct dx_entry)); in ext4_dx_csum()
453 if (count_offset + (limit * sizeof(struct dx_entry)) > in ext4_dx_csum_verify()
458 t = (struct dx_tail *)(((struct dx_entry *)c) + limit); in ext4_dx_csum_verify()
482 if (count_offset + (limit * sizeof(struct dx_entry)) > in ext4_dx_csum_set()
487 t = (struct dx_tail *)(((struct dx_entry *)c) + limit); in ext4_dx_csum_set()
515 static inline ext4_lblk_t dx_get_block(struct dx_entry *entry) in dx_get_block()
520 static inline void dx_set_block(struct dx_entry *entry, ext4_lblk_t value) in dx_set_block()
525 static inline unsigned dx_get_hash(struct dx_entry *entry) in dx_get_hash()
530 static inline void dx_set_hash(struct dx_entry *entry, unsigned value) in dx_set_hash()
535 static inline unsigned dx_get_count(struct dx_entry *entries) in dx_get_count()
540 static inline unsigned dx_get_limit(struct dx_entry *entries) in dx_get_limit()
545 static inline void dx_set_count(struct dx_entry *entries, unsigned value) in dx_set_count()
550 static inline void dx_set_limit(struct dx_entry *entries, unsigned value) in dx_set_limit()
562 return entry_space / sizeof(struct dx_entry); in dx_root_limit()
571 return entry_space / sizeof(struct dx_entry); in dx_node_limit()
578 static void dx_show_index(char * label, struct dx_entry *entries) in dx_show_index()
686 struct dx_entry *entries, int levels) in dx_show_entries()
734 struct dx_entry *at, *entries, *p, *q, *m; in dx_probe()
775 entries = (struct dx_entry *)(((char *)&root->info) + in dx_probe()
1216 struct dx_entry *entries = frame->entries; in dx_insert_block()
1217 struct dx_entry *old = frame->at, *new = old + 1; in dx_insert_block()
1938 struct dx_entry *entries; in make_indexed_dir()
2160 struct dx_entry *entries, *at; in ext4_dx_add_entry()
2196 struct dx_entry *entries2; in ext4_dx_add_entry()
2233 icount2 * sizeof(struct dx_entry)); in ext4_dx_add_entry()
2256 icount * sizeof(struct dx_entry)); in ext4_dx_add_entry()