Home
last modified time | relevance | path

Searched refs:file_size (Results 1 – 11 of 11) sorted by relevance

/fs/hpfs/
Dinode.c136 i->i_size = le32_to_cpu(fnode->file_size); in hpfs_read_inode()
222 fnode->file_size = cpu_to_le32(i->i_size); in hpfs_write_inode_nolock()
223 if (de) de->file_size = cpu_to_le32(i->i_size); in hpfs_write_inode_nolock()
225 fnode->file_size = cpu_to_le32(0); in hpfs_write_inode_nolock()
226 if (de) de->file_size = cpu_to_le32(0); in hpfs_write_inode_nolock()
245 de->file_size = cpu_to_le32(0); in hpfs_write_inode_nolock()
Dhpfs.h351 __le32 file_size; /* file length, bytes */ member
460 __le32 file_size; /* file length, bytes */ member
Ddir.c282 result->i_size = le32_to_cpu(de->file_size); in hpfs_lookup()
/fs/ntfs/
Dlogfile.c159 u64 file_size; in ntfs_check_restart_area() local
172 if (ra_ofs + offsetof(RESTART_AREA, file_size) > in ntfs_check_restart_area()
228 file_size = (u64)sle64_to_cpu(ra->file_size); in ntfs_check_restart_area()
230 while (file_size) { in ntfs_check_restart_area()
231 file_size >>= 1; in ntfs_check_restart_area()
Dlogfile.h222 /* 24*/ sle64 file_size; /* Usable byte size of the log file. If the member
/fs/squashfs/
Dsquashfs_fs.h349 __le32 file_size; member
361 __le64 file_size; member
379 __le16 file_size; member
392 __le32 file_size; member
Dinode.c167 inode->i_size = le32_to_cpu(sqsh_ino->file_size); in squashfs_read_inode()
211 inode->i_size = le64_to_cpu(sqsh_ino->file_size); in squashfs_read_inode()
240 inode->i_size = le16_to_cpu(sqsh_ino->file_size); in squashfs_read_inode()
265 inode->i_size = le32_to_cpu(sqsh_ino->file_size); in squashfs_read_inode()
/fs/reiserfs/
Dstree.c1769 loff_t file_size, /* Old file size. */ in reiserfs_do_truncate() local
1818 file_size = 0; in reiserfs_do_truncate()
1827 file_size = offset + bytes - 1; in reiserfs_do_truncate()
1836 if (file_size == 0 || file_size < new_file_size) { in reiserfs_do_truncate()
1841 set_cpu_key_k_offset(&s_item_key, file_size); in reiserfs_do_truncate()
1855 RFALSE(deleted > file_size, in reiserfs_do_truncate()
1857 deleted, file_size, &s_item_key); in reiserfs_do_truncate()
1860 file_size -= deleted; in reiserfs_do_truncate()
1862 set_cpu_key_k_offset(&s_item_key, file_size); in reiserfs_do_truncate()
1893 } while (file_size > ROUND_UP(new_file_size) && in reiserfs_do_truncate()
[all …]
Dreiserfs.h2592 #define file_size(inode) ((inode)->i_size) macro
2593 #define tail_size(inode) (file_size (inode) & (i_block_size (inode) - 1))
2596 …_IN_UNFM_S1(file_size (inode), tail_size(inode), inode->i_sb->s_blocksize):have_small_tails ((inod…
/fs/ecryptfs/
Dcrypto.c1224 u8 file_size[ECRYPTFS_SIZE_AND_MARKER_BYTES]; in ecryptfs_read_and_validate_header_region() local
1225 u8 *marker = file_size + ECRYPTFS_FILE_SIZE_BYTES; in ecryptfs_read_and_validate_header_region()
1228 rc = ecryptfs_read_lower(file_size, 0, ECRYPTFS_SIZE_AND_MARKER_BYTES, in ecryptfs_read_and_validate_header_region()
1234 ecryptfs_i_size_init(file_size, inode); in ecryptfs_read_and_validate_header_region()
1470 u64 file_size; in ecryptfs_i_size_init() local
1476 file_size = i_size_read(ecryptfs_inode_to_lower(inode)); in ecryptfs_i_size_init()
1478 file_size += crypt_stat->metadata_size; in ecryptfs_i_size_init()
1480 file_size = get_unaligned_be64(page_virt); in ecryptfs_i_size_init()
1481 i_size_write(inode, (loff_t)file_size); in ecryptfs_i_size_init()
1582 u8 file_size[ECRYPTFS_SIZE_AND_MARKER_BYTES]; in ecryptfs_read_and_validate_xattr_region() local
[all …]
/fs/fuse/
Ddev.c1557 loff_t file_size; in fuse_notify_store() local
1587 file_size = i_size_read(inode); in fuse_notify_store()
1589 if (end > file_size) { in fuse_notify_store()
1590 file_size = end; in fuse_notify_store()
1591 fuse_write_update_size(inode, file_size); in fuse_notify_store()
1607 if (!err && offset == 0 && (num != 0 || file_size == end)) in fuse_notify_store()
1643 loff_t file_size; in fuse_retrieve() local
1650 file_size = i_size_read(inode); in fuse_retrieve()
1653 if (outarg->offset > file_size) in fuse_retrieve()
1655 else if (outarg->offset + num > file_size) in fuse_retrieve()
[all …]