Searched refs:i_disk_size (Results 1 – 25 of 26) sorted by relevance
12
/linux/fs/xfs/ |
A D | xfs_symlink.c | 37 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 D | xfs_inode.h | 57 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 D | xfs_rtalloc.c | 993 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 D | xfs_iops.c | 966 (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 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()
|
A D | xfs_pnfs.c | 289 ip->i_disk_size = iattr->ia_size; in xfs_fs_commit_blocks()
|
A D | xfs_inode_item.c | 213 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 D | xfs_bmap_util.c | 468 (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 D | xfs_itable.c | 91 buf->bs_size = ip->i_disk_size; in xfs_bulkstat_one_int()
|
A D | xfs_reflink.c | 936 dest->i_disk_size = newlen; in xfs_reflink_update_dest() 1162 ip->i_disk_size = newlen; in xfs_reflink_remap_extent()
|
A D | xfs_dir2_readdir.c | 61 ASSERT(dp->i_df.if_bytes == dp->i_disk_size); in xfs_dir2_sf_getdents()
|
A D | xfs_qm_syscalls.c | 80 ip->i_disk_size = 0; in xfs_qm_scall_trunc_qfile()
|
A D | xfs_trace.h | 1423 __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 D | xfs_inode.c | 852 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 D | xfs_file.c | 1267 bufsize = (size_t)min_t(loff_t, XFS_READDIR_BUFSIZE, ip->i_disk_size); in xfs_file_readdir()
|
A D | xfs_iomap.c | 576 ip->i_disk_size = i_size; in xfs_iomap_write_unwritten()
|
/linux/fs/xfs/libxfs/ |
A D | xfs_dir2_sf.c | 347 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 D | xfs_dir2.c | 182 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 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()
|
A D | xfs_inode_buf.c | 229 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 D | xfs_inode_fork.c | 240 ip->i_disk_size = 0; in xfs_iformat_data_fork()
|
/linux/fs/xfs/scrub/ |
A D | symlink.c | 45 len = ip->i_disk_size; in xchk_symlink()
|
A D | rtbitmap.c | 102 if (sc->mp->m_rbmip->i_disk_size != in xchk_rtbitmap()
|
A D | dir.c | 540 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 D | parent.c | 104 parent->i_disk_size); in xchk_parent_count_parent_dentries()
|
Completed in 47 milliseconds
12