Home
last modified time | relevance | path

Searched refs:prod (Results 1 – 10 of 10) sorted by relevance

/fs/xfs/
Dxfs_rtalloc.c240 xfs_extlen_t prod, /* extent product factor */ in xfs_rtallocate_extent_block() argument
318 if (prod > 1 && (p = do_mod(bestlen, prod))) in xfs_rtallocate_extent_block()
355 xfs_extlen_t prod, /* extent product factor */ in xfs_rtallocate_extent_exact() argument
363 ASSERT(minlen % prod == 0 && maxlen % prod == 0); in xfs_rtallocate_extent_exact()
397 if (prod > 1 && (i = maxlen % prod)) { in xfs_rtallocate_extent_exact()
434 xfs_extlen_t prod, /* extent product factor */ in xfs_rtallocate_extent_near() argument
446 ASSERT(minlen % prod == 0 && maxlen % prod == 0); in xfs_rtallocate_extent_near()
465 rbpp, rsb, prod, &r); in xfs_rtallocate_extent_near()
508 rsb, prod, &r); in xfs_rtallocate_extent_near()
553 len, &n, rbpp, rsb, prod, &r); in xfs_rtallocate_extent_near()
[all …]
Dxfs_rtalloc.h45 xfs_extlen_t prod, /* extent product factor */
Dxfs_bmap_util.c171 xfs_extlen_t prod = 0; /* product factor for allocators */ in xfs_bmap_rtalloc() local
178 prod = align / mp->m_sb.sb_rextsize; in xfs_bmap_rtalloc()
192 prod = 1; in xfs_bmap_rtalloc()
238 &ralen, atype, ap->wasdel, prod, &rtb))) in xfs_bmap_rtalloc()
240 if (rtb == NULLFSBLOCK && prod > 1 && in xfs_bmap_rtalloc()
Dxfs_trace.h1596 __field(xfs_extlen_t, prod)
1617 __entry->prod = args->prod;
1641 __entry->prod,
/fs/xfs/libxfs/
Dxfs_alloc.c263 ASSERT(args->mod < args->prod); in xfs_alloc_fix_len()
267 if (args->prod <= 1 || rlen < args->mod || rlen == args->maxlen || in xfs_alloc_fix_len()
268 (args->mod == 0 && rlen < args->prod)) in xfs_alloc_fix_len()
270 k = rlen % args->prod; in xfs_alloc_fix_len()
276 rlen = rlen - args->prod + (args->mod - k); in xfs_alloc_fix_len()
281 ASSERT(rlen % args->prod == args->mod); in xfs_alloc_fix_len()
610 ASSERT(args->mod < args->prod); in xfs_alloc_ag_vextent()
2116 targs.alignment = targs.minlen = targs.prod = targs.isfl = 1; in xfs_alloc_fix_freelist()
2568 ASSERT(args->mod < args->prod); in xfs_alloc_vextent()
2572 args->mod >= args->prod) { in xfs_alloc_vextent()
Dxfs_alloc.h111 xfs_extlen_t prod; /* prod value for extent size */ member
Dxfs_ialloc_btree.c102 args.prod = 1; in xfs_inobt_alloc_block()
Dxfs_bmap.c791 args.minlen = args.maxlen = args.prod = 1; in xfs_bmap_extents_to_btree()
941 args.minlen = args.maxlen = args.prod = 1; in xfs_bmap_local_to_extents()
3742 args.prod = align; in xfs_bmap_btalloc()
3743 if ((args.mod = (xfs_extlen_t)do_mod(ap->offset, args.prod))) in xfs_bmap_btalloc()
3744 args.mod = (xfs_extlen_t)(args.prod - args.mod); in xfs_bmap_btalloc()
3746 args.prod = 1; in xfs_bmap_btalloc()
3749 args.prod = PAGE_CACHE_SIZE >> mp->m_sb.sb_blocklog; in xfs_bmap_btalloc()
3750 if ((args.mod = (xfs_extlen_t)(do_mod(ap->offset, args.prod)))) in xfs_bmap_btalloc()
3751 args.mod = (xfs_extlen_t)(args.prod - args.mod); in xfs_bmap_btalloc()
Dxfs_ialloc.c651 args.prod = 1; in xfs_ialloc_ag_alloc()
714 args.prod = 1; in xfs_ialloc_ag_alloc()
748 args.prod = 1; in xfs_ialloc_ag_alloc()
Dxfs_bmap_btree.c471 args.minlen = args.maxlen = args.prod = 1; in xfs_bmbt_alloc_block()