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