Home
last modified time | relevance | path

Searched refs:di_size (Results 1 – 25 of 37) sorted by relevance

12

/fs/xfs/libxfs/
Dxfs_dir2_sf.c262 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 …]
Dxfs_inode_buf.c255 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()
Dxfs_dir2.c189 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()
Dxfs_inode_fork.c91 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()
Dxfs_inode_buf.h38 xfs_fsize_t di_size; /* number of bytes in file */ member
Dxfs_dir2_block.c946 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()
Dxfs_log_format.h395 xfs_fsize_t di_size; /* number of bytes in file */ member
/fs/xfs/
Dxfs_symlink.c56 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()
Dxfs_iops.c905 (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()
Dxfs_inode.h97 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()
Dxfs_rtalloc.c945 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()
Dxfs_inode_item.c216 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()
Dxfs_pnfs.c304 ip->i_d.di_size = iattr->ia_size; in xfs_fs_commit_blocks()
Dxfs_bmap_util.c640 (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()
Dxfs_trace.h1157 __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;
Dxfs_aops.c194 XFS_I(ioend->io_inode)->i_d.di_size; in xfs_ioend_is_append()
246 ip->i_d.di_size = isize; in __xfs_setfilesize()
Dxfs_inode.c847 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()
Dxfs_dir2_readdir.c74 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_getdents()
/fs/logfs/
Dlogfs_abi.h363 __be64 di_size; member
375 (offsetof(struct logfs_disk_inode, di_size) / sizeof(__be64))
/fs/qnx4/
Dbitmap.c26 int size = le32_to_cpu(qnx4_sb(sb)->BitMap->di_size); in qnx4_count_free_blocks()
Dinode.c135 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/
Djfs_dinode.h49 __le64 di_size; /* 8: size */ member
/fs/efs/
Defs.h60 __be32 di_size; /* number of bytes in file */ member
Dinode.c102 inode->i_size = be32_to_cpu(efs_inode->di_size); in efs_iget()
/fs/ocfs2/
Docfs2_trace.h1351 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)

12