Lines Matching refs:sg_io_hdr
33 static void sgio_hdr_init(struct sgio_data *sd, struct sg_io_hdr *hdr,
116 ret = read(f->fd, p, left * sizeof(struct sg_io_hdr));
125 events += ret / sizeof(struct sg_io_hdr);
140 struct sg_io_hdr *hdr = (struct sg_io_hdr *) buf + i;
163 struct sg_io_hdr *hdr = &io_u->hdr;
177 struct sg_io_hdr *hdr = &io_u->hdr;
206 struct sg_io_hdr *hdr = &io_u->hdr;
248 struct sg_io_hdr *hdr = &io_u->hdr;
284 struct sg_io_hdr *hdr;
336 sd->sgbuf = malloc(sizeof(struct sg_io_hdr) * td->o.iodepth);
337 memset(sd->sgbuf, 0, sizeof(struct sg_io_hdr) * td->o.iodepth);