Searched refs:bouncebuf (Results 1 – 3 of 3) sorted by relevance
/freebsd/stand/efi/boot1/ |
H A D | zfs_module.c | 58 char *bouncebuf = NULL, *rb_buf; in vdev_read() local 76 bouncebuf = malloc(rb_size); in vdev_read() 77 if (bouncebuf == NULL) { in vdev_read() 81 rb_buf = bouncebuf; in vdev_read() 92 if (bouncebuf != NULL) in vdev_read() 101 free(bouncebuf); in vdev_read() 105 free(bouncebuf); in vdev_read()
|
/freebsd/stand/libsa/zfs/ |
H A D | zfs.c | 464 char *outbuf, *bouncebuf; in vdev_read() local 468 bouncebuf = NULL; in vdev_read() 516 bouncebuf = malloc(secsz); in vdev_read() 517 if (bouncebuf == NULL) { in vdev_read() 530 res = read(fd, bouncebuf, secsz); in vdev_read() 535 memcpy(outbuf, bouncebuf + head, min(secsz - head, bytes)); in vdev_read() 547 res = read(fd, bouncebuf, secsz); in vdev_read() 552 memcpy(outbuf, bouncebuf, bytes); in vdev_read() 565 res = read(fd, bouncebuf, secsz); in vdev_read() 570 memcpy(outbuf, bouncebuf, secsz - tail); in vdev_read() [all …]
|
/freebsd/sys/dev/sume/ |
H A D | if_sume.c | 688 struct nf_bb_desc *bouncebuf = (struct nf_bb_desc *) p->buf_addr; in sume_fill_bb_desc() local 690 bouncebuf->lower = (p->buf_hw_addr + sizeof(struct nf_bb_desc)); in sume_fill_bb_desc() 691 bouncebuf->upper = (p->buf_hw_addr + sizeof(struct nf_bb_desc)) >> 32; in sume_fill_bb_desc() 692 bouncebuf->len = len >> 2; in sume_fill_bb_desc()
|