Searched refs:i_size (Results 201 - 225 of 316) sorted by relevance

1234567891011>>

/linux-master/fs/fuse/
H A Ddax.c400 loff_t i_size = i_size_read(inode); local
406 if (pos + len > i_size)
407 len = i_size - pos;
762 * disk i_size increase are not atomic otherwise.
/linux-master/drivers/gpu/drm/rockchip/
H A Dcdn-dp-reg.h458 u32 i_size, const u32 *d_mem, u32 d_size);
H A Dcdn-dp-reg.c282 u32 i_size, const u32 *d_mem, u32 d_size)
291 for (i = 0; i < i_size; i += 4)
281 cdn_dp_load_firmware(struct cdn_dp_device *dp, const u32 *i_mem, u32 i_size, const u32 *d_mem, u32 d_size) argument
/linux-master/fs/adfs/
H A Ddir.c161 ret = adfs_dir_read(sb, ADFS_I(inode)->indaddr, inode->i_size, dir);
/linux-master/fs/orangefs/
H A Dnamei.c284 inode->i_size = strlen(symname);
/linux-master/fs/kernfs/
H A Dinode.c219 inode->i_size = kn->attr.size;
/linux-master/ipc/
H A Dmqueue.c312 inode->i_size = FILENT_SIZE;
392 inode->i_size = 2 * DIRENT_SIZE;
598 dir->i_size += DIRENT_SIZE;
622 dir->i_size -= DIRENT_SIZE;
/linux-master/fs/proc/
H A Dfd.c214 inode->i_size = 64;
/linux-master/fs/reiserfs/
H A Dstree.c1496 inode->i_size = 0;
1566 BUG_ON(new_file_size != inode->i_size);
1603 make_cpu_key(&tail_key, inode, inode->i_size + 1, TYPE_DIRECT, 4);
1878 struct inode *inode, /* ->i_size contains new size */
1911 new_file_size = inode->i_size;
H A Dprocfs.c290 loff_t size = file_inode(sb_info->oidmap.mapf)->i_size;
/linux-master/fs/jfs/
H A Djfs_dtree.c349 * i_size reflects size of index table, or 8 bytes per entry.
351 ip->i_size = (loff_t) (index - 1) << 3;
402 ip->i_size = PSIZE;
444 ip->i_size += PSIZE;
1000 ip->i_size = xlen << sbi->l2bsize;
1052 ip->i_size = lengthPXD(pxd) << sbi->l2bsize;
1097 ip->i_size += PSIZE;
2426 ip->i_size -= PSIZE;
2549 * the xtree. The caller needs to check i_size
2560 ip->i_size
[all...]
H A Djfs_metapage.c241 sector_t file_blocks = (inode->i_size + inode->i_sb->s_blocksize - 1) >>
607 if ((lblock << inode->i_blkbits) >= inode->i_size)
/linux-master/virt/kvm/
H A Dguest_memfd.c361 inode->i_size = size;
/linux-master/fs/ntfs3/
H A Dfrecord.c2176 loff_t i_size = i_size_read(inode); local
2191 cend = bytes_to_cluster(sbi, i_size);
2193 if (!i_size)
2215 for (vbo = 0; vbo < i_size; vbo += bytes) {
2219 if (vbo + frame_size > i_size) {
2220 bytes = i_size - vbo;
2511 loff_t i_size = i_size_read(&ni->vfs_inode);
2552 frames = (i_size - 1) >> frame_bits;
2560 unc_size = 1 + ((i_size - 1) & (frame_size - 1));
/linux-master/fs/pstore/
H A Dinode.c377 inode->i_size = private->total_size = size;
/linux-master/fs/btrfs/
H A Drelocation.c2842 u64 i_size = i_size_read(&inode->vfs_inode); local
2848 * For subpage case, previous i_size may not be aligned to PAGE_SIZE.
2849 * This means the range [i_size, PAGE_END + 1) is filled with zeros by
2856 * Here we have to manually invalidate the range (i_size, PAGE_END + 1).
2858 if (!PAGE_ALIGNED(i_size)) {
2865 ASSERT(IS_ALIGNED(i_size, sectorsize));
2890 clear_extent_bits(&inode->io_tree, i_size,
2891 round_up(i_size, PAGE_SIZE) - 1,
2893 page = find_lock_page(mapping, i_size >> PAGE_SHIFT);
2899 btrfs_subpage_clear_uptodate(fs_info, page_folio(page), i_size,
[all...]
/linux-master/fs/iomap/
H A Dbuffered-io.c276 * If the extent spans the block that contains the i_size, we need to
278 * page cache for blocks that are entirely outside of i_size.
648 loff_t i_size = i_size_read(inode); local
654 if (pos + len > i_size)
655 truncate_pagecache_range(inode, max(pos, i_size),
879 loff_t old_size = iter->inode->i_size;
1821 * If the folio is entirely beyond i_size, return false. If it straddles
1822 * i_size, adjust end_pos and zero all data beyond i_size.
1834 * If the folio is entirely ouside of i_size, ski
[all...]
/linux-master/fs/openpromfs/
H A Dinode.c260 inode->i_size = ent_oi->u.prop->length;
/linux-master/include/linux/
H A Df2fs_fs.h294 __le64 i_size; /* file size in bytes */ member in struct:f2fs_inode
/linux-master/fs/erofs/
H A Dinternal.h229 #define erofs_iblks(i) (round_up((i)->i_size, i_blocksize(i)) >> (i)->i_blkbits)
/linux-master/fs/hfsplus/
H A Dxattr.c199 hip->phys_size = attr_file->i_size =
202 inode_set_bytes(attr_file, attr_file->i_size);
/linux-master/fs/nfs/blocklayout/
H A Dblocklayout.c310 if ((isect << SECTOR_SHIFT) >= header->inode->i_size) {
312 header->res.count = header->inode->i_size - header->args.offset;
/linux-master/kernel/
H A Drelay.c344 d_inode(buf->dentry)->i_size = buf->early_bytes;
673 d_inode(buf->dentry)->i_size +=
/linux-master/arch/powerpc/platforms/cell/spufs/
H A Dinode.c101 (attr->ia_size != inode->i_size))
128 inode->i_size = size;
/linux-master/fs/ext4/
H A Dindirect.c467 * the new i_size. But that is not done here - it is done in
712 * moment, get_block can be called only for blocks inside i_size since
781 * partially truncated if some data below the new i_size is referred
1132 last_block = (inode->i_size + blocksize-1)
1148 * the new, shorter inode size (held for now in i_size) into the
1152 ei->i_disksize = inode->i_size;

Completed in 278 milliseconds

1234567891011>>