• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/kern/

Lines Matching refs: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 shmid_ds *out);
125 static void shmid_ds_32to64(struct shmid_ds *in, struct user_shmid_ds *out);
189 shmid_ds_64to32(struct user_shmid_ds *in, struct shmid_ds *out)
191 out->shm_perm = in->shm_perm;
192 out->shm_segsz = (size_t)in->shm_segsz;
193 out->shm_lpid = in->shm_lpid;
194 out->shm_cpid = in->shm_cpid;
195 out->shm_nattch = in->shm_nattch;
196 out->shm_atime = in->shm_atime;
197 out->shm_dtime = in->shm_dtime;
198 out->shm_ctime = in->shm_ctime;
199 out->shm_internal = CAST_DOWN(void *,in->shm_internal);
204 * this works because we copy fields in order from the end of the struct to
208 shmid_ds_32to64(struct shmid_ds *in, struct user_shmid_ds *out)
210 out->shm_internal = CAST_USER_ADDR_T(in->shm_internal);
211 out->shm_ctime = in->shm_ctime;
212 out->shm_dtime = in->shm_dtime;
213 out->shm_atime = in->shm_atime;
214 out->shm_nattch = in->shm_nattch;
215 out->shm_cpid = in->shm_cpid;
216 out->shm_lpid = in->shm_lpid;
217 out->shm_segsz = (user_size_t)in->shm_segsz;
218 out->shm_perm = in->shm_perm;
356 mach_vm_address_t attach_va; /* attach address in/out */
562 /* convert in place; ugly, but safe */
613 * This segment is in the process of being allocated. Wait
614 * until it's done, and look the key up again (in case the
626 * are the actual mode bits desired on the segment, and not in IPC_R
685 * In case we sleep in malloc(), mark the segment present but deleted
762 /* Auditing is actually done in shmget_allocate_segment() */
893 * be unable to represent a segment size in excess of 32 bits
1000 /* Copy in the command structure */
1005 if (!IS_64BIT_PROCESS(p)) /* convert in place */
1062 if (!IS_64BIT_PROCESS(p)) /* convert in place */