Home
last modified time | relevance | path

Searched refs:di_nextents (Results 1 – 12 of 12) sorted by relevance

/fs/xfs/
Dxfs_dfrag.c287 tmp = (__uint64_t) ip->i_d.di_nextents; in xfs_swap_extents()
288 ip->i_d.di_nextents = tip->i_d.di_nextents; in xfs_swap_extents()
289 tip->i_d.di_nextents = tmp; in xfs_swap_extents()
303 if (ip->i_d.di_nextents <= XFS_INLINE_EXTS) { in xfs_swap_extents()
322 if (tip->i_d.di_nextents <= XFS_INLINE_EXTS) { in xfs_swap_extents()
Dxfs_dinode.h61 __be32 di_nextents; /* number of extents in data fork */ member
145 be32_to_cpu((dip)->di_nextents) : \
Dxfs_inode.h145 xfs_extnum_t di_nextents; /* number of extents in data fork */ member
202 (ip)->i_d.di_nextents : \
206 ((ip)->i_d.di_nextents = (n)) : \
Dxfs_inode.c322 if (unlikely(be32_to_cpu(dip->di_nextents) + in xfs_iformat()
328 (int)(be32_to_cpu(dip->di_nextents) + in xfs_iformat()
670 to->di_nextents = be32_to_cpu(from->di_nextents); in xfs_dinode_from_disk()
705 to->di_nextents = cpu_to_be32(from->di_nextents); in xfs_dinode_to_disk()
1074 ip->i_d.di_nextents = 0; in xfs_ialloc()
1560 if (ip->i_d.di_nextents > 0) { in xfs_itruncate_finish()
1722 (ip->i_d.di_nextents == 0)); in xfs_itruncate_finish()
2144 ASSERT(ip->i_d.di_nextents == 0); in xfs_ifree()
2863 ip->i_d.di_nextents > ip->i_df.if_ext_max); in xfs_iflush()
3026 ip->i_d.di_nextents > ip->i_df.if_ext_max); in xfs_iflush_int()
[all …]
Dxfs_inode_item.c77 (ip->i_d.di_nextents > 0) && in xfs_inode_item_size()
327 ASSERT(ip->i_d.di_nextents > 0); in xfs_inode_item_format()
333 if (nrecs == ip->i_d.di_nextents) { in xfs_inode_item_format()
685 ASSERT(ip->i_d.di_nextents > 0); in xfs_inode_item_unlock()
Dxfs_bmap.c509 if (ip->i_d.di_nextents * sizeof(xfs_bmbt_rec_t) <= XFS_IFORK_DSIZE(ip)) in xfs_bmap_add_attrfork_extents()
857 ip->i_d.di_nextents--; in xfs_bmap_add_extent_delay_real()
969 ip->i_d.di_nextents++; in xfs_bmap_add_extent_delay_real()
1045 ip->i_d.di_nextents++; in xfs_bmap_add_extent_delay_real()
1061 ip->i_d.di_nextents > ip->i_df.if_ext_max) { in xfs_bmap_add_extent_delay_real()
1135 ip->i_d.di_nextents++; in xfs_bmap_add_extent_delay_real()
1151 ip->i_d.di_nextents > ip->i_df.if_ext_max) { in xfs_bmap_add_extent_delay_real()
1190 ip->i_d.di_nextents++; in xfs_bmap_add_extent_delay_real()
1206 ip->i_d.di_nextents > ip->i_df.if_ext_max) { in xfs_bmap_add_extent_delay_real()
1418 ip->i_d.di_nextents -= 2; in xfs_bmap_add_extent_unwritten_real()
[all …]
Dxfs_itable.c93 buf->bs_extents = dic->di_nextents; in xfs_bulkstat_one_iget()
163 buf->bs_extents = be32_to_cpu(dic->di_nextents); in xfs_bulkstat_one_dinode()
Dxfs_vnodeops.c200 ip->i_size == 0 && ip->i_d.di_nextents == 0) { in xfs_setattr()
306 (iattr->ia_size == 0 && ip->i_d.di_nextents)) { in xfs_setattr()
841 ASSERT(ip->i_d.di_nextents > 0 && ip->i_d.di_nextents <= 2); in xfs_inactive_symlink_rmt()
1153 (ip->i_d.di_nextents > 0) || (ip->i_delayed_blks > 0)) && in xfs_inactive()
Dxfs_log_recover.c2390 if (unlikely(dicp->di_nextents + dicp->di_anextents > dicp->di_nblocks)){ in xlog_recover_do_inode_trans()
2397 dicp->di_nextents + dicp->di_anextents, in xlog_recover_do_inode_trans()
/fs/xfs/linux-2.6/
Dxfs_file.c150 if (ip->i_d.di_nextents > 0) in xfs_dir_open()
Dxfs_ioctl.c838 fa.fsx_nextents = ip->i_d.di_nextents; in xfs_ioc_fsgetxattr()
998 if (ip->i_d.di_nextents && in xfs_ioctl_setattr()
1033 if ((ip->i_d.di_nextents || ip->i_delayed_blks) && in xfs_ioctl_setattr()
/fs/xfs/quota/
Dxfs_qm_syscalls.c561 out->qs_uquota.qfs_nextents = uip->i_d.di_nextents; in xfs_qm_scall_getqstat()
567 out->qs_gquota.qfs_nextents = gip->i_d.di_nextents; in xfs_qm_scall_getqstat()