Lines Matching defs:bs
135 struct msqid_ds bs;
142 error = kern_msgctl(td, uap->msqid, IPC_STAT, &bs);
144 cvt_msqid2imsqid(&bs, &is);
152 cvt_imsqid2msqid(&is, &bs);
153 return (kern_msgctl(td, uap->msqid, IPC_SET, &bs));
318 struct semid_ds bs;
327 semun.buf = &bs;
332 cvt_semid2isemid(&bs, &is);
342 cvt_isemid2semid(&is, &bs);
343 semun.buf = &bs;
479 struct shmid_ds bs;
484 error = kern_shmctl(td, uap->shmid, IPC_STAT, &bs, NULL);
487 cvt_shmid2ishmid(&bs, &is);
494 cvt_ishmid2shmid(&is, &bs);
495 return (kern_shmctl(td, uap->shmid, IPC_SET, &bs, NULL));