/fs/ |
D | kernel_read_file.c | 36 size_t buf_size, size_t *file_size, in kernel_read_file() argument 45 if (offset != 0 && (!*buf || !file_size)) in kernel_read_file() 66 if (!file_size && offset == 0 && i_size > buf_size) { in kernel_read_file() 76 if (file_size) in kernel_read_file() 77 *file_size = i_size; in kernel_read_file() 128 size_t buf_size, size_t *file_size, in kernel_read_file_from_path() argument 141 ret = kernel_read_file(file, offset, buf, buf_size, file_size, id); in kernel_read_file_from_path() 149 size_t *file_size, in kernel_read_file_from_path_initns() argument 168 ret = kernel_read_file(file, offset, buf, buf_size, file_size, id); in kernel_read_file_from_path_initns() 175 size_t buf_size, size_t *file_size, in kernel_read_file_from_fd() argument [all …]
|
/fs/incfs/ |
D | format.c | 107 size_t file_size, size_t len) in append_zeros_no_fallocate() argument 115 int err = write_to_bf(bfc, buffer, to_write, file_size + i); in append_zeros_no_fallocate() 127 loff_t file_size = 0; in append_zeros() local 144 file_size = incfs_get_end_offset(bfc->bc_file); in append_zeros() 145 new_last_byte_offset = file_size + len - 1; in append_zeros() 150 return append_zeros_no_fallocate(bfc, file_size, len); in append_zeros() 417 incfs_uuid_t *uuid, u64 file_size) in incfs_write_fh_to_backing_file() argument 431 fh.fh_file_size = cpu_to_le64(file_size); in incfs_write_fh_to_backing_file() 448 incfs_uuid_t *uuid, u64 file_size, u64 offset) in incfs_write_mapping_fh_to_backing_file() argument 462 fh.fh_mapped_file_size = cpu_to_le64(file_size); in incfs_write_mapping_fh_to_backing_file() [all …]
|
D | format.h | 356 incfs_uuid_t *uuid, u64 file_size); 359 incfs_uuid_t *uuid, u64 file_size, u64 offset); 371 loff_t file_size); 388 u64 *file_size, u32 *flags);
|
/fs/hpfs/ |
D | inode.c | 138 i->i_size = le32_to_cpu(fnode->file_size); in hpfs_read_inode() 225 fnode->file_size = cpu_to_le32(i->i_size); in hpfs_write_inode_nolock() 226 if (de) de->file_size = cpu_to_le32(i->i_size); in hpfs_write_inode_nolock() 228 fnode->file_size = cpu_to_le32(0); in hpfs_write_inode_nolock() 229 if (de) de->file_size = cpu_to_le32(0); in hpfs_write_inode_nolock() 248 de->file_size = cpu_to_le32(0); in hpfs_write_inode_nolock()
|
D | hpfs.h | 352 __le32 file_size; /* file length, bytes */ member 462 __le32 file_size; /* file length, bytes */ member
|
D | dir.c | 293 result->i_size = le32_to_cpu(de->file_size); in hpfs_lookup()
|
/fs/ntfs/ |
D | logfile.c | 146 u64 file_size; in ntfs_check_restart_area() local 159 if (ra_ofs + offsetof(RESTART_AREA, file_size) > in ntfs_check_restart_area() 215 file_size = (u64)sle64_to_cpu(ra->file_size); in ntfs_check_restart_area() 217 while (file_size) { in ntfs_check_restart_area() 218 file_size >>= 1; in ntfs_check_restart_area()
|
D | logfile.h | 208 /* 24*/ sle64 file_size; /* Usable byte size of the log file. If the member
|
/fs/squashfs/ |
D | squashfs_fs.h | 344 __le32 file_size; member 356 __le64 file_size; member 374 __le16 file_size; member 387 __le32 file_size; member
|
D | inode.c | 155 inode->i_size = le32_to_cpu(sqsh_ino->file_size); in squashfs_read_inode() 199 inode->i_size = le64_to_cpu(sqsh_ino->file_size); in squashfs_read_inode() 228 inode->i_size = le16_to_cpu(sqsh_ino->file_size); in squashfs_read_inode() 253 inode->i_size = le32_to_cpu(sqsh_ino->file_size); in squashfs_read_inode()
|
/fs/ecryptfs/ |
D | crypto.c | 980 u8 file_size[ECRYPTFS_SIZE_AND_MARKER_BYTES]; in ecryptfs_read_and_validate_header_region() local 981 u8 *marker = file_size + ECRYPTFS_FILE_SIZE_BYTES; in ecryptfs_read_and_validate_header_region() 984 rc = ecryptfs_read_lower(file_size, 0, ECRYPTFS_SIZE_AND_MARKER_BYTES, in ecryptfs_read_and_validate_header_region() 992 ecryptfs_i_size_init(file_size, inode); in ecryptfs_read_and_validate_header_region() 1241 u64 file_size; in ecryptfs_i_size_init() local 1247 file_size = i_size_read(ecryptfs_inode_to_lower(inode)); in ecryptfs_i_size_init() 1249 file_size += crypt_stat->metadata_size; in ecryptfs_i_size_init() 1251 file_size = get_unaligned_be64(page_virt); in ecryptfs_i_size_init() 1252 i_size_write(inode, (loff_t)file_size); in ecryptfs_i_size_init() 1350 u8 file_size[ECRYPTFS_SIZE_AND_MARKER_BYTES]; in ecryptfs_read_and_validate_xattr_region() local [all …]
|
/fs/reiserfs/ |
D | stree.c | 1894 loff_t file_size, /* Old file size. */ in reiserfs_do_truncate() local 1943 file_size = 0; in reiserfs_do_truncate() 1954 file_size = offset + bytes - 1; in reiserfs_do_truncate() 1963 if (file_size == 0 || file_size < new_file_size) { in reiserfs_do_truncate() 1968 set_cpu_key_k_offset(&s_item_key, file_size); in reiserfs_do_truncate() 1982 RFALSE(deleted > file_size, in reiserfs_do_truncate() 1984 deleted, file_size, &s_item_key); in reiserfs_do_truncate() 1987 file_size -= deleted; in reiserfs_do_truncate() 1989 set_cpu_key_k_offset(&s_item_key, file_size); in reiserfs_do_truncate() 2022 } while (file_size > ROUND_UP(new_file_size) && in reiserfs_do_truncate() [all …]
|
D | reiserfs.h | 3046 #define file_size(inode) ((inode)->i_size) macro 3047 #define tail_size(inode) (file_size (inode) & (i_block_size (inode) - 1)) 3050 …_IN_UNFM_S1(file_size (inode), tail_size(inode), inode->i_sb->s_blocksize):have_small_tails ((inod…
|
/fs/fuse/ |
D | dev.c | 1581 loff_t file_size; in fuse_notify_store() local 1608 file_size = i_size_read(inode); in fuse_notify_store() 1610 if (end > file_size) { in fuse_notify_store() 1611 file_size = end; in fuse_notify_store() 1612 fuse_write_update_attr(inode, file_size, outarg.size); in fuse_notify_store() 1629 (this_num == PAGE_SIZE || file_size == end)) in fuse_notify_store() 1674 loff_t file_size; in fuse_retrieve() local 1686 file_size = i_size_read(inode); in fuse_retrieve() 1689 if (outarg->offset > file_size) in fuse_retrieve() 1691 else if (outarg->offset + num > file_size) in fuse_retrieve() [all …]
|
/fs/debugfs/ |
D | inode.c | 557 loff_t file_size) in debugfs_create_file_size() argument 562 d_inode(de)->i_size = file_size; in debugfs_create_file_size()
|
/fs/afs/ |
D | dir.c | 195 req->file_size, req->len, req->actual_len); in afs_dir_dump() 364 if (req->len < req->file_size) { in afs_read_dir() 369 remote_size = req->file_size; in afs_read_dir()
|
D | internal.h | 206 loff_t file_size; /* File size returned by server */ member
|
D | yfsclient.c | 435 req->file_size = vp->scb.status.size; in yfs_deliver_fs_fetch_data64()
|
D | fsclient.c | 388 req->file_size = vp->scb.status.size; in afs_deliver_fs_fetch_data()
|