Lines Matching refs:ip

59 	struct xfs_inode	*ip,  in xfs_bmdr_to_bmbt()  argument
65 struct xfs_mount *mp = ip->i_mount; in xfs_bmdr_to_bmbt()
74 XFS_BMAP_CRC_MAGIC, 0, 0, ip->i_ino, in xfs_bmdr_to_bmbt()
78 XFS_BMAP_MAGIC, 0, 0, ip->i_ino, in xfs_bmdr_to_bmbt()
406 cur->bc_private.b.ip, cur->bc_private.b.whichfork); in xfs_bmbt_dup_cursor()
425 (dst->bc_private.b.ip->i_d.di_flags & XFS_DIFLAG_REALTIME)); in xfs_bmbt_update_cursor()
503 cur->bc_private.b.ip->i_d.di_nblocks++; in xfs_bmbt_alloc_block()
504 xfs_trans_log_inode(args.tp, cur->bc_private.b.ip, XFS_ILOG_CORE); in xfs_bmbt_alloc_block()
505 xfs_trans_mod_dquot_byino(args.tp, cur->bc_private.b.ip, in xfs_bmbt_alloc_block()
525 struct xfs_inode *ip = cur->bc_private.b.ip; in xfs_bmbt_free_block() local
530 ip->i_d.di_nblocks--; in xfs_bmbt_free_block()
532 xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); in xfs_bmbt_free_block()
533 xfs_trans_mod_dquot_byino(tp, ip, XFS_TRANS_DQ_BCOUNT, -1L); in xfs_bmbt_free_block()
546 ifp = XFS_IFORK_PTR(cur->bc_private.b.ip, in xfs_bmbt_get_minrecs()
564 ifp = XFS_IFORK_PTR(cur->bc_private.b.ip, in xfs_bmbt_get_maxrecs()
782 struct xfs_inode *ip, /* inode owning the btree */ in xfs_bmbt_init_cursor() argument
785 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmbt_init_cursor()
801 cur->bc_private.b.forksize = XFS_IFORK_SIZE(ip, whichfork); in xfs_bmbt_init_cursor()
802 cur->bc_private.b.ip = ip; in xfs_bmbt_init_cursor()
863 struct xfs_inode *ip, in xfs_bmbt_change_owner() argument
874 ASSERT(ip->i_d.di_format == XFS_DINODE_FMT_BTREE); in xfs_bmbt_change_owner()
876 ASSERT(ip->i_d.di_aformat == XFS_DINODE_FMT_BTREE); in xfs_bmbt_change_owner()
878 cur = xfs_bmbt_init_cursor(ip->i_mount, tp, ip, whichfork); in xfs_bmbt_change_owner()