Searched refs:nr (Results 1 – 6 of 6) sorted by relevance
/block/ |
D | kyber-iosched.c | 543 int nr; in rq_clear_domain_token() local 545 nr = rq_get_domain_token(rq); in rq_clear_domain_token() 546 if (nr != -1) { in rq_clear_domain_token() 548 sbitmap_queue_clear(&kqd->domain_tokens[sched_domain], nr, in rq_clear_domain_token() 712 int nr; in kyber_get_domain_token() local 714 nr = __sbitmap_queue_get(domain_tokens); in kyber_get_domain_token() 721 if (nr < 0 && list_empty_careful(&wait->wait.entry)) { in kyber_get_domain_token() 731 nr = __sbitmap_queue_get(domain_tokens); in kyber_get_domain_token() 741 if (nr >= 0 && !list_empty_careful(&wait->wait.entry)) { in kyber_get_domain_token() 748 return nr; in kyber_get_domain_token() [all …]
|
D | bio.c | 30 unsigned int nr; member 630 unsigned int nr) in bio_alloc_cache_prune() argument 636 cache->nr--; in bio_alloc_cache_prune() 638 if (++i == nr) in bio_alloc_cache_prune() 696 if (++cache->nr > ALLOC_CACHE_MAX + ALLOC_CACHE_SLACK) in bio_put() 1071 size_t i, nr = DIV_ROUND_UP(size + (off & ~PAGE_MASK), PAGE_SIZE); in bio_put_pages() local 1073 for (i = 0; i < nr; i++) in bio_put_pages() 1698 cache->nr--; in bio_alloc_kiocb()
|
D | blk-sysfs.c | 69 unsigned long nr; in queue_requests_store() local 75 ret = queue_var_store(&nr, page, count); in queue_requests_store() 79 if (nr < BLKDEV_MIN_RQ) in queue_requests_store() 80 nr = BLKDEV_MIN_RQ; in queue_requests_store() 82 err = blk_mq_update_nr_requests(q, nr); in queue_requests_store()
|
D | blk-mq.h | 43 int blk_mq_update_nr_requests(struct request_queue *q, unsigned int nr);
|
D | blk-mq.c | 3610 int blk_mq_update_nr_requests(struct request_queue *q, unsigned int nr) in blk_mq_update_nr_requests() argument 3619 if (q->nr_requests == nr) in blk_mq_update_nr_requests() 3634 ret = blk_mq_tag_update_depth(hctx, &hctx->tags, nr, in blk_mq_update_nr_requests() 3637 blk_mq_tag_resize_shared_sbitmap(set, nr); in blk_mq_update_nr_requests() 3640 nr, true); in blk_mq_update_nr_requests() 3654 q->nr_requests = nr; in blk_mq_update_nr_requests() 3657 nr - set->reserved_tags); in blk_mq_update_nr_requests()
|
/block/partitions/ |
D | core.c | 100 int nr; in allocate_partitions() local 106 nr = disk_max_parts(hd); in allocate_partitions() 107 state->parts = vzalloc(array_size(nr, sizeof(state->parts[0]))); in allocate_partitions() 113 state->limit = nr; in allocate_partitions()
|