Home
last modified time | relevance | path

Searched refs:block_log (Results 1 – 18 of 18) sorted by relevance

/external/squashfs-tools/kernel/fs/squashfs/
Dsuper.c159 msblk->block_log = le16_to_cpu(sblk->block_log); in squashfs_fill_super()
160 if (msblk->block_log > SQUASHFS_FILE_MAX_LOG) in squashfs_fill_super()
308 buf->f_blocks = ((msblk->bytes_used - 1) >> msblk->block_log) + 1; in squashfs_statfs()
Dfile.c241 int skip = calculate_skip(i_size_read(inode) >> msblk->block_log); in fill_meta_index()
383 int mask = (1 << (msblk->block_log - PAGE_CACHE_SHIFT)) - 1; in squashfs_readpage()
384 int index = page->index >> (msblk->block_log - PAGE_CACHE_SHIFT); in squashfs_readpage()
387 int file_end = i_size_read(inode) >> msblk->block_log; in squashfs_readpage()
Dsquashfs_fs_sb.h72 unsigned short block_log; member
Dsquashfs_fs.h224 __le16 block_log; member
/external/squashfs-tools/squashfs-tools/
Dunsquash-4.c155 sBlk.s.block_log : in read_inode_4()
156 i.data >> sBlk.s.block_log; in read_inode_4()
175 sBlk.s.block_log : in read_inode_4()
176 inode->file_size >> sBlk.s.block_log; in read_inode_4()
Dunsquash-3.c199 sBlk.s.block_log : in read_inode_3()
200 i.data >> sBlk.s.block_log; in read_inode_3()
224 sBlk.s.block_log : in read_inode_3()
225 inode->file_size >> sBlk.s.block_log; in read_inode_3()
Dunsquashfs.c69 unsigned int block_log; variable
1519 (block_size - 1)) >> block_log; in pre_scan()
1842 sBlk.s.block_log = sBlk_3.block_log; in read_super()
2710 block_log = sBlk.s.block_log; in main()
2718 block_log > SQUASHFS_FILE_MAX_LOG) in main()
2725 if(block_size != (1 << block_log)) in main()
2736 if(shift_overflow(fragment_buffer_size, 20 - block_log)) in main()
2739 fragment_buffer_size <<= 20 - block_log; in main()
2741 if(shift_overflow(data_buffer_size, 20 - block_log)) in main()
2744 data_buffer_size <<= 20 - block_log; in main()
Dunsquash-2.c215 sBlk.s.block_log : i.data >> in read_inode_2()
216 sBlk.s.block_log; in read_inode_2()
Dread_fs.c257 sBlk->block_log : inode.file_size >> in scan_inode_table()
258 sBlk->block_log; in scan_inode_table()
312 sBlk->block_log : inode.file_size >> in scan_inode_table()
313 sBlk->block_log; in scan_inode_table()
Dmksquashfs.c125 int block_size = SQUASHFS_FILE_SIZE, block_log; variable
2238 blocks = (read_size + block_size - 1) >> block_log; in reader_read_file()
2664 int blocks = (read_size + block_size - 1) >> block_log; in write_file_blocks_dup()
2691 blocks = read_size >> block_log; in write_file_blocks_dup()
2806 int blocks = (read_size + block_size - 1) >> block_log; in write_file_blocks()
2834 blocks = read_size >> block_log; in write_file_blocks()
3091 >> block_log); in alloc_inode_no()
4296 reader_size = readq << (20 - block_log); in initialise_threads()
4297 fragment_size = fragq << (20 - block_log); in initialise_threads()
4298 bwriter_size = bwriteq << (20 - block_log); in initialise_threads()
[all …]
Dsquashfs_fs.h288 unsigned short block_log; member
Dsquashfs_compat.h49 unsigned int block_log:16; member
248 SQUASHFS_SWAP((s)->block_log, d, 272, 16);\
Dunsquash-1.c143 sBlk.s.block_log; in read_inode_1()
Dsquashfs_swap.h52 SWAP_FUNC(16, s, d, block_log, struct squashfs_super_block);\
/external/squashfs-tools/kernel/include/linux/
Dsquashfs_fs_sb.h72 unsigned short block_log; member
Dsquashfs_fs.h223 __le16 block_log; member
/external/squashfs-tools/kernel-2.4/fs/squashfs/
Dinode.c1131 buf->f_blocks = ((sblk->bytes_used - 1) >> sblk->block_log) + 1; in squashfs_statfs()
1331 int skip = calculate_skip(i_size_read(inode) >> sblk->block_log); in get_meta_index()
1458 int index = page->index >> (sblk->block_log - PAGE_CACHE_SHIFT); in squashfs_readpage()
1463 int mask = (1 << (sblk->block_log - PAGE_CACHE_SHIFT)) - 1; in squashfs_readpage()
1477 sblk->block_log)) { in squashfs_readpage()
1548 sblk->block_log)) in squashfs_readpage()
1589 sblk->block_log)) { in squashfs_readpage4K()
/external/squashfs-tools/kernel-2.4/include/linux/
Dsquashfs_fs.h227 unsigned int block_log:16; member
383 SQUASHFS_SWAP((s)->block_log, d, 272, 16);\