Lines Matching refs:lreg
970 struct squashfs_lreg_inode *lreg; in sqfs_readdir() local
1031 lreg = (struct squashfs_lreg_inode *)ipos; in sqfs_readdir()
1032 dent->size = get_unaligned_le64(&lreg->file_size); in sqfs_readdir()
1270 static int sqfs_get_lregfile_info(struct squashfs_lreg_inode *lreg, in sqfs_get_lregfile_info() argument
1277 finfo->size = get_unaligned_le64(&lreg->file_size); in sqfs_get_lregfile_info()
1278 finfo->offset = get_unaligned_le32(&lreg->offset); in sqfs_get_lregfile_info()
1279 finfo->start = get_unaligned_le64(&lreg->start_block); in sqfs_get_lregfile_info()
1280 finfo->frag = SQFS_IS_FRAGMENTED(get_unaligned_le32(&lreg->fragment)); in sqfs_get_lregfile_info()
1290 ret = sqfs_frag_lookup(get_unaligned_le32(&lreg->fragment), in sqfs_get_lregfile_info()
1321 struct squashfs_lreg_inode *lreg; in sqfs_read() local
1386 lreg = (struct squashfs_lreg_inode *)ipos; in sqfs_read()
1387 datablk_count = sqfs_get_lregfile_info(lreg, &finfo, in sqfs_read()
1395 memcpy(finfo.blk_sizes, ipos + sizeof(*lreg), in sqfs_read()
1587 struct squashfs_lreg_inode *lreg; in sqfs_size() local
1635 lreg = (struct squashfs_lreg_inode *)ipos; in sqfs_size()
1636 *size = get_unaligned_le64(&lreg->file_size); in sqfs_size()