Home
last modified time | relevance | path

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

/xnu-11215.81.4/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-11215.81.4/tests/vm/
H A Dvm_allocation.c1327 mach_msg_type_number_t read_size; in read_deallocate() local
1331 assert_read_success(address, size, &read_address, &read_size); in read_deallocate()
1335 (uintmax_t)read_size, (uintmax_t)read_size, (uintmax_t)read_address); in read_deallocate()
1347 T_QUIET; T_ASSERT_EQ((mach_vm_size_t)read_size, read_size, in read_deallocate()
1350 …(uintmax_t)read_size, (uintmax_t)read_size, (uintmax_t)(mach_vm_size_t)read_size, (uintmax_t)(mach… in read_deallocate()
1352 set_vm_size((mach_vm_size_t)read_size); in read_deallocate()
2217 mach_msg_type_number_t read_size; in test_read_null_map() local
2223 …assert_mach_return(mach_vm_read(VM_MAP_NULL, address, size, &read_address, &read_size), MACH_SEND_… in test_read_null_map()
2236 mach_msg_type_number_t read_size; in test_read_partially_deallocated_range() local
2244 assert_read_return(address, size, &read_address, &read_size, KERN_INVALID_ADDRESS); in test_read_partially_deallocated_range()
[all …]
/xnu-11215.81.4/bsd/vfs/
H A Dvfs_cluster.c2525 daddr64_t read_size; in cluster_read_ahead() local
2529 read_size = (extent->e_addr + 1) - extent->b_addr; in cluster_read_ahead()
2531 if (read_size > rap->cl_ralen) { in cluster_read_ahead()
2532 if (read_size > max_prefetch / PAGE_SIZE) { in cluster_read_ahead()
2535 rap->cl_ralen = (int)read_size; in cluster_read_ahead()
4082 int read_size; in cluster_write_copy() local
4089 read_size = PAGE_SIZE; in cluster_write_copy()
4091 if ((upl_f_offset + read_size) > oldEOF) { in cluster_write_copy()
4092 read_size = (int)(oldEOF - upl_f_offset); in cluster_write_copy()
4095 retval = cluster_io(vp, upl, 0, upl_f_offset, read_size, in cluster_write_copy()
[all …]
/xnu-11215.81.4/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) {