Lines Matching defs:iobuf
54 struct bio *iobuf = command->arg;
55 if(ips_read_request(iobuf)) {
64 iobuf->bio_flags |=BIO_ERROR;
65 iobuf->bio_error = EIO;
69 ipsd_finish(iobuf);
78 struct bio *iobuf = command->arg;
86 iobuf->bio_flags |= BIO_ERROR;
87 iobuf->bio_error = ENOMEM;
89 ipsd_finish(iobuf);
94 command_struct->drivenum = (uintptr_t)iobuf->bio_driver1;
96 if(ips_read_request(iobuf))
111 if(ips_read_request(iobuf))
119 command_struct->lba = iobuf->bio_pblkno;
124 if(ips_read_request(iobuf)) {
133 iobuf->bio_pblkno,
140 static int ips_send_io_request(ips_command_t *command, struct bio *iobuf)
143 command->arg = iobuf;
144 PRINTF(10, "ips test: : bcount %ld\n", iobuf->bio_bcount);
146 iobuf->bio_data, iobuf->bio_bcount,
153 struct bio *iobuf;
156 iobuf = bioq_first(&sc->queue);
157 if(!iobuf)
163 bioq_remove(&sc->queue, iobuf);
164 ips_send_io_request(command, iobuf);