/darwin-on-arm/xnu/bsd/sys/ |
H A D | stat.h | 499 * The value of the buf argument supplied to the macros is a pointer to 503 * buf. Otherwise, the macro shall evaluate to zero. 510 #define S_TYPEISMQ(buf) (0) /* Test for a message queue */ 511 #define S_TYPEISSEM(buf) (0) /* Test for a semaphore */ 512 #define S_TYPEISSHM(buf) (0) /* Test for a shared memory object */ 517 * specified type. The value of the buf argument supplied to the macros is 521 * buf. Otherwise, the macro shall evaluate to zero. 528 #define S_TYPEISTMO(buf) (0) /* Test for a typed memory object */
|
H A D | conf.h | 81 struct buf; 110 typedef void strategy_fcn_t(struct buf *bp);
|
H A D | proc.h | 249 void proc_name(int pid, char * buf, int size); 251 void proc_selfname(char * buf, int size);
|
/darwin-on-arm/xnu/libkern/kxld/ |
H A D | kxld_symtab.h | 116 kxld_symtab_export_macho(const KXLDSymtab *symtab, u_char *buf,
|
H A D | kxld_symtab.c | 432 kxld_symtab_export_macho(const KXLDSymtab *symtab, u_char *buf, argument 447 check(buf); 453 symtabhdr = (struct symtab_command *) ((void *) (buf + *header_offset)); 486 nl = buf + symtabhdr->symoff; 487 strtab = (char *) (buf + symtabhdr->stroff);
|
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | misc_protos.h | 88 char *buf,
|
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | debug.c | 535 char buf[256]; local 536 if (strlcpy(buf, PE_boot_args(), sizeof(buf))) 537 kdb_printf("Boot args: %s\n", buf);
|
H A D | misc_protos.h | 121 extern integer_t sprintf(char *buf, const char *fmt, ...) __deprecated;
|
/darwin-on-arm/xnu/tools/tests/libMicro/apple/ |
H A D | lmbench_lat_ctx.c | 110 long bread(void* buf, long nbytes); 431 bread(void* buf, long nbytes) argument 437 p = (long*)buf; 438 end = (char*)buf + nbytes;
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | ip_icmp.c | 344 char buf[MAX_IPv4_STR_LEN]; local 348 inet_ntop(AF_INET, &ip->ip_src, buf, sizeof(buf)), 601 char buf[MAX_IPv4_STR_LEN]; local 604 inet_ntop(AF_INET, &icp->icmp_ip.ip_dst, buf, sizeof(buf)), 835 char buf[MAX_IPv4_STR_LEN]; local 839 inet_ntop(AF_INET, &ip->ip_dst, buf, sizeof(buf)),
|
H A D | in_tclass.c | 534 void *buf = NULL; local 575 buf = _MALLOC(len, M_TEMP, M_WAITOK | M_ZERO); 576 if (buf == NULL) { 583 ptr = (struct so_tcdbg *)buf; 613 if (buf == NULL) { 617 error = sooptcopyout(sopt, buf, len); 618 _FREE(buf, M_TEMP);
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | in6_ifattach.c | 753 void *buf; local 789 buf = _MALLOC(IN6_IFSTAT_ALLOC_SIZE, M_IFADDR, M_WAITOK); 790 if (buf == NULL) { 794 bzero(buf, IN6_IFSTAT_ALLOC_SIZE); 796 P2ROUNDUP((intptr_t)buf + sizeof(void *), sizeof(uint64_t)); 822 buf = _MALLOC(ICMP6_IFSTAT_ALLOC_SIZE, M_IFADDR, M_WAITOK); 823 if (buf == NULL) { 827 bzero(buf, ICMP6_IFSTAT_ALLOC_SIZE); 829 P2ROUNDUP((intptr_t)buf + sizeof(void *), sizeof(uint64_t)); 1125 /* generate_tmp_ifid will update seedn and buf */ [all...] |
H A D | ipsec.c | 2867 static char buf[256] __attribute__((aligned(4))); local 2874 p = buf; 2875 snprintf(buf, sizeof(buf), "packet(SPI=%u ", (u_int32_t)ntohl(spi)); 2878 snprintf(p, sizeof(buf) - (p - buf), "src=%u.%u.%u.%u", 2882 snprintf(p, sizeof(buf) - (p - buf), " dst=%u.%u.%u.%u", 2886 snprintf(p, sizeof(buf) - (p - buf), ")"); 2897 static char buf[256] __attribute__((aligned(4))); local 2922 static char buf[256] __attribute__((aligned(4))); local [all...] |
H A D | ip6_fw.c | 180 #define SNPARGS(buf, len) buf + len, sizeof(buf) > len ? sizeof(buf) - len : 0 1331 struct ip6_fw *buf; local 1345 buf = _MALLOC(size, M_TEMP, M_WAITOK); 1346 if (!buf) error = ENOBUFS; 1349 //struct ip6_fw *bp = buf; 1350 caddr_t bp = (caddr_t)buf; 1369 if (buf) [all...] |
H A D | ip6_output.c | 171 static int ip6_pcbopt(int optname, u_char *buf, int len, struct ip6_pktopts **pktopt, int uproto); 173 static int ip6_setpktopt(int optname, u_char *buf, int len, struct ip6_pktopts *opt, int sticky, int cmsg, int uproto); 2665 ip6_pcbopt(int optname, u_char *buf, int len, struct ip6_pktopts **pktopt, argument 2679 return (ip6_setpktopt(optname, buf, len, opt, 1, 0, uproto)); 3111 ip6_setpktopt(int optname, u_char *buf, int len, struct ip6_pktopts *opt, argument 3128 VERIFY(IS_P2ALIGNED(buf, sizeof (u_int32_t))); 3174 pktinfo = (struct in6_pktinfo *)(void *)buf; 3246 hlimp = (int *)(void *)buf; 3260 tclass = *(int *)(void *)buf; 3280 if (len < sizeof(struct sockaddr) || len < *buf) [all...] |
H A D | udp6_usrreq.c | 474 char buf[INET6_ADDRSTRLEN]; local 476 strlcpy(buf, ip6_sprintf(&ip6->ip6_dst), sizeof(buf)); 480 buf, ntohs(uh->uh_dport), 486 buf, ntohs(uh->uh_dport),
|
/darwin-on-arm/xnu/osfmk/ipc/ |
H A D | ipc_port.c | 586 natural_t buf[IP_CALLSTACK_MAX]; local 587 ipc_port_callstack_init_debug(&buf[0], IP_CALLSTACK_MAX); 600 ipc_port_init_debug(port, &buf[0], IP_CALLSTACK_MAX); 644 natural_t buf[IP_CALLSTACK_MAX]; local 645 ipc_port_callstack_init_debug(&buf[0], IP_CALLSTACK_MAX); 659 ipc_port_init_debug(port, &buf[0], IP_CALLSTACK_MAX); 1332 natural_t buf[IP_CALLSTACK_MAX]; 1333 ipc_port_callstack_init_debug(&buf[0], IP_CALLSTACK_MAX); 1344 ipc_port_init_debug(port, &buf[0], IP_CALLSTACK_MAX);
|
/darwin-on-arm/xnu/bsd/dev/ |
H A D | unix_startup.c | 108 /* clip the number of buf headers upto 16k */ 133 size = (max_nbuf_headers + niobuf_headers) * sizeof(struct buf); 155 buf_headers = (struct buf *) firstaddr;
|
/darwin-on-arm/xnu/bsd/netat/ |
H A D | sys_dep.c | 169 _ATPsndreq(uap->fd, uap->buf, uap->len, 221 _ATPgetreq(uap->fd, uap->buf, uap->buflen,
|
/darwin-on-arm/xnu/libkern/zlib/ |
H A D | deflate.h | 311 void _tr_flush_block OF((deflate_state *s, charf *buf, ulg stored_len, 314 void _tr_stored_block OF((deflate_state *s, charf *buf, ulg stored_len,
|
/darwin-on-arm/xnu/osfmk/arm/ |
H A D | loose_ends.c | 240 u_char *buf = (u_char *) _buf; local 246 buf[n] = arc4_getbyte();
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | uipc_mbuf.c | 801 #define MEXT_INIT(m, buf, size, free, arg, rfa, ref, flag) { \ 802 (m)->m_data = (m)->m_ext.ext_buf = (buf); \ 814 #define MBUF_CL_INIT(m, buf, rfa, ref, flag) \ 815 MEXT_INIT(m, buf, m_maxsize(MC_CL), NULL, NULL, rfa, ref, flag) 817 #define MBUF_BIGCL_INIT(m, buf, rfa, ref, flag) \ 818 MEXT_INIT(m, buf, m_maxsize(MC_BIGCL), m_bigfree, NULL, rfa, ref, flag) 820 #define MBUF_16KCL_INIT(m, buf, rfa, ref, flag) \ 821 MEXT_INIT(m, buf, m_maxsize(MC_16KCL), m_16kfree, NULL, rfa, ref, flag) 1314 void *buf; local 1541 MALLOC(buf, voi 1586 mcache_obj_t *buf; local 1723 slab_free(mbuf_class_t class, mcache_obj_t *buf) argument 4924 m_devget(char *buf, int totlen, int off0, struct ifnet *ifp, void (*copy)(const void *, void *, size_t)) argument 6069 slab_get(void *buf) argument 6187 slab_inrange(mcl_slab_t *sp, void *buf) argument 6200 uintptr_t buf = (uintptr_t)sp->sl_base; local 6240 mcl_audit_init(void *buf, mcache_audit_t **mca_list, mcache_obj_t **con_list, size_t con_size, unsigned int num) argument [all...] |
/darwin-on-arm/xnu/bsd/net/ |
H A D | ndrv.c | 602 sprint_d(u_int n, char *buf, int buflen) argument 612 strncpy(buf, cp, IFNAMSIZ-buflen); 623 char buf[IFNAMSIZ]; local 625 r = buf; 629 sprint_d(ifnet_unit(ifp), r, IFNAMSIZ-(r-buf)); 631 kprintf("Comparing %s, %s\n", buf, q); 633 return(strncmp(buf, q, IFNAMSIZ));
|
/darwin-on-arm/xnu/osfmk/profiling/i386/ |
H A D | profile-md.c | 936 char buf[20]; 946 sprintf(buf, "%ld.%ld", (long)stats->major_version, (long)stats->minor_version); 947 fprintf(stream, "%12s profiling version number\n", buf); 1129 len = sprintf (buf, "%lu", (long unsigned)stats->num_alloc[ac]); 1133 len = sprintf (buf, "%lu", (long unsigned)stats->wasted[ac]); 1137 len = sprintf (buf, "%lu", (long unsigned)stats->overhead[ac]); 1141 len = sprintf (buf, "%lu", (long unsigned)stats->num_context[ac]); 926 char buf[20]; local
|
/darwin-on-arm/xnu/SETUP/config/ |
H A D | mkioconf.c | 68 char *concat3(char *buf, const char *p1, const char *p2, const char *p3); 89 fprintf(fp, "#include <sys/buf.h>\n"); 359 fprintf(fp, "#include <sys/buf.h>\n"); 592 fprintf(fp, "#include <sys/buf.h>\n"); 1256 fprintf(fp, "#include <sys/buf.h>\n"); 1468 static char buf[20]; local 1471 strcpy(buf, "NULL"); 1473 (void) sprintf(buf, "_%sint", dev->d_name); 1475 return (buf); 1479 concat3(char *buf, cons argument 2064 static char buf[20]; local [all...] |