Searched refs:ref (Results 1 – 3 of 3) sorted by relevance
725 container_of(kref, struct bsg_class_device, ref); in bsg_kref_release_function()766 kref_put(&q->bsg_dev.ref, bsg_kref_release_function); in bsg_put_device()834 kref_get(&bcd->ref); in bsg_get_device()846 kref_put(&bcd->ref, bsg_kref_release_function); in bsg_get_device()994 kref_put(&bcd->ref, bsg_kref_release_function); in bsg_unregister_queue()1037 kref_init(&bcd->ref); in bsg_register_queue()
99 int ref; member2852 process_refs = cfqq->ref - io_refs; in cfqq_process_refs()2892 new_cfqq->ref += process_refs; in cfq_setup_merge()2895 cfqq->ref += new_process_refs; in cfq_setup_merge()3375 BUG_ON(cfqq->ref <= 0); in cfq_put_queue()3377 cfqq->ref--; in cfq_put_queue()3378 if (cfqq->ref) in cfq_put_queue()3532 cfqq->ref = 0; in cfq_init_cfqq()3686 cfqq->ref++; in cfq_get_queue()3690 cfqq->ref++; in cfq_get_queue()[all …]
102 static void blk_mq_usage_counter_release(struct percpu_ref *ref) in blk_mq_usage_counter_release() argument105 container_of(ref, struct request_queue, mq_usage_counter); in blk_mq_usage_counter_release()