Lines Matching refs:cur_dev
44 static struct blk_desc *cur_dev; variable
55 if (!cur_dev) in disk_read()
58 ret = blk_dread(cur_dev, cur_part_info.start + block, nr_blocks, buf); in disk_read()
70 cur_dev = dev_desc; in fat_set_blk_dev()
75 cur_dev = NULL; in fat_set_blk_dev()
81 cur_dev = NULL; in fat_set_blk_dev()
91 cur_dev = NULL; in fat_set_blk_dev()
100 cur_dev = NULL; in fat_register_device()
493 if (cur_dev == NULL) { in read_bootsectandvi()
498 block = malloc_cache_aligned(cur_dev->blksz); in read_bootsectandvi()
979 if (cur_dev == NULL) { in file_fat_detectfs()
990 switch (cur_dev->if_type) { in file_fat_detectfs()
1016 printf("\n Device %d: ", cur_dev->devnum); in file_fat_detectfs()
1017 dev_print(cur_dev); in file_fat_detectfs()