Home
last modified time | relevance | path

Searched refs:i_disk_size (Results 1 – 25 of 26) sorted by relevance

12

/linux/fs/xfs/
A Dxfs_symlink.c37 int pathlen = ip->i_disk_size; in xfs_readlink_bmap_ilocked()
90 link[ip->i_disk_size] = '\0'; in xfs_readlink_bmap_ilocked()
115 pathlen = ip->i_disk_size; in xfs_readlink()
258 ip->i_disk_size = pathlen; in xfs_symlink()
273 ip->i_disk_size = pathlen; in xfs_symlink()
308 i_size_write(VFS_I(ip), ip->i_disk_size); in xfs_symlink()
407 size = (int)ip->i_disk_size; in xfs_inactive_symlink_rmt()
408 ip->i_disk_size = 0; in xfs_inactive_symlink_rmt()
484 pathlen = (int)ip->i_disk_size; in xfs_inactive_symlink()
A Dxfs_inode.h57 xfs_fsize_t i_disk_size; /* number of bytes in file */ member
101 return ip->i_disk_size; in XFS_ISIZE()
115 return new_size > ip->i_disk_size ? new_size : 0; in xfs_new_eof()
A Dxfs_rtalloc.c993 rbmblocks = XFS_B_TO_FSB(mp, mp->m_rbmip->i_disk_size); in xfs_growfs_rt()
994 rsumblocks = XFS_B_TO_FSB(mp, mp->m_rsumip->i_disk_size); in xfs_growfs_rt()
1063 mp->m_rbmip->i_disk_size = in xfs_growfs_rt()
1065 i_size_write(VFS_I(mp->m_rbmip), mp->m_rbmip->i_disk_size); in xfs_growfs_rt()
1077 mp->m_rsumip->i_disk_size = nmp->m_rsumsize; in xfs_growfs_rt()
1078 i_size_write(VFS_I(mp->m_rsumip), mp->m_rsumip->i_disk_size); in xfs_growfs_rt()
A Dxfs_iops.c966 (newsize > ip->i_disk_size && oldsize != ip->i_disk_size)) { in xfs_setattr_size()
968 ip->i_disk_size, newsize - 1); in xfs_setattr_size()
1010 ip->i_disk_size = newsize; in xfs_setattr_size()
1353 i_size_write(inode, ip->i_disk_size); in xfs_setup_inode()
A Dxfs_aops.c39 XFS_I(ioend->io_inode)->i_disk_size; in xfs_ioend_is_append()
70 ip->i_disk_size = isize; in xfs_setfilesize()
A Dxfs_pnfs.c289 ip->i_disk_size = iattr->ia_size; in xfs_fs_commit_blocks()
A Dxfs_inode_item.c213 ASSERT(ip->i_disk_size > 0); in xfs_inode_item_format_data_fork()
385 to->di_size = ip->i_disk_size; in xfs_inode_to_log_dinode()
A Dxfs_bmap_util.c468 (ip->i_delayed_blks || XFS_ISIZE(ip) > ip->i_disk_size)) { in xfs_getbmap()
1719 sxp->sx_length != ip->i_disk_size || in xfs_swap_extents()
1720 sxp->sx_length != tip->i_disk_size) { in xfs_swap_extents()
A Dxfs_itable.c91 buf->bs_size = ip->i_disk_size; in xfs_bulkstat_one_int()
A Dxfs_reflink.c936 dest->i_disk_size = newlen; in xfs_reflink_update_dest()
1162 ip->i_disk_size = newlen; in xfs_reflink_remap_extent()
A Dxfs_dir2_readdir.c61 ASSERT(dp->i_df.if_bytes == dp->i_disk_size); in xfs_dir2_sf_getdents()
A Dxfs_qm_syscalls.c80 ip->i_disk_size = 0; in xfs_qm_scall_trunc_qfile()
A Dxfs_trace.h1423 __entry->size = XFS_I(file_inode(iocb->ki_filp))->i_disk_size;
1466 __entry->size = ip->i_disk_size;
1512 __entry->disize = ip->i_disk_size;
1550 __entry->size = ip->i_disk_size;
1580 __entry->size = ip->i_disk_size;
1608 __entry->size = ip->i_disk_size;
3272 __entry->src_disize = src->i_disk_size;
3277 __entry->dest_disize = dest->i_disk_size;
A Dxfs_inode.c852 ip->i_disk_size = 0; in xfs_init_new_inode()
1539 ip->i_disk_size = 0; in xfs_inactive_truncate()
1771 (ip->i_disk_size != 0 || XFS_ISIZE(ip) != 0 || in xfs_inactive()
2625 ASSERT(ip->i_disk_size == 0 || !S_ISREG(VFS_I(ip)->i_mode)); in xfs_ifree()
A Dxfs_file.c1267 bufsize = (size_t)min_t(loff_t, XFS_READDIR_BUFSIZE, ip->i_disk_size); in xfs_file_readdir()
A Dxfs_iomap.c576 ip->i_disk_size = i_size; in xfs_iomap_write_unwritten()
/linux/fs/xfs/libxfs/
A Dxfs_dir2_sf.c347 dp->i_disk_size = size; in xfs_dir2_block_to_sf()
383 ASSERT(dp->i_df.if_bytes == dp->i_disk_size); in xfs_dir2_sf_addname()
495 dp->i_disk_size = new_isize; in xfs_dir2_sf_addname_easy()
532 old_isize = (int)dp->i_disk_size; in xfs_dir2_sf_addname_hard()
589 dp->i_disk_size = new_isize; in xfs_dir2_sf_addname_hard()
824 ASSERT(dp->i_disk_size == 0); in xfs_dir2_sf_create()
851 dp->i_disk_size = size; in xfs_dir2_sf_create()
956 oldsize = (int)dp->i_disk_size; in xfs_dir2_sf_removename()
996 dp->i_disk_size = newsize; in xfs_dir2_sf_removename()
1220 dp->i_disk_size = newsize; in xfs_dir2_sf_toino4()
[all …]
A Dxfs_dir2.c182 if (dp->i_disk_size == 0) /* might happen during shutdown. */ in xfs_dir_isempty()
184 if (dp->i_disk_size > XFS_IFORK_DSIZE(dp)) in xfs_dir_isempty()
587 if (size > dp->i_disk_size) { in xfs_dir2_grow_inode()
588 dp->i_disk_size = size; in xfs_dir2_grow_inode()
611 args->dp->i_disk_size != args->geo->blksize)) in xfs_dir2_isblock()
690 if (dp->i_disk_size > xfs_dir2_db_off_to_byte(args->geo, db + 1, 0)) in xfs_dir2_shrink_inode()
706 dp->i_disk_size = XFS_FSB_TO_B(mp, bno); in xfs_dir2_shrink_inode()
A Dxfs_dir2_block.c964 while (dp->i_disk_size > args->geo->blksize) { in xfs_dir2_leaf_to_block()
1100 ASSERT(dp->i_disk_size >= offsetof(struct xfs_dir2_sf_hdr, parent)); in xfs_dir2_sf_to_block()
1104 ASSERT(ifp->if_bytes == dp->i_disk_size); in xfs_dir2_sf_to_block()
1106 ASSERT(dp->i_disk_size >= xfs_dir2_sf_hdr_size(oldsfp->i8count)); in xfs_dir2_sf_to_block()
1118 dp->i_disk_size = 0; in xfs_dir2_sf_to_block()
A Dxfs_inode_buf.c229 ip->i_disk_size = be64_to_cpu(from->di_size); in xfs_inode_from_disk()
307 to->di_size = cpu_to_be64(ip->i_disk_size); in xfs_inode_to_disk()
A Dxfs_inode_fork.c240 ip->i_disk_size = 0; in xfs_iformat_data_fork()
/linux/fs/xfs/scrub/
A Dsymlink.c45 len = ip->i_disk_size; in xchk_symlink()
A Drtbitmap.c102 if (sc->mp->m_rbmip->i_disk_size != in xchk_rtbitmap()
A Ddir.c540 if (bestcount != xfs_dir2_byte_to_db(geo, sc->ip->i_disk_size)) { in xchk_directory_leaf1_bestfree()
810 if (sc->ip->i_disk_size < xfs_dir2_sf_hdr_size(0)) { in xchk_directory()
836 sc->ip->i_disk_size); in xchk_directory()
A Dparent.c104 parent->i_disk_size); in xchk_parent_count_parent_dentries()

Completed in 47 milliseconds

12