• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/i386/ibcs2/

Lines Matching refs:ibp

72 cvt_msqid2imsqid(bp, ibp)
74 struct ibcs2_msqid_ds *ibp;
76 memset(ibp, 0, sizeof(*ibp));
77 cvt_perm2iperm(&bp->msg_perm, &ibp->msg_perm);
78 ibp->msg_cbytes = (u_short)bp->msg_cbytes;
79 ibp->msg_qnum = (u_short)bp->msg_qnum;
80 ibp->msg_qbytes = (u_short)bp->msg_qbytes;
81 ibp->msg_lspid = (u_short)bp->msg_lspid;
82 ibp->msg_lrpid = (u_short)bp->msg_lrpid;
83 ibp->msg_stime = bp->msg_stime;
84 ibp->msg_rtime = bp->msg_rtime;
85 ibp->msg_ctime = bp->msg_ctime;
90 cvt_imsqid2msqid(ibp, bp)
91 struct ibcs2_msqid_ds *ibp;
94 cvt_iperm2perm(&ibp->msg_perm, &bp->msg_perm);
95 bp->msg_cbytes = ibp->msg_cbytes;
96 bp->msg_qnum = ibp->msg_qnum;
97 bp->msg_qbytes = ibp->msg_qbytes;
98 bp->msg_lspid = ibp->msg_lspid;
99 bp->msg_lrpid = ibp->msg_lrpid;
100 bp->msg_stime = ibp->msg_stime;
101 bp->msg_rtime = ibp->msg_rtime;
102 bp->msg_ctime = ibp->msg_ctime;
228 cvt_sem2isem(bp, ibp)
230 struct ibcs2_sem *ibp;
232 ibp->semval = bp->semval;
233 ibp->sempid = bp->sempid;
234 ibp->semncnt = bp->semncnt;
235 ibp->semzcnt = bp->semzcnt;
240 cvt_isem2sem(ibp, bp)
241 struct ibcs2_sem *ibp;
244 bp->semval = ibp->semval;
245 bp->sempid = ibp->sempid;
246 bp->semncnt = ibp->semncnt;
247 bp->semzcnt = ibp->semzcnt;
281 cvt_semid2isemid(bp, ibp)
283 struct ibcs2_semid_ds *ibp;
285 memset(ibp, 0, sizeof(*ibp));
286 cvt_perm2iperm(&bp->sem_perm, &ibp->sem_perm);
287 ibp->sem_nsems = bp->sem_nsems;
288 ibp->sem_otime = bp->sem_otime;
289 ibp->sem_ctime = bp->sem_ctime;
294 cvt_isemid2semid(ibp, bp)
295 struct ibcs2_semid_ds *ibp;
298 cvt_iperm2perm(&ibp->sem_perm, &bp->sem_perm);
299 bp->sem_nsems = ibp->sem_nsems;
300 bp->sem_otime = ibp->sem_otime;
301 bp->sem_ctime = ibp->sem_ctime;
413 cvt_shmid2ishmid(bp, ibp)
415 struct ibcs2_shmid_ds *ibp;
417 cvt_perm2iperm(&bp->shm_perm, &ibp->shm_perm);
418 ibp->shm_segsz = bp->shm_segsz;
419 ibp->shm_lpid = bp->shm_lpid;
420 ibp->shm_cpid = bp->shm_cpid;
422 ibp->shm_nattch = SHRT_MAX;
424 ibp->shm_nattch = bp->shm_nattch;
425 ibp->shm_cnattch = 0; /* ignored anyway */
426 ibp->shm_atime = bp->shm_atime;
427 ibp->shm_dtime = bp->shm_dtime;
428 ibp->shm_ctime = bp->shm_ctime;
433 cvt_ishmid2shmid(ibp, bp)
434 struct ibcs2_shmid_ds *ibp;
437 cvt_iperm2perm(&ibp->shm_perm, &bp->shm_perm);
438 bp->shm_segsz = ibp->shm_segsz;
439 bp->shm_lpid = ibp->shm_lpid;
440 bp->shm_cpid = ibp->shm_cpid;
441 bp->shm_nattch = ibp->shm_nattch;
442 bp->shm_atime = ibp->shm_atime;
443 bp->shm_dtime = ibp->shm_dtime;
444 bp->shm_ctime = ibp->shm_ctime;