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()
405 cur->bc_private.b.ip, cur->bc_private.b.whichfork); in xfs_bmbt_dup_cursor()
424 (dst->bc_private.b.ip->i_d.di_flags & XFS_DIFLAG_REALTIME)); in xfs_bmbt_update_cursor()
502 cur->bc_private.b.ip->i_d.di_nblocks++; in xfs_bmbt_alloc_block()
503 xfs_trans_log_inode(args.tp, cur->bc_private.b.ip, XFS_ILOG_CORE); in xfs_bmbt_alloc_block()
504 xfs_trans_mod_dquot_byino(args.tp, cur->bc_private.b.ip, in xfs_bmbt_alloc_block()
524 struct xfs_inode *ip = cur->bc_private.b.ip; in xfs_bmbt_free_block() local
529 ip->i_d.di_nblocks--; in xfs_bmbt_free_block()
531 xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); in xfs_bmbt_free_block()
532 xfs_trans_mod_dquot_byino(tp, ip, XFS_TRANS_DQ_BCOUNT, -1L); in xfs_bmbt_free_block()
545 ifp = XFS_IFORK_PTR(cur->bc_private.b.ip, in xfs_bmbt_get_minrecs()
563 ifp = XFS_IFORK_PTR(cur->bc_private.b.ip, in xfs_bmbt_get_maxrecs()
780 struct xfs_inode *ip, /* inode owning the btree */ in xfs_bmbt_init_cursor() argument
783 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmbt_init_cursor()
799 cur->bc_private.b.forksize = XFS_IFORK_SIZE(ip, whichfork); in xfs_bmbt_init_cursor()
800 cur->bc_private.b.ip = ip; in xfs_bmbt_init_cursor()
861 struct xfs_inode *ip, in xfs_bmbt_change_owner() argument
872 ASSERT(ip->i_d.di_format == XFS_DINODE_FMT_BTREE); in xfs_bmbt_change_owner()
874 ASSERT(ip->i_d.di_aformat == XFS_DINODE_FMT_BTREE); in xfs_bmbt_change_owner()
876 cur = xfs_bmbt_init_cursor(ip->i_mount, tp, ip, whichfork); in xfs_bmbt_change_owner()