Home
last modified time | relevance | path

Searched refs:sbq_wait (Results 1 – 1 of 1) sorted by relevance

/lib/
Dsbitmap.c669 struct sbq_wait *sbq_wait) in sbitmap_add_wait_queue() argument
671 if (!sbq_wait->sbq) { in sbitmap_add_wait_queue()
672 sbq_wait->sbq = sbq; in sbitmap_add_wait_queue()
674 add_wait_queue(&ws->wait, &sbq_wait->wait); in sbitmap_add_wait_queue()
679 void sbitmap_del_wait_queue(struct sbq_wait *sbq_wait) in sbitmap_del_wait_queue() argument
681 list_del_init(&sbq_wait->wait.entry); in sbitmap_del_wait_queue()
682 if (sbq_wait->sbq) { in sbitmap_del_wait_queue()
683 atomic_dec(&sbq_wait->sbq->ws_active); in sbitmap_del_wait_queue()
684 sbq_wait->sbq = NULL; in sbitmap_del_wait_queue()
691 struct sbq_wait *sbq_wait, int state) in sbitmap_prepare_to_wait() argument
[all …]