Home | History | Annotate | Download | only in direct_io

Lines Matching refs:nvector

34  *	The nvector gives vector array size.  Test data file can be
40 * [-v nvector] [-f filename]
77 static int nvector = 20; /* Vector array. Default 20 */
92 (struct iovec *)valloc(sizeof(struct iovec) * nvector)) == NULL) {
97 (struct iovec *)valloc(sizeof(struct iovec) * nvector)) == NULL) {
101 for (i = 0, iovp = iov1; i < nvector; iovp++, i++) {
109 for (i = 0, iovp = iov2; i < nvector; iovp++, i++) {
120 vfillbuf(iov1, nvector, i);
121 vfillbuf(iov2, nvector, i + 1);
127 if (writev(fd_w, iov1, nvector) < 0) {
136 if (readv(fd_r, iov2, nvector) < 0) {
140 if (vbufcmp(iov1, iov2, nvector) != 0) {
147 for (i = 0, iovp = iov1; i < nvector; iovp++, i++) {
150 for (i = 0, iovp = iov2; i < nvector; iovp++, i++) {
161 "Usage: diotest5 [-b bufsize] [-o offset] [ -i iteration] [ -v nvector] [-f filename]\n");
200 if ((nvector = atoi(optarg)) <= 0) {
284 total, iter, nvector);