/fs/xfs/libxfs/ |
D | xfs_dir2_sf.c | 262 dp->i_d.di_size = size; in xfs_dir2_block_to_sf() 300 if (dp->i_d.di_size < offsetof(xfs_dir2_sf_hdr_t, parent)) { in xfs_dir2_sf_addname() 304 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_addname() 307 ASSERT(dp->i_d.di_size >= xfs_dir2_sf_hdr_size(sfp->i8count)); in xfs_dir2_sf_addname() 325 new_isize = (int)dp->i_d.di_size + incr_isize; in xfs_dir2_sf_addname() 417 dp->i_d.di_size = new_isize; in xfs_dir2_sf_addname_easy() 455 old_isize = (int)dp->i_d.di_size; in xfs_dir2_sf_addname_hard() 512 dp->i_d.di_size = new_isize; in xfs_dir2_sf_addname_hard() 625 ASSERT((char *)sfep - (char *)sfp == dp->i_d.di_size); in xfs_dir2_sf_check() 756 ASSERT(dp->i_d.di_size == 0); in xfs_dir2_sf_create() [all …]
|
D | xfs_inode_buf.c | 255 to->di_size = be64_to_cpu(from->di_size); in xfs_inode_from_disk() 305 to->di_size = cpu_to_be64(from->di_size); in xfs_inode_to_disk() 356 to->di_size = cpu_to_be64(from->di_size); in xfs_log_dinode_to_disk() 398 if (be64_to_cpu(dip->di_size) & (1ULL << 63)) in xfs_dinode_verify() 406 if ((S_ISLNK(mode) || S_ISDIR(mode)) && dip->di_size == 0) in xfs_dinode_verify()
|
D | xfs_dir2.c | 189 if (dp->i_d.di_size == 0) /* might happen during shutdown. */ in xfs_dir_isempty() 191 if (dp->i_d.di_size > XFS_IFORK_DSIZE(dp)) in xfs_dir_isempty() 620 if (size > dp->i_d.di_size) { in xfs_dir2_grow_inode() 621 dp->i_d.di_size = size; in xfs_dir2_grow_inode() 642 if (rval != 0 && args->dp->i_d.di_size != args->geo->blksize) in xfs_dir2_isblock() 722 if (dp->i_d.di_size > xfs_dir2_db_off_to_byte(args->geo, db + 1, 0)) in xfs_dir2_shrink_inode() 738 dp->i_d.di_size = XFS_FSB_TO_B(mp, bno); in xfs_dir2_shrink_inode()
|
D | xfs_inode_fork.c | 91 xfs_fsize_t di_size; in xfs_iformat_fork() local 157 ip->i_d.di_size = 0; in xfs_iformat_fork() 179 di_size = be64_to_cpu(dip->di_size); in xfs_iformat_fork() 180 if (unlikely(di_size < 0 || in xfs_iformat_fork() 181 di_size > XFS_DFORK_DSIZE(dip, ip->i_mount))) { in xfs_iformat_fork() 185 (long long) di_size); in xfs_iformat_fork() 192 size = (int)di_size; in xfs_iformat_fork()
|
D | xfs_inode_buf.h | 38 xfs_fsize_t di_size; /* number of bytes in file */ member
|
D | xfs_dir2_block.c | 946 while (dp->i_d.di_size > args->geo->blksize) { in xfs_dir2_leaf_to_block() 1085 if (dp->i_d.di_size < offsetof(xfs_dir2_sf_hdr_t, parent)) { in xfs_dir2_sf_to_block() 1092 ASSERT(ifp->if_bytes == dp->i_d.di_size); in xfs_dir2_sf_to_block() 1094 ASSERT(dp->i_d.di_size >= xfs_dir2_sf_hdr_size(oldsfp->i8count)); in xfs_dir2_sf_to_block() 1106 dp->i_d.di_size = 0; in xfs_dir2_sf_to_block()
|
D | xfs_log_format.h | 395 xfs_fsize_t di_size; /* number of bytes in file */ member
|
/fs/xfs/ |
D | xfs_symlink.c | 56 int pathlen = ip->i_d.di_size; in xfs_readlink_bmap() 117 link[ip->i_d.di_size] = '\0'; in xfs_readlink_bmap() 142 pathlen = ip->i_d.di_size; in xfs_readlink() 306 ip->i_d.di_size = pathlen; in xfs_symlink() 323 ip->i_d.di_size = pathlen; in xfs_symlink() 462 size = (int)ip->i_d.di_size; in xfs_inactive_symlink_rmt() 463 ip->i_d.di_size = 0; in xfs_inactive_symlink_rmt() 557 pathlen = (int)ip->i_d.di_size; in xfs_inactive_symlink()
|
D | xfs_iops.c | 905 (newsize > ip->i_d.di_size && oldsize != ip->i_d.di_size)) { in xfs_setattr_size() 907 ip->i_d.di_size, newsize - 1); in xfs_setattr_size() 949 ip->i_d.di_size = newsize; in xfs_setattr_size() 1239 i_size_write(inode, ip->i_d.di_size); in xfs_setup_inode()
|
D | xfs_inode.h | 97 return ip->i_d.di_size; in XFS_ISIZE() 111 return new_size > ip->i_d.di_size ? new_size : 0; in xfs_new_eof()
|
D | xfs_rtalloc.c | 945 rbmblocks = XFS_B_TO_FSB(mp, mp->m_rbmip->i_d.di_size); in xfs_growfs_rt() 946 rsumblocks = XFS_B_TO_FSB(mp, mp->m_rsumip->i_d.di_size); in xfs_growfs_rt() 1008 mp->m_rbmip->i_d.di_size = in xfs_growfs_rt() 1019 mp->m_rsumip->i_d.di_size = nmp->m_rsumsize; in xfs_growfs_rt()
|
D | xfs_inode_item.c | 216 ASSERT(ip->i_d.di_size > 0); in xfs_inode_item_format_data_fork() 356 to->di_size = from->di_size; in xfs_inode_to_log_dinode()
|
D | xfs_pnfs.c | 304 ip->i_d.di_size = iattr->ia_size; in xfs_fs_commit_blocks()
|
D | xfs_bmap_util.c | 640 (ip->i_delayed_blks || XFS_ISIZE(ip) > ip->i_d.di_size)) { in xfs_getbmap() 2052 sxp->sx_length != ip->i_d.di_size || in xfs_swap_extents() 2053 sxp->sx_length != tip->i_d.di_size) { in xfs_swap_extents()
|
D | xfs_trace.h | 1157 __entry->size = ip->i_d.di_size; 1273 __entry->size = ip->i_d.di_size; 1322 __entry->disize = ip->i_d.di_size; 1361 __entry->size = ip->i_d.di_size; 1391 __entry->size = ip->i_d.di_size; 1419 __entry->size = ip->i_d.di_size; 3084 __entry->src_disize = src->i_d.di_size; 3089 __entry->dest_disize = dest->i_d.di_size;
|
D | xfs_aops.c | 194 XFS_I(ioend->io_inode)->i_d.di_size; in xfs_ioend_is_append() 246 ip->i_d.di_size = isize; in __xfs_setfilesize()
|
D | xfs_inode.c | 847 ip->i_d.di_size = 0; in xfs_ialloc() 1772 ip->i_d.di_size = 0; in xfs_inactive_truncate() 1934 (ip->i_d.di_size != 0 || XFS_ISIZE(ip) != 0 || in xfs_inactive() 2473 ASSERT(ip->i_d.di_size == 0 || !S_ISREG(VFS_I(ip)->i_mode)); in xfs_ifree()
|
D | xfs_dir2_readdir.c | 74 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_getdents()
|
/fs/logfs/ |
D | logfs_abi.h | 363 __be64 di_size; member 375 (offsetof(struct logfs_disk_inode, di_size) / sizeof(__be64))
|
/fs/qnx4/ |
D | bitmap.c | 26 int size = le32_to_cpu(qnx4_sb(sb)->BitMap->di_size); in qnx4_count_free_blocks()
|
D | inode.c | 135 buf->f_blocks = le32_to_cpu(qnx4_sb(sb)->BitMap->di_size) * 8; in qnx4_statfs() 300 inode->i_size = le32_to_cpu(raw_inode->di_size); in qnx4_iget()
|
/fs/jfs/ |
D | jfs_dinode.h | 49 __le64 di_size; /* 8: size */ member
|
/fs/efs/ |
D | efs.h | 60 __be32 di_size; /* number of bytes in file */ member
|
D | inode.c | 102 inode->i_size = be32_to_cpu(efs_inode->di_size); in efs_iget()
|
/fs/ocfs2/ |
D | ocfs2_trace.h | 1351 unsigned int di_clusters, unsigned long long di_size, 1353 TP_ARGS(ino, di_clusters, di_size, ip_clusters, i_size), 1357 __field(unsigned long long, di_size) 1364 __entry->di_size = di_size; 1369 __entry->di_size, __entry->ip_clusters, __entry->i_size)
|