Lines Matching refs:lsp

207 linux_to_bsd_semid_ds(struct l_semid_ds *lsp, struct semid_ds *bsp)
210 linux_to_bsd_ipc_perm(&lsp->sem_perm, &bsp->sem_perm);
211 bsp->sem_otime = lsp->sem_otime;
212 bsp->sem_ctime = lsp->sem_ctime;
213 bsp->sem_nsems = lsp->sem_nsems;
214 bsp->sem_base = PTRIN(lsp->sem_base);
218 bsd_to_linux_semid_ds(struct semid_ds *bsp, struct l_semid_ds *lsp)
221 bsd_to_linux_ipc_perm(&bsp->sem_perm, &lsp->sem_perm);
222 lsp->sem_otime = bsp->sem_otime;
223 lsp->sem_ctime = bsp->sem_ctime;
224 lsp->sem_nsems = bsp->sem_nsems;
225 lsp->sem_base = PTROUT(bsp->sem_base);
229 linux_to_bsd_shmid_ds(struct l_shmid_ds *lsp, struct shmid_ds *bsp)
232 linux_to_bsd_ipc_perm(&lsp->shm_perm, &bsp->shm_perm);
233 bsp->shm_segsz = lsp->shm_segsz;
234 bsp->shm_lpid = lsp->shm_lpid;
235 bsp->shm_cpid = lsp->shm_cpid;
236 bsp->shm_nattch = lsp->shm_nattch;
237 bsp->shm_atime = lsp->shm_atime;
238 bsp->shm_dtime = lsp->shm_dtime;
239 bsp->shm_ctime = lsp->shm_ctime;
243 bsd_to_linux_shmid_ds(struct shmid_ds *bsp, struct l_shmid_ds *lsp)
246 bsd_to_linux_ipc_perm(&bsp->shm_perm, &lsp->shm_perm);
248 lsp->shm_segsz = INT_MAX;
250 lsp->shm_segsz = bsp->shm_segsz;
251 lsp->shm_lpid = bsp->shm_lpid;
252 lsp->shm_cpid = bsp->shm_cpid;
254 lsp->shm_nattch = SHRT_MAX;
256 lsp->shm_nattch = bsp->shm_nattch;
257 lsp->shm_atime = bsp->shm_atime;
258 lsp->shm_dtime = bsp->shm_dtime;
259 lsp->shm_ctime = bsp->shm_ctime;
260 lsp->private3 = 0;
264 linux_to_bsd_msqid_ds(struct l_msqid_ds *lsp, struct msqid_ds *bsp)
267 linux_to_bsd_ipc_perm(&lsp->msg_perm, &bsp->msg_perm);
268 bsp->msg_cbytes = lsp->msg_cbytes;
269 bsp->msg_qnum = lsp->msg_qnum;
270 bsp->msg_qbytes = lsp->msg_qbytes;
271 bsp->msg_lspid = lsp->msg_lspid;
272 bsp->msg_lrpid = lsp->msg_lrpid;
273 bsp->msg_stime = lsp->msg_stime;
274 bsp->msg_rtime = lsp->msg_rtime;
275 bsp->msg_ctime = lsp->msg_ctime;
279 bsd_to_linux_msqid_ds(struct msqid_ds *bsp, struct l_msqid_ds *lsp)
282 bsd_to_linux_ipc_perm(&bsp->msg_perm, &lsp->msg_perm);
283 lsp->msg_cbytes = bsp->msg_cbytes;
284 lsp->msg_qnum = bsp->msg_qnum;
285 lsp->msg_qbytes = bsp->msg_qbytes;
286 lsp->msg_lspid = bsp->msg_lspid;
287 lsp->msg_lrpid = bsp->msg_lrpid;
288 lsp->msg_stime = bsp->msg_stime;
289 lsp->msg_rtime = bsp->msg_rtime;
290 lsp->msg_ctime = bsp->msg_ctime;