Lines Matching refs:blocksize
164 static int dx_make_map(struct ext3_dir_entry_2 *de, unsigned blocksize,
169 static struct ext3_dir_entry_2 *dx_pack_dirents(char *base, unsigned blocksize);
304 unsigned blocksize = dir->i_sb->s_blocksize;
319 dx_show_leaf(hinfo, (struct ext3_dir_entry_2 *) bh->b_data, blocksize, 0);
327 names, space/bcount,(space/bcount)*100/blocksize);
711 static int dx_make_map(struct ext3_dir_entry_2 *de, unsigned blocksize,
718 while ((char *) de < base + blocksize)
1130 static struct ext3_dir_entry_2 *dx_pack_dirents(char *base, unsigned blocksize)
1137 while ((char *)de < base + blocksize) {
1161 unsigned blocksize = dir->i_sb->s_blocksize;
1192 map = (struct dx_map_entry *) (data2 + blocksize);
1194 blocksize, hinfo, map);
1202 if (size + map[i].size/2 > blocksize/2)
1216 de = dx_pack_dirents(data1,blocksize);
1217 de->rec_len = ext3_rec_len_to_disk(data1 + blocksize - (char *) de);
1218 de2->rec_len = ext3_rec_len_to_disk(data2 + blocksize - (char *) de2);
1219 dxtrace(dx_show_leaf (hinfo, (struct ext3_dir_entry_2 *) data1, blocksize, 1));
1220 dxtrace(dx_show_leaf (hinfo, (struct ext3_dir_entry_2 *) data2, blocksize, 1));
1352 unsigned blocksize;
1357 blocksize = dir->i_sb->s_blocksize;
1371 if ((char *) de >= (((char *) root) + blocksize)) {
1378 len = ((char *) root) + blocksize - (char *) de;
1393 de->rec_len = ext3_rec_len_to_disk(data1 + blocksize - (char *) de);
1396 de->rec_len = ext3_rec_len_to_disk(blocksize - EXT3_DIR_REC_LEN(2));
1443 unsigned blocksize;
1447 blocksize = sb->s_blocksize;
1477 de->rec_len = ext3_rec_len_to_disk(blocksize);