Lines Matching defs:irec
108 struct xfs_bmbt_irec *irec,
111 cur->bc_rec.b = *irec;
151 * Update the record referred to by cur to the value given by irec
157 struct xfs_bmbt_irec *irec)
161 xfs_bmbt_disk_set_all(&rec.bmbt, irec);
1096 const struct xfs_bmbt_irec *irec)
1113 irec->br_startoff, irec->br_startblock, irec->br_blockcount,
1114 irec->br_state);
3731 struct xfs_bmbt_irec *irec,
3738 if (irec->br_startoff + irec->br_blockcount <= bno ||
3739 irec->br_startoff >= end) {
3740 irec->br_blockcount = 0;
3744 if (irec->br_startoff < bno) {
3745 distance = bno - irec->br_startoff;
3746 if (isnullstartblock(irec->br_startblock))
3747 irec->br_startblock = DELAYSTARTBLOCK;
3748 if (irec->br_startblock != DELAYSTARTBLOCK &&
3749 irec->br_startblock != HOLESTARTBLOCK)
3750 irec->br_startblock += distance;
3751 irec->br_startoff += distance;
3752 irec->br_blockcount -= distance;
3755 if (end < irec->br_startoff + irec->br_blockcount) {
3756 distance = irec->br_startoff + irec->br_blockcount - end;
3757 irec->br_blockcount -= distance;
6191 struct xfs_bmbt_irec *irec)
6195 if (!xfs_verify_fileext(mp, irec->br_startoff, irec->br_blockcount))
6199 if (!xfs_verify_rtext(mp, irec->br_startblock,
6200 irec->br_blockcount))
6203 if (!xfs_verify_fsbext(mp, irec->br_startblock,
6204 irec->br_blockcount))
6207 if (irec->br_state != XFS_EXT_NORM && whichfork != XFS_DATA_FORK)