Lines Matching refs:dx_entry
232 struct dx_entry struct
259 struct dx_entry entries[];
265 struct dx_entry entries[];
272 struct dx_entry *entries;
273 struct dx_entry *at;
291 static inline ext4_lblk_t dx_get_block(struct dx_entry *entry);
292 static void dx_set_block(struct dx_entry *entry, ext4_lblk_t value);
293 static inline unsigned dx_get_hash(struct dx_entry *entry);
294 static void dx_set_hash(struct dx_entry *entry, unsigned value);
295 static unsigned dx_get_count(struct dx_entry *entries);
296 static unsigned dx_get_limit(struct dx_entry *entries);
297 static void dx_set_count(struct dx_entry *entries, unsigned value);
298 static void dx_set_limit(struct dx_entry *entries, unsigned value);
477 size = count_offset + (count * sizeof(struct dx_entry)); in ext4_dx_csum()
502 if (count_offset + (limit * sizeof(struct dx_entry)) > in ext4_dx_csum_verify()
507 t = (struct dx_tail *)(((struct dx_entry *)c) + limit); in ext4_dx_csum_verify()
531 if (count_offset + (limit * sizeof(struct dx_entry)) > in ext4_dx_csum_set()
536 t = (struct dx_tail *)(((struct dx_entry *)c) + limit); in ext4_dx_csum_set()
564 static inline ext4_lblk_t dx_get_block(struct dx_entry *entry) in dx_get_block()
569 static inline void dx_set_block(struct dx_entry *entry, ext4_lblk_t value) in dx_set_block()
574 static inline unsigned dx_get_hash(struct dx_entry *entry) in dx_get_hash()
579 static inline void dx_set_hash(struct dx_entry *entry, unsigned value) in dx_set_hash()
584 static inline unsigned dx_get_count(struct dx_entry *entries) in dx_get_count()
589 static inline unsigned dx_get_limit(struct dx_entry *entries) in dx_get_limit()
594 static inline void dx_set_count(struct dx_entry *entries, unsigned value) in dx_set_count()
599 static inline void dx_set_limit(struct dx_entry *entries, unsigned value) in dx_set_limit()
612 return entry_space / sizeof(struct dx_entry); in dx_root_limit()
622 return entry_space / sizeof(struct dx_entry); in dx_node_limit()
629 static void dx_show_index(char * label, struct dx_entry *entries) in dx_show_index()
736 struct dx_entry *entries, int levels) in dx_show_entries()
784 struct dx_entry *at, *entries, *p, *q, *m; in dx_probe()
850 entries = (struct dx_entry *)(((char *)&root->info) + in dx_probe()
1341 struct dx_entry *entries = frame->entries; in dx_insert_block()
1342 struct dx_entry *old = frame->at, *new = old + 1; in dx_insert_block()
2191 struct dx_entry *entries; in make_indexed_dir()
2444 struct dx_entry *entries, *at; in ext4_dx_add_entry()
2486 struct dx_entry *entries2; in ext4_dx_add_entry()
2541 icount2 * sizeof(struct dx_entry)); in ext4_dx_add_entry()
2571 icount * sizeof(struct dx_entry)); in ext4_dx_add_entry()