/external/syslinux/core/fs/ |
D | diskio_bios.c | 51 int sector_shift = disk->sector_shift; in chs_rdwr_sectors() local 74 freeseg = (0x10000 - ((size_t)ptr & 0xffff)) >> sector_shift; in chs_rdwr_sectors() 82 freeseg = (0x10000 - ((size_t)tptr & 0xffff)) >> sector_shift; in chs_rdwr_sectors() 95 bytes = chunk << sector_shift; in chs_rdwr_sectors() 146 bytes = chunk << sector_shift; in chs_rdwr_sectors() 170 int sector_shift = disk->sector_shift; in edd_rdwr_sectors() local 192 freeseg = (0x10000 - ((size_t)ptr & 0xffff)) >> sector_shift; in edd_rdwr_sectors() 200 freeseg = (0x10000 - ((size_t)tptr & 0xffff)) >> sector_shift; in edd_rdwr_sectors() 205 bytes = chunk << sector_shift; in edd_rdwr_sectors() 260 if (done == (count << sector_shift)) { in edd_rdwr_sectors() [all …]
|
D | fs.c | 450 SectorShift = fs.sector_shift; in fs_init()
|
/external/syslinux/utils/ |
D | memdiskfind.c | 63 int sector_shift = mbft->mdi.sector_shift; in output_params() local 65 if (!sector_shift) in output_params() 66 sector_shift = 9; in output_params() 69 mbft->mdi.diskbuf, mbft->mdi.disksize << sector_shift); in output_params()
|
/external/syslinux/core/fs/fat/ |
D | fat.c | 470 entries = 1 << (fs->sector_shift - 5); in vfat_find_entry() 557 inode->size = root_size ? root_size << fs->sector_shift : ~0; in vfat_find_entry() 577 inode->size = root_size ? root_size << fs->sector_shift : ~0; in vfat_iget_root() 606 int sec_off = file->offset & ((1 << fs->sector_shift) - 1); in vfat_readdir() 610 entries_left = ((1 << fs->sector_shift) - sec_off) >> 5; in vfat_readdir() 706 entries_left = 1 << (fs->sector_shift - 5); in vfat_readdir() 732 fs->sector_shift = fs->block_shift = disk->sector_shift; in vfat_fs_init() 733 fs->sector_size = 1 << fs->sector_shift; in vfat_fs_init() 755 sbi->clust_byte_shift = sbi->clust_shift + fs->sector_shift; in vfat_fs_init() 757 sbi->clust_size = fat.bxSecPerClust << fs->sector_shift; in vfat_fs_init()
|
/external/syslinux/efi/ |
D | diskio.c | 41 return count << disk->sector_shift; in efi_rdwr_sectors() 70 disk.sector_shift = ilog2(disk.sector_size); in efi_disk_init() 87 media_id, cdrom, ebios, sector_size, disk.sector_shift, in efi_disk_init()
|
/external/syslinux/core/fs/iso9660/ |
D | iso9660.c | 296 fs->sector_shift = fs->fs_dev->disk->sector_shift; in iso_fs_init() 298 fs->sector_size = 1 << fs->sector_shift; in iso_fs_init() 300 blktosec = fs->block_shift - fs->sector_shift; in iso_fs_init()
|
/external/syslinux/memdisk/ |
D | setup.c | 247 uint8_t sector_shift; /* Sector size as a power of 2 */ member 327 hd_geometry.sector_shift = 9; /* Assume floppy/HDD at first */ in get_disk_image_geometry() 333 sectors = xsectors = (size - offset) >> hd_geometry.sector_shift; in get_disk_image_geometry() 377 hd_geometry.sector_shift = 11; in get_disk_image_geometry() 399 sectors = (size - hd_geometry.offset) >> hd_geometry.sector_shift; in get_disk_image_geometry() 418 sectors = (size - hd_geometry.offset) >> hd_geometry.sector_shift; in get_disk_image_geometry() 471 if ((sectors < 4096 * 2) && (hd_geometry.sector_shift == 9)) { in get_disk_image_geometry() 824 if (geometry->sector_shift == 11) { in setup() 863 pptr->mdi.sector_shift = geometry->sector_shift; in setup() 959 if (geometry->sector_shift != 11) in setup()
|
D | mstructs.h | 96 uint8_t sector_shift; member
|
/external/syslinux/core/fs/ext2/ |
D | ext2.c | 224 int sec_per_block = 1 << (fs->block_shift - fs->sector_shift); in ext2_readlink() 298 fs->sector_shift = disk->sector_shift; in ext2_fs_init() 300 fs->sector_size = 1 << fs->sector_shift; in ext2_fs_init()
|
/external/syslinux/com32/include/syslinux/ |
D | config.h | 108 uint8_t sector_shift, ch; member 135 uint8_t sector_shift, cd_mode; member
|
/external/syslinux/com32/gfxboot/ |
D | gfxboot.c | 76 uint8_t sector_shift; // 1: sector shift member 198 gfx_config.sector_shift = sdi->disk.sector_shift; in main() 202 gfx_config.sector_shift = 11; in main() 717 r.eax.l = kernel_size >> gfx_config.sector_shift; // in sectors in gfx_progress_init() 733 r.eax.l = advance >> gfx_config.sector_shift; // in sectors in gfx_progress_update()
|
/external/syslinux/core/fs/ufs/ |
D | ufs.c | 44 count = sizeof *sb >> disk->sector_shift; in do_checksb() 46 lba = sblock_off >> (disk->sector_shift); in do_checksb() 454 fs->sector_shift = disk->sector_shift; in ufs_fs_init()
|
/external/syslinux/core/include/ |
D | fs.h | 29 #define SECTOR_SHIFT(fs) ((fs)->sector_shift) 35 int sector_shift, sector_size; member
|
D | disk.h | 24 unsigned int sector_shift; member
|
/external/syslinux/core/ |
D | ldlinux-c.c | 13 di->disk.sector_shift = SectorShift; in get_derivative_info()
|
D | isolinux-c.c | 15 di->iso.sector_shift = SectorShift; in get_derivative_info()
|
/external/syslinux/core/fs/btrfs/ |
D | btrfs.c | 658 fs->sector_shift = disk->sector_shift; in btrfs_fs_init() 659 fs->sector_size = 1 << fs->sector_shift; in btrfs_fs_init()
|
/external/syslinux/core/fs/pxe/ |
D | pxe.c | 574 fs->sector_shift = fs->block_shift = TFTP_BLOCKSIZE_LG2; in pxe_fs_init()
|
/external/syslinux/core/fs/xfs/ |
D | xfs.c | 376 SECTOR_SHIFT(fs) = disk->sector_shift; in xfs_fs_init()
|
/external/syslinux/core/fs/ntfs/ |
D | ntfs.c | 1308 SECTOR_SHIFT(fs) = disk->sector_shift; in ntfs_fs_init()
|