Lines Matching defs:readargs
61 read4arg_t readargs;
89 readargs.r_count = size;
91 readargs.r_count = nfs_readsize;
94 compound_init(&readargs.r_arg, &str, 0, 2, &filep->fh.fh4);
96 compound_init(&readargs.r_arg, &str, 0, 2, NULL);
98 readargs.r_opread = OP_READ;
102 bzero(&readargs.r_stateid, sizeof (readargs.r_stateid));
103 readargs.r_offset = filep->offset;
108 if ((count + readargs.r_count) > size)
109 readargs.r_count = size - count;
116 xdr_read4_args, (caddr_t)&readargs,
121 dprintf("NFS read(%d) timed out. Retrying...\n", readargs.r_count);
126 readargs.r_count > NFS_READ_DECR) {
127 readargs.r_count /= 2;
155 if (readcnt < readargs.r_count) {
159 "of %d\n", readcnt, readargs.count);
167 readargs.r_offset += readcnt;