Lines Matching refs:mod
3577 div_u64_rem(ap->offset, args.prod, &args.mod); in xfs_bmap_btalloc()
3578 if (args.mod) in xfs_bmap_btalloc()
3579 args.mod = args.prod - args.mod; in xfs_bmap_btalloc()
3582 args.mod = 0; in xfs_bmap_btalloc()
3585 div_u64_rem(ap->offset, args.prod, &args.mod); in xfs_bmap_btalloc()
3586 if (args.mod) in xfs_bmap_btalloc()
3587 args.mod = args.prod - args.mod; in xfs_bmap_btalloc()
5050 xfs_extlen_t mod; in xfs_bmap_del_extent_real() local
5053 &mod); in xfs_bmap_del_extent_real()
5054 ASSERT(mod == 0); in xfs_bmap_del_extent_real()
5060 mp->m_sb.sb_rextsize, &mod); in xfs_bmap_del_extent_real()
5061 ASSERT(mod == 0); in xfs_bmap_del_extent_real()
5272 xfs_extlen_t mod; /* rt extent offset */ in __xfs_bunmapi() local
5402 div_u64_rem(sum, mp->m_sb.sb_rextsize, &mod); in __xfs_bunmapi()
5403 if (mod) { in __xfs_bunmapi()
5416 ASSERT(end >= mod); in __xfs_bunmapi()
5417 end -= mod > del.br_blockcount ? in __xfs_bunmapi()
5418 del.br_blockcount : mod; in __xfs_bunmapi()
5436 if (del.br_blockcount > mod) { in __xfs_bunmapi()
5437 del.br_startoff += del.br_blockcount - mod; in __xfs_bunmapi()
5438 del.br_startblock += del.br_blockcount - mod; in __xfs_bunmapi()
5439 del.br_blockcount = mod; in __xfs_bunmapi()
5449 div_u64_rem(del.br_startblock, mp->m_sb.sb_rextsize, &mod); in __xfs_bunmapi()
5450 if (mod) { in __xfs_bunmapi()
5451 xfs_extlen_t off = mp->m_sb.sb_rextsize - mod; in __xfs_bunmapi()
5494 del.br_startoff - mod, in __xfs_bunmapi()
5496 mod = unwrite_start - prev.br_startoff; in __xfs_bunmapi()
5498 prev.br_startblock += mod; in __xfs_bunmapi()
5499 prev.br_blockcount -= mod; in __xfs_bunmapi()