Home
last modified time | relevance | path

Searched refs:size2 (Results 1 – 12 of 12) sorted by relevance

/xnu-11215.1.10/libsyscall/wrappers/
H A Dexclaves.c37 #define EXCLAVES_CTL_TRAP(port, opf, id, buffer, size, offset, size2) ({ \ argument
39 (void)size; (void)offset; (void)size2; \
81 mach_vm_size_t size2, mach_vm_size_t offset2) in exclaves_outbound_buffer_copyout() argument
85 (exclaves_id_t) offset1, dst_buffer, size1, size2, offset2); in exclaves_outbound_buffer_copyout()
101 mach_vm_size_t size2, mach_vm_size_t offset2) in exclaves_inbound_buffer_copyin() argument
105 (exclaves_id_t) offset1, src_buffer, size1, size2, offset2); in exclaves_inbound_buffer_copyin()
214 mach_vm_size_t size2, mach_vm_size_t offset2) in exclaves_audio_buffer_copyout() argument
218 (exclaves_id_t) offset1, dst_buffer, size1, size2, offset2); in exclaves_audio_buffer_copyout()
/xnu-11215.1.10/osfmk/kern/
H A Dexclaves_sensor.c175 uint64_t size2, uint64_t offset2, exclaves_sensor_status_t *status) in exclaves_eic_sensor_copy() argument
195 if (*status != EXCLAVES_SENSOR_STATUS_ALLOWED || size2 == 0) { in exclaves_eic_sensor_copy()
200 &eic_client, buffer, 0, offset2, size2, in exclaves_eic_sensor_copy()
463 uint64_t size2, uint64_t offset2, exclaves_sensor_status_t *status) in exclaves_sensor_copy() argument
475 return exclaves_eic_sensor_copy(buffer, size1, offset1, size2, offset2, in exclaves_sensor_copy()
H A Dexclaves_resource.c869 mach_vm_size_t size2, mach_vm_size_t offset2) in exclaves_named_buffer_copyin() argument
889 if (os_add_overflow(offset2, size2, &umax) || umax > nb->nb_size) { in exclaves_named_buffer_copyin()
903 size2); in exclaves_named_buffer_copyin()
933 mach_vm_size_t size2, mach_vm_size_t offset2) in exclaves_named_buffer_copyout() argument
954 if (os_add_overflow(offset2, size2, &umax) || umax > nb->nb_size) { in exclaves_named_buffer_copyout()
968 offset2, size2); in exclaves_named_buffer_copyout()
1211 mach_vm_size_t size2, mach_vm_size_t offset2) in exclaves_audio_buffer_copyout() argument
1216 …kern_return_t kr = exclaves_xnuproxy_audio_buffer_copyout(resource->r_id, size1, offset1, size2, o… in exclaves_audio_buffer_copyout()
1222 size2, offset2); in exclaves_audio_buffer_copyout()
1917 mach_vm_size_t size2, mach_vm_size_t offset2) in exclaves_resource_shared_memory_copyin() argument
[all …]
H A Dexclaves_sensor.h69 uint64_t offset1, uint64_t size2, uint64_t offset2,
H A Dexclaves_xnuproxy.h70 uint64_t size1, uint64_t offset1, uint64_t size2, uint64_t offset2);
H A Dexclaves_xnuproxy.c488 uint64_t size1, uint64_t offset1, uint64_t size2, uint64_t offset2) in exclaves_xnuproxy_audio_buffer_copyout() argument
495 id, size1, offset1, size2, offset2, in exclaves_xnuproxy_audio_buffer_copyout()
H A Dexclaves.c221 mach_vm_size_t usize2 = uap->size2; in _exclaves_ctl_trap()
/xnu-11215.1.10/osfmk/mach/
H A Dexclaves.h250 mach_vm_size_t size2, mach_vm_size_t offset2);
319 mach_vm_size_t size2, mach_vm_size_t offset2);
494 mach_vm_size_t size2, mach_vm_size_t offset2);
982 mach_vm_size_t size2, mach_vm_size_t offset);
H A Dmach_traps.h639 PAD_ARG_(mach_vm_size_t, size2);
/xnu-11215.1.10/bsd/net/
H A Dpf_if.c431 int e, size2 = 0; in pfi_table_update() local
440 pfi_buffer_cnt, &size2, NULL, NULL, NULL, 0, PFR_TFLAG_ALLMASK))) { in pfi_table_update()
H A Dpf_table.c462 int *size2, int *nadd, int *ndel, int *nchange, int flags, in pfr_set_addrs() argument
542 if ((flags & PFR_FLAG_FEEDBACK) && *size2) { in pfr_set_addrs()
543 if (*size2 < size + xdel) { in pfr_set_addrs()
544 *size2 = size + xdel; in pfr_set_addrs()
576 if ((flags & PFR_FLAG_FEEDBACK) && size2) { in pfr_set_addrs()
577 *size2 = size + xdel; in pfr_set_addrs()
/xnu-11215.1.10/osfmk/vm/
H A Dvm_sanitize.c159 mach_vm_size_t size2 = VM_SANITIZE_UNSAFE_UNWRAP(size2_u); in vm_sanitize_add_overflow() local
161 return os_add_overflow(size1, size2, &size_out_u->UNSAFE); in vm_sanitize_add_overflow()