Home
last modified time | relevance | path

Searched refs:bdi (Results 1 – 9 of 9) sorted by relevance

/block/
Dblk-wbt.c100 struct bdi_writeback *wb = &rwb->rqos.q->disk->bdi->wb; in wb_recent_wait()
237 struct backing_dev_info *bdi = rwb->rqos.q->disk->bdi; in latency_exceeded() local
253 trace_wbt_lat(bdi, thislat); in latency_exceeded()
277 trace_wbt_lat(bdi, stat[READ].min); in latency_exceeded()
278 trace_wbt_stat(bdi, stat); in latency_exceeded()
283 trace_wbt_stat(bdi, stat); in latency_exceeded()
290 struct backing_dev_info *bdi = rwb->rqos.q->disk->bdi; in rwb_trace_step() local
293 trace_wbt_step(bdi, msg, rqd->scale_step, rwb->cur_win_nsec, in rwb_trace_step()
365 trace_wbt_timer(rwb->rqos.q->disk->bdi, status, rqd->scale_step, in wb_timer_fn()
Dgenhd.c502 ret = bdi_register(disk->bdi, "%u:%u", in device_add_disk()
506 bdi_set_owner(disk->bdi, ddev); in device_add_disk()
508 &disk->bdi->dev->kobj, "bdi"); in device_add_disk()
529 bdi_unregister(disk->bdi); in device_add_disk()
624 bdi_unregister(disk->bdi); in del_gendisk()
1295 disk->bdi = bdi_alloc(node_id); in __alloc_disk_node()
1296 if (!disk->bdi) in __alloc_disk_node()
1327 bdi_put(disk->bdi); in __alloc_disk_node()
Dblk-settings.c146 q->disk->bdi->io_pages = max_sectors >> (PAGE_SHIFT - 9); in blk_queue_max_hw_sectors()
394 disk->bdi->ra_pages = in disk_update_readahead()
396 disk->bdi->io_pages = queue_max_sectors(q) >> (PAGE_SHIFT - 9); in disk_update_readahead()
480 q->disk->bdi->ra_pages = in blk_queue_io_opt()
Dioctl.c525 bdev->bd_disk->bdi->ra_pages = (arg * 512) / PAGE_SIZE; in blkdev_common_ioctl()
576 (bdev->bd_disk->bdi->ra_pages * PAGE_SIZE) / 512); in blkdev_ioctl()
648 (bdev->bd_disk->bdi->ra_pages * PAGE_SIZE) / 512); in compat_blkdev_ioctl()
Dblk-sysfs.c95 ra_kb = q->disk->bdi->ra_pages << (PAGE_SHIFT - 10); in queue_ra_show()
110 q->disk->bdi->ra_pages = ra_kb >> (PAGE_SHIFT - 10); in queue_ra_store()
258 q->disk->bdi->io_pages = max_sectors_kb >> (PAGE_SHIFT - 10); in queue_max_sectors_store()
Dbdev.c408 if (bdev->bd_disk && bdev->bd_disk->bdi) in bdev_free_inode()
409 bdi_put(bdev->bd_disk->bdi); in bdev_free_inode()
Dblk-cgroup.c505 if (!blkg->q->disk || !blkg->q->disk->bdi->dev) in blkg_dev_name()
507 return bdi_dev_name(blkg->q->disk->bdi); in blkg_dev_name()
Dblk-mq.c541 laptop_io_completion(q->disk->bdi); in blk_mq_free_request()
Dbfq-iosched.c5305 bdi_dev_name(bfqq->bfqd->queue->disk->bdi), in bfq_set_next_ioprio_data()