/fs/ext2/ |
D | balloc.c | 588 ext2_grpblk_t maxblocks) in bitmap_search_next_usable_block() argument 592 next = ext2_find_next_zero_bit(bh->b_data, maxblocks, start); in bitmap_search_next_usable_block() 593 if (next >= maxblocks) in bitmap_search_next_usable_block() 611 find_next_usable_block(int start, struct buffer_head *bh, int maxblocks) in find_next_usable_block() argument 626 if (end_goal > maxblocks) in find_next_usable_block() 627 end_goal = maxblocks; in find_next_usable_block() 639 r = memscan(p, 0, ((maxblocks + 7) >> 3) - (here >> 3)); in find_next_usable_block() 642 if (next < maxblocks && next >= here) in find_next_usable_block() 645 here = bitmap_search_next_usable_block(here, bh, maxblocks); in find_next_usable_block()
|
D | inode.c | 601 sector_t iblock, unsigned long maxblocks, in ext2_get_blocks() argument 629 while (count < maxblocks && count <= blocks_to_boundary) { in ext2_get_blocks() 702 maxblocks, blocks_to_boundary); in ext2_get_blocks()
|
/fs/nilfs2/ |
D | direct.c | 65 unsigned maxblocks) in nilfs_direct_lookup_contig() argument 86 maxblocks = min_t(unsigned, maxblocks, NILFS_DIRECT_KEY_MAX - key + 1); in nilfs_direct_lookup_contig() 87 for (cnt = 1; cnt < maxblocks && in nilfs_direct_lookup_contig()
|
D | inode.c | 80 unsigned maxblocks = bh_result->b_size >> inode->i_blkbits; in nilfs_get_block() local 83 ret = nilfs_bmap_lookup_contig(ii->i_bmap, blkoff, &blknum, maxblocks); in nilfs_get_block() 985 unsigned int maxblocks; in nilfs_fiemap() local 1013 maxblocks = INT_MAX; in nilfs_fiemap() 1015 maxblocks = min_t(sector_t, delalloc_blkoff - blkoff, in nilfs_fiemap() 1016 maxblocks); in nilfs_fiemap() 1021 NILFS_I(inode)->i_bmap, blkoff, &blkphy, maxblocks); in nilfs_fiemap()
|
D | bmap.c | 100 unsigned maxblocks) in nilfs_bmap_lookup_contig() argument 105 ret = bmap->b_ops->bop_lookup_contig(bmap, key, ptrp, maxblocks); in nilfs_bmap_lookup_contig()
|
D | btree.c | 624 __u64 key, __u64 *ptrp, unsigned maxblocks) in nilfs_btree_lookup_contig() argument 651 if (cnt == maxblocks) in nilfs_btree_lookup_contig() 669 if (ptr2 != ptr + cnt || ++cnt == maxblocks) in nilfs_btree_lookup_contig()
|
/fs/ext3/ |
D | balloc.c | 742 ext3_grpblk_t maxblocks) in bitmap_search_next_usable_block() argument 747 while (start < maxblocks) { in bitmap_search_next_usable_block() 748 next = ext3_find_next_zero_bit(bh->b_data, maxblocks, start); in bitmap_search_next_usable_block() 749 if (next >= maxblocks) in bitmap_search_next_usable_block() 756 maxblocks, next); in bitmap_search_next_usable_block() 777 ext3_grpblk_t maxblocks) in find_next_usable_block() argument 792 if (end_goal > maxblocks) in find_next_usable_block() 793 end_goal = maxblocks; in find_next_usable_block() 805 r = memscan(p, 0, ((maxblocks + 7) >> 3) - (here >> 3)); in find_next_usable_block() 808 if (next < maxblocks && next >= start && ext3_test_allocatable(next, bh)) in find_next_usable_block() [all …]
|
D | inode.c | 853 sector_t iblock, unsigned long maxblocks, in ext3_get_blocks_handle() argument 870 trace_ext3_get_blocks_enter(inode, iblock, maxblocks, create); in ext3_get_blocks_handle() 885 while (count < maxblocks && count <= blocks_to_boundary) { in ext3_get_blocks_handle() 965 maxblocks, blocks_to_boundary); in ext3_get_blocks_handle()
|
D | ext3.h | 1041 sector_t iblock, unsigned long maxblocks, struct buffer_head *bh_result,
|
/fs/xfs/ |
D | xfs_ialloc.c | 1398 uint maxblocks; in xfs_ialloc_compute_maxlevels() local 1407 maxblocks = (maxleafents + minleafrecs - 1) / minleafrecs; in xfs_ialloc_compute_maxlevels() 1408 for (level = 1; maxblocks > 1; level++) in xfs_ialloc_compute_maxlevels() 1409 maxblocks = (maxblocks + minnoderecs - 1) / minnoderecs; in xfs_ialloc_compute_maxlevels()
|
D | xfs_alloc.c | 1712 uint maxblocks; in xfs_alloc_compute_maxlevels() local 1720 maxblocks = (maxleafents + minleafrecs - 1) / minleafrecs; in xfs_alloc_compute_maxlevels() 1721 for (level = 1; maxblocks > 1; level++) in xfs_alloc_compute_maxlevels() 1722 maxblocks = (maxblocks + minnoderecs - 1) / minnoderecs; in xfs_alloc_compute_maxlevels()
|
D | xfs_bmap.c | 3616 uint maxblocks; /* max blocks at this level */ in xfs_bmap_compute_maxlevels() local 3647 maxblocks = (maxleafents + minleafrecs - 1) / minleafrecs; in xfs_bmap_compute_maxlevels() 3648 for (level = 1; maxblocks > 1; level++) { in xfs_bmap_compute_maxlevels() 3649 if (maxblocks <= maxrootrecs) in xfs_bmap_compute_maxlevels() 3650 maxblocks = 1; in xfs_bmap_compute_maxlevels() 3652 maxblocks = (maxblocks + minnoderecs - 1) / minnoderecs; in xfs_bmap_compute_maxlevels()
|
/fs/jfs/ |
D | jfs_xtree.h | 130 struct inode *ip, int xflag, s64 xoff, int maxblocks,
|
D | jfs_xtree.c | 2171 struct inode *ip, int xflag, s64 xoff, s32 maxblocks, in xtAppend() argument 2195 (ulong) xoff, maxblocks, xlen, (ulong) xaddr); in xtAppend() 2242 for (; nsplit > 0; nsplit--, pxd++, xaddr += nblocks, maxblocks -= nblocks) { in xtAppend() 2257 xlen = min(xlen, maxblocks); in xtAppend()
|