Lines Matching refs:lock_item
342 struct list_head lock_item; member
1659 INIT_LIST_HEAD(&img_request->lock_item); in rbd_img_request_init()
1689 WARN_ON(!list_empty(&img_request->lock_item)); in rbd_img_request_destroy()
3508 rbd_assert(list_empty(&img_req->lock_item)); in rbd_lock_add_request()
3510 list_add_tail(&img_req->lock_item, &rbd_dev->acquiring_list); in rbd_lock_add_request()
3512 list_add_tail(&img_req->lock_item, &rbd_dev->running_list); in rbd_lock_add_request()
3524 if (!list_empty(&img_req->lock_item)) { in rbd_lock_del_request()
3525 list_del_init(&img_req->lock_item); in rbd_lock_del_request()
3913 struct rbd_img_request, lock_item); in wake_lock_waiters()
3917 list_move_tail(&img_req->lock_item, in wake_lock_waiters()
3920 list_del_init(&img_req->lock_item); in wake_lock_waiters()