Searched refs:mqhp (Results 1 – 1 of 1) sorted by relevance
/titanic_50/usr/src/lib/libc/port/rt/ |
H A D | mqueue.c | 180 mq_init(mqhdr_t *mqhp, size_t msgsize, ssize_t maxmsg) in mq_init() argument 192 (void) mutex_init(&mqhp->mq_exclusive, in mq_init() 194 (void) sem_init(&mqhp->mq_rblocked, 1, 0); in mq_init() 195 (void) sem_init(&mqhp->mq_notempty, 1, 0); in mq_init() 196 (void) sem_init(&mqhp->mq_spawner, 1, 0); in mq_init() 197 (void) sem_init(&mqhp->mq_notfull, 1, (uint_t)maxmsg); in mq_init() 199 mqhp->mq_maxsz = msgsize; in mq_init() 200 mqhp->mq_maxmsg = maxmsg; in mq_init() 208 mqhp->mq_maxprio = _MQ_PRIO_MAX; in mq_init() 211 MQ_ASSERT(sizeof (mqhp->mq_mask) * 8 >= _MQ_PRIO_MAX); in mq_init() [all …]
|