Searched refs:sector_shift (Results 1 - 20 of 20) sorted by relevance

/external/syslinux/utils/
H A Dmemdiskfind.c63 int sector_shift = mbft->mdi.sector_shift; local
65 if (!sector_shift)
66 sector_shift = 9;
69 mbft->mdi.diskbuf, mbft->mdi.disksize << sector_shift);
/external/syslinux/core/include/
H A Ddisk.h24 unsigned int sector_shift; member in struct:disk
H A Dfs.h29 #define SECTOR_SHIFT(fs) ((fs)->sector_shift)
35 int sector_shift, sector_size; member in struct:fs_info
/external/syslinux/core/
H A Disolinux-c.c15 di->iso.sector_shift = SectorShift;
H A Dldlinux-c.c13 di->disk.sector_shift = SectorShift;
/external/syslinux/core/fs/
H A Ddiskio_bios.c51 int sector_shift = disk->sector_shift; local
74 freeseg = (0x10000 - ((size_t)ptr & 0xffff)) >> sector_shift;
82 freeseg = (0x10000 - ((size_t)tptr & 0xffff)) >> sector_shift;
95 bytes = chunk << sector_shift;
146 bytes = chunk << sector_shift;
170 int sector_shift = disk->sector_shift; local
192 freeseg = (0x10000 - ((size_t)ptr & 0xffff)) >> sector_shift;
200 freeseg = (0x10000 - ((size_t)tptr & 0xffff)) >> sector_shift;
[all...]
H A Dfs.c450 SectorShift = fs.sector_shift;
/external/syslinux/efi/
H A Ddiskio.c41 return count << disk->sector_shift;
70 disk.sector_shift = ilog2(disk.sector_size);
87 media_id, cdrom, ebios, sector_size, disk.sector_shift,
/external/syslinux/core/fs/iso9660/
H A Diso9660.c296 fs->sector_shift = fs->fs_dev->disk->sector_shift;
298 fs->sector_size = 1 << fs->sector_shift;
300 blktosec = fs->block_shift - fs->sector_shift;
/external/syslinux/com32/include/syslinux/
H A Dconfig.h108 uint8_t sector_shift, ch; member in struct:syslinux_derivative_info::__anon19313
135 uint8_t sector_shift, cd_mode; member in struct:syslinux_derivative_info::__anon19315
/external/syslinux/core/fs/fat/
H A Dfat.c470 entries = 1 << (fs->sector_shift - 5);
557 inode->size = root_size ? root_size << fs->sector_shift : ~0;
577 inode->size = root_size ? root_size << fs->sector_shift : ~0;
606 int sec_off = file->offset & ((1 << fs->sector_shift) - 1);
610 entries_left = ((1 << fs->sector_shift) - sec_off) >> 5;
706 entries_left = 1 << (fs->sector_shift - 5);
732 fs->sector_shift = fs->block_shift = disk->sector_shift;
733 fs->sector_size = 1 << fs->sector_shift;
755 sbi->clust_byte_shift = sbi->clust_shift + fs->sector_shift;
[all...]
/external/syslinux/memdisk/
H A Dsetup.c247 uint8_t sector_shift; /* Sector size as a power of 2 */ member in struct:geometry
327 hd_geometry.sector_shift = 9; /* Assume floppy/HDD at first */
333 sectors = xsectors = (size - offset) >> hd_geometry.sector_shift;
377 hd_geometry.sector_shift = 11;
399 sectors = (size - hd_geometry.offset) >> hd_geometry.sector_shift;
418 sectors = (size - hd_geometry.offset) >> hd_geometry.sector_shift;
471 if ((sectors < 4096 * 2) && (hd_geometry.sector_shift == 9)) {
824 if (geometry->sector_shift == 11) {
863 pptr->mdi.sector_shift = geometry->sector_shift;
[all...]
H A Dmstructs.h96 uint8_t sector_shift; member in struct:mdi
/external/syslinux/core/fs/ext2/
H A Dext2.c224 int sec_per_block = 1 << (fs->block_shift - fs->sector_shift);
298 fs->sector_shift = disk->sector_shift;
300 fs->sector_size = 1 << fs->sector_shift;
/external/syslinux/core/fs/ufs/
H A Dufs.c44 count = sizeof *sb >> disk->sector_shift;
46 lba = sblock_off >> (disk->sector_shift);
454 fs->sector_shift = disk->sector_shift;
/external/syslinux/com32/gfxboot/
H A Dgfxboot.c76 uint8_t sector_shift; // 1: sector shift member in struct:__anon19198
198 gfx_config.sector_shift = sdi->disk.sector_shift;
202 gfx_config.sector_shift = 11;
717 r.eax.l = kernel_size >> gfx_config.sector_shift; // in sectors
733 r.eax.l = advance >> gfx_config.sector_shift; // in sectors
/external/syslinux/core/fs/btrfs/
H A Dbtrfs.c658 fs->sector_shift = disk->sector_shift;
659 fs->sector_size = 1 << fs->sector_shift;
/external/syslinux/core/fs/pxe/
H A Dpxe.c574 fs->sector_shift = fs->block_shift = TFTP_BLOCKSIZE_LG2;
/external/syslinux/core/fs/xfs/
H A Dxfs.c376 SECTOR_SHIFT(fs) = disk->sector_shift;
/external/syslinux/core/fs/ntfs/
H A Dntfs.c1308 SECTOR_SHIFT(fs) = disk->sector_shift;

Completed in 234 milliseconds