Searched refs:src (Results 26 - 50 of 95) sorted by relevance

1234

/macosx-10.5.8/xnu-1228.15.4/security/
H A Dmac_mach_internal.h69 void mac_task_label_copy(struct label *src, struct label *dest);
84 void mac_port_label_copy(struct label *src, struct label *dest);
85 void mac_port_label_update_cred(struct label *src, struct label *dest);
H A Dmac_port.c90 mac_port_label_copy(struct label *src, struct label *dest) argument
93 MAC_PERFORM(port_label_copy, src, dest);
97 mac_port_label_update_cred(struct label *src, struct label *dest) argument
100 MAC_PERFORM(port_label_update_cred, src, dest);
H A Dmac_pipe.c111 mac_pipe_label_copy(struct label *src, struct label *dest) argument
114 MAC_PERFORM(pipe_label_copy, src, dest);
/macosx-10.5.8/xnu-1228.15.4/libsyscall/
H A Dcreate-syscalls.pl222 my @src;
225 push(@src, make_s($k, @$v));
228 push(@src, make_s($k, @$v));
232 # create the Makefile.inc file from the list for files in @src and @CustomSrc
238 print $f "SYSCALLSRCS= " . join(" \\\n\t", sort(@src, @CustomSrc)) . "\n\n";
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/
H A Dstubs.c114 copywithin(void *src, void *dst, size_t count) argument
116 bcopy(src,dst,count);
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/ppc/
H A Dkdp_vm.c112 /* Verify that src is valid, and physically copy len bytes from src to
115 * when translating src.
119 caddr_t src,
130 kprintf("kdp_vm_read1: src %x dst %x len %x - %08X %08X\n", src, dst, len, ((unsigned long *)src)[0], ((unsigned long *)src)[1]);
133 cur_virt_src = (addr64_t)((unsigned int)src | (((uint64_t)kdp_src_high32) << 32));
207 caddr_t src,
118 kdp_vm_read( caddr_t src, caddr_t dst, unsigned len) argument
206 kdp_vm_write( caddr_t src, caddr_t dst, unsigned len) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/Catalog/
H A DFileIDsServices.c47 static void CopyCatalogNodeInfo( CatalogRecord *src, CatalogRecord *dest );
48 static void CopyBigCatalogNodeInfo( CatalogRecord *src, CatalogRecord *dest );
357 static void CopyCatalogNodeInfo( CatalogRecord *src, CatalogRecord *dest ) argument
359 dest->hfsFile.dataLogicalSize = src->hfsFile.dataLogicalSize;
360 dest->hfsFile.dataPhysicalSize = src->hfsFile.dataPhysicalSize;
361 dest->hfsFile.rsrcLogicalSize = src->hfsFile.rsrcLogicalSize;
362 dest->hfsFile.rsrcPhysicalSize = src->hfsFile.rsrcPhysicalSize;
363 dest->hfsFile.modifyDate = src->hfsFile.modifyDate;
364 BlockMoveData( src->hfsFile.dataExtents, dest->hfsFile.dataExtents, sizeof(HFSExtentRecord) );
365 BlockMoveData( src
368 CopyBigCatalogNodeInfo( CatalogRecord *src, CatalogRecord *dest ) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dlapic.h191 #define LAPIC_VECTOR(src) \
192 (lapic_interrupt_base + LAPIC_##src##_INTERRUPT)
194 #define LAPIC_ISR_IS_SET(base,src) \
195 (LAPIC_READ_OFFSET(ISR_BASE,((base+LAPIC_##src##_INTERRUPT)/32)*0x10) \
196 & (1 <<((base + LAPIC_##src##_INTERRUPT)%32)))
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/headers/
H A DBTreesPrivate.h466 void MoveRecordsLeft (u_int8_t * src,
470 #define MoveRecordsLeft(src,dst,bytes) bcopy((src),(dst),(bytes))
472 void MoveRecordsRight (u_int8_t * src,
476 #define MoveRecordsRight(src,dst,bytes) bcopy((src),(dst),(bytes))
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Draw_usrreq.c61 * $FreeBSD: src/sys/net/raw_usrreq.c,v 1.18 1999/08/28 00:48:28 peter Exp $
109 raw_input(struct mbuf *m0, struct sockproto *proto, struct sockaddr *src, argument
142 if (rp->rcb_faddr && !equal(rp->rcb_faddr, src))
149 if (sbappendaddr(&last->so_rcv, src,
161 if (sbappendaddr(&last->so_rcv, src,
H A Dbridge.c52 * $FreeBSD: src/sys/net/bridge.c,v 1.16.2.14 2001/02/09 23:13:41 luigi Exp $
587 * to BDG_DROP in case ifp == src . These mods are not necessary
618 * Forward to dst, excluding src port and muted interfaces.
619 * If src == NULL, the pkt comes from ether_output, and dst is the real
638 struct ifnet *src = m0->m_pkthdr.rcvif; /* could be NULL in output */ local
660 src = m0->m_pkthdr.rcvif;
666 if (src == NULL) /* packet from ether_output */
693 * from ether_output() (src==NULL, or we would filter it twice).
697 if (ip_fw_chk_ptr && bdg_ipfw != 0 && src != NULL) {
806 if (src !
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/uuid/
H A Duuid.h56 void uuid_copy(uuid_t dst, const uuid_t src);
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dmachine.c319 const char *src = ""; local
329 src = machine_boot_info(boot_info, KERNEL_BOOT_INFO_MAX);
330 if (src != boot_info)
331 (void) strncpy(boot_info, src, KERNEL_BOOT_INFO_MAX);
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/
H A Dpmap.h231 ppnum_t src,
235 ppnum_t src,
242 vm_offset_t src,
248 ppnum_t src,
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_encap.c28 /* $FreeBSD: src/sys/netinet/ip_encap.c,v 1.1.2.2 2001/07/03 11:01:46 ume Exp $ */
82 * The code will let you match protocol via src/dst address pair.
210 * if both src/dst are matched for IPv4, 64 should be returned).
217 * src=3ffe::/16, dst=3ffe:501::/32
218 * src=3ffe:501::/32, dst=3ffe::/16
339 * sp (src ptr) is always my side, and dp (dst ptr) is always remote side.
356 if (sp->sa_len > sizeof(ep->src) || dp->sa_len > sizeof(ep->dst)) {
375 if (ep->src.ss_len != sp->sa_len ||
376 bcmp(&ep->src, sp, sp->sa_len) != 0 ||
397 bcopy(sp, &ep->src, s
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/i386/
H A Dkdp_vm.c108 caddr_t src,
112 addr64_t cur_virt_src = (addr64_t)((unsigned int)src | (((uint64_t)kdp_src_high32) << 32));
167 caddr_t src,
176 printf("kdp_vm_write: src %x dst %x len %x - %08X %08X\n", src, dst, len, ((unsigned long *)src)[0], ((unsigned long *)src)[1]);
179 cur_virt_src = (addr64_t)((unsigned int)src);
107 kdp_vm_read( caddr_t src, caddr_t dst, unsigned len) argument
166 kdp_vm_write( caddr_t src, caddr_t dst, unsigned len) argument
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dkpi_mbuf.h614 @discussion Copies len bytes from offset from src to a new mbuf. If
619 @param src The source mbuf.
626 errno_t mbuf_copym(const mbuf_t src, size_t offset, size_t len,
635 @param src The source mbuf.
640 errno_t mbuf_dup(const mbuf_t src, mbuf_how_t how, mbuf_t* new_mbuf);
660 @param src The mbuf to be split.
667 failure, the original mbuf chain passed in to src will be
670 errno_t mbuf_split(mbuf_t src, size_t offset,
694 @param src The start of the mbuf chain.
704 errno_t mbuf_pulldown(mbuf_t src, size_
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_macos_defs.h284 #define BlockMoveData(src, dest, len) bcopy((src), (dest), (len))
/macosx-10.5.8/xnu-1228.15.4/libkern/uuid/
H A Duuid.c98 uuid_copy(uuid_t dst, const uuid_t src) argument
100 memcpy(dst, src, sizeof(uuid_t));
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/
H A Ddtrace_glue.c1204 dtrace_copyin(user_addr_t src, uintptr_t dst, size_t len) argument
1206 if (dtrace_copycheck( src, dst, len )) {
1207 if (copyin((const user_addr_t)src, (char *)dst, (vm_size_t)len)) {
1209 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = src;
1211 dtrace_copyio_postflight(src);
1216 dtrace_copyinstr(user_addr_t src, uintptr_t dst, size_t len) argument
1220 if (dtrace_copycheck( src, dst, len )) {
1222 int error = copyinstr((const user_addr_t)src, (char *)dst, (vm_size_t)len, &actual);
1232 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = src;
1234 dtrace_copyio_postflight(src);
1239 dtrace_copyout(uintptr_t src, user_addr_t dst, size_t len) argument
1251 dtrace_copyoutstr(uintptr_t src, user_addr_t dst, size_t len) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netkey/
H A Dkeydb.h44 struct sockaddr_storage src; /* srouce address for SA */ member in struct:secasindex
H A Dkey.c1 /* $FreeBSD: src/sys/netkey/key.c,v 1.16.2.13 2002/07/24 18:17:40 ume Exp $ */
373 bcopy((s), &(idx)->src, ((struct sockaddr *)(s))->sa_len); \
387 bcopy((s), &(idx)->src, ((struct sockaddr *)(s))->sa_len); \
675 if (isrc->sa_len > sizeof(spidx.src) ||
678 bcopy(isrc, &spidx.src, isrc->sa_len);
683 is = (struct sockaddr *)&r1->saidx.src;
690 os = (struct sockaddr *)&r2->saidx.src;
951 (struct sockaddr *)&d->sah->saidx.src,
952 d->sah->saidx.src.ss_len << 3,
960 (struct sockaddr *)&d->sah->saidx.src,
8079 key_checktunnelsanity( struct secasvar *sav, __unused u_int family, __unused caddr_t src, __unused caddr_t dst) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOHibernateIO.cpp1703 uint8_t * src; local
1826 src = (uint8_t *) trunc_page(sectHIBB);
1829 if ((src < &gIOHibernateRestoreStack[0]) || (src >= &gIOHibernateRestoreStackEnd[0]))
1830 restore1Sum += hibernate_sum(src, page_size);
1833 src += page_size;
1839 src = (uint8_t *) trunc_page(sectHIBB);
1843 err = IOPolledFileWrite(vars->fileVars, src, count, cryptvars);
1853 src = &gIOHibernateRestoreStackEnd[0];
1854 count = round_page(sectHIBB + sectSizeHIB) - ((uint32_t) src);
2248 uint8_t * src = (uint8_t *) vars->srcBuffer->getBytesNoCopy(); local
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkpi_mbuf.c282 errno_t mbuf_copym(const mbuf_t src, size_t offset, size_t len, argument
286 *new_mbuf = m_copym(src, offset, len, how);
291 errno_t mbuf_dup(const mbuf_t src, mbuf_how_t how, mbuf_t *new_mbuf) argument
294 *new_mbuf = m_dup(src, how);
307 errno_t mbuf_split(mbuf_t src, size_t offset, argument
311 *new_mbuf = m_split(src, offset, how);
324 errno_t mbuf_pulldown(mbuf_t src, size_t *offset, size_t len, mbuf_t *location) argument
328 *location = m_pulldown(src, *offset, len, &new_offset);
473 errno_t mbuf_copy_pkthdr(mbuf_t dest, const mbuf_t src) argument
475 if (((src)
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Dipsec.c1 /* $FreeBSD: src/sys/netinet6/ipsec.c,v 1.3.2.7 2001/07/19 06:37:23 kris Exp $ */
226 static struct secpolicy *ipsec_deepcopy_policy(struct secpolicy *src);
787 * protocol family, src, dst, next protocol
905 * configure security policy index (src/dst/proto/sport/dport)
1012 ((struct sockaddr_in *)&spidx->src)->sin_port = IPSEC_PORT_ANY;
1035 ((struct sockaddr_in *)&spidx->src)->sin_port =
1047 ((struct sockaddr_in *)&spidx->src)->sin_port =
1085 sin = (struct sockaddr_in *)&spidx->src;
1121 ((struct sockaddr_in6 *)&spidx->src)->sin6_port = IPSEC_PORT_ANY;
1137 ((struct sockaddr_in6 *)&spidx->src)
[all...]

Completed in 115 milliseconds

1234