Searched refs:n_blocks (Results 1 – 10 of 10) sorted by relevance
48 unsigned n_blocks; member425 for (b = 0; b < io->n_blocks; b++) { in verity_verify_io()537 verity_hash_at_level(v, pw->block + pw->n_blocks - 1, i, &hash_block_end, NULL); in verity_prefetch_io()574 pw->n_blocks = io->n_blocks; in verity_submit_prefetch()609 io->n_blocks = bio->bi_iter.bi_size >> v->data_dev_block_bits; in verity_map()
71 sector_t block, unsigned n_blocks);
76 unsigned n_blocks; member
1130 sector_t block, unsigned n_blocks) in dm_bufio_prefetch() argument1141 for (; n_blocks--; block++) { in dm_bufio_prefetch()1162 if (!n_blocks) in dm_bufio_prefetch()
1574 u32 n_blocks = OPA_AM_NBLK(am); in __subn_get_opa_sc_to_vlt() local1579 if (n_blocks != 1) { in __subn_get_opa_sc_to_vlt()1596 u32 n_blocks = OPA_AM_NBLK(am); in __subn_set_opa_sc_to_vlt() local1603 if (n_blocks != 1 || async_update) { in __subn_set_opa_sc_to_vlt()1628 u32 n_blocks = OPA_AM_NPORT(am); in __subn_get_opa_sc_to_vlnt() local1634 if (n_blocks != 1) { in __subn_get_opa_sc_to_vlnt()1653 u32 n_blocks = OPA_AM_NPORT(am); in __subn_set_opa_sc_to_vlnt() local1659 if (n_blocks != 1) { in __subn_set_opa_sc_to_vlnt()3320 u32 n_blocks = OPA_AM_NBLK(am); in __subn_get_opa_cc_table() local3327 if (n_blocks == 0 || in __subn_get_opa_cc_table()[all …]
271 u8 n_blocks; member1824 if (il->n_blocks == 0) in de21041_get_srom_info()1827 (sizeof(struct de_srom_info_leaf) + (sizeof(struct de_srom_media_block) * il->n_blocks))) in de21041_get_srom_info()1854 for (i = 0; i < il->n_blocks; i++) { in de21041_get_srom_info()
114 u32 n_blocks; member123 u32 n_blocks; member3441 (void *)(bs + h->n_blocks) > ptr + len) { in __cyz_load_fw()3459 for (a = 0; a < c->n_blocks; a++) in __cyz_load_fw()3460 if (c->block_list[a] > h->n_blocks) { in __cyz_load_fw()3472 for (b = bs; b < bs + h->n_blocks; b++) in __cyz_load_fw()3483 for (a = 0; a < c->n_blocks; a++) { in __cyz_load_fw()
485 int n_blocks; /* minium blocks needed to hold len */ in oxu_buf_alloc() local498 n_blocks = (len + BUFFER_SIZE - 1) / BUFFER_SIZE; in oxu_buf_alloc()501 for (a_blocks = 1; a_blocks < n_blocks; a_blocks <<= 1) in oxu_buf_alloc()
1657 static bool ata_check_nblocks(struct scsi_cmnd *scmd, u32 n_blocks) in ata_check_nblocks() argument1666 if (n_blocks > req_blocks) in ata_check_nblocks()
1326 u16 n_blocks; in download_microcode() local1341 n_blocks = (p_src[0] << 8) | p_src[1]; in download_microcode()1345 for (i = 0; i < n_blocks; i += 1) { in download_microcode()