Lines Matching refs:logical
1143 blk64_t logical, blk64_t physical, int flags) in ext2fs_extent_set_bmap() argument
1164 handle->ino, logical, physical, flags); in ext2fs_extent_set_bmap()
1184 newextent.e_lblk = logical; in ext2fs_extent_set_bmap()
1209 retval = ext2fs_extent_goto(handle, logical); in ext2fs_extent_set_bmap()
1217 logical); in ext2fs_extent_set_bmap()
1248 retval = ext2fs_extent_goto(handle, logical); in ext2fs_extent_set_bmap()
1263 retval = ext2fs_extent_goto(handle, logical); in ext2fs_extent_set_bmap()
1269 (extent.e_pblk + (logical - extent.e_lblk) == physical)) { in ext2fs_extent_set_bmap()
1271 printf("physical block (at %llu) unchanged\n", logical); in ext2fs_extent_set_bmap()
1278 printf("mapping unmapped logical block %llu\n", logical); in ext2fs_extent_set_bmap()
1280 if ((logical == extent.e_lblk + extent.e_len) && in ext2fs_extent_set_bmap()
1286 } else if ((logical == extent.e_lblk - 1) && in ext2fs_extent_set_bmap()
1295 (logical == next_extent.e_lblk - 1) && in ext2fs_extent_set_bmap()
1308 } else if (logical < extent.e_lblk) in ext2fs_extent_set_bmap()
1318 } else if ((logical == extent.e_lblk) && (extent.e_len == 1)) { in ext2fs_extent_set_bmap()
1335 } else if (logical == extent.e_lblk + extent.e_len - 1) { in ext2fs_extent_set_bmap()
1341 (logical == (next_extent.e_lblk - 1)) && in ext2fs_extent_set_bmap()
1372 } else if (logical == extent.e_lblk) { in ext2fs_extent_set_bmap()
1378 (logical == (prev_extent.e_lblk + in ext2fs_extent_set_bmap()
1419 extent.e_len = (logical - extent.e_lblk); in ext2fs_extent_set_bmap()
1852 blk_t logical; in do_set_bmap() local
1873 logical = parse_ulong(argv[1], cmd, in do_set_bmap()
1883 retval = ext2fs_extent_set_bmap(current_handle, logical, in do_set_bmap()