Home
last modified time | relevance | path

Searched refs:kern_addr (Results 1 – 1 of 1) sorted by relevance

/xnu-10063.141.1/bsd/tests/
H A Dcopyio_tests.c60 void *kern_addr; member
119 return copyin((uintptr_t)data->kern_addr, in_buf, copyio_test_buf_size); in copyin_from_kernel()
131 memcpy(data->kern_addr, out_buf, copyio_test_buf_size); in copyin_test()
151 cmp = memcmp(data->kern_addr, in_buf, copyio_test_buf_size); in copyin_test()
166 return copyout(out_buf, (uintptr_t)data->kern_addr, copyio_test_buf_size); in copyout_to_kernel()
174 bzero(data->kern_addr, copyio_test_buf_size); in copyout_test()
182 int cmp = memcmp(data->kern_addr, out_buf, copyio_test_buf_size); in copyout_test()
195 bzero(data->kern_addr, copyio_test_buf_size); in copyout_test()
199 cmp = memcmp(out_buf, data->kern_addr, copyio_test_buf_size); in copyout_test()
215 return copyinstr((user_addr_t)data->kern_addr, in_buf, copyio_test_buf_size, lencopied); in copyinstr_from_kernel()
[all …]