Home
last modified time | relevance | path

Searched refs:newex (Results 1 – 2 of 2) sorted by relevance

/third_party/e2fsprogs/lib/ext2fs/
Dfallocate.c105 struct ext2fs_extent newex, ex; in ext_falloc_helper() local
306 err = ext2fs_extent_get(handle, EXT2_EXTENT_NEXT_LEAF, &newex); in ext_falloc_helper()
499 newex.e_lblk = range_start; in ext_falloc_helper()
500 err = ext2fs_map_cluster_block(fs, ino, inode, newex.e_lblk, in ext_falloc_helper()
506 newex.e_pblk = pblk; in ext_falloc_helper()
507 newex.e_len = cluster_fill; in ext_falloc_helper()
508 newex.e_flags = (flags & EXT2_FALLOCATE_FORCE_INIT ? 0 : in ext_falloc_helper()
510 dbg_print_extent("ext_falloc iclus left+", &newex); in ext_falloc_helper()
511 ext2fs_extent_goto(handle, newex.e_lblk); in ext_falloc_helper()
519 if (ex.e_lblk > newex.e_lblk) in ext_falloc_helper()
[all …]
Dpunch.c338 struct ext2fs_extent newex; in ext2fs_punch_extent() local
342 newex.e_pblk = extent.e_pblk + in ext2fs_punch_extent()
344 newex.e_lblk = end + 1; in ext2fs_punch_extent()
345 newex.e_len = next - end - 1; in ext2fs_punch_extent()
346 newex.e_flags = extent.e_flags; in ext2fs_punch_extent()
353 dbg_print_extent("inserting", &newex); in ext2fs_punch_extent()
355 EXT2_EXTENT_INSERT_AFTER, &newex); in ext2fs_punch_extent()
378 struct ext2fs_extent newex; in ext2fs_punch_extent() local
387 &newex); in ext2fs_punch_extent()
390 old_lblk = newex.e_lblk; in ext2fs_punch_extent()
[all …]