Lines Matching defs:in

7  * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
37 * Redistribution and use in source and binary forms, with or without
42 * 2. Redistributions in binary form must reproduce the above copyright
43 * notice, this list of conditions and the following disclaimer in the
68 * NOTICE: This file was modified by SPARTA, Inc. in 2005 to introduce
70 * is included in support of clause 2.2 (b) of the Apple Public License,
141 /* implementations in osfmk/kern/sync_sema.c. We do not want port.h in this scope, so void * them */
195 sigaltstack_kern_to_user32(struct kern_sigaltstack *in, struct user32_sigaltstack *out)
197 out->ss_sp = CAST_DOWN_EXPLICIT(user32_addr_t, in->ss_sp);
198 out->ss_size = CAST_DOWN_EXPLICIT(user32_size_t, in->ss_size);
199 out->ss_flags = in->ss_flags;
203 sigaltstack_kern_to_user64(struct kern_sigaltstack *in, struct user64_sigaltstack *out)
205 out->ss_sp = in->ss_sp;
206 out->ss_size = in->ss_size;
207 out->ss_flags = in->ss_flags;
212 * this works because we copy fields in order from the end of the struct to
216 sigaltstack_user32_to_kern(struct user32_sigaltstack *in, struct kern_sigaltstack *out)
218 out->ss_flags = in->ss_flags;
219 out->ss_size = in->ss_size;
220 out->ss_sp = CAST_USER_ADDR_T(in->ss_sp);
223 sigaltstack_user64_to_kern(struct user64_sigaltstack *in, struct kern_sigaltstack *out)
225 out->ss_flags = in->ss_flags;
226 out->ss_size = in->ss_size;
227 out->ss_sp = in->ss_sp;
231 sigaction_kern_to_user32(struct kern_sigaction *in, struct user32_sigaction *out)
234 out->__sigaction_u.__sa_handler = CAST_DOWN_EXPLICIT(user32_addr_t,in->__sigaction_u.__sa_handler);
235 out->sa_mask = in->sa_mask;
236 out->sa_flags = in->sa_flags;
239 sigaction_kern_to_user64(struct kern_sigaction *in, struct user64_sigaction *out)
242 out->__sigaction_u.__sa_handler = in->__sigaction_u.__sa_handler;
243 out->sa_mask = in->sa_mask;
244 out->sa_flags = in->sa_flags;
248 __sigaction_user32_to_kern(struct __user32_sigaction *in, struct __kern_sigaction *out)
250 out->__sigaction_u.__sa_handler = CAST_USER_ADDR_T(in->__sigaction_u.__sa_handler);
251 out->sa_tramp = CAST_USER_ADDR_T(in->sa_tramp);
252 out->sa_mask = in->sa_mask;
253 out->sa_flags = in->sa_flags;
257 __sigaction_user64_to_kern(struct __user64_sigaction *in, struct __kern_sigaction *out)
259 out->__sigaction_u.__sa_handler = in->__sigaction_u.__sa_handler;
260 out->sa_tramp = in->sa_tramp;
261 out->sa_mask = in->sa_mask;
262 out->sa_flags = in->sa_flags;
320 return (1); /* SIGCONT in session */
561 * Notes: The thread parameter is used in the PPC case to select the
626 * Set bit in p_sigignore for signals that are set to SIG_IGN,
628 * However, don't put SIGCONT in p_sigignore,
636 p->p_sigignore |= bit; /* easier in psignal */
680 * by this point in exec and the p_siglist is
783 * in the meantime. Note nonstandard calling convention:
878 /* if the thread is in vfork do not cancel */
915 /* if the thread is in vfork do not cancel */
1302 /* Clear the pending signal in the thread it was delivered */
1365 /* if we are here we are not in the signal handler ;so no need to check */
1761 * also no need to send a signal to a process that is in the middle
1776 * Deliver the signal to the first thread in the task. This
1823 * (Note: we don't set SIGCONT in p_sigignore,
1900 * stopped) so that it can discover the signal in
2058 * with already, since their bits are on in
2156 * setrunnable(p) in BSD and
2201 * by checking the pending signal masks in the CURSIG macro.) The normal call
2301 * XXX have to diddle Unix state in the
2375 * then it will leave it in p->p_xstat;
2407 * in init? XXX
2569 * in init? XXX
2825 * set up "in-process", we should have already torn down the kqueue
3027 /* If the process is in proc exit return no signal info */