Lines Matching defs:prev
331 xfs_bmbt_rec_t last = {0, 0}; /* last extent in prev block */
1421 /* left is 0, right is 1, prev is 2 */
1972 /* left is 0, right is 1, prev is 2 */
3069 if (ap->eof && ap->prev.br_startoff != NULLFILEOFF &&
3070 !isnullstartblock(ap->prev.br_startblock) &&
3071 ISVALID(ap->prev.br_startblock + ap->prev.br_blockcount,
3072 ap->prev.br_startblock)) {
3073 ap->blkno = ap->prev.br_startblock + ap->prev.br_blockcount;
3078 (ap->prev.br_startoff + ap->prev.br_blockcount);
3080 ISVALID(ap->blkno + adjust, ap->prev.br_startblock))
3098 if (ap->prev.br_startoff != NULLFILEOFF &&
3099 !isnullstartblock(ap->prev.br_startblock) &&
3100 (prevbno = ap->prev.br_startblock +
3101 ap->prev.br_blockcount) &&
3102 ISVALID(prevbno, ap->prev.br_startblock)) {
3107 (ap->prev.br_startoff +
3108 ap->prev.br_blockcount);
3119 ap->prev.br_startblock))
3332 if (xfs_bmap_extsize_align(mp, &ap->got, &ap->prev, align, 0,
3986 struct xfs_bmbt_irec prev;
3989 if (!xfs_iext_peek_prev_extent(ifp, icur, &prev))
3990 prev.br_startoff = NULLFILEOFF;
3992 error = xfs_bmap_extsize_align(mp, got, &prev, extsz, 0, eof,
4108 if (!xfs_iext_peek_prev_extent(ifp, &bma->icur, &bma->prev))
4109 bma->prev.br_startoff = NULLFILEOFF;
4388 if (!xfs_iext_peek_prev_extent(ifp, &bma.icur, &bma.prev))
4389 bma.prev.br_startoff = NULLFILEOFF;
4476 bma.prev = bma.got;
4591 if (!xfs_iext_peek_prev_extent(ifp, &bma.icur, &bma.prev))
4592 bma.prev.br_startoff = NULLFILEOFF;
5451 struct xfs_bmbt_irec prev;
5460 if (!xfs_iext_prev_extent(ifp, &icur, &prev))
5462 ASSERT(prev.br_state == XFS_EXT_NORM);
5463 ASSERT(!isnullstartblock(prev.br_startblock));
5465 prev.br_startblock + prev.br_blockcount);
5468 prev.br_startoff);
5469 mod = unwrite_start - prev.br_startoff;
5470 prev.br_startoff = unwrite_start;
5471 prev.br_startblock += mod;
5472 prev.br_blockcount -= mod;
5473 prev.br_state = XFS_EXT_UNWRITTEN;
5476 &prev, &logflags);
5711 struct xfs_bmbt_irec prev = *got;
5719 error = xfs_bmbt_lookup_eq(cur, &prev, &i);
5736 xfs_rmap_unmap_extent(tp, ip, whichfork, &prev);
5753 struct xfs_bmbt_irec got, prev;
5788 if (xfs_iext_peek_prev_extent(ifp, &icur, &prev)) {
5789 if (new_startoff < prev.br_startoff + prev.br_blockcount) {
5794 if (xfs_bmse_can_merge(&prev, &got, offset_shift_fsb)) {
5796 offset_shift_fsb, &icur, &got, &prev,