Lines Matching refs:logical
602 * Go to the node at leaf_level which contains logical block blk.
1121 * Sets the physical block for a logical file block in the extent tree.
1143 blk64_t logical, blk64_t physical, int flags)
1146 int mapped = 1; /* logical is mapped? */
1164 handle->ino, logical, physical, flags);
1184 newextent.e_lblk = logical;
1208 /* go to the logical spot we want to (re/un)map */
1209 retval = ext2fs_extent_goto(handle, logical);
1217 logical);
1226 * This may be the extent *before* the requested logical,
1248 retval = ext2fs_extent_goto(handle, logical);
1263 retval = ext2fs_extent_goto(handle, logical);
1269 (extent.e_pblk + (logical - extent.e_lblk) == physical)) {
1271 printf("physical block (at %llu) unchanged\n", logical);
1278 printf("mapping unmapped logical block %llu\n", logical);
1280 if ((logical == extent.e_lblk + extent.e_len) &&
1286 logical == extent.e_lblk - 1) &&
1295 (logical == next_extent.e_lblk - 1) &&
1308 } else if (logical < extent.e_lblk)
1318 } else if ((logical == extent.e_lblk) && (extent.e_len == 1)) {
1335 } else if (logical == extent.e_lblk + extent.e_len - 1) {
1341 (logical == (next_extent.e_lblk - 1)) &&
1372 } else if (logical == extent.e_lblk) {
1378 (logical == (prev_extent.e_lblk +
1419 extent.e_len = (logical - extent.e_lblk);
1749 extent.e_lblk = parse_ulong(argv[1], argv[0], "logical block", &err);
1753 extent.e_len = parse_ulong(argv[2], argv[0], "logical block", &err);
1757 extent.e_pblk = parse_ulong(argv[3], argv[0], "logical block", &err);
1826 "logical block", &err);
1852 blk_t logical;
1873 logical = parse_ulong(argv[1], cmd,
1874 "logical block", &err);
1883 retval = ext2fs_extent_set_bmap(current_handle, logical,