Searched refs:sbq_wait (Results 1 – 1 of 1) sorted by relevance
665 struct sbq_wait *sbq_wait) in sbitmap_add_wait_queue() argument667 if (!sbq_wait->sbq) { in sbitmap_add_wait_queue()668 sbq_wait->sbq = sbq; in sbitmap_add_wait_queue()670 add_wait_queue(&ws->wait, &sbq_wait->wait); in sbitmap_add_wait_queue()675 void sbitmap_del_wait_queue(struct sbq_wait *sbq_wait) in sbitmap_del_wait_queue() argument677 list_del_init(&sbq_wait->wait.entry); in sbitmap_del_wait_queue()678 if (sbq_wait->sbq) { in sbitmap_del_wait_queue()679 atomic_dec(&sbq_wait->sbq->ws_active); in sbitmap_del_wait_queue()680 sbq_wait->sbq = NULL; in sbitmap_del_wait_queue()687 struct sbq_wait *sbq_wait, int state) in sbitmap_prepare_to_wait() argument[all …]