Home
last modified time | relevance | path

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

/xnu-12377.61.12/osfmk/kern/
H A Dext_paniclog.c457 char *buf_ptr; in ext_paniclog_multiple_handles_test() local
470 buf_ptr = (debug_buf_base + debug_buf_size) - bytes_copied; in ext_paniclog_multiple_handles_test()
474 os_log(OS_LOG_DEFAULT, "EXT_PANICLOG_TEST: %u ", buf_ptr[i]); in ext_paniclog_multiple_handles_test()
480 memcpy(&version, buf_ptr, 4); in ext_paniclog_multiple_handles_test()
487 buf_ptr += 4; in ext_paniclog_multiple_handles_test()
489 memcpy(&no_of_logs, buf_ptr, 4); in ext_paniclog_multiple_handles_test()
497 buf_ptr = buf_ptr + 20; in ext_paniclog_multiple_handles_test()
499 memcpy(&flags, buf_ptr, 4); in ext_paniclog_multiple_handles_test()
506 buf_ptr += 4; in ext_paniclog_multiple_handles_test()
510 if (strncmp(data_id[i], buf_ptr, data_id_len)) { in ext_paniclog_multiple_handles_test()
[all …]
H A Dkern_stackshot.c961 void *buf_ptr; in linked_kcdata_init() local
965 buf_ptr = stackshot_alloc_arr(uint8_t, buf_size, &error); in linked_kcdata_init()
970 …error = kcdata_memory_static_init(&descriptor->kcdata, (mach_vm_address_t) buf_ptr, data_type, buf… in linked_kcdata_init()
/xnu-12377.61.12/bsd/vfs/
H A Dvfs_io_compression_stats.c290 iocs_compress_buffer(vnode_t vn, uint8_t *buf_ptr, uint32_t buf_size) in iocs_compress_buffer() argument
299 int current_compressed_block_size = iocs_compress_block(buf_ptr + offset, current_block_size); in iocs_compress_buffer()
366 uint8_t *buf_ptr = NULL; in io_compression_stats() local
391 buf_ptr = (uint8_t *) vaddr; in io_compression_stats()
394 if (buf_ptr != NULL) { in io_compression_stats()
396 compressed_size = iocs_compress_buffer(vn, buf_ptr, buf_cnt); in io_compression_stats()
411 if (buf_ptr != NULL) { in io_compression_stats()
/xnu-12377.61.12/tests/
H A Darm_mte_compress.c1251 read_file(const char *path, char **buf_ptr) in read_file() argument
1259 *buf_ptr = (char *)malloc(sz); in read_file()
1260 T_QUIET; T_ASSERT_EQ(fread(*buf_ptr, 1, sz, f), sz, "Failed to read from file %s", path); in read_file()