Searched refs:in_buf (Results 1 – 3 of 3) sorted by relevance
| /xnu-12377.61.12/bsd/tests/ |
| H A D | copyio_tests.c | 122 char *in_buf = data->buf2; in copyin_from_kernel() local 123 return copyin((uintptr_t)data->kern_addr, in_buf, copyio_test_buf_size); in copyin_from_kernel() 130 char *in_buf = data->buf2; in copyin_test() local 137 int err = copyin(data->user_addr, in_buf, copyio_test_buf_size); in copyin_test() 139 int cmp = memcmp(out_buf, in_buf, copyio_test_buf_size); in copyin_test() 145 err = copyin(data->unmapped_addr, in_buf, copyio_test_buf_size); in copyin_test() 147 err = copyin(data->unmapped_addr - PAGE_SIZE, in_buf, PAGE_SIZE * 2); in copyin_test() 149 err = copyin(data->user_lastpage_addr, in_buf, PAGE_SIZE * 2); in copyin_test() 152 bzero(in_buf, copyio_test_buf_size); in copyin_test() 155 cmp = memcmp(data->kern_addr, in_buf, copyio_test_buf_size); in copyin_test() [all …]
|
| /xnu-12377.61.12/osfmk/arm64/ |
| H A D | vm_mte_compress.h | 39 extern bool vm_mte_rle_decompress_tags(uint8_t *in_buf, uint32_t in_size, uint8_t *tags_out_buf, ui… 56 extern bool vm_mte_rle_comp_histogram(uint8_t *in_buf, uint32_t in_size, struct comp_histogram *his… 64 extern void vm_mte_rle_runs_histogram(uint8_t *in_buf, uint32_t in_size, struct runs_histogram *his…
|
| H A D | vm_mte_compress.c | 322 vm_mte_rle_decompress_tags(uint8_t *in_buf, uint32_t in_size, uint8_t *tags_out_buf, __assert_only … in vm_mte_rle_decompress_tags() argument 326 memcpy(tags_out_buf, in_buf, in_size); in vm_mte_rle_decompress_tags() 354 uint8_t in_byte = in_buf[in_offset++]; in vm_mte_rle_decompress_tags() 366 uint8_t in_byte2 = in_buf[in_offset++]; in vm_mte_rle_decompress_tags() 409 vm_mte_rle_comp_histogram(uint8_t *in_buf, uint32_t in_size, struct comp_histogram *hist) in vm_mte_rle_comp_histogram() argument 426 uint8_t in_byte = in_buf[in_offset++]; in vm_mte_rle_comp_histogram()
|