Lines Matching full:handle
41 int do_read(int fd, int handle, void *buf, int offset, int size)
51 read.handle = handle;
59 int do_write(int fd, int handle, void *buf, int offset, int size)
64 write.handle = handle;
79 int handle;
91 handle = create.handle;
94 ret = do_read(fd, handle, buf, 0, OBJECT_SIZE);
100 ret = do_read(fd, handle, buf, OBJECT_SIZE / 2, OBJECT_SIZE);
108 ret = do_write(fd, handle, buf, 0, OBJECT_SIZE);
110 ret = do_read(fd, handle, buf, 0, OBJECT_SIZE);
117 ret = do_write(fd, handle, buf + 4096, 4096, 1024);
119 ret = do_read(fd, handle, buf, 0, OBJECT_SIZE);
124 ret = do_read(fd, handle, buf, 512, 1024);
128 printf("Testing read of bad buffer handle\n");
132 printf("Testing write of bad buffer handle\n");