Home
last modified time | relevance | path

Searched refs:n_blocks (Results 1 – 10 of 10) sorted by relevance

/drivers/md/
Ddm-verity-target.c48 unsigned n_blocks; member
425 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()
Ddm-bufio.h71 sector_t block, unsigned n_blocks);
Ddm-verity.h76 unsigned n_blocks; member
Ddm-bufio.c1130 sector_t block, unsigned n_blocks) in dm_bufio_prefetch() argument
1141 for (; n_blocks--; block++) { in dm_bufio_prefetch()
1162 if (!n_blocks) in dm_bufio_prefetch()
/drivers/staging/rdma/hfi1/
Dmad.c1574 u32 n_blocks = OPA_AM_NBLK(am); in __subn_get_opa_sc_to_vlt() local
1579 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() local
1603 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() local
1634 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() local
1659 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() local
3327 if (n_blocks == 0 || in __subn_get_opa_cc_table()
[all …]
/drivers/net/ethernet/dec/tulip/
Dde2104x.c271 u8 n_blocks; member
1824 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()
/drivers/tty/
Dcyclades.c114 u32 n_blocks; member
123 u32 n_blocks; member
3441 (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()
/drivers/usb/host/
Doxu210hp-hcd.c485 int n_blocks; /* minium blocks needed to hold len */ in oxu_buf_alloc() local
498 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()
/drivers/ata/
Dlibata-scsi.c1657 static bool ata_check_nblocks(struct scsi_cmnd *scmd, u32 n_blocks) in ata_check_nblocks() argument
1666 if (n_blocks > req_blocks) in ata_check_nblocks()
/drivers/media/dvb-frontends/
Ddrxk_hard.c1326 u16 n_blocks; in download_microcode() local
1341 n_blocks = (p_src[0] << 8) | p_src[1]; in download_microcode()
1345 for (i = 0; i < n_blocks; i += 1) { in download_microcode()