/linux-6.6.21/fs/xfs/libxfs/ |
D | xfs_dir2_sf.c | 347 dp->i_disk_size = size; in xfs_dir2_block_to_sf() 382 ASSERT(dp->i_disk_size >= offsetof(struct xfs_dir2_sf_hdr, parent)); in xfs_dir2_sf_addname() 383 ASSERT(dp->i_df.if_bytes == dp->i_disk_size); in xfs_dir2_sf_addname() 386 ASSERT(dp->i_disk_size >= xfs_dir2_sf_hdr_size(sfp->i8count)); in xfs_dir2_sf_addname() 404 new_isize = (int)dp->i_disk_size + incr_isize; 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() 700 ASSERT((char *)sfep - (char *)sfp == dp->i_disk_size); in xfs_dir2_sf_check() 824 ASSERT(dp->i_disk_size == 0); in xfs_dir2_sf_create() [all …]
|
D | xfs_dir2.c | 195 if (dp->i_disk_size == 0) /* might happen during shutdown. */ in xfs_dir_isempty() 197 if (dp->i_disk_size > xfs_inode_data_fork_size(dp)) in xfs_dir_isempty() 600 if (size > dp->i_disk_size) { in xfs_dir2_grow_inode() 601 dp->i_disk_size = size; in xfs_dir2_grow_inode() 629 if (XFS_IS_CORRUPT(mp, args->dp->i_disk_size != args->geo->blksize)) in xfs_dir2_isblock() 713 if (dp->i_disk_size > xfs_dir2_db_off_to_byte(args->geo, db + 1, 0)) in xfs_dir2_shrink_inode() 729 dp->i_disk_size = XFS_FSB_TO_B(mp, bno); in xfs_dir2_shrink_inode()
|
D | xfs_dir2_block.c | 964 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()
|
D | xfs_inode_buf.c | 228 ip->i_disk_size = be64_to_cpu(from->di_size); in xfs_inode_from_disk() 325 to->di_size = cpu_to_be64(ip->i_disk_size); in xfs_inode_to_disk()
|
D | xfs_inode_fork.c | 245 ip->i_disk_size = 0; in xfs_iformat_data_fork()
|
/linux-6.6.21/fs/xfs/ |
D | xfs_symlink.c | 38 int pathlen = ip->i_disk_size; in xfs_readlink_bmap_ilocked() 91 link[ip->i_disk_size] = '\0'; in xfs_readlink_bmap_ilocked() 114 pathlen = ip->i_disk_size; in xfs_readlink() 262 ip->i_disk_size = pathlen; in xfs_symlink() 277 ip->i_disk_size = pathlen; in xfs_symlink() 312 i_size_write(VFS_I(ip), ip->i_disk_size); in xfs_symlink() 411 size = (int)ip->i_disk_size; in xfs_inactive_symlink_rmt() 412 ip->i_disk_size = 0; in xfs_inactive_symlink_rmt() 488 pathlen = (int)ip->i_disk_size; in xfs_inactive_symlink()
|
D | xfs_inode.h | 57 xfs_fsize_t i_disk_size; /* number of bytes in file */ member 183 return ip->i_disk_size; in XFS_ISIZE() 197 return new_size > ip->i_disk_size ? new_size : 0; in xfs_new_eof()
|
D | xfs_rtalloc.c | 1017 rbmblocks = XFS_B_TO_FSB(mp, mp->m_rbmip->i_disk_size); in xfs_growfs_rt() 1018 rsumblocks = XFS_B_TO_FSB(mp, mp->m_rsumip->i_disk_size); in xfs_growfs_rt() 1087 mp->m_rbmip->i_disk_size = in xfs_growfs_rt() 1089 i_size_write(VFS_I(mp->m_rbmip), mp->m_rbmip->i_disk_size); in xfs_growfs_rt() 1101 mp->m_rsumip->i_disk_size = nmp->m_rsumsize; in xfs_growfs_rt() 1102 i_size_write(VFS_I(mp->m_rsumip), mp->m_rsumip->i_disk_size); in xfs_growfs_rt()
|
D | xfs_iops.c | 897 (newsize > ip->i_disk_size && oldsize != ip->i_disk_size)) { in xfs_setattr_size() 899 ip->i_disk_size, newsize - 1); in xfs_setattr_size() 941 ip->i_disk_size = newsize; in xfs_setattr_size() 1276 i_size_write(inode, ip->i_disk_size); in xfs_setup_inode()
|
D | xfs_aops.c | 41 XFS_I(ioend->io_inode)->i_disk_size; in xfs_ioend_is_append() 72 ip->i_disk_size = isize; in xfs_setfilesize()
|
D | xfs_pnfs.c | 328 ip->i_disk_size = iattr->ia_size; in xfs_fs_commit_blocks()
|
D | xfs_itable.c | 107 buf->bs_size = ip->i_disk_size; in xfs_bulkstat_one_int()
|
D | xfs_inode_item.c | 355 ASSERT(ip->i_disk_size > 0); in xfs_inode_item_format_data_fork() 536 to->di_size = ip->i_disk_size; in xfs_inode_to_log_dinode()
|
D | xfs_bmap_util.c | 465 (ip->i_delayed_blks || XFS_ISIZE(ip) > ip->i_disk_size)) { in xfs_getbmap() 1737 sxp->sx_length != ip->i_disk_size || in xfs_swap_extents() 1738 sxp->sx_length != tip->i_disk_size) { in xfs_swap_extents()
|
D | xfs_qm_syscalls.c | 80 ip->i_disk_size = 0; in xfs_qm_scall_trunc_qfile()
|
D | xfs_dir2_readdir.c | 61 ASSERT(dp->i_df.if_bytes == dp->i_disk_size); in xfs_dir2_sf_getdents()
|
D | xfs_reflink.c | 1102 dest->i_disk_size = newlen; in xfs_reflink_update_dest() 1331 ip->i_disk_size = newlen; in xfs_reflink_remap_extent()
|
D | xfs_inode.c | 842 ip->i_disk_size = 0; in xfs_init_new_inode() 1519 ip->i_disk_size = 0; in xfs_inactive_truncate() 1748 (ip->i_disk_size != 0 || XFS_ISIZE(ip) != 0 || in xfs_inactive() 2365 ASSERT(ip->i_disk_size == 0 || !S_ISREG(VFS_I(ip)->i_mode)); in xfs_ifree()
|
D | xfs_trace.h | 1419 __entry->size = XFS_I(file_inode(iocb->ki_filp))->i_disk_size; 1461 __entry->size = ip->i_disk_size; 1507 __entry->disize = ip->i_disk_size; 1546 __entry->size = ip->i_disk_size; 1576 __entry->size = ip->i_disk_size; 1604 __entry->size = ip->i_disk_size; 3328 __entry->src_disize = src->i_disk_size; 3333 __entry->dest_disize = dest->i_disk_size;
|
D | xfs_file.c | 1291 bufsize = (size_t)min_t(loff_t, XFS_READDIR_BUFSIZE, ip->i_disk_size); in xfs_file_readdir()
|
/linux-6.6.21/fs/xfs/scrub/ |
D | symlink.c | 45 len = ip->i_disk_size; in xchk_symlink()
|
D | rtbitmap.c | 104 if (sc->mp->m_rbmip->i_disk_size != in xchk_rtbitmap()
|
D | rtsummary.c | 168 mp->m_rbmip->i_disk_size) in xchk_rtsum_compute()
|
D | readdir.c | 45 ASSERT(dp->i_df.if_bytes == dp->i_disk_size); in xchk_dir_walk_sf()
|
D | dir.c | 764 if (sc->ip->i_disk_size < xfs_dir2_sf_hdr_size(0)) { in xchk_directory()
|