Searched refs:buf (Results 126 - 150 of 220) sorted by relevance

123456789

/darwin-on-arm/xnu/bsd/dev/i386/
H A Ddis_tables.c3487 * 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 Ddecmpfs.h70 void *buf; member in struct:__anon471
H A Dtypes.h306 struct buf;
H A DMakefile20 buf.h cdefs.h conf.h \
66 buf.h cdefs.h conf.h \
H A Ddtrace_glue.h82 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 DIOLib.h353 IOOFPathMatching( const char * path, char * buf, int maxLen ) __attribute__((deprecated));
/darwin-on-arm/xnu/iokit/bsddev/
H A DIOKitBSDInit.cpp265 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 Dkxld_reloc.h142 u_char *buf, u_long *header_offset, u_long header_size,
H A Dkxld_sym.c61 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 Dkxld_object.c151 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 Dprofile-mk.c46 #include <device/buf.h>
/darwin-on-arm/xnu/bsd/kern/
H A Dsubr_prf.c463 vsprintf(char *buf, const char *cfmt, va_list ap) argument
468 info.str = buf;
H A Dtty_pty.c331 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 Dkern_proc.c170 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 Ddecmpfs.c1025 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 Dtty_ptmx.c714 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 Dsys_glue.c978 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 Datp_write.c615 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 DVolumeAllocation.c214 #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 Dvfs_bio.c154 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 Dip_dummynet.c1169 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 Dkqueue_file_tests.c184 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 Dmodel_dep.c327 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 Dpf_ioctl.c2145 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 Dpf_if.c631 pfi_get_ifaces(const char *name, user_addr_t buf, int *size) argument
661 if (copyout(&u, buf, sizeof (u))) {
665 buf += sizeof (u);

Completed in 121 milliseconds

123456789