/external/syslinux/libinstaller/ |
D | syslxcom.c | 48 #define SECTOR_SHIFT 9 macro 196 maplen = (uint64_t)nsectors << SECTOR_SHIFT; in sectmap_fie() 235 secp = sectors + (fe->fe_logical >> SECTOR_SHIFT); in sectmap_fie() 236 sec = fe->fe_physical >> SECTOR_SHIFT; in sectmap_fie() 237 nsec = fe->fe_length >> SECTOR_SHIFT; in sectmap_fie() 264 blksize >>= SECTOR_SHIFT; in sectmap_fib()
|
D | syslinux.h | 50 #define SECTOR_SHIFT 9 macro 51 #define SECTOR_SIZE (1 << SECTOR_SHIFT)
|
D | syslxmod.c | 114 int nsect = ((boot_image_len + SECTOR_SIZE - 1) >> SECTOR_SHIFT) + 2; in syslinux_patch()
|
/external/syslinux/core/fs/xfs/ |
D | xfs.c | 127 inode->next_extent.pstart = bno << BLOCK_SHIFT(fs) >> SECTOR_SHIFT(fs); in xfs_next_extent() 129 SECTOR_SIZE(fs) - 1) >> SECTOR_SHIFT(fs); in xfs_next_extent() 162 >> SECTOR_SHIFT(fs); in xfs_next_extent() 166 >> SECTOR_SHIFT(fs); in xfs_next_extent() 376 SECTOR_SHIFT(fs) = disk->sector_shift; in xfs_fs_init() 377 SECTOR_SIZE(fs) = 1 << SECTOR_SHIFT(fs); in xfs_fs_init()
|
/external/syslinux/core/fs/ |
D | getfssec.c | 97 (bytes_left + SECTOR_SIZE(fs) - 1) >> SECTOR_SHIFT(fs); in generic_getfssec() 106 lsector = file->offset >> SECTOR_SHIFT(fs); in generic_getfssec() 167 len = chunk << SECTOR_SHIFT(fs); in generic_getfssec()
|
D | fs.c | 362 filedata->blocklg2 = SECTOR_SHIFT(file->fs); in open_file()
|
/external/syslinux/mtools/ |
D | syslinux.c | 320 + SECTOR_SIZE - 1) >> SECTOR_SHIFT; in main() 337 patch_sectors = (i + SECTOR_SIZE - 1) >> SECTOR_SHIFT; in main() 343 opt.offset + ((off_t) sectors[i] << SECTOR_SHIFT)); in main()
|
/external/syslinux/core/fs/ntfs/ |
D | ntfs.c | 820 SECTOR_SHIFT(fs) >> BLOCK_SHIFT(fs); in ntfs_index_lookup() 921 const uint32_t sec_shift = SECTOR_SHIFT(fs); in ntfs_next_extent() 1128 blk = (lcn + vcn) << NTFS_SB(fs)->clust_shift << SECTOR_SHIFT(fs) >> in ntfs_readdir() 1308 SECTOR_SHIFT(fs) = disk->sector_shift; in ntfs_fs_init() 1316 ilog2(ntfs.sec_per_clust) + SECTOR_SHIFT(fs) + in ntfs_fs_init() 1319 SECTOR_SIZE(fs) = 1 << SECTOR_SHIFT(fs); in ntfs_fs_init() 1328 sbi->clust_byte_shift = sbi->clust_shift + SECTOR_SHIFT(fs); in ntfs_fs_init() 1330 sbi->clust_size = ntfs.sec_per_clust << SECTOR_SHIFT(fs); in ntfs_fs_init() 1338 sbi->mft_blk = ntfs.mft_lclust << sbi->clust_shift << SECTOR_SHIFT(fs) >> in ntfs_fs_init() 1343 sbi->clusters = ntfs.total_sectors << SECTOR_SHIFT(fs) >> sbi->clust_shift; in ntfs_fs_init()
|
/external/syslinux/core/fs/ufs/ |
D | bmap.c | 175 int blktosec = BLOCK_SHIFT(fs) - SECTOR_SHIFT(fs); in ufs_next_extent() 193 ((sector_t) (block << (frag_shift - SECTOR_SHIFT(fs)))) | in ufs_next_extent()
|
/external/syslinux/linux/ |
D | syslinux.c | 270 int ldlinux_sectors = (boot_image_len + SECTOR_SIZE - 1) >> SECTOR_SHIFT; in main() 504 patch_sectors = (i + SECTOR_SIZE - 1) >> SECTOR_SHIFT; in main() 513 opt.offset + ((off_t) sectors[i] << SECTOR_SHIFT)); in main()
|
/external/syslinux/core/fs/fat/ |
D | fat.c | 43 fat_sector = offset >> SECTOR_SHIFT(fs); in get_next_cluster() 68 fat_sector = offset >> SECTOR_SHIFT(fs); in get_next_cluster() 76 fat_sector = offset >> SECTOR_SHIFT(fs); in get_next_cluster() 188 uint32_t sector_pos = file->offset >> SECTOR_SHIFT(file->fs); in get_the_right_sector()
|
D | fat_fs.h | 145 >> (SECTOR_SHIFT(fs) - 5); in root_dir_size()
|
/external/syslinux/extlinux/ |
D | main.c | 78 #define XFS_BOOTSECT_OFFSET (4 << SECTOR_SHIFT) 200 geo->cylinders = totalbytes / (geo->heads * geo->sectors << SECTOR_SHIFT); in get_geometry() 214 geo->start = li64.lo_offset >> SECTOR_SHIFT; in get_geometry() 216 geo->start = (unsigned int)li.lo_offset >> SECTOR_SHIFT; in get_geometry() 297 totalsectors = totalbytes >> SECTOR_SHIFT; in patch_file_and_bootblock() 313 nsect = (boot_image_len + SECTOR_SIZE - 1) >> SECTOR_SHIFT; in patch_file_and_bootblock()
|
/external/syslinux/com32/elflink/ldlinux/ |
D | loadhigh.c | 84 sectors = (chunk + sector_mask) >> SECTOR_SHIFT(fs); in pm_load_high()
|
/external/syslinux/core/include/ |
D | fs.h | 29 #define SECTOR_SHIFT(fs) ((fs)->sector_shift) macro
|
/external/syslinux/dos/ |
D | syslinux.c | 700 + SECTOR_SIZE - 1) >> SECTOR_SHIFT; in main() 727 patch_sectors = (i + SECTOR_SIZE - 1) >> SECTOR_SHIFT; in main()
|
/external/syslinux/core/fs/ext2/ |
D | bmap.c | 213 int blktosec = BLOCK_SHIFT(fs) - SECTOR_SHIFT(fs); in ext2_next_extent()
|
/external/syslinux/core/ |
D | isolinux.asm | 33 SECTOR_SHIFT equ 11 ; 2048 bytes/sector (El Torito requirement) define 34 SECTOR_SIZE equ (1 << SECTOR_SHIFT) 377 shr eax,SECTOR_SHIFT-2 ; dwords->sectors
|
D | pxelinux.asm | 39 SECTOR_SHIFT equ TFTP_BLOCKSIZE_LG2 define
|
/external/syslinux/core/fs/iso9660/ |
D | iso9660.c | 168 int blktosec = BLOCK_SHIFT(fs) - SECTOR_SHIFT(fs); in iso_get_inode()
|
/external/syslinux/win/ |
D | syslinux.c | 440 >> SECTOR_SHIFT; in main()
|
/external/syslinux/core/fs/btrfs/ |
D | btrfs.c | 528 u32 sec_shift = SECTOR_SHIFT(fs); in btrfs_next_extent()
|