Home
last modified time | relevance | path

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

/block/
Dpartition-generic.c35 char *disk_name(struct gendisk *hd, int partno, char *buf) in disk_name() function
38 snprintf(buf, BDEVNAME_SIZE, "%s", hd->disk_name); in disk_name()
39 else if (isdigit(hd->disk_name[strlen(hd->disk_name)-1])) in disk_name()
40 snprintf(buf, BDEVNAME_SIZE, "%sp%d", hd->disk_name, partno); in disk_name()
42 snprintf(buf, BDEVNAME_SIZE, "%s%d", hd->disk_name, partno); in disk_name()
49 return disk_name(bdev->bd_disk, bdev->bd_part->partno, buf); in bdevname()
56 return disk_name(bio->bi_disk, bio->bi_partno, buf); in bio_devname()
533 disk->disk_name); in rescan_partitions()
547 disk->disk_name); in rescan_partitions()
577 disk->disk_name, p, (unsigned long long) from); in rescan_partitions()
[all …]
Dblk-integrity.c156 __func__, gd1->disk_name, gd2->disk_name, in blk_integrity_compare()
163 gd1->disk_name, gd2->disk_name, in blk_integrity_compare()
170 gd1->disk_name, gd2->disk_name, in blk_integrity_compare()
177 gd1->disk_name, gd2->disk_name, in blk_integrity_compare()
Dt10-pi.c88 "(rcvd %u)\n", iter->disk_name, in t10_pi_verify()
105 "(rcvd %04x, want %04x)\n", iter->disk_name, in t10_pi_verify()
Dbio-integrity.c202 iter.disk_name = bio->bi_disk->disk_name; in bio_integrity_process()
Dgenhd.c577 dev_set_name(ddev, "%s", disk->disk_name); in register_disk()
869 , disk_name(disk, part->partno, name_buf), in printk_all_partitions()
962 disk_name(sgp, part->partno, buf)); in show_partition()
1287 disk_name(gp, hd->partno, buf), in diskstats_show()
1914 pr_warn("%s: failed to initialize events\n", disk->disk_name); in disk_alloc_events()
1937 disk->disk_name); in disk_add_events()
Dblk-tag.c322 rq->rq_disk ? rq->rq_disk->disk_name : "?", rq->tag); in blk_queue_start_tag()
Dblk-settings.c714 disk_name(disk, 0, top); in disk_stack_limits()
Dblk-core.c187 req->rq_disk->disk_name : "?", in print_req_error()
210 rq->rq_disk ? rq->rq_disk->disk_name : "?", in blk_dump_rq_flags()
/block/partitions/
Dcheck.c159 disk_name(hd, 0, state->name); in check_partition()