Lines Matching defs:arg
62 void test_exit(void *arg, int v);
69 test_putc(void *arg, int ch)
77 test_getc(void *arg)
87 test_poll(void *arg)
111 test_open_internal(void *arg, const char *filename, void **h_return,
239 error = test_open_internal(arg, linkpath, NULL,
262 test_open(void *arg, const char *filename, void **h_return)
267 return (test_open_internal(arg, filename, h_return, NULL, 0));
271 test_close(void *arg, void *h)
285 test_isdir(void *arg, void *h)
293 test_read(void *arg, void *h, void *dst, size_t size, size_t *resid_return)
308 test_readdir(void *arg, void *h, uint32_t *fileno_return, uint8_t *type_return,
335 test_seek(void *arg, void *h, uint64_t offset, int whence)
347 test_stat(void *arg, void *h, struct stat *stp)
369 test_diskread(void *arg, int unit, uint64_t offset, void *dst, size_t size,
389 test_diskwrite(void *arg, int unit, uint64_t offset, void *src, size_t size,
404 test_diskioctl(void *arg, int unit, u_long cmd, void *data)
433 test_copyin(void *arg, const void *from, uint64_t to, size_t size)
446 test_copyout(void *arg, uint64_t from, void *to, size_t size)
459 test_setreg(void *arg, int r, uint64_t v)
468 test_setmsr(void *arg, int r, uint64_t v)
473 test_setcr(void *arg, int r, uint64_t v)
478 test_setgdt(void *arg, uint64_t v, size_t sz)
483 test_exec(void *arg, uint64_t pc)
486 test_exit(arg, 0);
494 test_delay(void *arg, int usec)
501 test_exit(void *arg, int v)
509 test_getmem(void *arg, uint64_t *lowmem, uint64_t *highmem)
517 test_getenv(void *arg, int idx)