Home | History | Annotate | Download | only in common

Lines Matching refs:lsp

220 bsd_to_linux32_semid_ds(struct semid_ds *bsp, struct linux32_semid_ds *lsp)
223 memset(lsp, 0, sizeof *lsp);
224 bsd_to_linux32_ipc_perm(&bsp->sem_perm, &lsp->l_sem_perm);
225 lsp->l_sem_otime = bsp->sem_otime;
226 lsp->l_sem_ctime = bsp->sem_ctime;
227 lsp->l_sem_nsems = bsp->sem_nsems;
231 bsd_to_linux32_semid64_ds(struct semid_ds *bsp, struct linux32_semid64_ds *lsp)
234 memset(lsp, 0, sizeof *lsp);
235 bsd_to_linux32_ipc64_perm(&bsp->sem_perm, &lsp->l_sem_perm);
236 lsp->l_sem_otime = bsp->sem_otime;
237 lsp->l_sem_ctime = bsp->sem_ctime;
238 lsp->l_sem_nsems = bsp->sem_nsems;
242 linux32_to_bsd_semid_ds(struct linux32_semid_ds *lsp, struct semid_ds *bsp)
244 linux32_to_bsd_ipc_perm(&lsp->l_sem_perm, &bsp->sem_perm);
245 bsp->sem_otime = lsp->l_sem_otime;
246 bsp->sem_ctime = lsp->l_sem_ctime;
247 bsp->sem_nsems = lsp->l_sem_nsems;
251 linux32_to_bsd_semid64_ds(struct linux32_semid64_ds *lsp, struct semid_ds *bsp)
253 linux32_to_bsd_ipc64_perm(&lsp->l_sem_perm, &bsp->sem_perm);
254 bsp->sem_otime = lsp->l_sem_otime;
255 bsp->sem_ctime = lsp->l_sem_ctime;
256 bsp->sem_nsems = lsp->l_sem_nsems;
553 bsd_to_linux32_shmid_ds(struct shmid_ds *bsp, struct linux32_shmid_ds *lsp)
556 memset(lsp, 0, sizeof *lsp);
557 bsd_to_linux32_ipc_perm(&bsp->shm_perm, &lsp->l_shm_perm);
558 lsp->l_shm_segsz = bsp->shm_segsz;
559 lsp->l_shm_atime = bsp->shm_atime;
560 lsp->l_shm_dtime = bsp->shm_dtime;
561 lsp->l_shm_ctime = bsp->shm_ctime;
562 lsp->l_shm_cpid = bsp->shm_cpid;
563 lsp->l_shm_lpid = bsp->shm_lpid;
564 lsp->l_shm_nattch = bsp->shm_nattch;
568 linux32_to_bsd_shmid_ds(struct linux32_shmid_ds *lsp, struct shmid_ds *bsp)
571 linux32_to_bsd_ipc_perm(&lsp->l_shm_perm, &bsp->shm_perm);
572 bsp->shm_segsz = lsp->l_shm_segsz;
573 bsp->shm_atime = lsp->l_shm_atime;
574 bsp->shm_dtime = lsp->l_shm_dtime;
575 bsp->shm_ctime = lsp->l_shm_ctime;
576 bsp->shm_cpid = lsp->l_shm_cpid;
577 bsp->shm_lpid = lsp->l_shm_lpid;
578 bsp->shm_nattch = lsp->l_shm_nattch;
582 bsd_to_linux32_shmid64_ds(struct shmid_ds *bsp, struct linux32_shmid64_ds *lsp)
585 memset(lsp, 0, sizeof *lsp);
586 bsd_to_linux32_ipc64_perm(&bsp->shm_perm, &lsp->l_shm_perm);
587 lsp->l_shm_segsz = bsp->shm_segsz;
588 lsp->l_shm_atime = bsp->shm_atime;
589 lsp->l_shm_dtime = bsp->shm_dtime;
590 lsp->l_shm_ctime = bsp->shm_ctime;
591 lsp->l_shm_cpid = bsp->shm_cpid;
592 lsp->l_shm_lpid = bsp->shm_lpid;
593 lsp->l_shm_nattch = bsp->shm_nattch;
597 linux32_to_bsd_shmid64_ds(struct linux32_shmid64_ds *lsp, struct shmid_ds *bsp)
600 linux32_to_bsd_ipc64_perm(&lsp->l_shm_perm, &bsp->shm_perm);
601 bsp->shm_segsz = lsp->l_shm_segsz;
602 bsp->shm_atime = lsp->l_shm_atime;
603 bsp->shm_dtime = lsp->l_shm_dtime;
604 bsp->shm_ctime = lsp->l_shm_ctime;
605 bsp->shm_cpid = lsp->l_shm_cpid;
606 lsp->l_shm_lpid;
607 bsp->shm_nattch = lsp->l_shm_nattch;