Searched refs:ref (Results 1 – 11 of 11) sorted by relevance
/block/partitions/ |
D | core.c | 303 static void hd_struct_free(struct percpu_ref *ref) in hd_struct_free() argument 305 struct hd_struct *part = container_of(ref, struct hd_struct, ref); in hd_struct_free() 318 if (percpu_ref_init(&part->ref, hd_struct_free, 0, GFP_KERNEL)) in hd_ref_init() 356 percpu_ref_kill(&part->ref); in delete_partition()
|
/block/ |
D | blk.h | 377 return percpu_ref_tryget_live(&part->ref); in hd_struct_try_get() 384 percpu_ref_put(&part->ref); in hd_struct_put() 391 percpu_ref_exit(&part->ref); in hd_free_part()
|
D | bfq-wf2q.c | 533 bfqq->ref++; in bfq_get_entity() 535 bfqq, bfqq->ref); in bfq_get_entity() 1633 int ref = in_serv_bfqq->ref; in __bfq_bfqd_reset_in_service() local 1635 if (ref == 1) in __bfq_bfqd_reset_in_service()
|
D | bfq-iosched.c | 795 bfqq->ref++; in bfq_weights_tree_add() 1071 return bfqq->ref - bfqq->allocated - bfqq->entity.on_st_or_in_serv - in bfqq_process_refs() 2559 new_bfqq->ref += process_refs; in bfq_setup_merge() 4866 bfqq, bfqq->ref); in bfq_put_queue() 4868 bfqq->ref--; in bfq_put_queue() 4869 if (bfqq->ref) in bfq_put_queue() 4964 bfq_log_bfqq(bfqd, bfqq, "exit_bfqq: %p, %d", bfqq, bfqq->ref); in bfq_exit_bfqq() 5091 bfqq->ref = 0; in bfq_init_bfqq() 5200 bfqq->ref++; /* in bfq_get_queue() 5208 bfqq, bfqq->ref); in bfq_get_queue() [all …]
|
D | blk-flush.c | 226 if (!refcount_dec_and_test(&flush_rq->ref)) { in flush_end_io() 347 refcount_set(&flush_rq->ref, 1); in blk_kick_flush()
|
D | bfq-iosched.h | 232 int ref; member 903 int ref; member
|
D | bfq-cgroup.c | 324 bfqg->ref++; in bfqg_get() 329 bfqg->ref--; in bfqg_put() 331 if (bfqg->ref == 0) in bfqg_put() 659 bfqq->ref++; in bfq_bfqq_move()
|
D | blk-mq-tag.c | 212 if (!rq || rq->tag != bitnr || !refcount_inc_not_zero(&rq->ref)) in blk_mq_find_and_get_req()
|
D | blk-core.c | 505 static void blk_queue_usage_counter_release(struct percpu_ref *ref) in blk_queue_usage_counter_release() argument 508 container_of(ref, struct request_queue, q_usage_counter); in blk_queue_usage_counter_release()
|
D | blk-mq.c | 330 refcount_set(&rq->ref, 1); in blk_mq_rq_ctx_init() 545 if (refcount_dec_and_test(&rq->ref)) in blk_mq_free_request() 958 else if (refcount_dec_and_test(&rq->ref)) in blk_mq_put_rq_ref() 2402 WARN_ON_ONCE(refcount_read(&rq->ref) != 0); in blk_mq_clear_rq_mapping() 2733 WARN_ON_ONCE(refcount_read(&flush_rq->ref) != 0); in blk_mq_clear_flush_rq_mapping()
|
D | blk-cgroup.c | 110 static void blkg_release(struct percpu_ref *ref) in blkg_release() argument 112 struct blkcg_gq *blkg = container_of(ref, struct blkcg_gq, refcnt); in blkg_release()
|