Lines Matching defs:neh
1063 struct ext4_extent_header *neh;
1141 neh = ext_block_hdr(bh);
1142 neh->eh_entries = 0;
1143 neh->eh_max = cpu_to_le16(ext4_ext_space_block(inode, 0));
1144 neh->eh_magic = EXT4_EXT_MAGIC;
1145 neh->eh_depth = 0;
1146 neh->eh_generation = 0;
1162 ex = EXT_FIRST_EXTENT(neh);
1164 le16_add_cpu(&neh->eh_entries, m);
1169 sizeof(struct ext4_extent) * le16_to_cpu(neh->eh_entries);
1171 ext4_extent_block_csum_set(inode, neh);
1219 neh = ext_block_hdr(bh);
1220 neh->eh_entries = cpu_to_le16(1);
1221 neh->eh_magic = EXT4_EXT_MAGIC;
1222 neh->eh_max = cpu_to_le16(ext4_ext_space_block_idx(inode, 0));
1223 neh->eh_depth = cpu_to_le16(depth - i);
1224 neh->eh_generation = 0;
1225 fidx = EXT_FIRST_INDEX(neh);
1249 le16_add_cpu(&neh->eh_entries, m);
1253 (sizeof(struct ext4_extent) * le16_to_cpu(neh->eh_entries));
1256 ext4_extent_block_csum_set(inode, neh);
1316 struct ext4_extent_header *neh;
1354 neh = ext_block_hdr(bh);
1358 neh->eh_max = cpu_to_le16(ext4_ext_space_block_idx(inode, 0));
1360 neh->eh_max = cpu_to_le16(ext4_ext_space_block(inode, 0));
1361 neh->eh_magic = EXT4_EXT_MAGIC;
1362 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);