Lines Matching refs:dx_entry
182 struct dx_entry struct
209 struct dx_entry entries[0];
215 struct dx_entry entries[0];
222 struct dx_entry *entries;
223 struct dx_entry *at;
241 static inline ext4_lblk_t dx_get_block(struct dx_entry *entry);
242 static void dx_set_block(struct dx_entry *entry, ext4_lblk_t value);
243 static inline unsigned dx_get_hash(struct dx_entry *entry);
244 static void dx_set_hash(struct dx_entry *entry, unsigned value);
245 static unsigned dx_get_count(struct dx_entry *entries);
246 static unsigned dx_get_limit(struct dx_entry *entries);
247 static void dx_set_count(struct dx_entry *entries, unsigned value);
248 static void dx_set_limit(struct dx_entry *entries, unsigned value);
419 size = count_offset + (count * sizeof(struct dx_entry)); in ext4_dx_csum()
446 if (count_offset + (limit * sizeof(struct dx_entry)) > in ext4_dx_csum_verify()
451 t = (struct dx_tail *)(((struct dx_entry *)c) + limit); in ext4_dx_csum_verify()
475 if (count_offset + (limit * sizeof(struct dx_entry)) > in ext4_dx_csum_set()
480 t = (struct dx_tail *)(((struct dx_entry *)c) + limit); in ext4_dx_csum_set()
508 static inline ext4_lblk_t dx_get_block(struct dx_entry *entry) in dx_get_block()
513 static inline void dx_set_block(struct dx_entry *entry, ext4_lblk_t value) in dx_set_block()
518 static inline unsigned dx_get_hash(struct dx_entry *entry) in dx_get_hash()
523 static inline void dx_set_hash(struct dx_entry *entry, unsigned value) in dx_set_hash()
528 static inline unsigned dx_get_count(struct dx_entry *entries) in dx_get_count()
533 static inline unsigned dx_get_limit(struct dx_entry *entries) in dx_get_limit()
538 static inline void dx_set_count(struct dx_entry *entries, unsigned value) in dx_set_count()
543 static inline void dx_set_limit(struct dx_entry *entries, unsigned value) in dx_set_limit()
555 return entry_space / sizeof(struct dx_entry); in dx_root_limit()
564 return entry_space / sizeof(struct dx_entry); in dx_node_limit()
571 static void dx_show_index(char * label, struct dx_entry *entries) in dx_show_index()
683 struct dx_entry *entries, int levels) in dx_show_entries()
731 struct dx_entry *at, *entries, *p, *q, *m; in dx_probe()
789 entries = (struct dx_entry *) (((char *)&root->info) + in dx_probe()
1227 struct dx_entry *entries = frame->entries; in dx_insert_block()
1228 struct dx_entry *old = frame->at, *new = old + 1; in dx_insert_block()
2002 struct dx_entry *entries; in make_indexed_dir()
2227 struct dx_entry *entries, *at; in ext4_dx_add_entry()
2264 struct dx_entry *entries2; in ext4_dx_add_entry()
2301 icount2 * sizeof(struct dx_entry)); in ext4_dx_add_entry()
2324 icount * sizeof(struct dx_entry)); in ext4_dx_add_entry()