Lines Matching refs:bouncebuf
369 char *outbuf, *bouncebuf;
373 bouncebuf = NULL;
421 bouncebuf = zfs_alloc(secsz);
422 if (bouncebuf == NULL) {
435 res = read(fd, bouncebuf, secsz);
440 memcpy(outbuf, bouncebuf + head, min(secsz - head, bytes));
452 res = read(fd, bouncebuf, secsz);
457 memcpy(outbuf, bouncebuf, bytes);
470 res = read(fd, bouncebuf, secsz);
475 memcpy(outbuf, bouncebuf, secsz - tail);
480 if (bouncebuf != NULL)
481 zfs_free(bouncebuf, secsz);