Searched refs:max_block (Results 1 – 4 of 4) sorted by relevance
982 nbpages = DIV_ROUND_UP(docg3->max_block + 1, 8 * DOC_LAYOUT_PAGE_SIZE); in doc_reload_bbt()1017 if (block1 > docg3->max_block) in doc_block_isbad()1045 if (block1 > docg3->max_block)1760 docg3->max_block = 2047; in doc_set_driver_info()1765 mtd->size = (docg3->max_block + 1) * DOC_LAYOUT_BLOCK_SIZE; in doc_set_driver_info()1814 bbt_nbpages = DIV_ROUND_UP(docg3->max_block + 1, in doc_probe_device()
295 int max_block; member
178 int max_block; member
1108 STp->min_block = STp->max_block = (-1); in check_tape()1122 STp->max_block = ((STp->buffer)->b_data[1] << 16) | in check_tape()1129 STp->min_block, STp->max_block); in check_tape()1131 STp->min_block = STp->max_block = (-1); in check_tape()1529 if (STp->block_size == 0 && STp->max_block > 0 && in rw_checks()1530 (count < STp->min_block || count > STp->max_block)) { in rw_checks()2903 STp->max_block > 0 && in st_int_ioctl()2905 (arg & MT_ST_BLKSIZE_MASK) > STp->max_block)) { in st_int_ioctl()