Searched refs:bufp (Results 1 - 10 of 10) sorted by relevance

/darwin-on-arm/xnu/bsd/libkern/
H A Dlibkern.h156 int sprintf(char *bufp, const char *, ...) __deprecated;
172 uint32_t crc32(uint32_t crc, const void *bufp, size_t len);
186 extern int vsprintf(char *bufp, const char *, va_list) __deprecated;
/darwin-on-arm/xnu/bsd/security/audit/
H A Daudit_bsm_klib.c701 char *bufp = path; local
713 while (*(bufp) == '/')
714 bufp++; /* skip leading '/'s */
716 bufp--; /* restore one '/' */
727 strlcpy(cpath + len, bufp, MAXPATHLEN - len);
729 strlcpy(cpath, bufp, MAXPATHLEN);
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dmisc.c389 char *bufp; local
403 rv = vasprintf(&bufp, fmt, ap);
412 rv = printf("%s %s", datebuf, bufp);
413 free(bufp);
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_exec.c1696 char *bufp = NULL; local
1718 MALLOC(bufp, char *, (sizeof(*imgp) + sizeof(*vap) + sizeof(*origvap)), M_TEMP, M_WAITOK | M_ZERO);
1719 imgp = (struct image_params *) bufp;
1720 if (bufp == NULL) {
1724 vap = (struct vnode_attr *) (bufp + sizeof(*imgp));
1725 origvap = (struct vnode_attr *) (bufp + sizeof(*imgp) + sizeof(*vap));
2217 if (bufp != NULL) {
2218 FREE(bufp, M_TEMP);
2291 char *bufp = NULL; local
2306 MALLOC(bufp, cha
[all...]
H A Dsys_generic.c150 user_addr_t bufp, user_size_t nbyte,
153 user_addr_t bufp, user_size_t nbyte,
349 user_addr_t bufp, user_size_t nbyte, off_t offset, int flags,
367 uio_addiov(auio, bufp, nbyte);
565 user_addr_t bufp, user_size_t nbyte, off_t offset, int flags,
583 uio_addiov(auio, bufp, nbyte);
348 dofileread(vfs_context_t ctx, struct fileproc *fp, user_addr_t bufp, user_size_t nbyte, off_t offset, int flags, user_ssize_t *retval) argument
564 dofilewrite(vfs_context_t ctx, struct fileproc *fp, user_addr_t bufp, user_size_t nbyte, off_t offset, int flags, user_ssize_t *retval) argument
H A Dkern_aio.c239 user_addr_t bufp, user_size_t nbyte,
242 user_addr_t bufp, user_size_t nbyte, off_t offset,
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_readwrite.c4679 caddr_t bufp; local
4702 if (kmem_alloc(kernel_map, (vm_offset_t *)&bufp, bufsize)) {
4713 uio_addiov(auio, (uintptr_t)bufp, iosize);
4727 uio_addiov(auio, (uintptr_t)bufp, iosize);
4764 kmem_free(kernel_map, (vm_offset_t)bufp, bufsize);
4778 caddr_t bufp; local
4796 if (kmem_alloc(kernel_map, (vm_offset_t *)&bufp, bufsize)) {
4807 offset = bufp;
4830 offset = bufp;
4851 kmem_free(kernel_map, (vm_offset_t)bufp, bufsiz
[all...]
/darwin-on-arm/xnu/security/
H A Dmac_framework.h206 char *bufp, int buflen);
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_syscalls.c152 user_addr_t bufp, int *sizep, boolean_t is_64_bit,
155 user_addr_t bufp);
2277 statfs64_common(struct mount *mp, struct vfsstatfs *sfsp, user_addr_t bufp) argument
2304 error = copyout((caddr_t)&sfs, bufp, sizeof(sfs));
6911 getdirentries_common(int fd, user_addr_t bufp, user_size_t bufsize, ssize_t *bytesread, argument
6960 uio_addiov(auio, bufp, bufsize);
9283 user_addr_t bufp, int *sizep, boolean_t is_64_bit,
9316 error = copyout((caddr_t)&sfs, bufp, copy_size);
9393 error = copyout((caddr_t)&sfs, bufp, copy_size);
9282 munge_statfs(struct mount *mp, struct vfsstatfs *sfsp, user_addr_t bufp, int *sizep, boolean_t is_64_bit, boolean_t partial_copy) argument
/darwin-on-arm/xnu/bsd/dev/dtrace/
H A Ddtrace.c12738 void **bufp;
12779 bufp = (void **)((uintptr_t)dp + difo[i].bufoffs);
12782 if (*bufp != NULL) {
12806 *bufp = kmem_alloc(subsec->dofs_size, KM_SLEEP);
12808 *bufp, subsec->dofs_size);

Completed in 217 milliseconds