• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/xfs/

Lines Matching refs:agbp

225  * Allocate new inodes in the allocation group specified by agbp.
231 xfs_buf_t *agbp, /* alloc group buffer */
264 agi = XFS_BUF_TO_AGI(agbp);
383 cur = xfs_inobt_init_cursor(args.mp, tp, agbp, agno);
407 xfs_ialloc_log_agi(tp, agbp,
444 xfs_buf_t *agbp; /* allocation group header buffer */
482 if (xfs_ialloc_read_agi(mp, tp, agno, &agbp)) {
483 agbp = NULL;
487 agbp = NULL;
500 if (agbp == NULL &&
501 xfs_ialloc_read_agi(mp, tp, agno, &agbp)) {
502 agbp = NULL;
514 if (agbp == NULL &&
515 xfs_ialloc_read_agi(mp, tp, agno, &agbp)) {
516 agbp = NULL;
520 return agbp;
524 if (agbp)
525 xfs_trans_brelse(tp, agbp);
623 * Since the agbp is locked across the two calls, the second call is
642 xfs_buf_t *agbp; /* allocation group header's buffer */
666 * We do not have an agbp, so select an initial allocation
669 agbp = xfs_ialloc_ag_select(tp, parent, mode, okalloc);
674 if (!agbp) {
678 agi = XFS_BUF_TO_AGI(agbp);
685 agbp = *IO_agbp;
686 agi = XFS_BUF_TO_AGI(agbp);
725 if ((error = xfs_ialloc_ag_alloc(tp, agbp, &ialloced))) {
726 xfs_trans_brelse(tp, agbp);
742 *IO_agbp = agbp;
750 xfs_trans_brelse(tp, agbp);
766 error = xfs_ialloc_read_agi(mp, tp, tagno, &agbp);
770 agi = XFS_BUF_TO_AGI(agbp);
783 cur = xfs_inobt_init_cursor(mp, tp, agbp, be32_to_cpu(agi->agi_seqno));
995 xfs_ialloc_log_agi(tp, agbp, XFS_AGI_FREECOUNT);
1031 xfs_buf_t *agbp; /* buffer containing allocation group header */
1079 error = xfs_ialloc_read_agi(mp, tp, agno, &agbp);
1086 agi = XFS_BUF_TO_AGI(agbp);
1092 cur = xfs_inobt_init_cursor(mp, tp, agbp, agno);
1145 xfs_ialloc_log_agi(tp, agbp, XFS_AGI_COUNT | XFS_AGI_FREECOUNT);
1176 xfs_ialloc_log_agi(tp, agbp, XFS_AGI_FREECOUNT);
1208 struct xfs_buf *agbp;
1212 error = xfs_ialloc_read_agi(mp, tp, agno, &agbp);
1227 cur = xfs_inobt_init_cursor(mp, tp, agbp, agno);
1236 xfs_trans_brelse(tp, agbp);