Lines Matching refs:de_buf
368 char *dlimit, *de_buf; in ocfs2_search_dirblock() local
372 de_buf = first_de; in ocfs2_search_dirblock()
373 dlimit = de_buf + bytes; in ocfs2_search_dirblock()
375 while (de_buf < dlimit) { in ocfs2_search_dirblock()
379 de = (struct ocfs2_dir_entry *) de_buf; in ocfs2_search_dirblock()
381 if (de_buf + namelen <= dlimit && in ocfs2_search_dirblock()
400 de_buf += de_len; in ocfs2_search_dirblock()
1207 char *trailer, *de_buf, *limit, *start = dirblock_bh->b_data; in ocfs2_find_max_rec_len() local
1213 de_buf = start; in ocfs2_find_max_rec_len()
1214 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_find_max_rec_len()
1216 if (de_buf != trailer) { in ocfs2_find_max_rec_len()
1222 de_buf += le16_to_cpu(de->rec_len); in ocfs2_find_max_rec_len()
1223 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_find_max_rec_len()
1224 } while (de_buf < limit); in ocfs2_find_max_rec_len()
2620 char *de_buf, *limit; in ocfs2_dx_dir_index_block() local
2626 de_buf = dirent_bh->b_data; in ocfs2_dx_dir_index_block()
2627 limit = de_buf + dir->i_sb->s_blocksize; in ocfs2_dx_dir_index_block()
2629 while (de_buf < limit) { in ocfs2_dx_dir_index_block()
2630 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_dx_dir_index_block()
2651 de_buf += le16_to_cpu(de->rec_len); in ocfs2_dx_dir_index_block()
2665 char *de_buf, *limit; in ocfs2_dx_dir_index_root_block() local
2673 de_buf = dirent_bh->b_data; in ocfs2_dx_dir_index_root_block()
2674 limit = de_buf + dir->i_sb->s_blocksize; in ocfs2_dx_dir_index_root_block()
2676 while (de_buf < limit) { in ocfs2_dx_dir_index_root_block()
2677 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_dx_dir_index_root_block()
2695 de_buf += le16_to_cpu(de->rec_len); in ocfs2_dx_dir_index_root_block()
2708 char *de_buf, *limit; in ocfs2_new_dx_should_be_inline() local
2712 de_buf = di->id2.i_data.id_data; in ocfs2_new_dx_should_be_inline()
2713 limit = de_buf + i_size_read(dir); in ocfs2_new_dx_should_be_inline()
2715 while (de_buf < limit) { in ocfs2_new_dx_should_be_inline()
2716 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_new_dx_should_be_inline()
2721 de_buf += le16_to_cpu(de->rec_len); in ocfs2_new_dx_should_be_inline()
2748 char *de_buf, *limit; in ocfs2_expand_last_dirent() local
2759 de_buf = start; in ocfs2_expand_last_dirent()
2760 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_expand_last_dirent()
2767 de_buf += le16_to_cpu(de->rec_len); in ocfs2_expand_last_dirent()
2768 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_expand_last_dirent()
2769 } while (de_buf < limit); in ocfs2_expand_last_dirent()
3372 char *de_buf, *limit; in ocfs2_find_dir_space_id() local
3385 de_buf = di->id2.i_data.id_data; in ocfs2_find_dir_space_id()
3386 limit = de_buf + i_size_read(dir); in ocfs2_find_dir_space_id()
3389 while (de_buf < limit) { in ocfs2_find_dir_space_id()
3390 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_find_dir_space_id()
3415 de_buf += le16_to_cpu(de->rec_len); in ocfs2_find_dir_space_id()