Home
last modified time | relevance | path

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

/linux-3.4.99/fs/xfs/
Dxfs_inode_item.c64 ip->i_df.if_bytes > 0) in xfs_inode_item_size()
76 ip->i_df.if_bytes > 0) in xfs_inode_item_size()
100 ip->i_afp->if_bytes > 0) in xfs_inode_item_size()
112 ip->i_afp->if_bytes > 0) in xfs_inode_item_size()
226 ip->i_df.if_bytes > 0) { in xfs_inode_item_format()
228 ASSERT(ip->i_df.if_bytes / sizeof(xfs_bmbt_rec_t) > 0); in xfs_inode_item_format()
232 if (ip->i_d.di_nextents == ip->i_df.if_bytes / in xfs_inode_item_format()
240 vecp->i_len = ip->i_df.if_bytes; in xfs_inode_item_format()
248 ASSERT(vecp->i_len <= ip->i_df.if_bytes); in xfs_inode_item_format()
294 ip->i_df.if_bytes > 0) { in xfs_inode_item_format()
[all …]
Dxfs_inode.c492 ifp->if_bytes = size; in xfs_iformat_local()
547 ifp->if_bytes = size; in xfs_iformat_extents()
906 ifp->if_bytes = ifp->if_real_bytes = 0; in xfs_iread_extents()
1123 ip->i_df.if_bytes = ip->i_df.if_real_bytes = 0; in xfs_ialloc()
1924 new_size = (int)ifp->if_bytes + byte_diff; in xfs_idata_realloc()
1978 ifp->if_bytes); in xfs_idata_realloc()
1982 ifp->if_bytes = new_size; in xfs_idata_realloc()
1983 ASSERT(ifp->if_bytes <= XFS_IFORK_SIZE(ip, whichfork)); in xfs_idata_realloc()
2097 ASSERT(ifp->if_bytes > 0); in xfs_iextents_copy()
2099 nrecs = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_iextents_copy()
[all …]
Dxfs_dir2_sf.c269 ASSERT(dp->i_df.if_bytes == 0); in xfs_dir2_block_to_sf()
369 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_addname()
746 ASSERT(dp->i_df.if_bytes == 0); in xfs_dir2_sf_create()
796 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_getdents()
897 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_lookup()
980 ASSERT(dp->i_df.if_bytes == oldsize); in xfs_dir2_sf_removename()
1070 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_replace()
1083 dp->i_df.if_bytes + in xfs_dir2_sf_replace()
1208 oldsize = dp->i_df.if_bytes; in xfs_dir2_sf_toino4()
1283 oldsize = dp->i_df.if_bytes; in xfs_dir2_sf_toino8()
Dxfs_bmap.c375 if (ip->i_df.if_bytes <= XFS_IFORK_DSIZE(ip)) in xfs_bmap_add_attrfork_local()
420 ASSERT(bma->idx <= ifp->if_bytes / sizeof(struct xfs_bmbt_rec)); in xfs_bmap_add_extent_delay_real()
476 if (bma->idx < bma->ip->i_df.if_bytes / (uint)sizeof(xfs_bmbt_rec_t) - 1) { in xfs_bmap_add_extent_delay_real()
977 ASSERT(*idx <= ifp->if_bytes / sizeof(struct xfs_bmbt_rec)); in xfs_bmap_add_extent_unwritten_real()
1033 if (*idx < ip->i_df.if_bytes / (uint)sizeof(xfs_bmbt_rec_t) - 1) { in xfs_bmap_add_extent_unwritten_real()
1505 if (*idx < ip->i_df.if_bytes / (uint)sizeof(xfs_bmbt_rec_t)) { in xfs_bmap_add_extent_hole_delay()
1633 ASSERT(bma->idx <= ifp->if_bytes / sizeof(struct xfs_bmbt_rec)); in xfs_bmap_add_extent_hole_real()
1658 if (bma->idx < ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t)) { in xfs_bmap_add_extent_hole_real()
2729 ASSERT((*idx >= 0) && (*idx < ifp->if_bytes / in xfs_bmap_del_extent()
3131 nextents = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_bmap_extents_to_btree()
[all …]
Dxfs_dir2_block.c1061 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_to_block()
1069 sfp = kmem_alloc(dp->i_df.if_bytes, KM_SLEEP); in xfs_dir2_sf_to_block()
1070 memcpy(sfp, oldsfp, dp->i_df.if_bytes); in xfs_dir2_sf_to_block()
1072 xfs_idata_realloc(dp, -dp->i_df.if_bytes, XFS_DATA_FORK); in xfs_dir2_sf_to_block()
Dxfs_vnodeops.c379 if (ip->i_df.if_bytes) in xfs_inactive_symlink_rmt()
380 xfs_idata_realloc(ip, -ip->i_df.if_bytes, XFS_DATA_FORK); in xfs_inactive_symlink_rmt()
381 ASSERT(ip->i_df.if_bytes == 0); in xfs_inactive_symlink_rmt()
445 if (ip->i_df.if_bytes > 0) { in xfs_inactive_symlink_local()
447 -(ip->i_df.if_bytes), in xfs_inactive_symlink_local()
449 ASSERT(ip->i_df.if_bytes == 0); in xfs_inactive_symlink_local()
Dxfs_inode.h64 int if_bytes; /* bytes in if_u1 */ member
Dxfs_attr_leaf.c161 dsize = dp->i_df.if_bytes; in xfs_attr_shortform_bytesfit()
172 if (!dp->i_d.di_forkoff && dp->i_df.if_bytes > in xfs_attr_shortform_bytesfit()
244 ASSERT(ifp->if_bytes == 0); in xfs_attr_shortform_create()
623 (dp->i_afp->if_bytes + sf->hdr.count * 16) < context->bufsize)) { in xfs_attr_shortform_list()
665 ((char *)sfe >= ((char *)sf + dp->i_afp->if_bytes)))) { in xfs_attr_shortform_list()
Dxfs_ioctl.c811 fa.fsx_nextents = ip->i_afp->if_bytes / in xfs_ioc_fsgetxattr()
819 fa.fsx_nextents = ip->i_df.if_bytes / in xfs_ioc_fsgetxattr()
Dxfs_qm.c1077 nextents = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_qm_get_rtblks()