Lines Matching refs:de_buf
350 char *dlimit, *de_buf; in ocfs2_search_dirblock() local
354 de_buf = first_de; in ocfs2_search_dirblock()
355 dlimit = de_buf + bytes; in ocfs2_search_dirblock()
357 while (de_buf < dlimit) { in ocfs2_search_dirblock()
361 de = (struct ocfs2_dir_entry *) de_buf; in ocfs2_search_dirblock()
363 if (de_buf + namelen <= dlimit && in ocfs2_search_dirblock()
382 de_buf += de_len; in ocfs2_search_dirblock()
1189 char *trailer, *de_buf, *limit, *start = dirblock_bh->b_data; in ocfs2_find_max_rec_len() local
1195 de_buf = start; in ocfs2_find_max_rec_len()
1196 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_find_max_rec_len()
1198 if (de_buf != trailer) { in ocfs2_find_max_rec_len()
1204 de_buf += le16_to_cpu(de->rec_len); in ocfs2_find_max_rec_len()
1205 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_find_max_rec_len()
1206 } while (de_buf < limit); in ocfs2_find_max_rec_len()
2594 char *de_buf, *limit; in ocfs2_dx_dir_index_block() local
2600 de_buf = dirent_bh->b_data; in ocfs2_dx_dir_index_block()
2601 limit = de_buf + dir->i_sb->s_blocksize; in ocfs2_dx_dir_index_block()
2603 while (de_buf < limit) { in ocfs2_dx_dir_index_block()
2604 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_dx_dir_index_block()
2625 de_buf += le16_to_cpu(de->rec_len); in ocfs2_dx_dir_index_block()
2639 char *de_buf, *limit; in ocfs2_dx_dir_index_root_block() local
2647 de_buf = dirent_bh->b_data; in ocfs2_dx_dir_index_root_block()
2648 limit = de_buf + dir->i_sb->s_blocksize; in ocfs2_dx_dir_index_root_block()
2650 while (de_buf < limit) { in ocfs2_dx_dir_index_root_block()
2651 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_dx_dir_index_root_block()
2669 de_buf += le16_to_cpu(de->rec_len); in ocfs2_dx_dir_index_root_block()
2682 char *de_buf, *limit; in ocfs2_new_dx_should_be_inline() local
2686 de_buf = di->id2.i_data.id_data; in ocfs2_new_dx_should_be_inline()
2687 limit = de_buf + i_size_read(dir); in ocfs2_new_dx_should_be_inline()
2689 while (de_buf < limit) { in ocfs2_new_dx_should_be_inline()
2690 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_new_dx_should_be_inline()
2695 de_buf += le16_to_cpu(de->rec_len); in ocfs2_new_dx_should_be_inline()
2722 char *de_buf, *limit; in ocfs2_expand_last_dirent() local
2733 de_buf = start; in ocfs2_expand_last_dirent()
2734 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_expand_last_dirent()
2741 de_buf += le16_to_cpu(de->rec_len); in ocfs2_expand_last_dirent()
2742 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_expand_last_dirent()
2743 } while (de_buf < limit); in ocfs2_expand_last_dirent()
3346 char *de_buf, *limit; in ocfs2_find_dir_space_id() local
3359 de_buf = di->id2.i_data.id_data; in ocfs2_find_dir_space_id()
3360 limit = de_buf + i_size_read(dir); in ocfs2_find_dir_space_id()
3363 while (de_buf < limit) { in ocfs2_find_dir_space_id()
3364 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_find_dir_space_id()
3389 de_buf += le16_to_cpu(de->rec_len); in ocfs2_find_dir_space_id()