/fs/xfs/ |
D | xfs_dir2_sf.c | 204 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 …]
|
D | xfs_dir2.c | 132 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()
|
D | xfs_vnodeops.c | 256 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 …]
|
D | xfs_inode.c | 317 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 …]
|
D | xfs_dfrag.c | 183 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()
|
D | xfs_iomap.c | 66 (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()
|
D | xfs_dir2_block.c | 918 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()
|
D | xfs_dinode.h | 58 __be64 di_size; /* number of bytes in file */ member
|
D | xfs_inode.h | 142 xfs_fsize_t di_size; /* number of bytes in file */ member 297 (ip)->i_size : (ip)->i_d.di_size;
|
D | xfs_rtalloc.c | 1919 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()
|
D | xfs_itable.c | 85 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()
|
D | xfs_inode_item.c | 121 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()
|
D | xfs_bmap.c | 3984 (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/ |
D | bitmap.c | 70 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()
|
D | inode.c | 112 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/ |
D | xfs_lrw.c | 72 (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()
|
D | xfs_file.c | 207 bufsize = (size_t)min_t(loff_t, PAGE_SIZE, ip->i_d.di_size); in xfs_file_readdir()
|
D | xfs_aops.c | 127 (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()
|
D | xfs_iops.c | 879 i_size_write(inode, ip->i_d.di_size); in xfs_setup_inode()
|
/fs/jfs/ |
D | jfs_dinode.h | 49 __le64 di_size; /* 8: size */ member
|
D | jfs_imap.c | 3099 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/ |
D | efs.h | 54 __be32 di_size; /* number of bytes in file */ member
|
D | inode.c | 103 inode->i_size = be32_to_cpu(efs_inode->di_size); in efs_iget()
|
/fs/gfs2/ |
D | inode.c | 275 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()
|
D | ops_address.c | 787 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()
|