Home
last modified time | relevance | path

Searched refs:i_size (Results 1 – 25 of 147) sorted by relevance

123456

/external/squashfs-tools/kernel/fs/squashfs/
Dinode.c73 inode->i_size = 0; in squashfs_new_inode()
160 inode->i_size = le32_to_cpu(sqsh_ino->file_size); in squashfs_read_inode()
163 inode->i_blocks = ((inode->i_size - 1) >> 9) + 1; in squashfs_read_inode()
202 inode->i_size = le64_to_cpu(sqsh_ino->file_size); in squashfs_read_inode()
205 inode->i_blocks = ((inode->i_size - in squashfs_read_inode()
230 inode->i_size = le16_to_cpu(sqsh_ino->file_size); in squashfs_read_inode()
254 inode->i_size = le32_to_cpu(sqsh_ino->file_size); in squashfs_read_inode()
281 inode->i_size = le32_to_cpu(sqsh_ino->symlink_size); in squashfs_read_inode()
/external/erofs-utils/lib/
Dnamei.c85 vi->i_size = le64_to_cpu(die->i_size); in erofs_read_inode_from_disk()
118 vi->i_size = le32_to_cpu(dic->i_size); in erofs_read_inode_from_disk()
192 while (offset < vi.i_size) { in erofs_namei()
194 vi.i_size - offset, EROFS_BLKSIZ); in erofs_namei()
Dinode.c187 dir->i_size = d_size; in erofs_prepare_dir_file()
275 DBG_BUGON(dir->i_size % EROFS_BLKSIZ); in erofs_write_dir_file()
279 DBG_BUGON(used != dir->i_size % EROFS_BLKSIZ); in erofs_write_dir_file()
293 const unsigned int nblocks = erofs_blknr(inode->i_size); in erofs_write_file_from_buffer()
304 inode->idata_size = inode->i_size % EROFS_BLKSIZ; in erofs_write_file_from_buffer()
327 nblocks = inode->i_size / EROFS_BLKSIZ; in write_uncompressed_file_from_fd()
349 inode->idata_size = inode->i_size % EROFS_BLKSIZ; in write_uncompressed_file_from_fd()
369 if (!inode->i_size) { in erofs_write_file()
408 u.dic.i_size = cpu_to_le32((u32)inode->i_size); in erofs_bh_flush_write_inode()
438 u.die.i_size = cpu_to_le64(inode->i_size); in erofs_bh_flush_write_inode()
[all …]
Ddata.c26 nblocks = DIV_ROUND_UP(inode->i_size, PAGE_SIZE); in erofs_map_blocks_flatmode()
29 if (offset >= inode->i_size) { in erofs_map_blocks_flatmode()
45 map->m_plen = inode->i_size - offset; in erofs_map_blocks_flatmode()
59 vi->nid, (unsigned long long)inode->i_size, map->m_la); in erofs_map_blocks_flatmode()
Dzmap.c231 const unsigned int totalidx = DIV_ROUND_UP(vi->i_size, EROFS_BLKSIZ); in compacted_load_cluster_from_disk()
349 if (map->m_la >= vi->i_size) { in z_erofs_map_blocks_iter()
350 map->m_llen = map->m_la + 1 - vi->i_size; in z_erofs_map_blocks_iter()
351 map->m_la = vi->i_size; in z_erofs_map_blocks_iter()
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/android_fs/android_fs_datawrite_start/
Dformat12 field:loff_t i_size; offset:32; size:8; signed:1;
17 …, cmdline %s, pid %d, i_size %llu, ino %lu", __get_str(pathbuf), REC->offset, REC->bytes, __get_st…
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/android_fs/android_fs_dataread_start/
Dformat12 field:loff_t i_size; offset:32; size:8; signed:1;
17 …, cmdline %s, pid %d, i_size %llu, ino %lu", __get_str(pathbuf), REC->offset, REC->bytes, __get_st…
/external/erofs-utils/fuse/
Ddir.c71 if (!dir.i_size) in erofsfuse_readdir()
75 while (pos < dir.i_size) { in erofsfuse_readdir()
80 dir.i_size - pos); in erofsfuse_readdir()
/external/e2fsprogs/lib/ext2fs/
Dvalid_blk.c48 if (inode->i_size >= EXT2_N_BLOCKS*4) in ext2fs_inode_has_valid_blocks2()
50 if (inode->i_size > 4 && inode->i_block[1] == 0) in ext2fs_inode_has_valid_blocks2()
Dmkdir.c108 inode.i_size = EXT4_MIN_INLINE_DATA_SIZE; in ext2fs_mkdir()
114 inode.i_size = fs->blocksize; in ext2fs_mkdir()
/external/e2fsprogs/tests/f_eofblocks/
Dexpect.12 Inode 30, i_size is 2048, should be 4096. Fix? yes
4 Inode 31, i_size is 2048, should be 6144. Fix? yes
Dname1 blocks after i_size
/external/e2fsprogs/doc/RelNotes/
Dv1.23.txt9 the i_size value of fast symlinks, and checks for immutable flags
13 non-zero i_blocks or i_size field. (The i_size field check was in the
15 clear the inode unless i_size and i_size_high were both non-zero.)
/external/kernel-headers/original/uapi/linux/
Dminix_fs.h38 __u32 i_size; member
56 __u32 i_size; member
/external/e2fsprogs/misc/
De2initrd_helper.c95 if (inode.i_size_high || (inode.i_size > 65536)) in get_file()
98 buf = malloc(inode.i_size + 1); in get_file()
101 memset(buf, 0, inode.i_size+1); in get_file()
107 retval = ext2fs_file_read(e2_file, buf, inode.i_size, &got); in get_file()
/external/f2fs-tools/fsck/
Dsegment.c152 filesize = le64_to_cpu(inode->i.i_size); in f2fs_quota_size()
186 filesize = le64_to_cpu(inode->i.i_size); in f2fs_read()
352 if (addr_type == WR_NORMAL && offset > le64_to_cpu(inode->i.i_size)) { in f2fs_write_ex()
353 inode->i.i_size = cpu_to_le64(offset); in f2fs_write_ex()
401 inode->i.i_size = cpu_to_le64(filesize); in f2fs_filesize_update()
504 node_blk->i.i_size = cpu_to_le64(de->size); in f2fs_build_file()
570 node_blk->i.i_size = cpu_to_le64(off); in f2fs_build_file()
/external/e2fsprogs/tests/f_inlinedata_repair/
Dexpect.14 Inode 16, i_size is 56, should be 60. Fix? yes
6 Inode 24, i_size is 59, should be 60. Fix? yes
/external/e2fsprogs/tests/f_uninit_ext_past_eof/
Dname1 fallocated extents after i_size
/external/e2fsprogs/tests/f_holedir2/
Dname1 directories with holes and zero i_size
/external/e2fsprogs/tests/f_holedir3/
Dname1 real directories with holes and zero i_size
/external/e2fsprogs/tests/f_uninit_ext_past_eof2/
Dname1 fallocate extents w/ nonzero i_size and extents > 4
/external/erofs-utils/include/
Derofs_fs.h88 __le32 i_size; member
117 __le64 i_size; member
/external/e2fsprogs/tests/f_dupfsblks/
Dexpect.14 Inode 12, i_size is 4096, should be 5120. Fix? yes
6 Inode 13, i_size is 0, should be 2048. Fix? yes
/external/e2fsprogs/tests/f_extents2/
Dexpect.18 Inode 13, i_size is 13295, should be 14336. Fix? yes
12 Inode 15, i_size is 42197, should be 44032. Fix? yes
/external/e2fsprogs/debugfs/
Ddump.c206 buf = malloc(inode->i_size + 1); in rdump_symlink()
215 unsigned bytes = inode->i_size; in rdump_symlink()
234 buf[inode->i_size] = 0; in rdump_symlink()

123456