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
33 * Redistribution and use in source and binary forms, with or without
38 * 2. Redistributions in binary form must reproduce the above copyright
39 * notice, this list of conditions and the following disclaimer in the
60 * NOTICE: This file was modified by McAfee Research in 2004 to introduce
62 * is included in support of clause 2.2 (b) of the Apple Public License,
124 static void shmid_ds_64to32(struct user_shmid_ds *in, struct user32_shmid_ds *out);
125 static void shmid_ds_32to64(struct user32_shmid_ds *in, struct user_shmid_ds *out);
198 shmid_ds_64to32(struct user_shmid_ds *in, struct user32_shmid_ds *out)
200 out->shm_perm = in->shm_perm;
201 out->shm_segsz = in->shm_segsz;
202 out->shm_lpid = in->shm_lpid;
203 out->shm_cpid = in->shm_cpid;
204 out->shm_nattch = in->shm_nattch;
205 out->shm_atime = in->shm_atime;
206 out->shm_dtime = in->shm_dtime;
207 out->shm_ctime = in->shm_ctime;
208 out->shm_internal = CAST_DOWN_EXPLICIT(int,in->shm_internal);
213 * this works because we copy fields in order from the end of the struct to
217 shmid_ds_32to64(struct user32_shmid_ds *in, struct user_shmid_ds *out)
219 out->shm_internal = in->shm_internal;
220 out->shm_ctime = in->shm_ctime;
221 out->shm_dtime = in->shm_dtime;
222 out->shm_atime = in->shm_atime;
223 out->shm_nattch = in->shm_nattch;
224 out->shm_cpid = in->shm_cpid;
225 out->shm_lpid = in->shm_lpid;
226 out->shm_segsz = in->shm_segsz;
227 out->shm_perm = in->shm_perm;
368 mach_vm_address_t attach_va; /* attach address in/out */
610 /* convert in place; ugly, but safe */
661 * This segment is in the process of being allocated. Wait
662 * until it's done, and look the key up again (in case the
674 * are the actual mode bits desired on the segment, and not in IPC_R
734 * In case we sleep in malloc(), mark the segment present but deleted
832 /* Auditing is actually done in shmget_allocate_segment() */
873 * Indirect parameters: uap->which msg call to invoke (index in array of shm calls)
983 * be unable to represent a segment size in excess of 32 bits
1090 /* Copy in the command structure */
1095 if (!IS_64BIT_PROCESS(p)) /* convert in place */
1152 if (!IS_64BIT_PROCESS(p)) /* convert in place */