Searched refs:scanlen (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/mtd/nand/onenand/ |
H A D | onenand_bbt.c | 60 int i, j, numblocks, len, scanlen; in create_bbt() local 72 scanlen = 0; in create_bbt() 101 if (ret || check_short_pattern(&buf[j * scanlen], in create_bbt() 102 scanlen, this->writesize, bd)) { in create_bbt()
|
/linux/drivers/comedi/drivers/ |
H A D | adl_pci9118.c | 878 unsigned long long scanlen; in pci9118_ai_setup_dma() local 880 scanlen = (unsigned long long)scan_bytes * in pci9118_ai_setup_dma() 884 if (dmalen0 > scanlen) { in pci9118_ai_setup_dma() 885 dmalen0 = scanlen; in pci9118_ai_setup_dma() 889 if (dmalen1 > (scanlen - dmalen0)) { in pci9118_ai_setup_dma() 890 dmalen1 = scanlen - dmalen0; in pci9118_ai_setup_dma() 922 unsigned int scanlen; in pci9118_ai_cmd() local 1008 scanlen = devpriv->ai_add_front + cmd->chanlist_len + in pci9118_ai_cmd() 1014 devpriv->ai_n_realscanlen = scanlen * in pci9118_ai_cmd() 1017 if (scanlen > s->len_chanlist) { in pci9118_ai_cmd()
|
/linux/fs/xfs/ |
H A D | xfs_rtalloc.c | 251 xfs_rtxlen_t scanlen; /* number of free rtx to look for */ in xfs_rtallocate_extent_block() local 264 scanlen = xfs_rtallocate_clamp_len(args->rtg, i, maxlen, prod); in xfs_rtallocate_extent_block() 265 if (scanlen < minlen) in xfs_rtallocate_extent_block() 272 error = xfs_rtcheck_range(args, i, scanlen, 1, &next, &stat); in xfs_rtallocate_extent_block() 279 *len = scanlen; in xfs_rtallocate_extent_block() 351 xfs_rtxlen_t scanlen; /* number of free rtx to look for */ in xfs_rtallocate_extent_exact() local 359 scanlen = xfs_rtallocate_clamp_len(args->rtg, start, maxlen, prod); in xfs_rtallocate_extent_exact() 360 if (scanlen < minlen) in xfs_rtallocate_extent_exact() 364 error = xfs_rtcheck_range(args, start, scanlen, 1, &next, &isfree); in xfs_rtallocate_extent_exact() 370 *len = scanlen; in xfs_rtallocate_extent_exact()
|
/linux/drivers/mtd/nand/raw/ |
H A D | nand_bbt.c | 559 int scanlen = mtd->writesize + mtd->oobsize; in search_bbt() local 597 if (!check_pattern(buf, scanlen, mtd->writesize, td)) { in search_bbt()
|