Searched refs:from (Results 1 - 25 of 66) sorted by relevance

123

/xnu-2782.1.97/bsd/sys/
H A Dmach_swapon.h38 #warning obsolete header file! Please delete the include from your sources.
H A Dvstat.h39 #warning obsolete header! delete the include from your sources
H A Dkpi_socketfilter.h179 been detached from a socket. If the filter allocated any memory
258 @param from The addres the data is from, may be NULL if the socket
263 @param control Control data being passed separately from the data.
274 const struct sockaddr *from, mbuf_t *data, mbuf_t *control,
288 @param from The address the data is from, may be NULL if the socket
293 @param control Control data being passed separately from the data.
318 @param from The address the incoming connection is from
[all...]
H A Dkpi_socket.h57 called concurrently from multiple threads in the kernel.
93 @param from A pointer to a socket address that will be filled in
94 with the address the connection is from.
95 @param fromlen Maximum length of from.
108 extern errno_t sock_accept(socket_t so, struct sockaddr *from, int fromlen,
275 @discussion Receive data from a socket. Similar to recvmsg. See 'man
290 @discussion Receive data from a socket. Similar to sock_receive
327 only the data to be sent is taken from the mbuf chain.
383 @discussion Prevents the socket from closing
385 socket, preventing it from bein
[all...]
H A Dsystm.h33 * All or some portions of this file are derived from material licensed
51 * may be used to endorse or promote products derived from this software
124 extern int boothowto; /* reboot flags, from console subsystem */
200 void ovbcopy(const void *from, void *to, size_t len);
/xnu-2782.1.97/libkern/zlib/
H A Dinffast.c106 unsigned dmax; /* maximum distance from zlib header */
123 unsigned char FAR *from; /* where to copy match from */ local
215 if (dist > op) { /* see if copy from window */
222 from = window - OFF;
224 from += wsize - op;
225 if (op < len) { /* some from window */
228 PUP(out) = PUP(from);
230 from = out - dist; /* rest from outpu
[all...]
/xnu-2782.1.97/bsd/dev/i386/
H A Dstubs.c49 * copy a null terminated string from the kernel address space into
59 copyoutstr(const void *from, user_addr_t to, size_t maxlen, size_t *lencopied) argument
65 slen = strlen(from) + 1;
70 if (copyout(from, to, len))
79 * copy a null terminated string from one point to another in
88 /* from ppc/fault_copy.c -Titan1T4 VERSION */
93 char const *from = (char const *) vfrom; local
97 if ((*to++ = *from++) == '\0') {
/xnu-2782.1.97/libsyscall/wrappers/legacy/
H A Drecvfrom.c45 recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr * __restrict from, socklen_t * __restrict fromlen) argument
47 int ret = __recvfrom_nocancel(s, buf, len, flags, from, fromlen);
/xnu-2782.1.97/osfmk/kern/
H A Dpage_decrypt.c47 dsmos_page_transform(const void* from, void *to, unsigned long long src_offset, void *ops) argument
58 return (*dsmos_hook) (from, to, src_offset, ops);
H A Dstack.c50 * We allocate stacks from generic kernel VM.
112 STACK_ZINFO_HANDOFF(thread_t from, thread_t to) argument
114 ledger_debit(from->t_ledger, task_ledgers.tkm_private, kernel_stack_size);
121 if ((task = from->task) != NULL && (zinfo = task->tkm_zinfo) != NULL)
250 stack_handoff(thread_t from, thread_t to) argument
252 assert(from == current_thread());
253 machine_stack_handoff(from, to);
254 STACK_ZINFO_HANDOFF(from, to);
H A Dqueue.h81 * Supports fast removal from within the queue.
113 * remqueue removes the specified "elt" from its queue.
497 * Remove an arbitrary item from the queue.
578 #define queue_assign(to, from, type, field) \
580 ((type)(void *)((from)->prev))->field.next = (to); \
581 ((type)(void *)((from)->next))->field.prev = (to); \
582 *to = *from; \
H A Dtimer_queue.h156 /* Move timer requests from one queue to another */
158 mpqueue_head_t *from,
/xnu-2782.1.97/osfmk/i386/
H A Dhpet.c242 * base-2 fixed point number. To convert from HPET to nanoseconds,
270 /* Calculate conversion from TSC to HPET */
275 /* Calculate conversion from HPET to TSC */
280 /* Calculate conversion from BUS to HPET */
285 /* Calculate conversion from HPET to BUS */
409 hpetReg_t *from = (hpetReg_t *) hpetArea; local
412 to->GEN_CONF = from->GEN_CONF;
413 to->TIM0_CONF = from->TIM0_CONF;
414 to->TIM0_COMP = from->TIM0_COMP;
415 to->TIM1_CONF = from
425 hpetReg_t *from = &saved_hpet; local
[all...]
H A Dmisc_protos.h83 const char *from,
87 /* Move arbitrarily-aligned data from one physical address to another */
88 extern void bcopy_phys(addr64_t from, addr64_t to, vm_size_t nbytes);
/xnu-2782.1.97/pexpert/gen/
H A Dbootargs.c32 static int argstrcpy(char *from, char *to);
33 static int argstrcpy2(char *from,char *to, unsigned maxlen);
158 char *from,
163 while (!isargsep(*from)) {
165 *to++ = *from++;
173 char *from,
179 while (!isargsep(*from) && i < maxlen) {
181 *to++ = *from++;
157 argstrcpy( char *from, char *to) argument
172 argstrcpy2( char *from, char *to, unsigned maxlen) argument
/xnu-2782.1.97/osfmk/i386/commpage/
H A Dcommpage.h84 /* COMMPAGE_CALL(target,from,start)
87 * commpage routine from another.
95 * from = the commpage routine we are in now
99 #define COMMPAGE_CALL(target,from,start) \
100 COMMPAGE_CALL_INTERNAL(target,from,start,__LINE__)
102 #define COMMPAGE_CALL_INTERNAL(target,from,start,unique) \
104 .set UNIQUEID(unique), L ## start - . + target - from - 4 ;\
/xnu-2782.1.97/bsd/nfs/
H A Dkrpc.h40 mbuf_t *data, struct sockaddr_in *from);
/xnu-2782.1.97/iokit/IOKit/platform/
H A DAppleMacIO.h59 virtual IOService * createNub( IORegistryEntry * from );
/xnu-2782.1.97/osfmk/x86_64/
H A Dloose_ends.c93 /* XXX - should be gone from here */
97 extern void bcopy_no_overwrite(const char *from, char *to,vm_size_t bytes);
102 extern void ovbcopy(const char *from,
183 * bcopy_phys - like bcopy but copies from/to physical addresses.
226 const char *from,
231 if (from + bytes <= to || to + bytes <= from || to == from)
232 bcopy_no_overwrite(from, to, bytes); /* non-overlapping or no-op*/
233 else if (from > t
225 ovbcopy( const char *from, char *to, vm_size_t bytes) argument
[all...]
/xnu-2782.1.97/bsd/net/
H A Dbpf_filter.c32 * This code is derived from the Stanford/CMU enet packet filter,
50 * may be used to endorse or promote products derived from this software
553 u_int i, from; local
625 * an 8-bit offset, and the from address is
634 from = i+1;
637 if (from + p->k < from || from + p->k >= ((u_int)len))
644 if (from + p->jt >= ((u_int)len) || from
[all...]
H A Dkext_net.h73 extern int sflt_data_in(struct socket *so, const struct sockaddr *from,
/xnu-2782.1.97/makedefs/
H A DMakeInc.cmd201 # $(1) is an expanded kernel config from a TARGET_CONFIGS_UC tuple
202 # $(2) is an expanded arch config from a TARGET_CONFIGS_UC tuple
203 # $(3) is an expanded machine config from a TARGET_CONFIGS_UC tuple
206 # $(1) is an un-expanded kernel config from a TARGET_CONFIGS_UC tuple
207 # $(2) is an un-expanded arch config from a TARGET_CONFIGS_UC tuple
208 # $(3) is an un-expanded machine config from a TARGET_CONFIGS_UC tuple
284 # Create a sequence from 1 to $(1)
/xnu-2782.1.97/iokit/IOKit/
H A DIODeviceTreeSupport.h70 OSCollectionIterator * IODTFindMatchingEntries( IORegistryEntry * from,
/xnu-2782.1.97/osfmk/device/
H A Dsubrs.c33 *derived from material licensed to the University of California by
83 * may be used to endorse or promote products derived from this software
112 * derived from this software without specific prior written permission.
141 /* String routines, from CMU */
260 * strcpy copies the contents of the string "from" including
269 const char *from)
273 while ((*to++ = *from++) != '\0')
281 * strncpy copies "count" characters from the "from" string to
282 * the "to" string. If "from" contain
267 strcpy( char *to, const char *from) argument
[all...]
/xnu-2782.1.97/bsd/netinet/
H A Din_mcast.c42 * products derived from this software without specific prior written
451 struct ip_moptions *from; local
454 from = inp_findmoptions(from_inp);
455 if (from == NULL)
460 IMO_REMREF(from);
464 IMO_LOCK(from);
467 to->imo_multicast_ifp = from->imo_multicast_ifp;
468 to->imo_multicast_vif = from->imo_multicast_vif;
469 to->imo_multicast_ttl = from->imo_multicast_ttl;
470 to->imo_multicast_loop = from
[all...]

Completed in 184 milliseconds

123