Home
last modified time | relevance | path

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

/xnu-12377.1.9/tools/lldbmacros/core/
H A Dio.py60 read_size = min(size, self._end - (self._start + self._offset))
63 data = self._sbprocess.ReadMemory(self._start + self._offset, read_size, err)
/xnu-12377.1.9/tests/vm/
H A Dvm_allocation.c1443 mach_msg_type_number_t read_size; in read_deallocate() local
1447 assert_read_success(address, size, &read_address, &read_size); in read_deallocate()
1451 (uintmax_t)read_size, (uintmax_t)read_size, (uintmax_t)read_address); in read_deallocate()
1463 T_QUIET; T_ASSERT_EQ((mach_msg_type_number_t)(mach_vm_size_t)read_size, read_size, in read_deallocate()
1466 …(uintmax_t)read_size, (uintmax_t)read_size, (uintmax_t)(mach_vm_size_t)read_size, (uintmax_t)(mach… in read_deallocate()
1468 set_vm_size((mach_vm_size_t)read_size); in read_deallocate()
2241 mach_msg_type_number_t read_size; in test_read_null_map() local
2247 assert_mach_return(mach_vm_read(VM_MAP_NULL, address, size, &read_address, &read_size), in test_read_null_map()
2260 mach_msg_type_number_t read_size; in test_read_partially_deallocated_range() local
2268 assert_read_return(address, size, &read_address, &read_size, KERN_INVALID_ADDRESS); in test_read_partially_deallocated_range()
[all …]
/xnu-12377.1.9/bsd/vfs/
H A Dvfs_cluster.c2623 daddr64_t read_size; in cluster_read_ahead() local
2627 read_size = (extent->e_addr + 1) - extent->b_addr; in cluster_read_ahead()
2629 if (read_size > rap->cl_ralen) { in cluster_read_ahead()
2630 if (read_size > max_prefetch / PAGE_SIZE) { in cluster_read_ahead()
2633 rap->cl_ralen = (int)read_size; in cluster_read_ahead()
4372 int read_size; in cluster_write_copy() local
4379 read_size = PAGE_SIZE; in cluster_write_copy()
4381 if ((upl_f_offset + read_size) > oldEOF) { in cluster_write_copy()
4382 read_size = (int)(oldEOF - upl_f_offset); in cluster_write_copy()
4385 retval = cluster_io(vp, upl, 0, upl_f_offset, read_size, in cluster_write_copy()
[all …]
/xnu-12377.1.9/bsd/kern/
H A Ddecmpfs.c509 size_t read_size = 0;
583 err = vn_getxattr(vp, DECMPFS_XATTR_NAME, attr_uio, &read_size, XATTR_NOSECURITY, decmpfs_ctx);
587 if (read_size != attr_size) {