• Home
  • Raw
  • Download

Lines Matching refs:tp

161 	xfs_trans_t	*tp,		/* transaction pointer */  in xfs_ialloc_ag_alloc()  argument
186 args.tp = tp; in xfs_ialloc_ag_alloc()
187 args.mp = tp->t_mountp; in xfs_ialloc_ag_alloc()
342 fbuf = xfs_trans_get_buf(tp, args.mp->m_ddev_targp, d, in xfs_ialloc_ag_alloc()
365 xfs_trans_log_buf(tp, fbuf, ioffset, ioffset + isize - 1); in xfs_ialloc_ag_alloc()
367 xfs_trans_inode_alloc_buf(tp, fbuf); in xfs_ialloc_ag_alloc()
379 cur = xfs_inobt_init_cursor(args.mp, tp, agbp, agno); in xfs_ialloc_ag_alloc()
399 xfs_ialloc_log_agi(tp, agbp, in xfs_ialloc_ag_alloc()
404 xfs_trans_mod_sb(tp, XFS_TRANS_SB_ICOUNT, (long)newlen); in xfs_ialloc_ag_alloc()
405 xfs_trans_mod_sb(tp, XFS_TRANS_SB_IFREE, (long)newlen); in xfs_ialloc_ag_alloc()
431 xfs_trans_t *tp, /* transaction pointer */ in xfs_ialloc_ag_select() argument
452 mp = tp->t_mountp; in xfs_ialloc_ag_select()
475 if (xfs_ialloc_read_agi(mp, tp, agno, &agbp)) { in xfs_ialloc_ag_select()
494 xfs_ialloc_read_agi(mp, tp, agno, &agbp)) { in xfs_ialloc_ag_select()
498 (void)xfs_alloc_pagf_init(mp, tp, agno, flags); in xfs_ialloc_ag_select()
508 xfs_ialloc_read_agi(mp, tp, agno, &agbp)) { in xfs_ialloc_ag_select()
518 xfs_trans_brelse(tp, agbp); in xfs_ialloc_ag_select()
572 xfs_trans_t *tp, /* transaction pointer */ in xfs_dialloc() argument
608 agbp = xfs_ialloc_ag_select(tp, parent, mode, okalloc); in xfs_dialloc()
629 mp = tp->t_mountp; in xfs_dialloc()
664 if ((error = xfs_ialloc_ag_alloc(tp, agbp, &ialloced))) { in xfs_dialloc()
665 xfs_trans_brelse(tp, agbp); in xfs_dialloc()
689 xfs_trans_brelse(tp, agbp); in xfs_dialloc()
705 error = xfs_ialloc_read_agi(mp, tp, tagno, &agbp); in xfs_dialloc()
719 cur = xfs_inobt_init_cursor(mp, tp, agbp, be32_to_cpu(agi->agi_seqno)); in xfs_dialloc()
952 xfs_ialloc_log_agi(tp, agbp, XFS_AGI_FREECOUNT); in xfs_dialloc()
976 xfs_trans_mod_sb(tp, XFS_TRANS_SB_IFREE, -1); in xfs_dialloc()
994 xfs_trans_t *tp, /* transaction pointer */ in xfs_difree() argument
1014 mp = tp->t_mountp; in xfs_difree()
1050 error = xfs_ialloc_read_agi(mp, tp, agno, &agbp); in xfs_difree()
1064 cur = xfs_inobt_init_cursor(mp, tp, agbp, agno); in xfs_difree()
1132 xfs_ialloc_log_agi(tp, agbp, XFS_AGI_COUNT | XFS_AGI_FREECOUNT); in xfs_difree()
1136 xfs_trans_mod_sb(tp, XFS_TRANS_SB_ICOUNT, -ilen); in xfs_difree()
1137 xfs_trans_mod_sb(tp, XFS_TRANS_SB_IFREE, -(ilen - 1)); in xfs_difree()
1161 xfs_ialloc_log_agi(tp, agbp, XFS_AGI_FREECOUNT); in xfs_difree()
1165 xfs_trans_mod_sb(tp, XFS_TRANS_SB_IFREE, 1); in xfs_difree()
1204 xfs_trans_t *tp, /* transaction pointer */ in xfs_imap() argument
1307 error = xfs_ialloc_read_agi(mp, tp, agno, &agbp); in xfs_imap()
1317 cur = xfs_inobt_init_cursor(mp, tp, agbp, agno); in xfs_imap()
1340 xfs_trans_brelse(tp, agbp); in xfs_imap()
1406 xfs_trans_t *tp, /* transaction pointer */ in xfs_ialloc_log_agi() argument
1440 xfs_trans_log_buf(tp, bp, first, last); in xfs_ialloc_log_agi()
1463 struct xfs_trans *tp, /* transaction pointer */ in xfs_read_agi() argument
1473 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, in xfs_read_agi()
1492 xfs_trans_brelse(tp, *bpp); in xfs_read_agi()
1505 struct xfs_trans *tp, /* transaction pointer */ in xfs_ialloc_read_agi() argument
1513 error = xfs_read_agi(mp, tp, agno, bpp); in xfs_ialloc_read_agi()
1541 xfs_trans_t *tp, /* transaction pointer */ in xfs_ialloc_pagi_init() argument
1547 error = xfs_ialloc_read_agi(mp, tp, agno, &bp); in xfs_ialloc_pagi_init()
1551 xfs_trans_brelse(tp, bp); in xfs_ialloc_pagi_init()