| /xnu-11215/bsd/sys/ |
| H A D | imageboot.h | 46 int imageboot_read_file_pageable(const char *path, void **bufp, size_t *bufszp); /* use kmem_fr… 47 int imageboot_read_file(const char *path, void **bufp, size_t *bufszp, off_t *fsizep); 48 int imageboot_read_file_from_offset(const char *path, off_t offset, void **bufp, size_t *bufszp…
|
| /xnu-11215/bsd/security/audit/ |
| H A D | audit_bsm_klib.c | 832 const char *bufp = path; in audit_canon_path() local 844 while (*(bufp) == '/') { in audit_canon_path() 845 bufp++; /* skip leading '/'s */ in audit_canon_path() 848 bufp--; /* restore one '/' */ in audit_canon_path() 861 strlcpy(cpath + len, bufp, MAXPATHLEN - len); in audit_canon_path() 863 strlcpy(cpath, bufp, MAXPATHLEN); in audit_canon_path()
|
| /xnu-11215/bsd/libkern/ |
| H A D | libkern.h | 183 int sprintf(char *bufp, const char *, ...) __deprecated __printflike(2, 3); 199 uint32_t crc32(uint32_t crc, const void *bufp, size_t len); 227 extern int vsprintf(char *bufp, const char *, va_list) __deprecated __printflike(2, 0);
|
| /xnu-11215/bsd/kern/ |
| H A D | imageboot.c | 555 imageboot_read_file_internal(const char *path, const off_t offset, const bool pageable, void **bufp… in imageboot_read_file_internal() argument 709 *bufp = buf; in imageboot_read_file_internal() 717 imageboot_read_file_pageable(const char *path, void **bufp, size_t *bufszp) in imageboot_read_file_pageable() argument 719 return imageboot_read_file_internal(path, 0, true, bufp, bufszp, NULL); in imageboot_read_file_pageable() 723 imageboot_read_file_from_offset(const char *path, const off_t offset, void **bufp, size_t *bufszp) in imageboot_read_file_from_offset() argument 725 return imageboot_read_file_internal(path, offset, false, bufp, bufszp, NULL); in imageboot_read_file_from_offset() 729 imageboot_read_file(const char *path, void **bufp, size_t *bufszp, off_t *fsizep) in imageboot_read_file() argument 731 return imageboot_read_file_internal(path, 0, false, bufp, bufszp, fsizep); in imageboot_read_file()
|
| H A D | sys_generic.c | 168 user_addr_t bufp, user_size_t nbyte, 171 user_addr_t bufp, user_size_t nbyte, 300 user_addr_t bufp, user_size_t nbyte, off_t offset, int flags, in dofileread() argument 316 if (uio_addiov(uio, bufp, nbyte) != 0) { in dofileread() 628 user_addr_t bufp, user_size_t nbyte, off_t offset, int flags, in dofilewrite() argument 644 if (uio_addiov(uio, bufp, nbyte) != 0) { in dofilewrite()
|
| H A D | kern_aio.c | 272 user_addr_t bufp, user_size_t nbyte, 275 user_addr_t bufp, user_size_t nbyte, off_t offset,
|
| /xnu-11215/libkern/libkern/ |
| H A D | crc.h | 37 uint32_t crc32(uint32_t crc, const void *bufp, size_t len);
|
| /xnu-11215/san/memory/ |
| H A D | kasan_dynamic_blacklist.c | 557 char *bufp = buf; in kasan_init_dybl() local 558 if (PE_parse_boot_arg_str("kasan.bl", bufp, sizeof(buf))) { in kasan_init_dybl() 560 while ((kext = strsep(&bufp, ",")) != NULL) { in kasan_init_dybl()
|
| /xnu-11215/san/coverage/ |
| H A D | kcov_ksancov.c | 558 ksancov_map(ksancov_dev_t d, uintptr_t *bufp, size_t *sizep) in ksancov_map() argument 586 *bufp = (uintptr_t)buf; in ksancov_map() 596 ksancov_map_edgemap(uintptr_t *bufp, size_t *sizep) in ksancov_map_edgemap() argument 613 *bufp = (uintptr_t)buf; in ksancov_map_edgemap()
|
| /xnu-11215/osfmk/vm/ |
| H A D | pmap.h | 816 extern kern_return_t pmap_dump_page_tables(pmap_t pmap, void *bufp, void *buf_end, unsigned int lev…
|
| /xnu-11215/osfmk/arm64/sptm/pmap/ |
| H A D | pmap.c | 11620 void *bufp = (uint8_t*)buf_start + *bytes_copied; local 11630 …if (((vm_offset_t)buf_end - (vm_offset_t)bufp) < (tt_size + sizeof(struct page_table_dump_header))… 11635 struct page_table_dump_header *header = (struct page_table_dump_header*)bufp; 11641 bcopy(ttp, (uint8_t*)bufp + sizeof(*header), tt_size); 11660 ttp, cur_level, bufp, buf_end); 11678 pmap_dump_page_tables(pmap_t pmap, void *bufp, void *buf_end, unsigned int level_mask, size_t *byte… argument 11684 level_mask, pmap->min, bufp, buf_end, bytes_copied); 11690 pmap_dump_page_tables(pmap_t pmap __unused, void *bufp __unused, void *buf_end __unused,
|
| /xnu-11215/security/ |
| H A D | mac_framework.h | 212 char *bufp, size_t buflen) __result_use_check;
|
| /xnu-11215/osfmk/arm/pmap/ |
| H A D | pmap.c | 14532 void *bufp = (uint8_t*)buf_start + *bytes_copied; local 14542 …if (((vm_offset_t)buf_end - (vm_offset_t)bufp) < (tt_size + sizeof(struct page_table_dump_header))… 14547 struct page_table_dump_header *header = (struct page_table_dump_header*)bufp; 14553 bcopy(ttp, (uint8_t*)bufp + sizeof(*header), tt_size); 14572 ttp, cur_level, bufp, buf_end); 14590 pmap_dump_page_tables(pmap_t pmap, void *bufp, void *buf_end, unsigned int level_mask, size_t *byte… argument 14596 level_mask, pmap->min, bufp, buf_end, bytes_copied); 14602 pmap_dump_page_tables(pmap_t pmap __unused, void *bufp __unused, void *buf_end __unused,
|
| /xnu-11215/bsd/skywalk/mem/ |
| H A D | skmem_test.c | 884 volatile uint8_t *bufp = buffer; in skmem_packet_tests() local 886 bufp[i] = ref_buffer[i]; in skmem_packet_tests()
|
| /xnu-11215/bsd/vfs/ |
| H A D | vfs_syscalls.c | 195 user_addr_t bufp, int *sizep, boolean_t is_64_bit, 3551 statfs_internal(proc_t p, struct mount *mp, user_addr_t bufp) in statfs_internal() argument 3568 return munge_statfs(mp, &mp->mnt_vfsstat, bufp, NULL, IS_64BIT_PROCESS(p), TRUE); in statfs_internal() 10529 getdirentries_common(int fd, user_addr_t bufp, user_size_t bufsize, ssize_t *bytesread, in getdirentries_common() argument 10595 uio_addiov(auio, bufp, bufsize); in getdirentries_common() 13976 user_addr_t bufp, int *sizep, boolean_t is_64_bit, in munge_statfs() argument 14005 error = copyout((caddr_t)&sfs, bufp, copy_size); in munge_statfs() 14079 error = copyout((caddr_t)&sfs, bufp, copy_size); in munge_statfs()
|
| /xnu-11215/osfmk/i386/ |
| H A D | pmap_x86_common.c | 2717 pmap_dump_page_tables(pmap_t pmap __unused, void *bufp __unused, void *buf_end __unused, in pmap_dump_page_tables()
|
| /xnu-11215/bsd/dev/dtrace/ |
| H A D | dtrace.c | 13362 void **bufp; in dtrace_dof_difo() local 13391 bufp = (void **)((uintptr_t)dp + difo[i].bufoffs); in dtrace_dof_difo() 13394 if (*bufp != NULL) { in dtrace_dof_difo() 13411 *bufp = kmem_alloc(subsec->dofs_size, KM_SLEEP); in dtrace_dof_difo() 13413 *bufp, subsec->dofs_size); in dtrace_dof_difo()
|