Searched refs:cur_dev (Results 1 – 4 of 4) sorted by relevance
37 static struct blk_desc *cur_dev; variable48 if (!cur_dev) in disk_read()51 ret = blk_dread(cur_dev, cur_part_info.start + block, nr_blocks, buf); in disk_read()63 cur_dev = dev_desc; in fat_set_blk_dev()68 cur_dev = NULL; in fat_set_blk_dev()74 cur_dev = NULL; in fat_set_blk_dev()84 cur_dev = NULL; in fat_set_blk_dev()93 cur_dev = NULL; in fat_register_device()486 if (cur_dev == NULL) { in read_bootsectandvi()491 block = malloc_cache_aligned(cur_dev->blksz); in read_bootsectandvi()[all …]
34 if (!cur_dev) in disk_write()43 ret = blk_dwrite(cur_dev, cur_part_info.start + block, nr_blocks, buf); in disk_write()
75 if (dip->stats.cur_dev == 0 || force) { in update_idle_time()263 INC_STAT(dip, cur_dev); in iostat_issue()280 DEC_STAT(dip, cur_dev); in iostat_complete()
121 int cur_qusz, cur_dev; member