Searched refs:ref (Results 1 – 9 of 9) sorted by relevance
/block/ |
D | t10-pi.c | 326 u64 ref, seed; in ext_pi_crc64_verify() local 333 ref = get_unaligned_be48(pi->ref_tag); in ext_pi_crc64_verify() 335 if (ref != seed) { in ext_pi_crc64_verify() 337 iter->disk_name, seed, ref); in ext_pi_crc64_verify() 397 u64 ref = get_unaligned_be48(pi->ref_tag); in ext_pi_type1_prepare() local 399 if (ref == virt) in ext_pi_type1_prepare() 432 u64 ref = get_unaligned_be48(pi->ref_tag); in ext_pi_type1_complete() local 434 if (ref == ref_tag) in ext_pi_type1_complete()
|
D | blk.h | 526 ((unsigned int) atomic_read(&(req->ref)) + 127u <= 127u) 530 return atomic_inc_not_zero(&req->ref); in req_ref_inc_not_zero() 536 return atomic_dec_and_test(&req->ref); in req_ref_put_and_test() 541 atomic_set(&req->ref, value); in req_ref_set() 546 return atomic_read(&req->ref); in req_ref_read()
|
D | bfq-wf2q.c | 529 bfqq->ref++; in bfq_get_entity() 531 bfqq, bfqq->ref); in bfq_get_entity() 1578 int ref = in_serv_bfqq->ref; in __bfq_bfqd_reset_in_service() local 1580 if (ref == 1) in __bfq_bfqd_reset_in_service()
|
D | fops.c | 116 atomic_t ref; member 131 if (atomic_dec_and_test(&dio->ref)) { in blkdev_bio_end_io() 183 atomic_set(&dio->ref, 1); in __blkdev_direct_IO() 251 atomic_inc(&dio->ref); in __blkdev_direct_IO()
|
D | bfq-iosched.c | 964 bfqq->ref++; in bfq_weights_tree_add() 1201 return bfqq->ref - bfqq->entity.allocated - in bfqq_process_refs() 2815 new_bfqq->ref += process_refs; in bfq_setup_merge() 5339 bfq_log_bfqq(bfqq->bfqd, bfqq, "put_queue: %p %d", bfqq, bfqq->ref); in bfq_put_queue() 5341 bfqq->ref--; in bfq_put_queue() 5342 if (bfqq->ref) in bfq_put_queue() 5444 bfq_log_bfqq(bfqd, bfqq, "exit_bfqq: %p, %d", bfqq, bfqq->ref); in bfq_exit_bfqq() 5603 bfqq->ref = 0; in bfq_init_bfqq() 5814 last_bfqq_created->ref++; in bfq_do_or_sched_stable_merge() 5873 bfqq->ref++; /* in bfq_get_queue() [all …]
|
D | bfq-iosched.h | 248 int ref; member 1010 refcount_t ref; member
|
D | bfq-cgroup.c | 319 refcount_inc(&bfqg->ref); in bfqg_get() 324 if (refcount_dec_and_test(&bfqg->ref)) in bfqg_put() 525 refcount_set(&bfqg->ref, 1); in bfq_pd_alloc() 659 bfqq->ref++; in bfq_bfqq_move()
|
D | blk-core.c | 386 static void blk_queue_usage_counter_release(struct percpu_ref *ref) in blk_queue_usage_counter_release() argument 389 container_of(ref, struct request_queue, q_usage_counter); in blk_queue_usage_counter_release()
|
D | blk-cgroup.c | 200 static void blkg_release(struct percpu_ref *ref) in blkg_release() argument 202 struct blkcg_gq *blkg = container_of(ref, struct blkcg_gq, refcnt); in blkg_release()
|