Searched refs:oshmbuf (Results 1 - 4 of 4) sorted by relevance
/netbsd-6-1-5-RELEASE/sys/compat/common/ |
H A D | sysv_shm_14.c | 60 struct shmid_ds14 oshmbuf; local 66 error = copyin(SCARG(uap, buf), &oshmbuf, sizeof(oshmbuf)); 69 __shmid_ds14_to_native(&oshmbuf, &shmbuf); 76 __native_to_shmid_ds14(&shmbuf, &oshmbuf); 77 error = copyout(&oshmbuf, SCARG(uap, buf), sizeof(oshmbuf));
|
H A D | sysv_shm_50.c | 66 struct shmid_ds13 oshmbuf; local 72 error = copyin(SCARG(uap, buf), &oshmbuf, sizeof(oshmbuf)); 75 __shmid_ds13_to_native(&oshmbuf, &shmbuf); 82 __native_to_shmid_ds13(&shmbuf, &oshmbuf); 83 error = copyout(&oshmbuf, SCARG(uap, buf), sizeof(oshmbuf));
|
/netbsd-6-1-5-RELEASE/sys/compat/sys/ |
H A D | shm.h | 94 __shmid_ds14_to_native(const struct shmid_ds14 *oshmbuf, struct shmid_ds *shmbuf) argument 97 __ipc_perm14_to_native(&oshmbuf->shm_perm, &shmbuf->shm_perm); 99 #define CVT(x) shmbuf->x = oshmbuf->x 111 __native_to_shmid_ds14(const struct shmid_ds *shmbuf, struct shmid_ds14 *oshmbuf) argument 114 __native_to_ipc_perm14(&shmbuf->shm_perm, &oshmbuf->shm_perm); 116 #define CVT(x) oshmbuf->x = shmbuf->x 117 #define CVTI(x) oshmbuf->x = (int)shmbuf->x 130 __shmid_ds13_to_native(const struct shmid_ds13 *oshmbuf, struct shmid_ds *shmbuf) argument 133 shmbuf->shm_perm = oshmbuf->shm_perm; 135 #define CVT(x) shmbuf->x = oshmbuf 147 __native_to_shmid_ds13(const struct shmid_ds *shmbuf, struct shmid_ds13 *oshmbuf) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/compat/netbsd32/ |
H A D | netbsd32_compat_14.c | 174 netbsd32_shmid_ds14_to_native(struct netbsd32_shmid_ds14 *oshmbuf, struct shmid_ds *shmbuf) argument 177 netbsd32_ipc_perm14_to_native(&oshmbuf->shm_perm, &shmbuf->shm_perm); 179 #define CVT(x) shmbuf->x = oshmbuf->x 191 native_to_netbsd32_shmid_ds14(struct shmid_ds *shmbuf, struct netbsd32_shmid_ds14 *oshmbuf) argument 194 native_to_netbsd32_ipc_perm14(&shmbuf->shm_perm, &oshmbuf->shm_perm); 196 #define CVT(x) oshmbuf->x = shmbuf->x 307 struct netbsd32_shmid_ds14 oshmbuf; local 313 error = copyin(SCARG_P32(uap, buf), &oshmbuf, sizeof(oshmbuf)); 316 netbsd32_shmid_ds14_to_native(&oshmbuf, [all...] |
Completed in 102 milliseconds