| /linux/lib/crypto/x86/ |
| H A D | chacha.h | 46 static size_t chacha_advance(size_t len, size_t maxblocks) in chacha_advance() argument 48 len = min(len, maxblocks * CHACHA_BLOCK_SIZE); in chacha_advance()
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | nand_bbt.c | 586 for (block = 0; block < td->maxblocks; block++) { in search_bbt() 684 for (i = 0; i < td->maxblocks; i++) { in get_bbt_block() 1161 block = ((i + 1) * nrblocks) - td->maxblocks; in mark_bbt_region() 1164 for (j = 0; j < td->maxblocks; j++) { in mark_bbt_region() 1327 .maxblocks = NAND_BBT_SCAN_MAXBLOCKS, 1337 .maxblocks = NAND_BBT_SCAN_MAXBLOCKS, 1347 .maxblocks = NAND_BBT_SCAN_MAXBLOCKS, 1357 .maxblocks = NAND_BBT_SCAN_MAXBLOCKS,
|
| H A D | diskonchip.c | 915 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()
|
| H A D | fsl_elbc_nand.c | 131 .maxblocks = 4, 141 .maxblocks = 4,
|
| H A D | lpc32xx_slc.c | 183 .maxblocks = 4, 193 .maxblocks = 4,
|
| H A D | fsl_ifc_nand.c | 69 .maxblocks = 4, 79 .maxblocks = 4,
|
| /linux/include/linux/mtd/ |
| H A D | bbm.h | 28 * @maxblocks: maximum number of blocks to search for a bbt. This number of 48 int maxblocks; member
|
| /linux/fs/nilfs2/ |
| H A D | inode.c | 81 unsigned int maxblocks = bh_result->b_size >> inode->i_blkbits; in nilfs_get_block() local 84 ret = nilfs_bmap_lookup_contig(ii->i_bmap, blkoff, &blknum, maxblocks); in nilfs_get_block() 1103 unsigned int maxblocks; in nilfs_fiemap() 1131 maxblocks = INT_MAX; in nilfs_fiemap() 1133 maxblocks = min_t(sector_t, delalloc_blkoff - blkoff, in nilfs_fiemap() 1134 maxblocks); in nilfs_fiemap() 1139 NILFS_I(inode)->i_bmap, blkoff, &blkphy, maxblocks); in nilfs_fiemap() 1129 unsigned int maxblocks; nilfs_fiemap() local
|
| /linux/fs/jfs/ |
| H A D | jfs_xtree.h | 111 struct inode *ip, int xflag, s64 xoff, int maxblocks,
|
| /linux/fs/ext2/ |
| H A D | inode.c | 627 sector_t iblock, unsigned long maxblocks, in ext2_get_blocks() 643 if (WARN_ON_ONCE(maxblocks == 0)) in ext2_get_blocks() 657 while (count < maxblocks && count <= blocks_to_boundary) { in ext2_get_blocks() 733 maxblocks, blocks_to_boundary); in ext2_get_blocks() 623 ext2_get_blocks(struct inode * inode,sector_t iblock,unsigned long maxblocks,u32 * bno,bool * new,bool * boundary,int create) ext2_get_blocks() argument
|
| /linux/fs/xfs/ |
| H A D | xfs_rtalloc.c | 484 int maxblocks; in xfs_rtallocate_extent_near() local 490 * maxblocks is the maximum possible number of in xfs_rtallocate_extent_near() 495 maxblocks = 0; in xfs_rtallocate_extent_near() 497 maxblocks = 1; in xfs_rtallocate_extent_near() 499 maxblocks = 2 << (maxlog - mp->m_blkbit_log); in xfs_rtallocate_extent_near() 502 * We need to check bbno + i + maxblocks down to in xfs_rtallocate_extent_near() 507 j = min(i + maxblocks, j); in xfs_rtallocate_extent_near()
|
| /linux/fs/f2fs/ |
| H A D | data.c | 1826 unsigned int maxblocks = map->m_len; in f2fs_map_blocks() 1834 map->m_len = min((pgoff_t)maxblocks, ei.fofs + ei.len - pgoff); in f2fs_map_blocks() 1884 unsigned int maxblocks = map->m_len; in f2fs_map_blocks() 1899 if (!maxblocks) in f2fs_map_blocks() 1918 if (map->m_len == maxblocks || in f2fs_map_blocks() 1936 end = (pgoff_t)map->m_lblk + maxblocks; in __f2fs_overwrite_io() 1594 unsigned int maxblocks = map->m_len; f2fs_map_blocks_cached() local 1652 unsigned int maxblocks = map->m_len; f2fs_map_blocks() local
|
| /linux/Documentation/driver-api/ |
| H A D | mtdnand.rst | 595 maxblocks member of the bad block table description structure.
|