Lines Matching defs:bsp

496 linux_to_bsd_shmid_ds(struct linux_shmid_ds *lsp, struct shmid_ds *bsp)
499 linux_to_bsd_ipc_perm(&lsp->l_shm_perm, &bsp->shm_perm);
500 bsp->shm_segsz = lsp->l_shm_segsz;
501 bsp->shm_lpid = lsp->l_shm_lpid;
502 bsp->shm_cpid = lsp->l_shm_cpid;
503 bsp->shm_nattch = lsp->l_shm_nattch;
504 bsp->shm_atime = lsp->l_shm_atime;
505 bsp->shm_dtime = lsp->l_shm_dtime;
506 bsp->shm_ctime = lsp->l_shm_ctime;
507 bsp->_shm_internal = lsp->l_private2; /* XXX Oh well. */
511 linux_to_bsd_shmid64_ds(struct linux_shmid64_ds *lsp, struct shmid_ds *bsp)
514 linux_to_bsd_ipc64_perm(&lsp->l_shm_perm, &bsp->shm_perm);
515 bsp->shm_segsz = lsp->l_shm_segsz;
516 bsp->shm_lpid = lsp->l_shm_lpid;
517 bsp->shm_cpid = lsp->l_shm_cpid;
518 bsp->shm_nattch = lsp->l_shm_nattch;
519 bsp->shm_atime = lsp->l_shm_atime;
520 bsp->shm_dtime = lsp->l_shm_dtime;
521 bsp->shm_ctime = lsp->l_shm_ctime;
522 bsp->_shm_internal = (void*)lsp->l___unused5; /* XXX Oh well. */
526 bsd_to_linux_shmid_ds(struct shmid_ds *bsp, struct linux_shmid_ds *lsp)
529 bsd_to_linux_ipc_perm(&bsp->shm_perm, &lsp->l_shm_perm);
530 lsp->l_shm_segsz = bsp->shm_segsz;
531 lsp->l_shm_lpid = bsp->shm_lpid;
532 lsp->l_shm_cpid = bsp->shm_cpid;
533 lsp->l_shm_nattch = bsp->shm_nattch;
534 lsp->l_shm_atime = bsp->shm_atime;
535 lsp->l_shm_dtime = bsp->shm_dtime;
536 lsp->l_shm_ctime = bsp->shm_ctime;
537 lsp->l_private2 = bsp->_shm_internal; /* XXX */
541 bsd_to_linux_shmid64_ds(struct shmid_ds *bsp, struct linux_shmid64_ds *lsp)
543 bsd_to_linux_ipc64_perm(&bsp->shm_perm, &lsp->l_shm_perm);
544 lsp->l_shm_segsz = bsp->shm_segsz;
545 lsp->l_shm_lpid = bsp->shm_lpid;
546 lsp->l_shm_cpid = bsp->shm_cpid;
547 lsp->l_shm_nattch = bsp->shm_nattch;
548 lsp->l_shm_atime = bsp->shm_atime;
549 lsp->l_shm_dtime = bsp->shm_dtime;
550 lsp->l_shm_ctime = bsp->shm_ctime;
551 lsp->l___unused5 = (u_long)bsp->_shm_internal; /* XXX */