Home
last modified time | relevance | path

Searched refs:avail_bytes (Results 1 – 4 of 4) sorted by relevance

/external/squashfs-tools/squashfs-tools/
Dxattr.c491 int i, avail_bytes; in write_xattrs() local
512 avail_bytes = cache_bytes > SQUASHFS_METADATA_SIZE ? in write_xattrs()
515 avail_bytes, SQUASHFS_METADATA_SIZE, noX, 0); in write_xattrs()
519 datap += avail_bytes; in write_xattrs()
520 cache_bytes -= avail_bytes; in write_xattrs()
Dmksquashfs.c326 static char *read_from_disk(long long start, unsigned int avail_bytes);
637 int avail_bytes; in write_inodes() local
651 avail_bytes = cache_bytes > SQUASHFS_METADATA_SIZE ? in write_inodes()
654 avail_bytes, SQUASHFS_METADATA_SIZE, noI, 0); in write_inodes()
658 total_inode_bytes += avail_bytes + BLOCK_OFFSET; in write_inodes()
659 datap += avail_bytes; in write_inodes()
660 cache_bytes -= avail_bytes; in write_inodes()
673 int avail_bytes; in write_directories() local
688 avail_bytes = directory_cache_bytes > SQUASHFS_METADATA_SIZE ? in write_directories()
691 BLOCK_OFFSET, directoryp, avail_bytes, in write_directories()
[all …]
Dunsquashfs.c901 int avail_bytes, i; in write_block() local
902 for(i = 0; i < blocks; i++, hole -= avail_bytes) { in write_block()
903 avail_bytes = hole > block_size ? block_size : in write_block()
905 if(write_bytes(file_fd, zero_data, avail_bytes) in write_block()
/external/squashfs-tools/kernel-2.4/fs/squashfs/
Dinode.c164 int bytes, avail_bytes, b = 0, k; in squashfs_read_data() local
212 avail_bytes = (c_byte - bytes) > (msblk->devblksize - offset) ? in squashfs_read_data()
218 memcpy(c_buffer + bytes, bh[k]->b_data + offset, avail_bytes); in squashfs_read_data()
219 bytes += avail_bytes; in squashfs_read_data()