Home
last modified time | relevance | path

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

/xen/tools/libfsimage/ext2fs/
A Dfsys_ext2fs.c364 if (logical_block < index[i].ei_block) in ext4_recurse_extent_index()
379 ext2fs_block_map (fsi_file_t *ffi, int logical_block) in ext2fs_block_map() argument
398 printf ("logical block %d\n", logical_block); in ext2fs_block_map()
404 if (logical_block < EXT2_NDIR_BLOCKS) in ext2fs_block_map()
410 return INODE->i_block[logical_block]; in ext2fs_block_map()
413 logical_block -= EXT2_NDIR_BLOCKS; in ext2fs_block_map()
423 return ((__u32 *) DATABLOCK1)[logical_block]; in ext2fs_block_map()
426 logical_block -= EXT2_ADDR_PER_BLOCK (SUPERBLOCK); in ext2fs_block_map()
493 …if (extent[i].ee_block <= logical_block && logical_block < extent[i].ee_block + extent[i].ee_len &… in ext2fs_block_map()
507 int logical_block; in ext2fs_read() local
[all …]
/xen/stubdom/grub.patches/
A D60ext4.diff246 @@ -434,6 +539,122 @@ ext2fs_block_map (int logical_block)
263 + if (logical_block < m->ei_block)
284 + if (logical_block < m->ee_block)
296 +ext4fs_block_map (int logical_block)
321 + printf ("logical block %d\n", logical_block);
336 + ei = ext4_ext_binsearch_idx(eh, logical_block);
351 + ex = ext4_ext_binsearch(eh, logical_block);
357 + if ((ex->ee_block + ex->ee_len) < logical_block)
362 + return ex->ee_start_lo + logical_block - ex->ee_block;
376 + map = ext4fs_block_map (logical_block);
[all …]

Completed in 5 milliseconds