Home
last modified time | relevance | path

Searched refs:vecs (Results 1 – 9 of 9) sorted by relevance

/openbmc/u-boot/arch/nios2/cpu/
H A Dinterrupts.c24 static struct irq_action vecs[32]; variable
46 act = vecs; in external_interrupt()
85 act = &vecs[irq]; in irq_install_handler()
108 vecs[i].handler = def_hdlr; in interrupt_init()
109 vecs[i].arg = (void *)i; in interrupt_init()
110 vecs[i].count = 0; in interrupt_init()
123 struct irq_action *act = vecs; in do_irqinfo()
/openbmc/u-boot/arch/microblaze/cpu/
H A Dinterrupts.c34 static struct irq_action *vecs; variable
85 act = &vecs[irq]; in install_interrupt_handler()
138 vecs = calloc(1, sizeof(struct irq_action) * irq_no); in interrupt_init()
139 if (vecs == NULL) { in interrupt_init()
146 vecs[i].handler = (interrupt_handler_t *)def_hdlr; in interrupt_init()
147 vecs[i].arg = (void *)i; in interrupt_init()
148 vecs[i].count = 0; in interrupt_init()
164 struct irq_action *act = vecs + irqs; in interrupt_handler()
192 struct irq_action *act = vecs; in do_irqinfo()
/openbmc/qemu/tests/tcg/multiarch/linux/
H A Dlinux-test.c84 struct iovec vecs[2]; in test_file() local
106 vecs[0].iov_base = buf + (FILE_BUF_SIZE / 2); in test_file()
107 vecs[0].iov_len = 16; in test_file()
108 vecs[1].iov_base = buf + (FILE_BUF_SIZE / 2) + 16; in test_file()
109 vecs[1].iov_len = (FILE_BUF_SIZE / 2) - 16; in test_file()
110 len = chk_error(writev(fd, vecs, 2)); in test_file()
129 vecs[0].iov_base = buf3; in test_file()
130 vecs[0].iov_len = 32; in test_file()
131 vecs[1].iov_base = buf3 + 32; in test_file()
132 vecs[1].iov_len = FILE_BUF_SIZE - FOFFSET - 32; in test_file()
[all …]
/openbmc/u-boot/drivers/mtd/
H A Dmtdcore.c1652 static int default_mtd_writev(struct mtd_info *mtd, const struct kvec *vecs, in default_mtd_writev() argument
1660 if (!vecs[i].iov_len) in default_mtd_writev()
1662 ret = mtd_write(mtd, to, vecs[i].iov_len, &thislen, in default_mtd_writev()
1663 vecs[i].iov_base); in default_mtd_writev()
1665 if (ret || thislen != vecs[i].iov_len) in default_mtd_writev()
1667 to += vecs[i].iov_len; in default_mtd_writev()
1684 int mtd_writev(struct mtd_info *mtd, const struct kvec *vecs, in mtd_writev() argument
1691 return default_mtd_writev(mtd, vecs, count, to, retlen); in mtd_writev()
1692 return mtd->_writev(mtd, vecs, count, to, retlen); in mtd_writev()
H A Dmtdconcat.c160 concat_writev(struct mtd_info *mtd, const struct kvec *vecs, in concat_writev() argument
172 total_len += vecs[i].iov_len; in concat_writev()
182 vecs_copy = kmemdup(vecs, sizeof(struct kvec) * count, GFP_KERNEL); in concat_writev()
H A Dmtdpart.c433 static int part_writev(struct mtd_info *mtd, const struct kvec *vecs, in part_writev() argument
436 return mtd->parent->_writev(mtd->parent, vecs, count, in part_writev()
/openbmc/qemu/hw/display/
H A Dvirtio-gpu-rutabaga.c453 struct rutabaga_iovecs vecs = { 0 }; in rutabaga_cmd_attach_backing() local
471 vecs.iovecs = res->iov; in rutabaga_cmd_attach_backing()
472 vecs.num_iovecs = res->iov_cnt; in rutabaga_cmd_attach_backing()
475 &vecs); in rutabaga_cmd_attach_backing()
598 struct rutabaga_iovecs vecs = { 0 }; in rutabaga_cmd_resource_create_blob() local
627 vecs.iovecs = res->iov; in rutabaga_cmd_resource_create_blob()
628 vecs.num_iovecs = res->iov_cnt; in rutabaga_cmd_resource_create_blob()
631 cblob.resource_id, &rc_blob, &vecs, in rutabaga_cmd_resource_create_blob()
/openbmc/u-boot/include/linux/mtd/
H A Dmtd.h266 int (*_writev) (struct mtd_info *mtd, const struct kvec *vecs,
431 int mtd_writev(struct mtd_info *mtd, const struct kvec *vecs,
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-utils/xfsprogs/files/
H A D0005-Replace-off64_t-stat64-with-off_t-stat.patch339 int vecs = 0;