Searched refs:filepos (Results 1 – 12 of 12) sorted by relevance
/xen/tools/libfsimage/zfs/ |
A D | fsi_zfs.c | 33 #undef filepos 54 uint64_t filepos; variable 109 *fpos = filepos; in fsi_zfs_open() 135 filepos = *fpos; in fsi_zfs_read() 137 *fpos = filepos; in fsi_zfs_read()
|
A D | fsi_zfs.h | 76 #undef filepos 78 extern uint64_t filepos;
|
A D | fsys_zfs.c | 1467 filepos = 0; in zfs_open() 1496 if (filepos >= file_start && filepos+len <= file_end) { in zfs_read() 1497 grub_memmove(buf, file_buf + filepos - file_start, len); in zfs_read() 1498 filepos += len; in zfs_read() 1515 uint64_t blkid = filepos / blksz; in zfs_read() 1523 movesize = MIN(length, file_end - filepos); in zfs_read() 1525 grub_memmove(buf, file_buf + filepos - file_start, in zfs_read() 1529 filepos += movesize; in zfs_read()
|
/xen/tools/libfsimage/xfs/ |
A D | fsys_xfs.c | 382 filepos |= xfs.blkoff; in next_dentry() 389 filepos += toread; in next_dentry() 421 filepos = 0; in first_dentry() 447 filepos = xfs.blkoff; in first_dentry() 495 filepos += len; in xfs_read() 499 startpos = filepos; in xfs_read() 500 endpos = filepos + len; in xfs_read() 518 filepos += toread; in xfs_read() 523 filepos += toread; in xfs_read() 558 filepos = 0; in xfs_dir() [all …]
|
/xen/tools/libfsimage/fat/ |
A D | fsys_fat.c | 192 size = FAT_SUPER->root_max - filepos; in fat_read() 195 if (!devread(ffi, FAT_SUPER->root_offset, filepos, size, buf)) in fat_read() 197 filepos += size; in fat_read() 201 logical_clust = filepos >> FAT_SUPER->clustsize_bits; in fat_read() 202 offset = (filepos & ((1 << FAT_SUPER->clustsize_bits) - 1)); in fat_read() 268 filepos += size; in fat_read() 294 filepos = 0; in fat_dir() 464 filepos = 0; in fat_dir()
|
/xen/tools/libfsimage/ufs/ |
A D | fsys_ufs.c | 96 filepos = 0; in ufs_dir() 111 off = blkoff(SUPERBLOCK, filepos); in ufs_read() 112 lblk = lblkno(SUPERBLOCK, filepos); in ufs_read() 131 filepos += size; in ufs_read()
|
/xen/tools/libfsimage/iso9660/ |
A D | fsys_iso9660.c | 380 filepos = 0; in iso9660_dir() 424 blkoffset = filepos & (ISO_SECTOR_SIZE - 1); in iso9660_read() 425 sector = filepos >> ISO_SECTOR_BITS; in iso9660_read() 442 filepos += size; in iso9660_read()
|
/xen/tools/libfsimage/reiserfs/ |
A D | fsys_reiserfs.c | 884 filepos, len, (__u64) IH_KEY_OFFSET (INFO->current_ih) - 1); in reiserfs_read() 888 || IH_KEY_OFFSET (INFO->current_ih) > filepos + 1) in reiserfs_read() 899 offset = filepos - IH_KEY_OFFSET (INFO->current_ih) + 1; in reiserfs_read() 904 filepos, len, offset, blocksize); in reiserfs_read() 962 filepos += to_read; in reiserfs_read() 1046 filepos = 0; in reiserfs_dir() 1088 filepos = 0; in reiserfs_dir()
|
/xen/tools/libfsimage/common/ |
A D | xenfsimage_grub.h | 52 #define filepos (*fsig_filepos(ffi)) macro
|
/xen/tools/libfsimage/ext2fs/ |
A D | fsys_ext2fs.c | 535 logical_block = filepos >> EXT2_BLOCK_SIZE_BITS (SUPERBLOCK); in ext2fs_read() 536 offset = filepos & (EXT2_BLOCK_SIZE (SUPERBLOCK) - 1); in ext2fs_read() 562 filepos += size; in ext2fs_read() 752 filepos = 0; in ext2fs_dir()
|
/xen/stubdom/grub.patches/ |
A D | 60ext4.diff | 371 logical_block = filepos >> EXT2_BLOCK_SIZE_BITS (SUPERBLOCK); 372 offset = filepos & (EXT2_BLOCK_SIZE (SUPERBLOCK) - 1);
|
A D | 61btrfs.diff | 2900 + if (!path_is_valid(path, &path_key, filepos)) { 2929 + ioff = filepos - path_key.offset; 2936 + if (path_key.offset + bytes < filepos) 2960 + to_read, filepos); 2965 + if (path_key.offset + bytes < filepos) 2989 + filepos += to_read; 3032 + filepos = 0; 3308 + filepos = 0;
|
Completed in 18 milliseconds