Searched refs:i_disk_size (Results 1 – 25 of 26) sorted by relevance
12
/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 | 194 if (dp->i_disk_size == 0) /* might happen during shutdown. */ in xfs_dir_isempty() 196 if (dp->i_disk_size > xfs_inode_data_fork_size(dp)) in xfs_dir_isempty() 599 if (size > dp->i_disk_size) { in xfs_dir2_grow_inode() 600 dp->i_disk_size = size; in xfs_dir2_grow_inode() 628 if (XFS_IS_CORRUPT(mp, args->dp->i_disk_size != args->geo->blksize)) in xfs_dir2_isblock() 712 if (dp->i_disk_size > xfs_dir2_db_off_to_byte(args->geo, db + 1, 0)) in xfs_dir2_shrink_inode() 728 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 | 227 ip->i_disk_size = be64_to_cpu(from->di_size); in xfs_inode_from_disk() 324 to->di_size = cpu_to_be64(ip->i_disk_size); in xfs_inode_to_disk()
|
D | xfs_inode_fork.c | 239 ip->i_disk_size = 0; in xfs_iformat_data_fork()
|
/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 165 return ip->i_disk_size; in XFS_ISIZE() 179 return new_size > ip->i_disk_size ? new_size : 0; in xfs_new_eof()
|
D | xfs_rtalloc.c | 996 rbmblocks = XFS_B_TO_FSB(mp, mp->m_rbmip->i_disk_size); in xfs_growfs_rt() 997 rsumblocks = XFS_B_TO_FSB(mp, mp->m_rsumip->i_disk_size); in xfs_growfs_rt() 1066 mp->m_rbmip->i_disk_size = in xfs_growfs_rt() 1068 i_size_write(VFS_I(mp->m_rbmip), mp->m_rbmip->i_disk_size); in xfs_growfs_rt() 1080 mp->m_rsumip->i_disk_size = nmp->m_rsumsize; in xfs_growfs_rt() 1081 i_size_write(VFS_I(mp->m_rsumip), mp->m_rsumip->i_disk_size); in xfs_growfs_rt()
|
D | xfs_iops.c | 891 (newsize > ip->i_disk_size && oldsize != ip->i_disk_size)) { in xfs_setattr_size() 893 ip->i_disk_size, newsize - 1); in xfs_setattr_size() 935 ip->i_disk_size = newsize; in xfs_setattr_size() 1269 i_size_write(inode, ip->i_disk_size); in xfs_setup_inode()
|
D | xfs_aops.c | 39 XFS_I(ioend->io_inode)->i_disk_size; in xfs_ioend_is_append() 70 ip->i_disk_size = isize; in xfs_setfilesize()
|
D | xfs_pnfs.c | 326 ip->i_disk_size = iattr->ia_size; in xfs_fs_commit_blocks()
|
D | xfs_inode_item.c | 208 ASSERT(ip->i_disk_size > 0); in xfs_inode_item_format_data_fork() 389 to->di_size = ip->i_disk_size; in xfs_inode_to_log_dinode()
|
D | xfs_bmap_util.c | 467 (ip->i_delayed_blks || XFS_ISIZE(ip) > ip->i_disk_size)) { in xfs_getbmap() 1732 sxp->sx_length != ip->i_disk_size || in xfs_swap_extents() 1733 sxp->sx_length != tip->i_disk_size) { in xfs_swap_extents()
|
D | xfs_itable.c | 96 buf->bs_size = ip->i_disk_size; in xfs_bulkstat_one_int()
|
D | xfs_qm_syscalls.c | 80 ip->i_disk_size = 0; in xfs_qm_scall_trunc_qfile()
|
D | xfs_inode.c | 842 ip->i_disk_size = 0; in xfs_init_new_inode() 1513 ip->i_disk_size = 0; in xfs_inactive_truncate() 1745 (ip->i_disk_size != 0 || XFS_ISIZE(ip) != 0 || in xfs_inactive() 2276 ASSERT(ip->i_disk_size == 0 || !S_ISREG(VFS_I(ip)->i_mode)); in xfs_ifree()
|
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 | 1100 dest->i_disk_size = newlen; in xfs_reflink_update_dest() 1329 ip->i_disk_size = newlen; in xfs_reflink_remap_extent()
|
D | xfs_trace.h | 1417 __entry->size = XFS_I(file_inode(iocb->ki_filp))->i_disk_size; 1460 __entry->size = ip->i_disk_size; 1506 __entry->disize = ip->i_disk_size; 1544 __entry->size = ip->i_disk_size; 1574 __entry->size = ip->i_disk_size; 1602 __entry->size = ip->i_disk_size; 3293 __entry->src_disize = src->i_disk_size; 3298 __entry->dest_disize = dest->i_disk_size;
|
D | xfs_file.c | 1231 bufsize = (size_t)min_t(loff_t, XFS_READDIR_BUFSIZE, ip->i_disk_size); in xfs_file_readdir()
|
D | xfs_iomap.c | 588 ip->i_disk_size = i_size; in xfs_iomap_write_unwritten()
|
/fs/xfs/scrub/ |
D | symlink.c | 45 len = ip->i_disk_size; in xchk_symlink()
|
D | rtbitmap.c | 103 if (sc->mp->m_rbmip->i_disk_size != in xchk_rtbitmap()
|
D | parent.c | 104 parent->i_disk_size); in xchk_parent_count_parent_dentries()
|
D | dir.c | 817 if (sc->ip->i_disk_size < xfs_dir2_sf_hdr_size(0)) { in xchk_directory() 843 sc->ip->i_disk_size); in xchk_directory()
|
12