Home
last modified time | relevance | path

Searched refs:maxblocks (Results 1 – 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/fs/nilfs2/
Ddirect.c52 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()
Dinode.c82 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()
1193 unsigned int maxblocks; in nilfs_fiemap() local
1221 maxblocks = INT_MAX; in nilfs_fiemap()
1223 maxblocks = min_t(sector_t, delalloc_blkoff - blkoff, in nilfs_fiemap()
1224 maxblocks); in nilfs_fiemap()
1229 NILFS_I(inode)->i_bmap, blkoff, &blkphy, maxblocks); in nilfs_fiemap()
Dbmap.c95 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()
Dbtree.c704 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()
/kernel/linux/linux-5.10/fs/ext2/
Dballoc.c578 ext2_grpblk_t maxblocks) in bitmap_search_next_usable_block() argument
582 next = ext2_find_next_zero_bit(bh->b_data, maxblocks, start); in bitmap_search_next_usable_block()
583 if (next >= maxblocks) in bitmap_search_next_usable_block()
601 find_next_usable_block(int start, struct buffer_head *bh, int maxblocks) in find_next_usable_block() argument
616 if (end_goal > maxblocks) in find_next_usable_block()
617 end_goal = maxblocks; in find_next_usable_block()
629 r = memscan(p, 0, ((maxblocks + 7) >> 3) - (here >> 3)); in find_next_usable_block()
632 if (next < maxblocks && next >= here) in find_next_usable_block()
635 here = bitmap_search_next_usable_block(here, bh, maxblocks); in find_next_usable_block()
Dinode.c621 sector_t iblock, unsigned long maxblocks, in ext2_get_blocks() argument
637 BUG_ON(maxblocks == 0); in ext2_get_blocks()
650 while (count < maxblocks && count <= blocks_to_boundary) { in ext2_get_blocks()
726 maxblocks, blocks_to_boundary); in ext2_get_blocks()
/kernel/linux/linux-5.10/include/linux/mtd/
Dbbm.h48 int maxblocks; member
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dnand_bbt.c558 for (block = 0; block < td->maxblocks; block++) { in search_bbt()
652 for (i = 0; i < td->maxblocks; i++) { in get_bbt_block()
1129 block = ((i + 1) * nrblocks) - td->maxblocks; in mark_bbt_region()
1132 for (j = 0; j < td->maxblocks; j++) { in mark_bbt_region()
1295 .maxblocks = NAND_BBT_SCAN_MAXBLOCKS,
1305 .maxblocks = NAND_BBT_SCAN_MAXBLOCKS,
1315 .maxblocks = NAND_BBT_SCAN_MAXBLOCKS,
1325 .maxblocks = NAND_BBT_SCAN_MAXBLOCKS,
Ddiskonchip.c915 unsigned blocks, maxblocks; in nftl_partscan() local
942 maxblocks = min(32768U, mtd->erasesize - psize); in nftl_partscan()
951 while (blocks > maxblocks) { in nftl_partscan()
953 maxblocks = min(32768U, (maxblocks << 1) + psize); in nftl_partscan()
970 maxblocks = min(32768U, mtd->erasesize - psize); in nftl_partscan()
973 if (blocks > maxblocks) { in nftl_partscan()
1190 this->bbt_td->maxblocks = INFTL_BBT_RESERVED_BLOCKS; in inftl_scan_bbt()
1200 this->bbt_md->maxblocks = INFTL_BBT_RESERVED_BLOCKS; in inftl_scan_bbt()
Dcafe_nand.c498 .maxblocks = 4,
508 .maxblocks = 4,
518 .maxblocks = 4,
528 .maxblocks = 4,
Dfsl_elbc_nand.c132 .maxblocks = 4,
142 .maxblocks = 4,
Dlpc32xx_slc.c186 .maxblocks = 4,
196 .maxblocks = 4,
Dfsl_ifc_nand.c70 .maxblocks = 4,
80 .maxblocks = 4,
Dmxc_nand.c1448 .maxblocks = 4,
1458 .maxblocks = 4,
Dmarvell_nand.c2337 .maxblocks = 8, /* Last 8 blocks in each chip */
2347 .maxblocks = 8, /* Last 8 blocks in each chip */
/kernel/linux/linux-5.10/arch/x86/crypto/
Dchacha_glue.c42 static unsigned int chacha_advance(unsigned int len, unsigned int maxblocks) in chacha_advance() argument
44 len = min(len, maxblocks * CHACHA_BLOCK_SIZE); in chacha_advance()
/kernel/linux/linux-5.10/fs/jfs/
Djfs_xtree.h110 struct inode *ip, int xflag, s64 xoff, int maxblocks,
Djfs_xtree.c2157 struct inode *ip, int xflag, s64 xoff, s32 maxblocks, in xtAppend() argument
2181 (ulong) xoff, maxblocks, xlen, (ulong) xaddr); in xtAppend()
2228 for (; nsplit > 0; nsplit--, pxd++, xaddr += nblocks, maxblocks -= nblocks) { in xtAppend()
2243 xlen = min(xlen, maxblocks); in xtAppend()
/kernel/linux/linux-5.10/arch/arm/mach-davinci/
Dboard-da830-evm.c280 .maxblocks = 4,
291 .maxblocks = 4,
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_btree.c4528 unsigned long maxblocks; in xfs_btree_compute_maxlevels() local
4530 maxblocks = (len + limits[0] - 1) / limits[0]; in xfs_btree_compute_maxlevels()
4531 for (level = 1; maxblocks > 1; level++) in xfs_btree_compute_maxlevels()
4532 maxblocks = (maxblocks + limits[1] - 1) / limits[1]; in xfs_btree_compute_maxlevels()
Dxfs_bmap.c56 uint maxblocks; /* max blocks at this level */ in xfs_bmap_compute_maxlevels() local
87 maxblocks = (maxleafents + minleafrecs - 1) / minleafrecs; in xfs_bmap_compute_maxlevels()
88 for (level = 1; maxblocks > 1; level++) { in xfs_bmap_compute_maxlevels()
89 if (maxblocks <= maxrootrecs) in xfs_bmap_compute_maxlevels()
90 maxblocks = 1; in xfs_bmap_compute_maxlevels()
92 maxblocks = (maxblocks + minnoderecs - 1) / minnoderecs; in xfs_bmap_compute_maxlevels()
/kernel/linux/linux-5.10/fs/f2fs/
Ddata.c1505 unsigned int maxblocks = map->m_len; in f2fs_map_blocks() local
1518 contig_level = check_io_seq(maxblocks); in f2fs_map_blocks()
1521 if (!maxblocks) in f2fs_map_blocks()
1529 end = pgofs + maxblocks; in f2fs_map_blocks()
1537 map->m_len = min((pgoff_t)maxblocks, ei.fofs + ei.len - pgofs); in f2fs_map_blocks()
/kernel/linux/linux-5.10/Documentation/driver-api/
Dmtdnand.rst595 maxblocks member of the bad block table description structure.