/drivers/md/ |
D | dm-log-writes.c | 124 struct bio_vec vecs[0]; member 181 if (block->vecs[i].bv_page) in free_pending_block() 182 __free_page(block->vecs[i].bv_page); in free_pending_block() 278 ret = bio_add_page(bio, block->vecs[i].bv_page, in log_one_block() 279 block->vecs[i].bv_len, 0); in log_one_block() 280 if (ret != block->vecs[i].bv_len) { in log_one_block() 294 ret = bio_add_page(bio, block->vecs[i].bv_page, in log_one_block() 295 block->vecs[i].bv_len, 0); in log_one_block() 296 if (ret != block->vecs[i].bv_len) { in log_one_block() 302 sector += block->vecs[i].bv_len >> SECTOR_SHIFT; in log_one_block() [all …]
|
/drivers/mtd/ |
D | mtdcore.c | 1157 static int default_mtd_writev(struct mtd_info *mtd, const struct kvec *vecs, in default_mtd_writev() argument 1165 if (!vecs[i].iov_len) in default_mtd_writev() 1167 ret = mtd_write(mtd, to, vecs[i].iov_len, &thislen, in default_mtd_writev() 1168 vecs[i].iov_base); in default_mtd_writev() 1170 if (ret || thislen != vecs[i].iov_len) in default_mtd_writev() 1172 to += vecs[i].iov_len; in default_mtd_writev() 1189 int mtd_writev(struct mtd_info *mtd, const struct kvec *vecs, in mtd_writev() argument 1196 return default_mtd_writev(mtd, vecs, count, to, retlen); in mtd_writev() 1197 return mtd->_writev(mtd, vecs, count, to, retlen); in mtd_writev()
|
D | mtdconcat.c | 158 concat_writev(struct mtd_info *mtd, const struct kvec *vecs, in concat_writev() argument 170 total_len += vecs[i].iov_len; in concat_writev() 180 vecs_copy = kmemdup(vecs, sizeof(struct kvec) * count, GFP_KERNEL); in concat_writev()
|
D | mtdpart.c | 221 static int part_writev(struct mtd_info *mtd, const struct kvec *vecs, in part_writev() argument 225 return part->master->_writev(part->master, vecs, count, in part_writev()
|
/drivers/mtd/lpddr/ |
D | lpddr_cmds.c | 36 static int lpddr_writev(struct mtd_info *mtd, const struct kvec *vecs, 630 static int lpddr_writev(struct mtd_info *mtd, const struct kvec *vecs, in lpddr_writev() argument 642 len += vecs[i].iov_len; in lpddr_writev() 660 ofs, &vecs, &vec_seek, size); in lpddr_writev()
|
/drivers/mtd/chips/ |
D | cfi_cmdset_0020.c | 39 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, in cfi_staa_writev() argument 682 size_t elem_len = vecs[i].iov_len; in cfi_staa_writev() 683 void *elem_base = vecs[i].iov_base; in cfi_staa_writev()
|
D | cfi_cmdset_0001.c | 1858 static int cfi_intelext_writev (struct mtd_info *mtd, const struct kvec *vecs, in cfi_intelext_writev() argument 1870 len += vecs[i].iov_len; in cfi_intelext_writev() 1886 ofs, &vecs, &vec_seek, size); in cfi_intelext_writev()
|
/drivers/nvme/host/ |
D | pci.c | 2439 int result, i, vecs, nr_io_queues, size; in nvme_setup_io_queues() local 2484 vecs = pci_enable_msix_range(pdev, dev->entry, 1, nr_io_queues); in nvme_setup_io_queues() 2485 if (vecs < 0) { in nvme_setup_io_queues() 2486 vecs = pci_enable_msi_range(pdev, 1, min(nr_io_queues, 32)); in nvme_setup_io_queues() 2487 if (vecs < 0) { in nvme_setup_io_queues() 2488 vecs = 1; in nvme_setup_io_queues() 2490 for (i = 0; i < vecs; i++) in nvme_setup_io_queues() 2501 nr_io_queues = vecs; in nvme_setup_io_queues()
|