Searched refs:maxblocks (Results 1 – 10 of 10) sorted by relevance
/fs/ext2/ |
D | balloc.c | 584 ext2_grpblk_t maxblocks) in bitmap_search_next_usable_block() argument 588 next = ext2_find_next_zero_bit(bh->b_data, maxblocks, start); in bitmap_search_next_usable_block() 589 if (next >= maxblocks) in bitmap_search_next_usable_block() 607 find_next_usable_block(int start, struct buffer_head *bh, int maxblocks) in find_next_usable_block() argument 622 if (end_goal > maxblocks) in find_next_usable_block() 623 end_goal = maxblocks; in find_next_usable_block() 635 r = memscan(p, 0, ((maxblocks + 7) >> 3) - (here >> 3)); in find_next_usable_block() 638 if (next < maxblocks && next >= here) in find_next_usable_block() 641 here = bitmap_search_next_usable_block(here, bh, maxblocks); in find_next_usable_block()
|
D | inode.c | 625 sector_t iblock, unsigned long maxblocks, in ext2_get_blocks() argument 641 BUG_ON(maxblocks == 0); in ext2_get_blocks() 654 while (count < maxblocks && count <= blocks_to_boundary) { in ext2_get_blocks() 730 maxblocks, blocks_to_boundary); in ext2_get_blocks()
|
/fs/nilfs2/ |
D | direct.c | 52 unsigned int maxblocks) in nilfs_direct_lookup_contig() argument 73 maxblocks = min_t(unsigned int, maxblocks, in nilfs_direct_lookup_contig() 75 for (cnt = 1; cnt < maxblocks && in nilfs_direct_lookup_contig()
|
D | inode.c | 82 unsigned int maxblocks = bh_result->b_size >> inode->i_blkbits; in nilfs_get_block() local 85 ret = nilfs_bmap_lookup_contig(ii->i_bmap, blkoff, &blknum, maxblocks); in nilfs_get_block() 1192 unsigned int maxblocks; in nilfs_fiemap() local 1220 maxblocks = INT_MAX; in nilfs_fiemap() 1222 maxblocks = min_t(sector_t, delalloc_blkoff - blkoff, in nilfs_fiemap() 1223 maxblocks); in nilfs_fiemap() 1228 NILFS_I(inode)->i_bmap, blkoff, &blkphy, maxblocks); in nilfs_fiemap()
|
D | bmap.c | 95 unsigned int maxblocks) in nilfs_bmap_lookup_contig() argument 100 ret = bmap->b_ops->bop_lookup_contig(bmap, key, ptrp, maxblocks); in nilfs_bmap_lookup_contig()
|
D | btree.c | 704 unsigned int maxblocks) in nilfs_btree_lookup_contig() argument 731 if (cnt == maxblocks) in nilfs_btree_lookup_contig() 749 if (ptr2 != ptr + cnt || ++cnt == maxblocks) in nilfs_btree_lookup_contig()
|
/fs/jfs/ |
D | jfs_xtree.h | 111 struct inode *ip, int xflag, s64 xoff, int maxblocks,
|
D | jfs_xtree.c | 1942 struct inode *ip, int xflag, s64 xoff, s32 maxblocks, in xtAppend() argument 1966 (ulong) xoff, maxblocks, xlen, (ulong) xaddr); in xtAppend() 2013 for (; nsplit > 0; nsplit--, pxd++, xaddr += nblocks, maxblocks -= nblocks) { in xtAppend() 2028 xlen = min(xlen, maxblocks); in xtAppend()
|
/fs/xfs/libxfs/ |
D | xfs_bmap.c | 55 uint64_t maxblocks; /* max blocks at this level */ in xfs_bmap_compute_maxlevels() local 85 maxblocks = howmany_64(maxleafents, minleafrecs); in xfs_bmap_compute_maxlevels() 86 for (level = 1; maxblocks > 1; level++) { in xfs_bmap_compute_maxlevels() 87 if (maxblocks <= maxrootrecs) in xfs_bmap_compute_maxlevels() 88 maxblocks = 1; in xfs_bmap_compute_maxlevels() 90 maxblocks = howmany_64(maxblocks, minnoderecs); in xfs_bmap_compute_maxlevels()
|
/fs/f2fs/ |
D | data.c | 1492 unsigned int maxblocks = map->m_len; in f2fs_map_blocks_cached() local 1500 map->m_len = min((pgoff_t)maxblocks, ei.fofs + ei.len - pgoff); in f2fs_map_blocks_cached() 1549 unsigned int maxblocks = map->m_len; in f2fs_map_blocks() local 1562 if (!maxblocks) in f2fs_map_blocks() 1577 end = pgofs + maxblocks; in f2fs_map_blocks()
|