Lines Matching defs:rwrq
57 struct smbioc_rw rwrq;
59 rwrq.ioc_fh = fh;
60 rwrq.ioc_base = dst;
61 rwrq.ioc_cnt = count;
62 rwrq.ioc_offset = offset;
63 if (ioctl(ctx->ct_fd, SMBIOC_READ, &rwrq) == -1)
65 return rwrq.ioc_cnt;
72 struct smbioc_rw rwrq;
74 rwrq.ioc_fh = fh;
75 rwrq.ioc_base = (char *)src;
76 rwrq.ioc_cnt = count;
77 rwrq.ioc_offset = offset;
78 if (ioctl(ctx->ct_fd, SMBIOC_WRITE, &rwrq) == -1)
80 return rwrq.ioc_cnt;