Lines Matching refs:r_length
82 #define r_length r_hdr.gh_length
649 (intmax_t)req->r_offset, (unsigned)req->r_length);
654 req->r_data = malloc_waitok(req->r_length);
661 req->r_length);
662 data = g_gate_recv(fd, req->r_data, req->r_length,
712 assert(req->r_offset + req->r_length <= (uintmax_t)conn->c_mediasize);
714 assert((req->r_length % conn->c_sectorsize) == 0);
717 (intmax_t)req->r_offset, (unsigned)req->r_length);
725 data = pread(fd, req->r_data, req->r_length,
729 data = pwrite(fd, req->r_data, req->r_length,
736 if (data != (ssize_t)req->r_length) {
791 (intmax_t)req->r_offset, (unsigned)req->r_length);
804 data = g_gate_send(fd, req->r_data, req->r_length, 0);
805 if (data != (ssize_t)req->r_length) {
811 (uintmax_t)req->r_offset, (size_t)req->r_length);