HomeSort by relevance Sort by last modified time
    Searched refs:sBlk (Results 1 - 12 of 12) sorted by null

  /external/squashfs-tools/squashfs-tools/
read_fs.c 122 struct squashfs_super_block *sBlk, union squashfs_inode_header
221 file_mapping = calloc(sBlk->fragments, sizeof(struct append_file *));
254 0 : inode.file_size % sBlk->block_size;
256 (inode.file_size + sBlk->block_size - 1) >>
257 sBlk->block_log : inode.file_size >>
258 sBlk->block_log;
284 inode.fragment >= sBlk->fragments) {
309 0 : inode.file_size % sBlk->block_size;
311 (inode.file_size + sBlk->block_size - 1) >>
312 sBlk->block_log : inode.file_size >
    [all...]
unsquash-2.c 46 int bytes = SQUASHFS_FRAGMENT_BYTES_2(sBlk.s.fragments);
47 int indexes = SQUASHFS_FRAGMENT_INDEXES_2(sBlk.s.fragments);
51 "from 0x%llx\n", sBlk.s.fragments, indexes,
52 sBlk.s.fragment_table_start);
54 if(sBlk.s.fragments == 0) {
55 *directory_table_end = sBlk.s.fragment_table_start;
67 res = read_fs_bytes(fd, sBlk.s.fragment_table_start,
68 SQUASHFS_FRAGMENT_INDEX_BYTES_2(sBlk.s.fragments),
78 res = read_fs_bytes(fd, sBlk.s.fragment_table_start,
79 SQUASHFS_FRAGMENT_INDEX_BYTES_2(sBlk.s.fragments)
    [all...]
unsquash-1.c 52 *directory_table_end = sBlk.s.fragment_table_start;
60 long long start = sBlk.s.inode_table_start + start_block;
108 i.time = sBlk.s.mkfs_time;
142 i.blocks = (i.data + sBlk.s.block_size - 1) >>
143 sBlk.s.block_log;
244 start = sBlk.s.directory_table_start + (*i)->start;
322 TRACE("read_uids_guids: no_uids %d, no_guids %d\n", sBlk.no_uids,
323 sBlk.no_guids);
325 uid_table = malloc((sBlk.no_uids + sBlk.no_guids)
    [all...]
xattr.h 80 static inline int get_xattrs(int fd, struct squashfs_super_block *sBlk)
82 if(sBlk->xattr_id_table_start != SQUASHFS_INVALID_BLK) {
118 static inline int read_xattrs_from_disk(int fd, struct squashfs_super_block *sBlk)
120 if(sBlk->xattr_id_table_start != SQUASHFS_INVALID_BLK) {
unsquash-4.c 34 int bytes = SQUASHFS_FRAGMENT_BYTES(sBlk.s.fragments);
35 int indexes = SQUASHFS_FRAGMENT_INDEXES(sBlk.s.fragments);
39 "from 0x%llx\n", sBlk.s.fragments, indexes,
40 sBlk.s.fragment_table_start);
42 if(sBlk.s.fragments == 0) {
43 *directory_table_end = sBlk.s.fragment_table_start;
52 res = read_fs_bytes(fd, sBlk.s.fragment_table_start,
53 SQUASHFS_FRAGMENT_INDEX_BYTES(sBlk.s.fragments),
77 for(i = 0; i < sBlk.s.fragments; i++)
100 long long start = sBlk.s.inode_table_start + start_block
    [all...]
unsquash-3.c 33 int bytes = SQUASHFS_FRAGMENT_BYTES_3(sBlk.s.fragments);
34 int indexes = SQUASHFS_FRAGMENT_INDEXES_3(sBlk.s.fragments);
38 "from 0x%llx\n", sBlk.s.fragments, indexes,
39 sBlk.s.fragment_table_start);
41 if(sBlk.s.fragments == 0) {
42 *directory_table_end = sBlk.s.fragment_table_start;
54 res = read_fs_bytes(fd, sBlk.s.fragment_table_start,
55 SQUASHFS_FRAGMENT_INDEX_BYTES_3(sBlk.s.fragments),
65 res = read_fs_bytes(fd, sBlk.s.fragment_table_start,
66 SQUASHFS_FRAGMENT_INDEX_BYTES_3(sBlk.s.fragments)
    [all...]
unsquashfs.c 49 struct super_block sBlk;
678 if(SQUASHFS_CHECK_DATA(sBlk.s.flags))
1819 squashfs_super_block_3 sblk; local
    [all...]
read_xattrs.c 151 int read_xattrs_from_disk(int fd, struct squashfs_super_block *sBlk)
159 if(sBlk->xattr_id_table_start == SQUASHFS_INVALID_BLK)
166 res = read_fs_bytes(fd, sBlk->xattr_id_table_start, sizeof(id_table),
185 res = read_fs_bytes(fd, sBlk->xattr_id_table_start + sizeof(id_table),
unsquashfs_xattr.c 45 sBlk.s.xattr_id_table_start == SQUASHFS_INVALID_BLK)
mksquashfs.c 92 struct squashfs_super_block sBlk;
319 void write_filesystem_tables(struct squashfs_super_block *sBlk, int nopad);
405 write_filesystem_tables(&sBlk, nopad);
    [all...]
unsquashfs.h 226 extern struct super_block sBlk;
xattr.c 690 int get_xattrs(int fd, struct squashfs_super_block *sBlk)
697 res = read_xattrs_from_disk(fd, sBlk);

Completed in 113 milliseconds