Home
last modified time | relevance | path

Searched refs:sblk (Results 1 – 5 of 5) sorted by relevance

/external/squashfs-tools/kernel/fs/squashfs/
Dsuper.c70 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()
[all …]
/external/squashfs-tools/kernel-2.4/fs/squashfs/
Dsquashfs2_0.c62 struct squashfs_super_block *sblk = &msblk->sblk; in read_fragment_index_table_2() local
65 (sblk->fragments), GFP_KERNEL))) { in read_fragment_index_table_2()
70 if (SQUASHFS_FRAGMENT_INDEX_BYTES_2(sblk->fragments) && in read_fragment_index_table_2()
73 sblk->fragment_table_start, in read_fragment_index_table_2()
75 (sblk->fragments) | in read_fragment_index_table_2()
85 for (i = 0; i < SQUASHFS_FRAGMENT_INDEXES_2(sblk->fragments); in read_fragment_index_table_2()
137 struct squashfs_super_block *sblk = &msblk->sblk; in squashfs_new_inode() local
142 i->i_mtime = sblk->mkfs_time; in squashfs_new_inode()
143 i->i_atime = sblk->mkfs_time; in squashfs_new_inode()
144 i->i_ctime = sblk->mkfs_time; in squashfs_new_inode()
[all …]
Dinode.c132 if (SQUASHFS_CHECK_DATA(msblk->sblk.flags)) { in get_block_length()
250 (SQUASHFS_CHECK_DATA(msblk->sblk.flags) in squashfs_read_data()
528 struct squashfs_super_block *sblk = &msblk->sblk; in squashfs_iget() local
530 sblk->inode_table_start; in squashfs_iget()
595 if (sblk->block_size > 4096) in squashfs_iget()
648 if (sblk->block_size > 4096) in squashfs_iget()
858 struct squashfs_super_block *sblk = &msblk->sblk; in read_fragment_index_table() local
861 (sblk->fragments), GFP_KERNEL))) { in read_fragment_index_table()
866 if (SQUASHFS_FRAGMENT_INDEX_BYTES(sblk->fragments) && in read_fragment_index_table()
869 sblk->fragment_table_start, in read_fragment_index_table()
[all …]
/external/squashfs-tools/kernel-2.4/include/linux/
Dsquashfs_fs_sb.h44 struct squashfs_super_block sblk; member
/external/squashfs-tools/squashfs-tools/
Dunsquashfs.c1824 squashfs_super_block_3 sblk; in read_super() local
1827 SQUASHFS_SWAP_SUPER_BLOCK_3(&sblk, &sBlk_3); in read_super()
1828 memcpy(&sBlk_3, &sblk, sizeof(squashfs_super_block_3)); in read_super()