Searched refs:kern_addr (Results 1 – 1 of 1) sorted by relevance
| /xnu-11417.140.69/bsd/tests/ |
| H A D | copyio_tests.c | 61 void *kern_addr; member 120 return copyin((uintptr_t)data->kern_addr, in_buf, copyio_test_buf_size); in copyin_from_kernel() 132 memcpy(data->kern_addr, out_buf, copyio_test_buf_size); in copyin_test() 152 cmp = memcmp(data->kern_addr, in_buf, copyio_test_buf_size); in copyin_test() 167 return copyout(out_buf, (uintptr_t)data->kern_addr, copyio_test_buf_size); in copyout_to_kernel() 175 bzero(data->kern_addr, copyio_test_buf_size); in copyout_test() 183 int cmp = memcmp(data->kern_addr, out_buf, copyio_test_buf_size); in copyout_test() 196 bzero(data->kern_addr, copyio_test_buf_size); in copyout_test() 200 cmp = memcmp(out_buf, data->kern_addr, copyio_test_buf_size); in copyout_test() 216 return copyinstr((user_addr_t)data->kern_addr, in_buf, copyio_test_buf_size, lencopied); in copyinstr_from_kernel() [all …]
|