Searched refs:vecs (Results 1 - 8 of 8) sorted by relevance

/drivers/mtd/
H A Dmtdcore.c1078 * @vecs: the vectors to write
1079 * @count: count of vectors in @vecs
1086 static int default_mtd_writev(struct mtd_info *mtd, const struct kvec *vecs, argument
1094 if (!vecs[i].iov_len)
1096 ret = mtd_write(mtd, to, vecs[i].iov_len, &thislen,
1097 vecs[i].iov_base);
1099 if (ret || thislen != vecs[i].iov_len)
1101 to += vecs[i].iov_len;
1110 * @vecs: the vectors to write
1111 * @count: count of vectors in @vecs
1118 mtd_writev(struct mtd_info *mtd, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen) argument
[all...]
H A Dmtdconcat.c158 concat_writev(struct mtd_info *mtd, const struct kvec *vecs, argument
170 total_len += vecs[i].iov_len;
179 /* make a copy of vecs */
180 vecs_copy = kmemdup(vecs, sizeof(struct kvec) * count, GFP_KERNEL);
H A Dmtdpart.c220 static int part_writev(struct mtd_info *mtd, const struct kvec *vecs, argument
224 return part->master->_writev(part->master, vecs, count,
/drivers/scsi/
H A Dsun3_scsi.c210 unsigned long vecs[3] = { SUN3_VEC_VMESCSI0, local
262 irq = vecs[i];
/drivers/mtd/lpddr/
H A Dlpddr_cmds.c36 static int lpddr_writev(struct mtd_info *mtd, const struct kvec *vecs,
631 static int lpddr_writev(struct mtd_info *mtd, const struct kvec *vecs, argument
643 len += vecs[i].iov_len;
661 ofs, &vecs, &vec_seek, size);
/drivers/mtd/chips/
H A Dcfi_cmdset_0020.c39 static int cfi_staa_writev(struct mtd_info *mtd, const struct kvec *vecs,
662 cfi_staa_writev(struct mtd_info *mtd, const struct kvec *vecs, argument
682 size_t elem_len = vecs[i].iov_len;
683 void *elem_base = vecs[i].iov_base;
H A Dcfi_cmdset_0001.c1837 static int cfi_intelext_writev (struct mtd_info *mtd, const struct kvec *vecs, argument
1849 len += vecs[i].iov_len;
1865 ofs, &vecs, &vec_seek, size);
/drivers/block/
H A Dnvme-core.c2148 int result, i, vecs, nr_io_queues, size; local
2177 vecs = pci_enable_msix_range(pdev, dev->entry, 1, nr_io_queues);
2178 if (vecs < 0) {
2179 vecs = pci_enable_msi_range(pdev, 1, min(nr_io_queues, 32));
2180 if (vecs < 0) {
2181 vecs = 1;
2183 for (i = 0; i < vecs; i++)
2194 nr_io_queues = vecs;

Completed in 166 milliseconds