vecs 83 crypto/testmgr.c const struct aead_testvec *vecs; vecs 88 crypto/testmgr.c const struct cipher_testvec *vecs; vecs 94 crypto/testmgr.c const struct comp_testvec *vecs; vecs 100 crypto/testmgr.c const struct hash_testvec *vecs; vecs 105 crypto/testmgr.c const struct cprng_testvec *vecs; vecs 110 crypto/testmgr.c const struct drbg_testvec *vecs; vecs 115 crypto/testmgr.c const struct akcipher_testvec *vecs; vecs 120 crypto/testmgr.c const struct kpp_testvec *vecs; vecs 1708 crypto/testmgr.c static int __alg_test_hash(const struct hash_testvec *vecs, vecs 1773 crypto/testmgr.c err = test_hash_vec(driver, &vecs[i], i, req, desc, tsgl, vecs 1797 crypto/testmgr.c const struct hash_testvec *template = desc->suite.hash.vecs; vecs 2227 crypto/testmgr.c test_desc->suite.aead.vecs[i].klen); vecs 2288 crypto/testmgr.c err = test_aead_vec(driver, enc, &suite->vecs[i], i, req, vecs 2847 crypto/testmgr.c err = test_skcipher_vec(driver, enc, &suite->vecs[i], i, req, vecs 3261 crypto/testmgr.c err = test_cipher(tfm, ENCRYPT, suite->vecs, suite->count); vecs 3263 crypto/testmgr.c err = test_cipher(tfm, DECRYPT, suite->vecs, suite->count); vecs 3284 crypto/testmgr.c err = test_acomp(acomp, desc->suite.comp.comp.vecs, vecs 3285 crypto/testmgr.c desc->suite.comp.decomp.vecs, vecs 3297 crypto/testmgr.c err = test_comp(comp, desc->suite.comp.comp.vecs, vecs 3298 crypto/testmgr.c desc->suite.comp.decomp.vecs, vecs 3372 crypto/testmgr.c err = test_cprng(rng, desc->suite.cprng.vecs, desc->suite.cprng.count); vecs 3454 crypto/testmgr.c const struct drbg_testvec *template = desc->suite.drbg.vecs; vecs 3616 crypto/testmgr.c const struct kpp_testvec *vecs, unsigned int tcount) vecs 3621 crypto/testmgr.c ret = do_test_kpp(tfm, vecs++, alg); vecs 3643 crypto/testmgr.c if (desc->suite.kpp.vecs) vecs 3644 crypto/testmgr.c err = test_kpp(tfm, desc->alg, desc->suite.kpp.vecs, vecs 3658 crypto/testmgr.c const struct akcipher_testvec *vecs) vecs 3682 crypto/testmgr.c key = kmalloc(vecs->key_len + sizeof(u32) * 2 + vecs->param_len, vecs 3686 crypto/testmgr.c memcpy(key, vecs->key, vecs->key_len); vecs 3687 crypto/testmgr.c ptr = key + vecs->key_len; vecs 3688 crypto/testmgr.c ptr = test_pack_u32(ptr, vecs->algo); vecs 3689 crypto/testmgr.c ptr = test_pack_u32(ptr, vecs->param_len); vecs 3690 crypto/testmgr.c memcpy(ptr, vecs->params, vecs->param_len); vecs 3692 crypto/testmgr.c if (vecs->public_key_vec) vecs 3693 crypto/testmgr.c err = crypto_akcipher_set_pub_key(tfm, key, vecs->key_len); vecs 3695 crypto/testmgr.c err = crypto_akcipher_set_priv_key(tfm, key, vecs->key_len); vecs 3709 crypto/testmgr.c if (!vecs->siggen_sigver_test) { vecs 3710 crypto/testmgr.c m = vecs->m; vecs 3711 crypto/testmgr.c m_size = vecs->m_size; vecs 3712 crypto/testmgr.c c = vecs->c; vecs 3713 crypto/testmgr.c c_size = vecs->c_size; vecs 3719 crypto/testmgr.c m = vecs->c; /* signature */ vecs 3720 crypto/testmgr.c m_size = vecs->c_size; vecs 3721 crypto/testmgr.c c = vecs->m; /* digest */ vecs 3722 crypto/testmgr.c c_size = vecs->m_size; vecs 3733 crypto/testmgr.c if (vecs->siggen_sigver_test) { vecs 3747 crypto/testmgr.c err = crypto_wait_req(vecs->siggen_sigver_test ? vecs 3756 crypto/testmgr.c if (!vecs->siggen_sigver_test) { vecs 3777 crypto/testmgr.c if (vecs->public_key_vec) { vecs 3787 crypto/testmgr.c op = vecs->siggen_sigver_test ? "sign" : "decrypt"; vecs 3797 crypto/testmgr.c err = crypto_wait_req(vecs->siggen_sigver_test ? vecs 3832 crypto/testmgr.c const struct akcipher_testvec *vecs, vecs 3840 crypto/testmgr.c ret = test_akcipher_one(tfm, vecs++); vecs 3863 crypto/testmgr.c if (desc->suite.akcipher.vecs) vecs 3864 crypto/testmgr.c err = test_akcipher(tfm, desc->alg, desc->suite.akcipher.vecs, vecs 3877 crypto/testmgr.c #define __VECS(tv) { .vecs = tv, .count = ARRAY_SIZE(tv) } vecs 4481 crypto/testmgr.c .vecs = fcrypt_pcbc_tv_template, vecs 130 drivers/md/dm-log-writes.c struct bio_vec vecs[0]; vecs 203 drivers/md/dm-log-writes.c if (block->vecs[i].bv_page) vecs 204 drivers/md/dm-log-writes.c __free_page(block->vecs[i].bv_page); vecs 384 drivers/md/dm-log-writes.c ret = bio_add_page(bio, block->vecs[i].bv_page, vecs 385 drivers/md/dm-log-writes.c block->vecs[i].bv_len, 0); vecs 386 drivers/md/dm-log-writes.c if (ret != block->vecs[i].bv_len) { vecs 401 drivers/md/dm-log-writes.c ret = bio_add_page(bio, block->vecs[i].bv_page, vecs 402 drivers/md/dm-log-writes.c block->vecs[i].bv_len, 0); vecs 403 drivers/md/dm-log-writes.c if (ret != block->vecs[i].bv_len) { vecs 409 drivers/md/dm-log-writes.c sector += block->vecs[i].bv_len >> SECTOR_SHIFT; vecs 702 drivers/md/dm-log-writes.c alloc_size = struct_size(block, vecs, bio_segments(bio)); vecs 773 drivers/md/dm-log-writes.c block->vecs[i].bv_page = page; vecs 774 drivers/md/dm-log-writes.c block->vecs[i].bv_len = bv.bv_len; vecs 1868 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_writev (struct mtd_info *mtd, const struct kvec *vecs, vecs 1880 drivers/mtd/chips/cfi_cmdset_0001.c len += vecs[i].iov_len; vecs 1896 drivers/mtd/chips/cfi_cmdset_0001.c ofs, &vecs, &vec_seek, size); vecs 39 drivers/mtd/chips/cfi_cmdset_0020.c static int cfi_staa_writev(struct mtd_info *mtd, const struct kvec *vecs, vecs 665 drivers/mtd/chips/cfi_cmdset_0020.c cfi_staa_writev(struct mtd_info *mtd, const struct kvec *vecs, vecs 685 drivers/mtd/chips/cfi_cmdset_0020.c size_t elem_len = vecs[i].iov_len; vecs 686 drivers/mtd/chips/cfi_cmdset_0020.c void *elem_base = vecs[i].iov_base; vecs 23 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_writev(struct mtd_info *mtd, const struct kvec *vecs, vecs 618 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_writev(struct mtd_info *mtd, const struct kvec *vecs, vecs 630 drivers/mtd/lpddr/lpddr_cmds.c len += vecs[i].iov_len; vecs 648 drivers/mtd/lpddr/lpddr_cmds.c ofs, &vecs, &vec_seek, size); vecs 144 drivers/mtd/mtdconcat.c concat_writev(struct mtd_info *mtd, const struct kvec *vecs, vecs 156 drivers/mtd/mtdconcat.c total_len += vecs[i].iov_len; vecs 166 drivers/mtd/mtdconcat.c vecs_copy = kmemdup(vecs, sizeof(struct kvec) * count, GFP_KERNEL); vecs 1821 drivers/mtd/mtdcore.c static int default_mtd_writev(struct mtd_info *mtd, const struct kvec *vecs, vecs 1829 drivers/mtd/mtdcore.c if (!vecs[i].iov_len) vecs 1831 drivers/mtd/mtdcore.c ret = mtd_write(mtd, to, vecs[i].iov_len, &thislen, vecs 1832 drivers/mtd/mtdcore.c vecs[i].iov_base); vecs 1834 drivers/mtd/mtdcore.c if (ret || thislen != vecs[i].iov_len) vecs 1836 drivers/mtd/mtdcore.c to += vecs[i].iov_len; vecs 1853 drivers/mtd/mtdcore.c int mtd_writev(struct mtd_info *mtd, const struct kvec *vecs, vecs 1860 drivers/mtd/mtdcore.c return default_mtd_writev(mtd, vecs, count, to, retlen); vecs 1861 drivers/mtd/mtdcore.c return mtd->_writev(mtd, vecs, count, to, retlen); vecs 189 drivers/mtd/mtdpart.c static int part_writev(struct mtd_info *mtd, const struct kvec *vecs, vecs 193 drivers/mtd/mtdpart.c return part->parent->_writev(part->parent, vecs, count, vecs 100 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c cfg->vecs) * sizeof(u64)); vecs 123 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c cfg->vecs * ARRAY_SIZE(aq_ethtool_queue_stat_names); vecs 141 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c for (i = 0; i < cfg->vecs; i++) { vecs 162 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c cfg->vecs * ARRAY_SIZE(aq_ethtool_queue_stat_names); vecs 247 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c cmd->data = cfg->vecs; vecs 564 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c for (aq_nic->aq_vecs = 0; aq_nic->aq_vecs < aq_nic_cfg->vecs; vecs 41 drivers/net/ethernet/aquantia/atlantic/aq_hw.h u32 vecs; vecs 91 drivers/net/ethernet/aquantia/atlantic/aq_nic.c cfg->vecs = min(cfg->aq_hw_caps->vecs, AQ_CFG_VECS_DEF); vecs 92 drivers/net/ethernet/aquantia/atlantic/aq_nic.c cfg->vecs = min(cfg->vecs, num_online_cpus()); vecs 94 drivers/net/ethernet/aquantia/atlantic/aq_nic.c cfg->vecs = min(cfg->vecs, self->irqvecs - AQ_HW_SERVICE_IRQS); vecs 96 drivers/net/ethernet/aquantia/atlantic/aq_nic.c if (cfg->vecs >= 8U) vecs 97 drivers/net/ethernet/aquantia/atlantic/aq_nic.c cfg->vecs = 8U; vecs 98 drivers/net/ethernet/aquantia/atlantic/aq_nic.c else if (cfg->vecs >= 4U) vecs 99 drivers/net/ethernet/aquantia/atlantic/aq_nic.c cfg->vecs = 4U; vecs 100 drivers/net/ethernet/aquantia/atlantic/aq_nic.c else if (cfg->vecs >= 2U) vecs 101 drivers/net/ethernet/aquantia/atlantic/aq_nic.c cfg->vecs = 2U; vecs 103 drivers/net/ethernet/aquantia/atlantic/aq_nic.c cfg->vecs = 1U; vecs 105 drivers/net/ethernet/aquantia/atlantic/aq_nic.c cfg->num_rss_queues = min(cfg->vecs, AQ_CFG_NUM_RSS_QUEUES_DEF); vecs 112 drivers/net/ethernet/aquantia/atlantic/aq_nic.c (cfg->aq_hw_caps->vecs == 1U) || vecs 113 drivers/net/ethernet/aquantia/atlantic/aq_nic.c (cfg->vecs == 1U)) { vecs 115 drivers/net/ethernet/aquantia/atlantic/aq_nic.c cfg->vecs = 1U; vecs 122 drivers/net/ethernet/aquantia/atlantic/aq_nic.c if (AQ_HW_SERVICE_IRQS > 0 && cfg->vecs + 1 <= self->irqvecs) vecs 123 drivers/net/ethernet/aquantia/atlantic/aq_nic.c cfg->link_irq_vec = cfg->vecs; vecs 261 drivers/net/ethernet/aquantia/atlantic/aq_nic.c for (self->aq_vecs = 0; self->aq_vecs < aq_nic_get_cfg(self)->vecs; vecs 577 drivers/net/ethernet/aquantia/atlantic/aq_nic.c unsigned int vec = skb->queue_mapping % self->aq_nic_cfg.vecs; vecs 26 drivers/net/ethernet/aquantia/atlantic/aq_nic.h u32 vecs; /* allocated rx/tx vectors */ vecs 22 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c .vecs = HW_ATL_A0_RSS_MAX, \ vecs 386 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c [(aq_nic_cfg->vecs > 1U) ? 1 : 0]); vecs 23 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c .vecs = HW_ATL_B0_RSS_MAX, \ vecs 437 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c [(aq_nic_cfg->vecs > 1U) ? vecs 254 drivers/scsi/fnic/fnic_isr.c int vecs = n + m + o + 1; vecs 256 drivers/scsi/fnic/fnic_isr.c if (pci_alloc_irq_vectors(fnic->pdev, vecs, vecs, vecs 257 drivers/scsi/fnic/fnic_isr.c PCI_IRQ_MSIX) == vecs) { vecs 263 drivers/scsi/fnic/fnic_isr.c fnic->intr_count = vecs; vecs 161 drivers/scsi/snic/snic_isr.c unsigned int vecs = n + m + 1; vecs 173 drivers/scsi/snic/snic_isr.c if (pci_alloc_irq_vectors(snic->pdev, vecs, vecs, PCI_IRQ_MSIX) < 0) vecs 178 drivers/scsi/snic/snic_isr.c snic->intr_count = vecs; vecs 208 fs/block_dev.c struct bio_vec inline_vecs[DIO_INLINE_BIO_VECS], *vecs; vecs 220 fs/block_dev.c vecs = inline_vecs; vecs 222 fs/block_dev.c vecs = kmalloc_array(nr_pages, sizeof(struct bio_vec), vecs 224 fs/block_dev.c if (!vecs) vecs 228 fs/block_dev.c bio_init(&bio, vecs, nr_pages); vecs 268 fs/block_dev.c if (vecs != inline_vecs) vecs 269 fs/block_dev.c kfree(vecs); vecs 424 fs/jffs2/erase.c struct kvec vecs[1]; vecs 435 fs/jffs2/erase.c vecs[0].iov_base = (unsigned char *) ▮ vecs 436 fs/jffs2/erase.c vecs[0].iov_len = sizeof(marker); vecs 437 fs/jffs2/erase.c ret = jffs2_flash_direct_writev(c, vecs, 1, jeb->offset, &retlen); vecs 116 fs/jffs2/os-linux.h int jffs2_flash_writev(struct jffs2_sb_info *c, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen, uint32_t ino); vecs 190 fs/jffs2/os-linux.h int jffs2_flash_direct_writev(struct jffs2_sb_info *c, const struct kvec *vecs, vecs 680 fs/jffs2/summary.c struct kvec vecs[2]; vecs 809 fs/jffs2/summary.c vecs[0].iov_base = &isum; vecs 810 fs/jffs2/summary.c vecs[0].iov_len = sizeof(isum); vecs 811 fs/jffs2/summary.c vecs[1].iov_base = c->summary->sum_buf; vecs 812 fs/jffs2/summary.c vecs[1].iov_len = datasize; vecs 818 fs/jffs2/summary.c ret = jffs2_flash_writev(c, vecs, 2, sum_ofs, &retlen, 0); vecs 944 fs/jffs2/wbuf.c struct kvec vecs[1]; vecs 949 fs/jffs2/wbuf.c vecs[0].iov_base = (unsigned char *) buf; vecs 950 fs/jffs2/wbuf.c vecs[0].iov_len = len; vecs 951 fs/jffs2/wbuf.c return jffs2_flash_writev(c, vecs, 1, ofs, retlen, 0); vecs 67 fs/jffs2/write.c struct kvec vecs[2]; vecs 77 fs/jffs2/write.c vecs[0].iov_base = ri; vecs 78 fs/jffs2/write.c vecs[0].iov_len = sizeof(*ri); vecs 79 fs/jffs2/write.c vecs[1].iov_base = (unsigned char *)data; vecs 80 fs/jffs2/write.c vecs[1].iov_len = datalen; vecs 98 fs/jffs2/write.c jffs2_dbg_prewrite_paranoia_check(c, flash_ofs, vecs[0].iov_len + vecs[1].iov_len); vecs 109 fs/jffs2/write.c ret = jffs2_flash_writev(c, vecs, cnt, flash_ofs, &retlen, vecs 211 fs/jffs2/write.c struct kvec vecs[2]; vecs 237 fs/jffs2/write.c vecs[0].iov_base = rd; vecs 238 fs/jffs2/write.c vecs[0].iov_len = sizeof(*rd); vecs 239 fs/jffs2/write.c vecs[1].iov_base = (unsigned char *)name; vecs 240 fs/jffs2/write.c vecs[1].iov_len = namelen; vecs 256 fs/jffs2/write.c jffs2_dbg_prewrite_paranoia_check(c, flash_ofs, vecs[0].iov_len + vecs[1].iov_len); vecs 268 fs/jffs2/write.c ret = jffs2_flash_writev(c, vecs, 2, flash_ofs, &retlen, vecs 16 fs/jffs2/writev.c int jffs2_flash_direct_writev(struct jffs2_sb_info *c, const struct kvec *vecs, vecs 22 fs/jffs2/writev.c res = jffs2_sum_add_kvec(c, vecs, count, (uint32_t) to); vecs 29 fs/jffs2/writev.c return mtd_writev(c->mtd, vecs, count, to, retlen); vecs 39 fs/jffs2/writev.c struct kvec vecs[1]; vecs 42 fs/jffs2/writev.c vecs[0].iov_base = (unsigned char *) buf; vecs 43 fs/jffs2/writev.c vecs[0].iov_len = len; vecs 45 fs/jffs2/writev.c res = jffs2_sum_add_kvec(c, vecs, 1, (uint32_t) ofs); vecs 288 fs/jffs2/xattr.c struct kvec vecs[2]; vecs 296 fs/jffs2/xattr.c vecs[0].iov_base = ℞ vecs 297 fs/jffs2/xattr.c vecs[0].iov_len = sizeof(rx); vecs 298 fs/jffs2/xattr.c vecs[1].iov_base = xd->xname; vecs 299 fs/jffs2/xattr.c vecs[1].iov_len = xd->name_len + 1 + xd->value_len; vecs 300 fs/jffs2/xattr.c totlen = vecs[0].iov_len + vecs[1].iov_len; vecs 314 fs/jffs2/xattr.c rx.data_crc = cpu_to_je32(crc32(0, vecs[1].iov_base, vecs[1].iov_len)); vecs 317 fs/jffs2/xattr.c rc = jffs2_flash_writev(c, vecs, 2, phys_ofs, &length, 0); vecs 302 include/linux/mtd/mtd.h int (*_writev) (struct mtd_info *mtd, const struct kvec *vecs, vecs 437 include/linux/mtd/mtd.h int mtd_writev(struct mtd_info *mtd, const struct kvec *vecs,