/darwin-on-arm/xnu/bsd/dev/i386/ |
H A D | dis_tables.c | 3487 * Print a numeric immediate into end of buf, maximum length buflen. 3504 print_imm(dis86_t *dis, uint64_t usv, uint64_t mask, char *buf, 3511 curlen = strlen(buf); 3516 dis->d86_sprintf_func(buf + curlen, buflen - curlen, 3521 dis->d86_sprintf_func(buf + curlen, buflen - curlen, 3524 dis->d86_sprintf_func(buf + curlen, buflen - curlen, 3546 dtrace_disx86_str(dis86_t *dis, uint_t mode, uint64_t pc, char *buf, 3560 dis->d86_sprintf_func(buf, buflen, "%-6s ", dis->d86_mnem); 3572 (void) strlcat(buf, ",", buflen); 3574 (void) strlcat(buf, o [all...] |
/darwin-on-arm/xnu/bsd/sys/ |
H A D | decmpfs.h | 70 void *buf; member in struct:__anon471
|
H A D | types.h | 306 struct buf;
|
H A D | Makefile | 20 buf.h cdefs.h conf.h \ 66 buf.h cdefs.h conf.h \
|
H A D | dtrace_glue.h | 82 int uread(proc_t *p, void *buf, user_size_t len, user_addr_t a); 83 int uwrite(proc_t *p, void *buf, user_size_t len, user_addr_t a);
|
/darwin-on-arm/xnu/iokit/IOKit/ |
H A D | IOLib.h | 353 IOOFPathMatching( const char * path, char * buf, int maxLen ) __attribute__((deprecated));
|
/darwin-on-arm/xnu/iokit/bsddev/ |
H A D | IOKitBSDInit.cpp | 265 OSDictionary * IOOFPathMatching( const char * path, char * buf, int maxLen ) argument 279 strlcpy( buf, kIODeviceTreePlane ":", len + 1 ); 280 comp = buf + len; 292 str = OSString::withCString( buf );
|
/darwin-on-arm/xnu/libkern/kxld/ |
H A D | kxld_reloc.h | 142 u_char *buf, u_long *header_offset, u_long header_size,
|
H A D | kxld_sym.c | 61 const char *suffix, char *buf, u_long len); 808 char *buf, u_long len) 814 check(buf); 822 strncpy(buf, str + prelen, striplen); 823 buf[striplen] = '\0'; 807 extract_inner_string(const char *str, const char *prefix, const char *suffix, char *buf, u_long len) argument
|
H A D | kxld_object.c | 151 static kern_return_t export_macho_header(const KXLDObject *object, u_char *buf, 157 u_char *buf, u_int ncmds, u_long *header_offset, u_long header_size); 163 u_char *buf, u_int ncmds, u_long *header_offset, u_long header_size); 1824 export_macho_header(const KXLDObject *object, u_char *buf, u_int ncmds, argument 1830 check(buf); 1835 object, buf, ncmds, header_offset, header_size); local 1848 export_macho_header_32(const KXLDObject *object, u_char *buf, u_int ncmds, argument 1855 check(buf); 1860 mach = (struct mach_header *) ((void *) (buf + *header_offset)); 1883 export_macho_header_64(const KXLDObject *object, u_char *buf, u_in argument [all...] |
/darwin-on-arm/xnu/osfmk/profiling/ |
H A D | profile-mk.c | 46 #include <device/buf.h>
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | subr_prf.c | 463 vsprintf(char *buf, const char *cfmt, va_list ap) argument 468 info.str = buf;
|
H A D | tty_pty.c | 331 char buf[BUFSIZ]; local 336 cc = q_to_b(&tp->t_canq, (u_char *)buf, cc); 337 error = uiomove(buf, cc, uio); 497 char buf[BUFSIZ]; local 546 cc = q_to_b(&tp->t_outq, (u_char *)buf, min(uio_resid(uio), BUFSIZ)); 549 error = uiomove(buf, cc, uio);
|
H A D | kern_proc.c | 170 void proc_name_kdp(task_t t, char * buf, int size); 640 proc_name(int pid, char * buf, int size) argument 645 strlcpy(buf, &p->p_comm[0], size); 651 proc_name_kdp(task_t t, char * buf, int size) argument 656 strlcpy(buf, &p->p_comm[0], size); 666 proc_selfname(char * buf, int size) argument 671 strlcpy(buf, &p->p_comm[0], size); 1745 char * buf; local 1856 buf = (char *)kalloc(usize); 1857 if (buf [all...] |
H A D | decmpfs.c | 1025 flush_dcache64((addr64_t)(uintptr_t)vec[i].buf, vec[i].size, FALSE); 1122 vec.buf = (char*)data + pl_offset; 1160 memset((char*)vec.buf + did_read, 0, total_size - did_read); 1333 vec = (decmpfs_vector){ .buf = data, .size = curUplSize }; 1588 decmpfs_vector vec = { .buf = data, .size = MIN(allocSize, remaining) }; 1745 memcpy(vec[i].buf, hdr->attr_bytes + offset, curCopy);
|
H A D | tty_ptmx.c | 714 char buf[BUFSIZ]; local 719 cc = q_to_b(&tp->t_canq, (u_char *)buf, cc); 720 error = uiomove(buf, cc, uio); 893 char buf[BUFSIZ]; local 945 cc = q_to_b(&tp->t_outq, (u_char *)buf, min(uio_resid(uio), BUFSIZ)); 948 error = uiomove(buf, cc, uio);
|
/darwin-on-arm/xnu/bsd/netat/ |
H A D | sys_glue.c | 978 caddr_t buf, 985 caddr_t cluster = (caddr_t)buf; 1026 void *buf; 1028 (buf = (void *)_MALLOC(size, M_MCLUST, 1033 (m = m_clattach(NULL, MSG_DATA, buf, m_lgbuf_free, size, 0, 1035 m_lgbuf_free(buf, 0, 0); 976 m_lgbuf_free( caddr_t buf, __unused u_int size, __unused caddr_t arg) argument 1025 void *buf; local
|
H A D | atp_write.c | 615 register char *buf = (char *)bufaddr; local 623 CAST_USER_ADDR_T(&buf[tmp]), 1374 _ATPsndreq(fd, buf, len, nowait, err, proc) 1376 unsigned char *buf; 1447 if (((*err = copyin(CAST_USER_ADDR_T(buf), (caddr_t)bds, atpBDSsize)) != 0) 1448 || ((*err = copyin(CAST_USER_ADDR_T(&buf[atpBDSsize]), 1586 if ((*err = copyout((caddr_t)bds, CAST_USER_ADDR_T(buf), atpBDSsize)) != 0) { 1740 _ATPgetreq(fd, buf, buflen, err, proc) 1742 unsigned char *buf; 1795 copyout((caddr_t)gbuf_rptr(m), CAST_USER_ADDR_T(&buf[siz [all...] |
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Misc/ |
H A D | VolumeAllocation.c | 214 #include <sys/buf.h> 363 static OSErr ReleaseScanBitmapBlock( struct buf *bp ); 1345 struct buf *bp = NULL; 1407 struct buf *bp = (struct buf *)blockRef; 1447 static OSErr ReleaseScanBitmapBlock(struct buf *bp ) { 2000 journal_modify_block_start(hfsmp->jnl, (struct buf *)blockRef); 2048 journal_modify_block_start(hfsmp->jnl, (struct buf *)blockRef); 2300 journal_modify_block_start(hfsmp->jnl, (struct buf *)blockRef); 2348 journal_modify_block_start(hfsmp->jnl, (struct buf *)blockRe [all...] |
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_bio.c | 154 LIST_HEAD(bufhashhdr, buf) *bufhashtbl, invalhash; 167 static TAILQ_HEAD(delayqueue, buf) delaybufqueue; 169 static TAILQ_HEAD(ioqueue, buf) iobufqueue; 170 static TAILQ_HEAD(bqueues, buf) bufqueues[BQUEUES]; 215 if ((bp)->b_hash.le_prev != (struct buf **)0xdeadbeef) \ 219 (bp)->b_hash.le_next = (struct buf *)0; \ 220 (bp)->b_hash.le_prev = (struct buf **)0xdeadbeef; 253 if (bp->b_hash.le_prev == (struct buf **)0xdeadbeef) 270 panic("buf already in hashlist"); 280 if (bp->b_hash.le_prev == (struct buf **) [all...] |
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | ip_dummynet.c | 1169 char buf[32]; local 1170 snprintf(buf, sizeof(buf), "%s%d",ifp->if_name, ifp->if_unit); 1173 if (!strcmp(p->if_name, buf) ) { 1175 DPRINTF(("dummynet: ++ tx rdy from %s (now found)\n", buf)); 2453 char *buf, *bp=NULL; /* bp is the "copy-pointer" */ local 2471 buf = _MALLOC(size, M_TEMP, M_WAITOK); 2472 if (buf == NULL) 2477 FREE(buf, M_TEMP); 2478 buf [all...] |
/darwin-on-arm/xnu/tools/tests/kqueue_tests/ |
H A D | kqueue_file_tests.c | 184 makepath(char *buf, const char *dir, const char *file) argument 186 strcpy(buf, dir); 187 strcat(buf, "/"); 188 strcat(buf, file); 359 char buf[50]; local 360 while (read(fd, buf, sizeof(buf)) > 0); 1456 char buf[50]; local 1459 return (void*) read(fd, buf, sizeof(buf)); 1465 char buf[50]; local [all...] |
/darwin-on-arm/xnu/osfmk/i386/AT386/ |
H A D | model_dep.c | 327 crc32(uint32_t crc, const void *buf, size_t size) argument 331 p = buf; 916 machine_boot_info(char *buf, __unused vm_size_t size) argument 918 *buf ='\0'; 919 return buf;
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | pf_ioctl.c | 2145 error = altq_getqstats(altq, pq->buf, &nbytes); 3723 user_addr_t buf; local 3742 buf = (p64 ? ps64->ps_buf : ps32->ps_buf); 3752 error = copyout(pstore, buf, sizeof (*pstore)); 3757 buf += sizeof (*pstore); 4251 user_addr_t buf; local 4255 buf = (p64 ? io64->array : io32->array); 4269 for (i = 0; i < size; i++, buf += sizeof (*ioe)) { 4270 if (copyin(buf, ioe, sizeof (*ioe))) { 4316 if (copyout(ioe, buf, sizeo 4531 user_addr_t buf; local 4673 user_addr_t buf; local [all...] |
H A D | pf_if.c | 631 pfi_get_ifaces(const char *name, user_addr_t buf, int *size) argument 661 if (copyout(&u, buf, sizeof (u))) { 665 buf += sizeof (u);
|