예제 #1
0
void mbq_safe_enqueue(struct mbq *q, struct mbuf *m)
{
    mbq_lock(q);
    __mbq_enqueue(q, m);
    mbq_unlock(q);
}
예제 #2
0
void mbq_enqueue(struct mbq *q, struct mbuf *m)
{
    __mbq_enqueue(q, m);
}
예제 #3
0
void mbq_safe_enqueue(struct mbq *q, struct mbuf *m)
{
    mtx_lock(&q->lock);
    __mbq_enqueue(q, m);
    mtx_unlock(&q->lock);
}