Home
last modified time | relevance | path

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

/xnu-8796.121.2/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-8796.121.2/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()
2169 mach_msg_type_number_t read_size; in test_read_null_map() local
2175 …assert_mach_return(mach_vm_read(VM_MAP_NULL, address, size, &read_address, &read_size), MACH_SEND_… in test_read_null_map()
2188 mach_msg_type_number_t read_size; in test_read_partially_deallocated_range() local
2196 assert_read_return(address, size, &read_address, &read_size, KERN_INVALID_ADDRESS); in test_read_partially_deallocated_range()
[all …]
/xnu-8796.121.2/bsd/vfs/
H A Dvfs_cluster.c2219 daddr64_t read_size; in cluster_read_ahead() local
2223 read_size = (extent->e_addr + 1) - extent->b_addr; in cluster_read_ahead()
2225 if (read_size > rap->cl_ralen) { in cluster_read_ahead()
2226 if (read_size > max_prefetch / PAGE_SIZE) { in cluster_read_ahead()
2229 rap->cl_ralen = (int)read_size; in cluster_read_ahead()
3758 int read_size; in cluster_write_copy() local
3765 read_size = PAGE_SIZE; in cluster_write_copy()
3767 if ((upl_f_offset + read_size) > oldEOF) { in cluster_write_copy()
3768 read_size = (int)(oldEOF - upl_f_offset); in cluster_write_copy()
3771 retval = cluster_io(vp, upl, 0, upl_f_offset, read_size, in cluster_write_copy()
[all …]
/xnu-8796.121.2/bsd/kern/
H A Ddecmpfs.c509 size_t read_size = 0;
581 err = vn_getxattr(vp, DECMPFS_XATTR_NAME, attr_uio, &read_size, XATTR_NOSECURITY, decmpfs_ctx);
585 if (read_size != attr_size) {