Lines Matching refs:sblk
70 struct squashfs_super_block *sblk = NULL; in squashfs_fill_super() local
95 sblk = kzalloc(sizeof(*sblk), GFP_KERNEL); in squashfs_fill_super()
96 if (sblk == NULL) { in squashfs_fill_super()
113 msblk->bytes_used = sizeof(*sblk); in squashfs_fill_super()
114 err = squashfs_read_table(sb, sblk, SQUASHFS_START, sizeof(*sblk)); in squashfs_fill_super()
122 sb->s_magic = le32_to_cpu(sblk->s_magic); in squashfs_fill_super()
132 err = supported_squashfs_filesystem(le16_to_cpu(sblk->s_major), in squashfs_fill_super()
133 le16_to_cpu(sblk->s_minor), in squashfs_fill_super()
134 le16_to_cpu(sblk->compression)); in squashfs_fill_super()
144 if (le64_to_cpu(sblk->xattr_table_start) != SQUASHFS_INVALID_BLK) in squashfs_fill_super()
149 msblk->bytes_used = le64_to_cpu(sblk->bytes_used); in squashfs_fill_super()
155 msblk->block_size = le32_to_cpu(sblk->block_size); in squashfs_fill_super()
159 msblk->block_log = le16_to_cpu(sblk->block_log); in squashfs_fill_super()
164 root_inode = le64_to_cpu(sblk->root_inode); in squashfs_fill_super()
168 msblk->inode_table = le64_to_cpu(sblk->inode_table_start); in squashfs_fill_super()
169 msblk->directory_table = le64_to_cpu(sblk->directory_table_start); in squashfs_fill_super()
170 msblk->inodes = le32_to_cpu(sblk->inodes); in squashfs_fill_super()
171 flags = le16_to_cpu(sblk->flags); in squashfs_fill_super()
181 TRACE("Number of fragments %d\n", le32_to_cpu(sblk->fragments)); in squashfs_fill_super()
182 TRACE("Number of ids %d\n", le16_to_cpu(sblk->no_ids)); in squashfs_fill_super()
186 (u64) le64_to_cpu(sblk->fragment_table_start)); in squashfs_fill_super()
188 (u64) le64_to_cpu(sblk->id_table_start)); in squashfs_fill_super()
210 le64_to_cpu(sblk->id_table_start), le16_to_cpu(sblk->no_ids)); in squashfs_fill_super()
217 fragments = le32_to_cpu(sblk->fragments); in squashfs_fill_super()
230 le64_to_cpu(sblk->fragment_table_start), fragments); in squashfs_fill_super()
238 lookup_table_start = le64_to_cpu(sblk->lookup_table_start); in squashfs_fill_super()
276 kfree(sblk); in squashfs_fill_super()
289 kfree(sblk); in squashfs_fill_super()