Home
last modified time | relevance | path

Searched refs:SECTOR_SIZE (Results 1 – 6 of 6) sorted by relevance

/xen-4.10.0-shim-comet/tools/libfsimage/common/
A Dfsimage_grub.c164 char tmp[SECTOR_SIZE]; in fsig_devread()
166 off = ffi->ff_fsi->f_off + ((off_t)sector * SECTOR_SIZE) + offset; in fsig_devread()
174 n = (off & (SECTOR_SIZE - 1)); in fsig_devread()
176 r = SECTOR_SIZE - n; in fsig_devread()
179 ret = pread(ffi->ff_fsi->f_fd, tmp, SECTOR_SIZE, off - n); in fsig_devread()
188 n = (bufsize & ~(SECTOR_SIZE - 1)); in fsig_devread()
198 ret = pread(ffi->ff_fsi->f_fd, tmp, SECTOR_SIZE, off); in fsig_devread()
A Dfsimage_grub.h49 #define SECTOR_SIZE 0x200 macro
/xen-4.10.0-shim-comet/tools/libfsimage/fat/
A Dfsys_fat.c140 || FAT_CVT_U16(bpb.bytes_per_sect) != SECTOR_SIZE in fat_mount()
144 || (FAT_SUPER->fat_size * FAT_SUPER->num_clust / (2 * SECTOR_SIZE) in fat_mount()
223 FAT_SUPER->cached_fat = (fat_entry & ~(2*SECTOR_SIZE - 1)); in fat_read()
226 + FAT_SUPER->cached_fat / (2*SECTOR_SIZE); in fat_read()
/xen-4.10.0-shim-comet/tools/pygrub/src/
A Dpygrub31 SECTOR_SIZE = 512 variable
40 return (((size)+((SECTOR_SIZE)-1))&(~((SECTOR_SIZE)-1)))
76 os.lseek(fd, offset + (DK_LABEL_LOC * SECTOR_SIZE), 0)
89 return slicesect * SECTOR_SIZE
95 os.lseek(fd, SECTOR_SIZE, 0)
103 offsets.append(struct.unpack("<Q", buf[32:40])[0] * SECTOR_SIZE)
134 offset = struct.unpack("<L", partbuf[8:12])[0] * SECTOR_SIZE
/xen-4.10.0-shim-comet/tools/libfsimage/reiserfs/
A Dfsys_reiserfs.c292 #define FSYSREISER_MIN_BLOCKSIZE SECTOR_SIZE
616 || (SECTOR_SIZE << INFO->blocksize_shift) != super.s_blocksize) in reiserfs_mount()
/xen-4.10.0-shim-comet/stubdom/grub.patches/
A D61btrfs.diff667 + char mbr[SECTOR_SIZE];
1828 + byte_offset &= SECTOR_SIZE - 1;
2532 + logical_start & ((u64)SECTOR_SIZE - 1),

Completed in 135 milliseconds