Home
last modified time | relevance | path

Searched refs:if_bytes (Results 1 – 10 of 10) sorted by relevance

/fs/xfs/
Dxfs_inode_item.c78 (ip->i_df.if_bytes > 0)) { in xfs_inode_item_size()
119 (ip->i_df.if_bytes > 0)) { in xfs_inode_item_size()
165 (ip->i_afp->if_bytes > 0)) { in xfs_inode_item_size()
189 (ip->i_afp->if_bytes > 0)) { in xfs_inode_item_size()
325 ASSERT(ip->i_df.if_bytes > 0); in xfs_inode_item_format()
329 nrecs = ip->i_df.if_bytes / in xfs_inode_item_format()
341 vecp->i_len = ip->i_df.if_bytes; in xfs_inode_item_format()
355 ext_buffer = kmem_alloc(ip->i_df.if_bytes, in xfs_inode_item_format()
363 ASSERT(vecp->i_len <= ip->i_df.if_bytes); in xfs_inode_item_format()
391 ASSERT(ip->i_df.if_bytes > 0); in xfs_inode_item_format()
[all …]
Dxfs_inode.c505 ifp->if_bytes = size; in xfs_iformat_local()
561 ifp->if_bytes = size; in xfs_iformat_extents()
934 ifp->if_bytes = ifp->if_real_bytes = 0; in xfs_iread_extents()
1153 ip->i_df.if_bytes = ip->i_df.if_real_bytes = 0; in xfs_ialloc()
2362 new_size = (int)ifp->if_bytes + byte_diff; in xfs_idata_realloc()
2414 ifp->if_bytes); in xfs_idata_realloc()
2418 ifp->if_bytes = new_size; in xfs_idata_realloc()
2419 ASSERT(ifp->if_bytes <= XFS_IFORK_SIZE(ip, whichfork)); in xfs_idata_realloc()
2557 ASSERT(ifp->if_bytes > 0); in xfs_iextents_copy()
2559 nrecs = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_iextents_copy()
[all …]
Dxfs_dir2_sf.c196 ASSERT(dp->i_df.if_bytes == 0); in xfs_dir2_block_to_sf()
295 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_addname()
673 ASSERT(dp->i_df.if_bytes == 0); in xfs_dir2_sf_create()
723 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_getdents()
834 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_lookup()
917 ASSERT(dp->i_df.if_bytes == oldsize); in xfs_dir2_sf_removename()
1007 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_replace()
1020 dp->i_df.if_bytes + in xfs_dir2_sf_replace()
1147 oldsize = dp->i_df.if_bytes; in xfs_dir2_sf_toino4()
1224 oldsize = dp->i_df.if_bytes; in xfs_dir2_sf_toino8()
Dxfs_dir2_block.c1064 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_to_block()
1073 buf_len = dp->i_df.if_bytes; in xfs_dir2_sf_to_block()
1074 buf = kmem_alloc(dp->i_df.if_bytes, KM_SLEEP); in xfs_dir2_sf_to_block()
1076 memcpy(buf, sfp, dp->i_df.if_bytes); in xfs_dir2_sf_to_block()
1077 xfs_idata_realloc(dp, -dp->i_df.if_bytes, XFS_DATA_FORK); in xfs_dir2_sf_to_block()
Dxfs_bmap.c537 if (ip->i_df.if_bytes <= XFS_IFORK_DSIZE(ip)) in xfs_bmap_add_attrfork_local()
583 nextents = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_bmap_add_extent()
821 ip->i_df.if_bytes / (uint)sizeof(xfs_bmbt_rec_t) - 1)) { in xfs_bmap_add_extent_delay_real()
1383 ip->i_df.if_bytes / (uint)sizeof(xfs_bmbt_rec_t) - 1)) { in xfs_bmap_add_extent_unwritten_real()
1906 ip->i_df.if_bytes / (uint)sizeof(xfs_bmbt_rec_t))) { in xfs_bmap_add_extent_hole_delay()
2080 ASSERT(idx <= ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t)); in xfs_bmap_add_extent_hole_real()
2096 ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t))) { in xfs_bmap_add_extent_hole_real()
3130 ASSERT((idx >= 0) && (idx < ifp->if_bytes / in xfs_bmap_del_extent()
3545 nextents = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_bmap_extents_to_btree()
3632 if (ifp->if_bytes) { in xfs_bmap_local_to_extents()
[all …]
Dxfs_vnodeops.c931 if (ip->i_df.if_bytes) in xfs_inactive_symlink_rmt()
932 xfs_idata_realloc(ip, -ip->i_df.if_bytes, XFS_DATA_FORK); in xfs_inactive_symlink_rmt()
933 ASSERT(ip->i_df.if_bytes == 0); in xfs_inactive_symlink_rmt()
997 if (ip->i_df.if_bytes > 0) { in xfs_inactive_symlink_local()
999 -(ip->i_df.if_bytes), in xfs_inactive_symlink_local()
1001 ASSERT(ip->i_df.if_bytes == 0); in xfs_inactive_symlink_local()
Dxfs_inode.h63 int if_bytes; /* bytes in if_u1 */ member
Dxfs_attr_leaf.c147 dsize = dp->i_df.if_bytes; in xfs_attr_shortform_bytesfit()
158 if (!dp->i_d.di_forkoff && dp->i_df.if_bytes > mp->m_attroffset) in xfs_attr_shortform_bytesfit()
229 ASSERT(ifp->if_bytes == 0); in xfs_attr_shortform_create()
601 (dp->i_afp->if_bytes + sf->hdr.count * 16) < context->bufsize)) { in xfs_attr_shortform_list()
643 ((char *)sfe >= ((char *)sf + dp->i_afp->if_bytes)))) { in xfs_attr_shortform_list()
/fs/xfs/linux-2.6/
Dxfs_ioctl.c827 fa.fsx_nextents = ip->i_afp->if_bytes / in xfs_ioc_fsgetxattr()
835 fa.fsx_nextents = ip->i_df.if_bytes / in xfs_ioc_fsgetxattr()
/fs/xfs/quota/
Dxfs_qm.c1662 nextents = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_qm_get_rtblks()