/src/sys/compat/common/ |
sysv_shm_14.c | 63 struct shmid_ds shmbuf; local in function:compat_14_sys_shmctl 73 __shmid_ds14_to_native(&oshmbuf, &shmbuf); 77 (cmd == IPC_SET || cmd == IPC_STAT) ? &shmbuf : NULL); 80 __native_to_shmid_ds14(&shmbuf, &oshmbuf);
|
sysv_shm_50.c | 62 struct shmid_ds shmbuf; local in function:compat_50_sys___shmctl13 72 __shmid_ds13_to_native(&oshmbuf, &shmbuf); 76 (cmd == IPC_SET || cmd == IPC_STAT) ? &shmbuf : NULL); 79 __native_to_shmid_ds13(&shmbuf, &oshmbuf);
|
/src/sys/compat/netbsd32/ |
netbsd32_compat_14_sysv.c | 165 netbsd32_shmid_ds14_to_native(struct netbsd32_shmid_ds14 *oshmbuf, struct shmid_ds *shmbuf) 168 netbsd32_ipc_perm14_to_native(&oshmbuf->shm_perm, &shmbuf->shm_perm); 170 #define CVT(x) shmbuf->x = oshmbuf->x 182 native_to_netbsd32_shmid_ds14(struct shmid_ds *shmbuf, struct netbsd32_shmid_ds14 *oshmbuf) 186 native_to_netbsd32_ipc_perm14(&shmbuf->shm_perm, &oshmbuf->shm_perm); 188 #define CVT(x) oshmbuf->x = shmbuf->x 302 struct shmid_ds shmbuf; local in function:compat_14_netbsd32_shmctl 312 netbsd32_shmid_ds14_to_native(&oshmbuf, &shmbuf); 316 (cmd == IPC_SET || cmd == IPC_STAT) ? &shmbuf : NULL); 319 native_to_netbsd32_shmid_ds14(&shmbuf, &oshmbuf) [all...] |
/src/sys/kern/ |
sysv_shm.c | 493 struct shmid_ds shmbuf; local in function:sys___shmctl50 498 error = copyin(SCARG(uap, buf), &shmbuf, sizeof(shmbuf)); 504 (cmd == IPC_SET || cmd == IPC_STAT) ? &shmbuf : NULL); 507 error = copyout(&shmbuf, SCARG(uap, buf), sizeof(shmbuf)); 513 shmctl1(struct lwp *l, int shmid, int cmd, struct shmid_ds *shmbuf) 535 memset(shmbuf, 0, sizeof *shmbuf); 536 shmbuf->shm_perm = shmseg->shm_perm [all...] |