| /xnu-8020.101.4/libkern/kxld/tests/ |
| H A D | kextcopyright.c | 84 u_long bytes_copied = 0; in convert_cfstring() local 106 bytes_copied = strlcpy(converted_string, (const char *) data_bytes, in convert_cfstring() 108 if (bytes_copied != converted_len) { in convert_cfstring()
|
| /xnu-8020.101.4/bsd/security/audit/ |
| H A D | audit_syscalls.c | 260 int bytes_copied = 0; in audit() local 284 bytes_copied = uap->length - AUDIT_TRAILER_SIZE; in audit() 287 memcpy((void *)((uintptr_t)full_rec + bytes_copied), id_tok->t_data, id_tok->len); in audit() 288 bytes_copied += id_tok->len; in audit() 291 memcpy((void *)((uintptr_t)full_rec + bytes_copied), in audit() 294 bytes_copied += AUDIT_TRAILER_SIZE; in audit() 298 hdr->len = htonl(bytes_copied); in audit() 302 ((uintptr_t)full_rec + bytes_copied - AUDIT_TRAILER_SIZE); in audit() 303 trl->len = htonl(bytes_copied); in audit() 306 ulen = bytes_copied; in audit()
|
| /xnu-8020.101.4/osfmk/arm64/ |
| H A D | copyio.c | 329 vm_size_t bytes_copied = 0; in copyinstr() local 342 &bytes_copied); in copyinstr() 345 *lencopied = bytes_copied; in copyinstr()
|
| /xnu-8020.101.4/osfmk/x86_64/ |
| H A D | copyio.c | 173 vm_size_t bytes_copied; in copyio() local 347 &bytes_copied); in copyio() 354 *lencopied = bytes_copied; in copyio() 363 if (*(kernel_addr + bytes_copied - 1) == 0) { in copyio()
|
| /xnu-8020.101.4/bsd/kern/ |
| H A D | posix_shm.c | 315 size_t bytes_copied = 0; in pshm_get_name() local 319 error = copyinstr(user_addr, &pinfo->pshm_hdr.pshm_name[0], PSHMNAMLEN + 1, &bytes_copied); in pshm_get_name() 323 assert(bytes_copied <= PSHMNAMLEN + 1); in pshm_get_name() 324 assert(pinfo->pshm_hdr.pshm_name[bytes_copied - 1] == 0); in pshm_get_name() 325 if (bytes_copied < 2) { /* 2: expect at least one character and terminating zero */ in pshm_get_name()
|
| /xnu-8020.101.4/bsd/vfs/ |
| H A D | vfs_lookup.c | 184 size_t bytes_copied = 0; in namei() local 253 cnp->cn_pnlen, &bytes_copied); in namei() 256 cnp->cn_pnlen, &bytes_copied); in namei() 262 bytes_copied = 0; in namei() 269 assert(bytes_copied <= MAXPATHLEN); in namei() 270 ndp->ni_pathlen = (u_int)bytes_copied; in namei() 271 bytes_copied = 0; in namei()
|
| H A D | vfs_syscalls.c | 3998 size_t bytes_copied; in pivot_root() local 4016 …opyinstr(uap->new_rootfs_path_before, &new_rootfs_path_before[0], PATHSTATICBUFLEN, &bytes_copied); in pivot_root() 4019 …or = copyinstr(uap->new_rootfs_path_before, new_rootfs_path_before_buf, MAXPATHLEN, &bytes_copied); in pivot_root() 4026 … copyinstr(uap->old_rootfs_path_after, &old_rootfs_path_after[0], PATHSTATICBUFLEN, &bytes_copied); in pivot_root() 4029 …rror = copyinstr(uap->old_rootfs_path_after, old_rootfs_path_after_buf, MAXPATHLEN, &bytes_copied); in pivot_root()
|
| /xnu-8020.101.4/osfmk/arm/ |
| H A D | pmap.h | 521 …pysafe(vm_map_address_t from, vm_map_address_t to, uint32_t cnt, int type, uint32_t *bytes_copied);
|
| H A D | pmap.c | 12774 size_t *bytes_copied) argument 12784 void *bufp = (uint8_t*)buf_start + *bytes_copied; 12805 *bytes_copied = *bytes_copied + sizeof(*header) + tt_size; 12829 level_mask, current_va, buf_start, buf_end, bytes_copied); 12841 …_page_tables(pmap_t pmap, void *bufp, void *buf_end, unsigned int level_mask, size_t *bytes_copied) argument 12847 level_mask, pmap->min, bufp, buf_end, bytes_copied); 12854 unsigned int level_mask __unused, size_t *bytes_copied __unused)
|
| /xnu-8020.101.4/osfmk/vm/ |
| H A D | pmap.h | 820 …page_tables(pmap_t pmap, void *bufp, void *buf_end, unsigned int level_mask, size_t *bytes_copied);
|
| /xnu-8020.101.4/osfmk/i386/ |
| H A D | pmap_x86_common.c | 2665 unsigned int level_mask __unused, size_t *bytes_copied __unused) in pmap_dump_page_tables()
|