Home
last modified time | relevance | path

Searched refs:filepos (Results 1 – 10 of 10) sorted by relevance

/tools/libfsimage/xfs/
A Dfsys_xfs.c365 filepos |= xfs.blkoff; in next_dentry()
372 filepos += toread; in next_dentry()
404 filepos = 0; in first_dentry()
430 filepos = xfs.blkoff; in first_dentry()
505 filepos += len; in xfs_read()
509 startpos = filepos; in xfs_read()
510 endpos = filepos + len; in xfs_read()
528 filepos += toread; in xfs_read()
533 filepos += toread; in xfs_read()
568 filepos = 0; in xfs_dir()
[all …]
/tools/libfsimage/zfs/
A Dfsi_zfs.c33 #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 Dfsi_zfs.h76 #undef filepos
78 extern uint64_t filepos;
A Dfsys_zfs.c1467 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()
/tools/libfsimage/fat/
A Dfsys_fat.c192 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()
/tools/libfsimage/ufs/
A Dfsys_ufs.c96 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()
/tools/libfsimage/iso9660/
A Dfsys_iso9660.c380 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()
/tools/libfsimage/reiserfs/
A Dfsys_reiserfs.c886 filepos, len, (__u64) IH_KEY_OFFSET (INFO->current_ih) - 1); in reiserfs_read()
890 || IH_KEY_OFFSET (INFO->current_ih) > filepos + 1) in reiserfs_read()
901 offset = filepos - IH_KEY_OFFSET (INFO->current_ih) + 1; in reiserfs_read()
906 filepos, len, offset, blocksize); in reiserfs_read()
964 filepos += to_read; in reiserfs_read()
1048 filepos = 0; in reiserfs_dir()
1090 filepos = 0; in reiserfs_dir()
/tools/libfsimage/common/
A Dxenfsimage_grub.h52 #define filepos (*fsig_filepos(ffi)) macro
/tools/libfsimage/ext2fs/
A Dfsys_ext2fs.c537 logical_block = filepos >> EXT2_BLOCK_SIZE_BITS (SUPERBLOCK); in ext2fs_read()
538 offset = filepos & (EXT2_BLOCK_SIZE (SUPERBLOCK) - 1); in ext2fs_read()
564 filepos += size; in ext2fs_read()
754 filepos = 0; in ext2fs_dir()

Completed in 17 milliseconds