Lines Matching refs:dx_entry
187 struct dx_entry struct
214 struct dx_entry entries[0];
220 struct dx_entry entries[0];
227 struct dx_entry *entries;
228 struct dx_entry *at;
246 static inline ext4_lblk_t dx_get_block(struct dx_entry *entry);
247 static void dx_set_block(struct dx_entry *entry, ext4_lblk_t value);
248 static inline unsigned dx_get_hash(struct dx_entry *entry);
249 static void dx_set_hash(struct dx_entry *entry, unsigned value);
250 static unsigned dx_get_count(struct dx_entry *entries);
251 static unsigned dx_get_limit(struct dx_entry *entries);
252 static void dx_set_count(struct dx_entry *entries, unsigned value);
253 static void dx_set_limit(struct dx_entry *entries, unsigned value);
429 size = count_offset + (count * sizeof(struct dx_entry)); in ext4_dx_csum()
454 if (count_offset + (limit * sizeof(struct dx_entry)) > in ext4_dx_csum_verify()
459 t = (struct dx_tail *)(((struct dx_entry *)c) + limit); in ext4_dx_csum_verify()
483 if (count_offset + (limit * sizeof(struct dx_entry)) > in ext4_dx_csum_set()
488 t = (struct dx_tail *)(((struct dx_entry *)c) + limit); in ext4_dx_csum_set()
516 static inline ext4_lblk_t dx_get_block(struct dx_entry *entry) in dx_get_block()
521 static inline void dx_set_block(struct dx_entry *entry, ext4_lblk_t value) in dx_set_block()
526 static inline unsigned dx_get_hash(struct dx_entry *entry) in dx_get_hash()
531 static inline void dx_set_hash(struct dx_entry *entry, unsigned value) in dx_set_hash()
536 static inline unsigned dx_get_count(struct dx_entry *entries) in dx_get_count()
541 static inline unsigned dx_get_limit(struct dx_entry *entries) in dx_get_limit()
546 static inline void dx_set_count(struct dx_entry *entries, unsigned value) in dx_set_count()
551 static inline void dx_set_limit(struct dx_entry *entries, unsigned value) in dx_set_limit()
563 return entry_space / sizeof(struct dx_entry); in dx_root_limit()
572 return entry_space / sizeof(struct dx_entry); in dx_node_limit()
579 static void dx_show_index(char * label, struct dx_entry *entries) in dx_show_index()
690 struct dx_entry *entries, int levels) in dx_show_entries()
738 struct dx_entry *at, *entries, *p, *q, *m; in dx_probe()
786 entries = (struct dx_entry *)(((char *)&root->info) + in dx_probe()
1242 struct dx_entry *entries = frame->entries; in dx_insert_block()
1243 struct dx_entry *old = frame->at, *new = old + 1; in dx_insert_block()
1909 struct dx_entry *entries; in make_indexed_dir()
2128 struct dx_entry *entries, *at; in ext4_dx_add_entry()
2168 struct dx_entry *entries2; in ext4_dx_add_entry()
2223 icount2 * sizeof(struct dx_entry)); in ext4_dx_add_entry()
2254 icount * sizeof(struct dx_entry)); in ext4_dx_add_entry()