HomeSort by: relevance | last modified time | path
    Searched refs:oshmbuf (Results 1 - 4 of 4) sorted by relevancy

  /src/sys/compat/sys/
shm.h 94 __shmid_ds14_to_native(const struct shmid_ds14 *oshmbuf, struct shmid_ds *shmbuf)
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)
114 memset(oshmbuf, 0, sizeof *oshmbuf);
115 __native_to_ipc_perm14(&shmbuf->shm_perm, &oshmbuf->shm_perm);
117 #define CVT(x) oshmbuf->x = shmbuf->x
118 #define CVTI(x) oshmbuf->x = (int)shmbuf->x
131 __shmid_ds13_to_native(const struct shmid_ds13 *oshmbuf, struct shmid_ds *shmbuf
    [all...]
  /src/sys/compat/common/
sysv_shm_14.c 64 struct shmid_ds14 oshmbuf; local in function:compat_14_sys_shmctl
70 error = copyin(SCARG(uap, buf), &oshmbuf, sizeof(oshmbuf));
73 __shmid_ds14_to_native(&oshmbuf, &shmbuf);
80 __native_to_shmid_ds14(&shmbuf, &oshmbuf);
81 error = copyout(&oshmbuf, SCARG(uap, buf), sizeof(oshmbuf));
sysv_shm_50.c 63 struct shmid_ds13 oshmbuf; local in function:compat_50_sys___shmctl13
69 error = copyin(SCARG(uap, buf), &oshmbuf, sizeof(oshmbuf));
72 __shmid_ds13_to_native(&oshmbuf, &shmbuf);
79 __native_to_shmid_ds13(&shmbuf, &oshmbuf);
80 error = copyout(&oshmbuf, SCARG(uap, buf), sizeof(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)
185 memset(oshmbuf, 0, sizeof *oshmbuf);
186 native_to_netbsd32_ipc_perm14(&shmbuf->shm_perm, &oshmbuf->shm_perm);
188 #define CVT(x) oshmbuf->x = shmbuf->x
303 struct netbsd32_shmid_ds14 oshmbuf; local in function:compat_14_netbsd32_shmctl
309 error = copyin(SCARG_P32(uap, buf), &oshmbuf, sizeof(oshmbuf))
    [all...]

Completed in 11 milliseconds