Lines Matching defs:neh

1059 	struct ext4_extent_header *neh;
1138 neh = ext_block_hdr(bh);
1139 neh->eh_entries = 0;
1140 neh->eh_max = cpu_to_le16(ext4_ext_space_block(inode, 0));
1141 neh->eh_magic = EXT4_EXT_MAGIC;
1142 neh->eh_depth = 0;
1143 neh->eh_generation = 0;
1159 ex = EXT_FIRST_EXTENT(neh);
1161 le16_add_cpu(&neh->eh_entries, m);
1166 sizeof(struct ext4_extent) * le16_to_cpu(neh->eh_entries);
1168 ext4_extent_block_csum_set(inode, neh);
1217 neh = ext_block_hdr(bh);
1218 neh->eh_entries = cpu_to_le16(1);
1219 neh->eh_magic = EXT4_EXT_MAGIC;
1220 neh->eh_max = cpu_to_le16(ext4_ext_space_block_idx(inode, 0));
1221 neh->eh_depth = cpu_to_le16(depth - i);
1222 neh->eh_generation = 0;
1223 fidx = EXT_FIRST_INDEX(neh);
1247 le16_add_cpu(&neh->eh_entries, m);
1251 (sizeof(struct ext4_extent) * le16_to_cpu(neh->eh_entries));
1254 ext4_extent_block_csum_set(inode, neh);
1314 struct ext4_extent_header *neh;
1353 neh = ext_block_hdr(bh);
1357 neh->eh_max = cpu_to_le16(ext4_ext_space_block_idx(inode, 0));
1359 neh->eh_max = cpu_to_le16(ext4_ext_space_block(inode, 0));
1360 neh->eh_magic = EXT4_EXT_MAGIC;
1361 ext4_extent_block_csum_set(inode, neh);
1371 neh = ext_inode_hdr(inode);
1372 neh->eh_entries = cpu_to_le16(1);
1373 ext4_idx_store_pblock(EXT_FIRST_INDEX(neh), newblock);
1374 if (neh->eh_depth == 0) {
1376 neh->eh_max = cpu_to_le16(ext4_ext_space_root_idx(inode, 0));
1377 EXT_FIRST_INDEX(neh)->ei_block =
1378 EXT_FIRST_EXTENT(neh)->ee_block;
1381 le16_to_cpu(neh->eh_entries), le16_to_cpu(neh->eh_max),
1382 le32_to_cpu(EXT_FIRST_INDEX(neh)->ei_block),
1383 ext4_idx_pblock(EXT_FIRST_INDEX(neh)));
1385 le16_add_cpu(&neh->eh_depth, 1);