• Home
  • Raw
  • Download

Lines Matching refs:de_buf

348 	char *dlimit, *de_buf;  in ocfs2_search_dirblock()  local
352 de_buf = first_de; in ocfs2_search_dirblock()
353 dlimit = de_buf + bytes; in ocfs2_search_dirblock()
355 while (de_buf < dlimit) { in ocfs2_search_dirblock()
359 de = (struct ocfs2_dir_entry *) de_buf; in ocfs2_search_dirblock()
361 if (de_buf + namelen <= dlimit && in ocfs2_search_dirblock()
380 de_buf += de_len; in ocfs2_search_dirblock()
1187 char *trailer, *de_buf, *limit, *start = dirblock_bh->b_data; in ocfs2_find_max_rec_len() local
1193 de_buf = start; in ocfs2_find_max_rec_len()
1194 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_find_max_rec_len()
1196 if (de_buf != trailer) { in ocfs2_find_max_rec_len()
1202 de_buf += le16_to_cpu(de->rec_len); in ocfs2_find_max_rec_len()
1203 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_find_max_rec_len()
1204 } while (de_buf < limit); in ocfs2_find_max_rec_len()
2592 char *de_buf, *limit; in ocfs2_dx_dir_index_block() local
2598 de_buf = dirent_bh->b_data; in ocfs2_dx_dir_index_block()
2599 limit = de_buf + dir->i_sb->s_blocksize; in ocfs2_dx_dir_index_block()
2601 while (de_buf < limit) { in ocfs2_dx_dir_index_block()
2602 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_dx_dir_index_block()
2623 de_buf += le16_to_cpu(de->rec_len); in ocfs2_dx_dir_index_block()
2637 char *de_buf, *limit; in ocfs2_dx_dir_index_root_block() local
2645 de_buf = dirent_bh->b_data; in ocfs2_dx_dir_index_root_block()
2646 limit = de_buf + dir->i_sb->s_blocksize; in ocfs2_dx_dir_index_root_block()
2648 while (de_buf < limit) { in ocfs2_dx_dir_index_root_block()
2649 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_dx_dir_index_root_block()
2667 de_buf += le16_to_cpu(de->rec_len); in ocfs2_dx_dir_index_root_block()
2680 char *de_buf, *limit; in ocfs2_new_dx_should_be_inline() local
2684 de_buf = di->id2.i_data.id_data; in ocfs2_new_dx_should_be_inline()
2685 limit = de_buf + i_size_read(dir); in ocfs2_new_dx_should_be_inline()
2687 while (de_buf < limit) { in ocfs2_new_dx_should_be_inline()
2688 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_new_dx_should_be_inline()
2693 de_buf += le16_to_cpu(de->rec_len); in ocfs2_new_dx_should_be_inline()
2720 char *de_buf, *limit; in ocfs2_expand_last_dirent() local
2731 de_buf = start; in ocfs2_expand_last_dirent()
2732 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_expand_last_dirent()
2739 de_buf += le16_to_cpu(de->rec_len); in ocfs2_expand_last_dirent()
2740 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_expand_last_dirent()
2741 } while (de_buf < limit); in ocfs2_expand_last_dirent()
3344 char *de_buf, *limit; in ocfs2_find_dir_space_id() local
3357 de_buf = di->id2.i_data.id_data; in ocfs2_find_dir_space_id()
3358 limit = de_buf + i_size_read(dir); in ocfs2_find_dir_space_id()
3361 while (de_buf < limit) { in ocfs2_find_dir_space_id()
3362 de = (struct ocfs2_dir_entry *)de_buf; in ocfs2_find_dir_space_id()
3387 de_buf += le16_to_cpu(de->rec_len); in ocfs2_find_dir_space_id()