Home
last modified time | relevance | path

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

12

/fs/xfs/
Dxfs_dir2_sf.c204 dp->i_d.di_size = size; in xfs_dir2_block_to_sf()
291 if (dp->i_d.di_size < offsetof(xfs_dir2_sf_hdr_t, parent)) { in xfs_dir2_sf_addname()
295 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_addname()
298 ASSERT(dp->i_d.di_size >= xfs_dir2_sf_hdr_size(sfp->hdr.i8count)); in xfs_dir2_sf_addname()
323 old_isize = (int)dp->i_d.di_size; in xfs_dir2_sf_addname()
419 dp->i_d.di_size = new_isize; in xfs_dir2_sf_addname_easy()
457 old_isize = (int)dp->i_d.di_size; in xfs_dir2_sf_addname_hard()
516 dp->i_d.di_size = new_isize; in xfs_dir2_sf_addname_hard()
636 ASSERT((char *)sfep - (char *)sfp == dp->i_d.di_size); in xfs_dir2_sf_check()
661 ASSERT(dp->i_d.di_size == 0); in xfs_dir2_sf_create()
[all …]
Dxfs_dir2.c132 if (dp->i_d.di_size == 0) /* might happen during shutdown. */ in xfs_dir_isempty()
134 if (dp->i_d.di_size > XFS_IFORK_DSIZE(dp)) in xfs_dir_isempty()
639 if (size > dp->i_d.di_size) { in xfs_dir2_grow_inode()
640 dp->i_d.di_size = size; in xfs_dir2_grow_inode()
664 ASSERT(rval == 0 || dp->i_d.di_size == mp->m_dirblksize); in xfs_dir2_isblock()
748 if (dp->i_d.di_size > xfs_dir2_db_off_to_byte(mp, db + 1, 0)) in xfs_dir2_shrink_inode()
764 dp->i_d.di_size = XFS_FSB_TO_B(mp, bno); in xfs_dir2_shrink_inode()
Dxfs_vnodeops.c256 ip->i_size != ip->i_d.di_size && in xfs_setattr()
257 iattr->ia_size > ip->i_d.di_size) { in xfs_setattr()
259 ip->i_d.di_size, iattr->ia_size, in xfs_setattr()
300 ip->i_d.di_size = iattr->ia_size; in xfs_setattr()
509 int pathlen = ip->i_d.di_size; in xfs_readlink_bmap()
543 link[ip->i_d.di_size] = '\0'; in xfs_readlink_bmap()
567 ASSERT(ip->i_d.di_size <= MAXPATHLEN); in xfs_readlink()
569 pathlen = ip->i_d.di_size; in xfs_readlink()
833 ASSERT(ip->i_d.di_size > XFS_IFORK_DSIZE(ip)); in xfs_inactive_symlink_rmt()
856 size = (int)ip->i_d.di_size; in xfs_inactive_symlink_rmt()
[all …]
Dxfs_inode.c317 xfs_fsize_t di_size; in xfs_iformat() local
357 ip->i_d.di_size = 0; in xfs_iformat()
381 di_size = be64_to_cpu(dip->di_size); in xfs_iformat()
382 if (unlikely(di_size > XFS_DFORK_DSIZE(dip, ip->i_mount))) { in xfs_iformat()
387 (long long) di_size); in xfs_iformat()
394 size = (int)di_size; in xfs_iformat()
667 to->di_size = be64_to_cpu(from->di_size); in xfs_dinode_from_disk()
702 to->di_size = cpu_to_be64(from->di_size); in xfs_dinode_to_disk()
879 ip->i_size = ip->i_d.di_size; in xfs_iread()
1072 ip->i_d.di_size = 0; in xfs_ialloc()
[all …]
Dxfs_dfrag.c183 sxp->sx_length != ip->i_d.di_size || in xfs_swap_extents()
184 sxp->sx_length != tip->i_d.di_size) { in xfs_swap_extents()
Dxfs_iomap.c66 (void *)((unsigned long)((ip->i_d.di_size >> 32) & 0xffffffff)), in xfs_iomap_enter_trace()
67 (void *)((unsigned long)(ip->i_d.di_size & 0xffffffff)), in xfs_iomap_enter_trace()
98 (void *)((unsigned long)((ip->i_d.di_size >> 32) & 0xffffffff)), in xfs_iomap_map_trace()
99 (void *)((unsigned long)(ip->i_d.di_size & 0xffffffff)), in xfs_iomap_map_trace()
Dxfs_dir2_block.c918 while (dp->i_d.di_size > mp->m_dirblksize) { in xfs_dir2_leaf_to_block()
1060 if (dp->i_d.di_size < offsetof(xfs_dir2_sf_hdr_t, parent)) { in xfs_dir2_sf_to_block()
1064 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_to_block()
1067 ASSERT(dp->i_d.di_size >= xfs_dir2_sf_hdr_size(sfp->hdr.i8count)); in xfs_dir2_sf_to_block()
1078 dp->i_d.di_size = 0; in xfs_dir2_sf_to_block()
Dxfs_dinode.h58 __be64 di_size; /* number of bytes in file */ member
Dxfs_inode.h142 xfs_fsize_t di_size; /* number of bytes in file */ member
297 (ip)->i_size : (ip)->i_d.di_size;
Dxfs_rtalloc.c1919 rbmblocks = XFS_B_TO_FSB(mp, mp->m_rbmip->i_d.di_size); in xfs_growfs_rt()
1920 rsumblocks = XFS_B_TO_FSB(mp, mp->m_rsumip->i_d.di_size); in xfs_growfs_rt()
1985 mp->m_rbmip->i_d.di_size = in xfs_growfs_rt()
1999 mp->m_rsumip->i_d.di_size = nmp->m_rsumsize; in xfs_growfs_rt()
Dxfs_itable.c85 buf->bs_size = dic->di_size; in xfs_bulkstat_one_iget()
154 buf->bs_size = be64_to_cpu(dic->di_size); in xfs_bulkstat_one_dinode()
Dxfs_inode_item.c121 ASSERT(ip->i_d.di_size > 0); in xfs_inode_item_size()
393 ASSERT(ip->i_d.di_size > 0); in xfs_inode_item_format()
Dxfs_bmap.c3984 (void *)(__psint_t)((ip->i_d.di_size >> 32) & 0xffffffff), in xfs_bunmap_trace()
3985 (void *)(__psint_t)(ip->i_d.di_size & 0xffffffff), in xfs_bunmap_trace()
4516 (ip->i_d.di_size == ip->i_mount->m_sb.sb_blocksize); in xfs_bmap_one_block()
5960 (ip->i_delayed_blks || ip->i_size > ip->i_d.di_size)) { in xfs_getbmap()
/fs/qnx4/
Dbitmap.c70 int size = le32_to_cpu(qnx4_sb(sb)->BitMap->di_size); in qnx4_count_free_blocks()
92 int size = le32_to_cpu(qnx4_sb(sb)->BitMap->di_size); in qnx4_is_free()
121 int size = le32_to_cpu(qnx4_sb(sb)->BitMap->di_size); in qnx4_set_bitmap()
150 qnx4_ino->di_size = 0; in qnx4_clear_inode()
Dinode.c112 raw_inode->di_size = cpu_to_le32(inode->i_size); in qnx4_write_inode()
290 buf->f_blocks = le32_to_cpu(qnx4_sb(sb)->BitMap->di_size) * 8; in qnx4_statfs()
506 inode->i_size = le32_to_cpu(raw_inode->di_size); in qnx4_iget()
/fs/xfs/linux-2.6/
Dxfs_lrw.c72 (void *)((unsigned long)((ip->i_d.di_size >> 32) & 0xffffffff)), in xfs_rw_enter_trace()
73 (void *)((unsigned long)(ip->i_d.di_size & 0xffffffff)), in xfs_rw_enter_trace()
368 if (ip->i_d.di_size > ip->i_size) in xfs_splice_write()
369 ip->i_d.di_size = ip->i_size; in xfs_splice_write()
827 if (xip->i_d.di_size > xip->i_size) in xfs_write()
828 xip->i_d.di_size = xip->i_size; in xfs_write()
Dxfs_file.c207 bufsize = (size_t)min_t(loff_t, PAGE_SIZE, ip->i_d.di_size); in xfs_file_readdir()
Dxfs_aops.c127 (void *)((unsigned long)((ip->i_d.di_size >> 32) & 0xffffffff)), in xfs_page_trace()
128 (void *)((unsigned long)(ip->i_d.di_size & 0xffffffff)), in xfs_page_trace()
233 if (ip->i_d.di_size < isize) { in xfs_setfilesize()
234 ip->i_d.di_size = isize; in xfs_setfilesize()
Dxfs_iops.c879 i_size_write(inode, ip->i_d.di_size); in xfs_setup_inode()
/fs/jfs/
Djfs_dinode.h49 __le64 di_size; /* 8: size */ member
Djfs_imap.c3099 ip->i_size = le64_to_cpu(dip->di_size); in copy_from_dinode()
3154 dip->di_size = cpu_to_le64(ip->i_size); in copy_to_dinode()
/fs/efs/
Defs.h54 __be32 di_size; /* number of bytes in file */ member
Dinode.c103 inode->i_size = be32_to_cpu(efs_inode->di_size); in efs_iget()
/fs/gfs2/
Dinode.c275 ip->i_disksize = be64_to_cpu(str->di_size); in gfs2_dinode_in()
780 di->di_size = 0; in init_dinode()
1255 str->di_size = cpu_to_be64(ip->i_disksize); in gfs2_dinode_out()
Dops_address.c787 di->di_size = cpu_to_be64(inode->i_size); in gfs2_stuffed_write_end()
854 di->di_size = cpu_to_be64(inode->i_size); in gfs2_write_end()

12