Lines Matching refs:de_buf
353 char *dlimit, *de_buf; in ocfs2_search_dirblock() local
357 de_buf = first_de; in ocfs2_search_dirblock()
358 dlimit = de_buf + bytes; in ocfs2_search_dirblock()
360 while (de_buf < dlimit - OCFS2_DIR_MEMBER_LEN) { in ocfs2_search_dirblock()
364 de = (struct ocfs2_dir_entry *) de_buf; in ocfs2_search_dirblock()
386 de_buf += de_len; in ocfs2_search_dirblock()
1193 char *trailer, *de_buf, *limit, *start = dirblock_bh->b_data; in ocfs2_find_max_rec_len() local
1199 de_buf = start; in ocfs2_find_max_rec_len()
1200 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_find_max_rec_len()
1202 if (de_buf != trailer) { in ocfs2_find_max_rec_len()
1208 de_buf += le16_to_cpu(de->rec_len); in ocfs2_find_max_rec_len()
1209 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_find_max_rec_len()
1210 } while (de_buf < limit); in ocfs2_find_max_rec_len()
2600 char *de_buf, *limit; in ocfs2_dx_dir_index_block() local
2606 de_buf = dirent_bh->b_data; in ocfs2_dx_dir_index_block()
2607 limit = de_buf + dir->i_sb->s_blocksize; in ocfs2_dx_dir_index_block()
2609 while (de_buf < limit) { in ocfs2_dx_dir_index_block()
2610 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_dx_dir_index_block()
2631 de_buf += le16_to_cpu(de->rec_len); in ocfs2_dx_dir_index_block()
2645 char *de_buf, *limit; in ocfs2_dx_dir_index_root_block() local
2653 de_buf = dirent_bh->b_data; in ocfs2_dx_dir_index_root_block()
2654 limit = de_buf + dir->i_sb->s_blocksize; in ocfs2_dx_dir_index_root_block()
2656 while (de_buf < limit) { in ocfs2_dx_dir_index_root_block()
2657 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_dx_dir_index_root_block()
2675 de_buf += le16_to_cpu(de->rec_len); in ocfs2_dx_dir_index_root_block()
2688 char *de_buf, *limit; in ocfs2_new_dx_should_be_inline() local
2692 de_buf = di->id2.i_data.id_data; in ocfs2_new_dx_should_be_inline()
2693 limit = de_buf + i_size_read(dir); in ocfs2_new_dx_should_be_inline()
2695 while (de_buf < limit) { in ocfs2_new_dx_should_be_inline()
2696 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_new_dx_should_be_inline()
2701 de_buf += le16_to_cpu(de->rec_len); in ocfs2_new_dx_should_be_inline()
2728 char *de_buf, *limit; in ocfs2_expand_last_dirent() local
2739 de_buf = start; in ocfs2_expand_last_dirent()
2740 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_expand_last_dirent()
2747 de_buf += le16_to_cpu(de->rec_len); in ocfs2_expand_last_dirent()
2748 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_expand_last_dirent()
2749 } while (de_buf < limit); in ocfs2_expand_last_dirent()
3352 char *first_de, *de_buf, *limit; in ocfs2_find_dir_space_id() local
3366 de_buf = first_de; in ocfs2_find_dir_space_id()
3367 limit = de_buf + i_size_read(dir); in ocfs2_find_dir_space_id()
3370 while (de_buf < limit) { in ocfs2_find_dir_space_id()
3371 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_find_dir_space_id()
3397 de_buf += le16_to_cpu(de->rec_len); in ocfs2_find_dir_space_id()