Searched refs:buf (Results 151 - 175 of 220) sorted by relevance

123456789

/darwin-on-arm/xnu/bsd/netinet/
H A Ddhcp_options.c627 static char buf[2048]; variable
634 struct dhcp * pkt = (struct dhcp *)buf;
H A Dip_fw2.c1050 #define SNPARGS(buf, len) buf + len, sizeof(buf) > len ? sizeof(buf) - len : 0
1051 #define SNP(buf) buf, sizeof(buf)
3399 struct ip_fw *bp , *buf, *rule; local
3463 buf = _MALLOC(size, M_TEMP, M_WAITOK);
3464 if (buf
[all...]
/darwin-on-arm/xnu/bsd/netinet6/
H A Dnd6.c3598 char buf[1024]; variable
3612 d = (struct in6_defrouter_64 *)(void *)buf;
3614 (void *)(buf + sizeof (buf));
3635 error = SYSCTL_OUT(req, buf, sizeof (*d));
3645 d_32 = (struct in6_defrouter_32 *)(void *)buf;
3647 (void *)(buf + sizeof (buf));
3668 error = SYSCTL_OUT(req, buf, sizeof (*d_32));
3682 char buf[102 variable
[all...]
/darwin-on-arm/xnu/osfmk/x86_64/
H A Dloose_ends.c101 void machine_callstack(natural_t *buf, vm_size_t callstack_max);
522 __unused natural_t *buf,
521 machine_callstack( __unused natural_t *buf, __unused vm_size_t callstack_max) argument
/darwin-on-arm/xnu/bsd/net/
H A Dif_bridge.c2157 char *buf, *outbuf; \
2176 buf = outbuf; \
2190 memcpy(buf, &breq, sizeof (breq)); \
2192 buf += sizeof (breq); \
2204 memcpy(buf, &breq, sizeof (breq)); \
2206 buf += sizeof (breq); \
2242 char *buf, *outbuf; \
2259 buf = outbuf; \
2279 memcpy(buf, &bareq, sizeof (bareq)); \
2281 buf
3714 ether_ntop(char *buf, size_t len, const u_char *ap) argument
[all...]
H A Ddlil.c824 void *buf, *base, **pbuf; local
831 buf = zalloc(dlif_tcpstat_zone);
832 if (buf == NULL) {
836 bzero(buf, dlif_tcpstat_bufsize);
839 base = (void *)P2ROUNDUP((intptr_t)buf + sizeof (u_int64_t),
842 ((intptr_t)buf + dlif_tcpstat_bufsize));
849 *pbuf = buf;
853 buf = zalloc(dlif_udpstat_zone);
854 if (buf == NULL) {
858 bzero(buf, dlif_udpstat_bufsiz
5296 void *buf, *base, **pbuf; local
[all...]
/darwin-on-arm/xnu/bsd/kern/
H A Dsysv_shm.c588 error = copyout((caddr_t)&shmseg->u, uap->buf, sizeof(struct user_shmid_ds));
592 error = copyout(&shmid_ds32, uap->buf, sizeof(shmid_ds32));
606 error = copyin(uap->buf, &inbuf, sizeof(struct user_shmid_ds));
609 error = copyin(uap->buf, &shmid_ds32, sizeof(shmid_ds32));
H A Dsys_generic.c255 error = dofileread(&context, fp, uap->buf, uap->nbyte,
542 error = dofilewrite(&context, fp, uap->buf, uap->nbyte,
2898 void *buf; local
2901 rval = ledger_entry_info(task, &buf, &len);
2905 rval = copyout(buf, args->arg2, sz);
2906 kfree(buf, sz);
2914 void *buf; local
2917 rval = ledger_template_info(&buf, &len);
2920 rval = copyout(buf, args->arg1, sz);
2921 kfree(buf, s
[all...]
H A Dsysv_msg.c405 printf("call to msgctl(%d, %d, 0x%qx)\n", msqid, cmd, uap->buf);
506 eval = copyin(uap->buf, &tmpds, sizeof(tmpds));
512 eval = copyin(uap->buf, &tmpds, sizeof(tmpds));
563 eval = copyout(&msqid_ds64, uap->buf, sizeof(msqid_ds64));
567 eval = copyout(&msqid_ds32, uap->buf, sizeof(msqid_ds32));
H A Dsysv_sem.c752 eval = copyin(user_arg.buf, &ds64, sizeof(ds64));
756 eval = copyin(user_arg.buf, &ds32, sizeof(ds32));
778 eval = copyout(&semid_ds64, user_arg.buf, sizeof(semid_ds64));
782 eval = copyout(&semid_ds32, user_arg.buf, sizeof(semid_ds32));
861 semakptr->u.sem_base[semnum].semval = CAST_DOWN_EXPLICIT(int,user_arg.buf);
H A Duipc_usrreq.c933 char buf[SOCK_MAXADDRLEN]; local
947 strlcpy(buf, soun->sun_path, namelen+1);
949 CAST_USER_ADDR_T(buf), ctx);
1041 char buf[SOCK_MAXADDRLEN]; local
1054 strlcpy(buf, soun->sun_path, len+1);
1058 CAST_USER_ADDR_T(buf), ctx);
H A Dproc_info.c42 #include <sys/buf.h>
903 char * buf; local
910 buf = (char *)kalloc(buffersize);
911 if (buf == NULL)
918 error = vn_getpath_fsenter(tvp, buf, &len);
921 error = vnode_lookup(buf, 0, &nvp, vfs_context_current());
925 error = copyout(buf, buffer, len);
929 kfree(buf, buffersize);
H A Duipc_mbuf2.c374 m_tag_create(u_int32_t id, u_int16_t type, int len, int wait, struct mbuf *buf) argument
390 p = SLIST_FIRST(&buf->m_pkthdr.tags);
/darwin-on-arm/xnu/bsd/miscfs/deadfs/
H A Ddead_vnops.c70 #include <sys/buf.h>
/darwin-on-arm/xnu/bsd/netat/
H A Dappletalk.h276 char *buf; /* pointer to buffer */ member in struct:__anon324
H A Daurp.h259 int AURPgetri(short next_entry, unsigned char *buf, short *len);
/darwin-on-arm/xnu/osfmk/kern/
H A Dledger.c967 ledger_template_info(void **buf, int *len) argument
987 *buf = lti;
1006 ledger_entry_info(task_t task, void **buf, int *len) argument
1022 *buf = lei;
/darwin-on-arm/xnu/bsd/dev/vn/
H A Dvn.c102 #include <sys/buf.h>
648 shadow_read(struct vn_softc * vn, struct buf * bp, char * base,
696 shadow_write(struct vn_softc * vn, struct buf * bp, char * base,
747 vn_readwrite_io(struct vn_softc * vn, struct buf * bp, vfs_context_t ctx)
779 vnstrategy(struct buf *bp)
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_journal.c322 // This function sets up a fake buf and passes it directly to the
550 buffer_flushed_callback(struct buf *bp, void *arg)
559 //printf("jnl: buf flush: bp @ 0x%x l/blkno %qd/%qd vp 0x%x tr @ 0x%x\n",
584 // this buf may represent more than one block so take
767 struct buf *oblock_bp=NULL;
1409 // Replay the coalesced entries in the co-buf
2559 journal_modify_block_start(journal *jnl, struct buf *bp)
2667 journal_modify_block_abort(journal *jnl, struct buf *bp)
2734 journal_modify_block_end(journal *jnl, struct buf *bp, void (*func)(buf_t bp, void *arg), void *arg)
2870 journal_kill_block(journal *jnl, struct buf *b
[all...]
H A Dvfs_fslog.c33 #include <sys/buf.h>
/darwin-on-arm/xnu/bsd/dev/
H A Dmemdev.c83 #include <sys/buf.h>
235 static void mdevstrategy(struct buf *bp) {
/darwin-on-arm/xnu/osfmk/i386/
H A Dloose_ends.c101 void machine_callstack(natural_t *buf, vm_size_t callstack_max);
537 __unused natural_t *buf,
536 machine_callstack( __unused natural_t *buf, __unused vm_size_t callstack_max) argument
/darwin-on-arm/xnu/bsd/vm/
H A Ddp_backing_file.c40 #include <sys/buf.h>
/darwin-on-arm/xnu/iokit/Kernel/
H A DIODeviceTreeSupport.cpp466 char buf[48]; local
472 snprintf(buf, sizeof(buf), "IOInterruptController%08X", (uint32_t)phandle);
473 sym = OSSymbol::withCString( buf );
/darwin-on-arm/xnu/libkern/kxld/
H A Dkxld_reloc.c561 u_char *buf, u_long *header_offset, u_long header_size,
573 check(buf);
578 dysymtabhdr = (struct dysymtab_command *) ((void *) (buf + *header_offset));
584 start = dst = (struct relocation_info *) ((void *) (buf + *data_offset));
559 kxld_reloc_export_macho(const KXLDRelocator *relocator, const KXLDArray *locrelocs, const KXLDArray *extrelocs, u_char *buf, u_long *header_offset, u_long header_size, u_long *data_offset, u_long size) argument

Completed in 154 milliseconds

123456789