Home
last modified time | relevance | path

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

/xnu-8020.121.3/tools/lldbmacros/core/
H A Dio.py64 read_size = min(size, self._end - (self._start + self._offset))
67 data = self._sbprocess.ReadMemory(self._start + self._offset, read_size, err)
/xnu-8020.121.3/tests/vm/
H A Dvm_allocation.c1319 mach_msg_type_number_t read_size; in read_deallocate() local
1323 assert_read_success(address, size, &read_address, &read_size); in read_deallocate()
1327 (uintmax_t)read_size, (uintmax_t)read_size, (uintmax_t)read_address); in read_deallocate()
1339 T_QUIET; T_ASSERT_EQ((mach_vm_size_t)read_size, read_size, in read_deallocate()
1342 …(uintmax_t)read_size, (uintmax_t)read_size, (uintmax_t)(mach_vm_size_t)read_size, (uintmax_t)(mach… in read_deallocate()
1344 set_vm_size((mach_vm_size_t)read_size); in read_deallocate()
2163 mach_msg_type_number_t read_size; in test_read_null_map() local
2169 …assert_mach_return(mach_vm_read(VM_MAP_NULL, address, size, &read_address, &read_size), MACH_SEND_… in test_read_null_map()
2182 mach_msg_type_number_t read_size; in test_read_partially_deallocated_range() local
2190 assert_read_return(address, size, &read_address, &read_size, KERN_INVALID_ADDRESS); in test_read_partially_deallocated_range()
[all …]
/xnu-8020.121.3/bsd/vfs/
H A Dvfs_cluster.c2195 daddr64_t read_size; in cluster_read_ahead() local
2199 read_size = (extent->e_addr + 1) - extent->b_addr; in cluster_read_ahead()
2201 if (read_size > rap->cl_ralen) { in cluster_read_ahead()
2202 if (read_size > max_prefetch / PAGE_SIZE) { in cluster_read_ahead()
2205 rap->cl_ralen = (int)read_size; in cluster_read_ahead()
3728 int read_size; in cluster_write_copy() local
3735 read_size = PAGE_SIZE; in cluster_write_copy()
3737 if ((upl_f_offset + read_size) > oldEOF) { in cluster_write_copy()
3738 read_size = (int)(oldEOF - upl_f_offset); in cluster_write_copy()
3741 retval = cluster_io(vp, upl, 0, upl_f_offset, read_size, in cluster_write_copy()
[all …]
/xnu-8020.121.3/bsd/kern/
H A Ddecmpfs.c481 size_t read_size = 0;
553 err = vn_getxattr(vp, DECMPFS_XATTR_NAME, attr_uio, &read_size, XATTR_NOSECURITY, decmpfs_ctx);
557 if (read_size != attr_size) {