/linux-2.6.39/drivers/block/ |
D | nbd.c | 111 dprintk(DBG_BLKDEV, "%s: request %p: %s\n", req->rq_disk->disk_name, in nbd_end_request() 131 lo->disk->disk_name); in sock_shutdown() 162 lo->disk->disk_name, (send ? "send" : "recv")); in sock_xmit() 245 lo->disk->disk_name, req, in nbd_send_req() 253 lo->disk->disk_name, result); in nbd_send_req() 269 lo->disk->disk_name, req, bvec->bv_len); in nbd_send_req() 273 lo->disk->disk_name, result); in nbd_send_req() 331 lo->disk->disk_name, result); in nbd_read_stat() 337 lo->disk->disk_name, in nbd_read_stat() 350 lo->disk->disk_name, reply.handle); in nbd_read_stat() [all …]
|
D | hd.c | 211 name = hd_req->rq_disk->disk_name; in dump_status() 471 req->rq_disk->disk_name, blk_rq_pos(req) + 1, in read_intr() 543 name = hd_req->rq_disk->disk_name; in hd_times_out() 563 printk("%s: cannot handle device with more than 16 heads - giving up\n", req->rq_disk->disk_name); in do_special_op() 610 req->rq_disk->disk_name, block, nsect); in hd_request() 626 req->rq_disk->disk_name, in hd_request() 754 sprintf(disk->disk_name, "hd%c", 'a'+drive); in hd_init() 761 disk->disk_name, (unsigned long)get_capacity(disk)/2048, in hd_init()
|
D | sunvdc.c | 69 char disk_name[32]; member 698 strcpy(g->disk_name, port->disk_name); in probe_disk() 708 g->disk_name, in probe_disk() 762 snprintf(port->disk_name, sizeof(port->disk_name), in vdc_port_probe() 767 snprintf(port->disk_name, sizeof(port->disk_name), in vdc_port_probe() 772 &vdc_vio_ops, port->disk_name); in vdc_port_probe()
|
D | viodasd.c | 73 MAX_DISK_NAME = FIELD_SIZEOF(struct gendisk, disk_name) 488 snprintf(g->disk_name, sizeof(g->disk_name), in probe_disk() 492 snprintf(g->disk_name, sizeof(g->disk_name), in probe_disk()
|
D | xen-blkfront.c | 437 info->gd->disk_name, in xlvbd_flush() 551 sprintf(gd->disk_name, "%s%c", DEV_NAME, 'a' + offset); in xlvbd_alloc_gendisk() 553 sprintf(gd->disk_name, "%s%c%c", DEV_NAME, in xlvbd_alloc_gendisk() 557 sprintf(gd->disk_name, "%s%c%d", DEV_NAME, in xlvbd_alloc_gendisk() 561 sprintf(gd->disk_name, "%s%c%c%d", DEV_NAME, in xlvbd_alloc_gendisk() 726 info->gd->disk_name); in blkif_interrupt() 732 info->gd->disk_name); in blkif_interrupt()
|
D | virtio_blk.c | 360 sprintf(vblk->disk->disk_name, "vd%c", 'a' + index % 26); in virtblk_probe() 362 sprintf(vblk->disk->disk_name, "vd%c%c", in virtblk_probe() 368 sprintf(vblk->disk->disk_name, "vd%c%c%c", in virtblk_probe()
|
D | ps3disk.c | 491 snprintf(gendisk->disk_name, sizeof(gendisk->disk_name), PS3DISK_NAME, in ps3disk_probe() 499 gendisk->disk_name, priv->model, priv->raw_capacity >> 11, in ps3disk_probe()
|
D | mg_disk.c | 169 name = host->req->rq_disk->disk_name; in mg_dump_status() 651 name = host->req->rq_disk->disk_name; in mg_times_out() 753 req->rq_disk->disk_name, in mg_request() 1002 sprintf(host->gd->disk_name, MG_DISK_NAME"a"); in mg_probe()
|
/linux-2.6.39/drivers/s390/block/ |
D | dasd_genhd.c | 58 len = sprintf(gdp->disk_name, "dasd"); in dasd_gendisk_alloc() 62 len += sprintf(gdp->disk_name + len, "%c", in dasd_gendisk_alloc() 65 len += sprintf(gdp->disk_name + len, "%c", in dasd_gendisk_alloc() 68 len += sprintf(gdp->disk_name + len, "%c", in dasd_gendisk_alloc() 71 len += sprintf(gdp->disk_name + len, "%c", 'a'+(base->devindex%26)); in dasd_gendisk_alloc()
|
/linux-2.6.39/fs/partitions/ |
D | check.c | 125 char *disk_name(struct gendisk *hd, int partno, char *buf) in disk_name() function 128 snprintf(buf, BDEVNAME_SIZE, "%s", hd->disk_name); in disk_name() 129 else if (isdigit(hd->disk_name[strlen(hd->disk_name)-1])) in disk_name() 130 snprintf(buf, BDEVNAME_SIZE, "%sp%d", hd->disk_name, partno); in disk_name() 132 snprintf(buf, BDEVNAME_SIZE, "%s%d", hd->disk_name, partno); in disk_name() 139 return disk_name(bdev->bd_disk, bdev->bd_part->partno, buf); in bdevname() 175 disk_name(hd, 0, state->name); in check_partition() 579 disk->disk_name); in rescan_partitions() 593 disk->disk_name); in rescan_partitions() 624 disk->disk_name, p, (unsigned long long) from); in rescan_partitions() [all …]
|
/linux-2.6.39/block/ |
D | blk-integrity.c | 154 gd1->disk_name, gd2->disk_name, in blk_integrity_compare() 161 gd1->disk_name, gd2->disk_name, in blk_integrity_compare() 168 gd1->disk_name, gd2->disk_name, in blk_integrity_compare() 175 gd1->disk_name, gd2->disk_name, in blk_integrity_compare()
|
D | genhd.c | 520 dev_set_name(ddev, disk->disk_name); in register_disk() 764 disk_name(disk, part->partno, name_buf), uuid); in printk_all_partitions() 856 disk_name(sgp, part->partno, buf)); in show_partition() 1160 disk_name(gp, hd->partno, buf), in diskstats_show() 1736 pr_warn("%s: failed to initialize events\n", disk->disk_name); in disk_add_events() 1743 disk->disk_name); in disk_add_events()
|
/linux-2.6.39/drivers/mmc/card/ |
D | block.c | 261 req->rq_disk->disk_name, err); in get_card_status() 438 "block read\n", req->rq_disk->disk_name); in mmc_blk_issue_rw_rq() 448 req->rq_disk->disk_name, brq.cmd.error, in mmc_blk_issue_rw_rq() 458 req->rq_disk->disk_name, brq.data.error, in mmc_blk_issue_rw_rq() 466 req->rq_disk->disk_name, brq.stop.error, in mmc_blk_issue_rw_rq() 480 req->rq_disk->disk_name, err); in mmc_blk_issue_rw_rq() 494 req->rq_disk->disk_name, cmd.resp[0]); in mmc_blk_issue_rw_rq() 638 snprintf(md->disk->disk_name, sizeof(md->disk->disk_name), in mmc_blk_alloc() 678 md->disk->disk_name, err); in mmc_blk_set_blksize() 708 md->disk->disk_name, mmc_card_id(card), mmc_card_name(card), in mmc_blk_probe()
|
/linux-2.6.39/drivers/mtd/ |
D | mtd_blkdevs.c | 388 snprintf(gd->disk_name, sizeof(gd->disk_name), in add_mtd_blktrans_dev() 391 snprintf(gd->disk_name, sizeof(gd->disk_name), in add_mtd_blktrans_dev() 396 snprintf(gd->disk_name, sizeof(gd->disk_name), in add_mtd_blktrans_dev()
|
/linux-2.6.39/drivers/scsi/osd/ |
D | osd_uld.c | 386 oud->disk ? oud->disk->disk_name : NULL); in __remove() 437 sprintf(disk->disk_name, "osd%d", oud->minor); in osd_probe() 468 error = dev_set_name(&oud->class_dev, disk->disk_name); in osd_probe() 482 OSD_INFO("osd_probe %s\n", disk->disk_name); in osd_probe()
|
/linux-2.6.39/drivers/scsi/ |
D | sd_dif.c | 100 bix->disk_name, (unsigned long)sector); in sd_dif_type1_verify() 107 bix->disk_name, (unsigned long)sector, in sd_dif_type1_verify() 116 "(rcvd %04x, data %04x)\n", bix->disk_name, in sd_dif_type1_verify() 233 "(rcvd %04x, data %04x)\n", bix->disk_name, in sd_dif_type3_verify()
|
D | sd.h | 94 (sdsk)->disk->disk_name, ##a) : \
|
D | sg.c | 332 SCSI_LOG_TIMEOUT(3, printk("sg_release: %s\n", sdp->disk->disk_name)); in sg_release() 358 sdp->disk->disk_name, (int) count)); in sg_read() 549 sdp->disk->disk_name, (int) count)); in sg_write() 787 sdp->disk->disk_name, (int) cmd_in)); in sg_ioctl() 1075 sdp->disk->disk_name, in sg_ioctl() 1158 sdp->disk->disk_name, (int) res)); in sg_poll() 1171 sdp->disk->disk_name, mode)); in sg_fasync() 1288 sdp->disk->disk_name, srp->header.pack_id, result)); in sg_rq_end_io() 1397 sprintf(disk->disk_name, "sg%d", k); in sg_alloc() 1471 sdp, "%s", disk->disk_name); in sg_add() [all …]
|
/linux-2.6.39/arch/powerpc/sysdev/ |
D | axonram.c | 240 sprintf(bank->disk->disk_name, "%s%d", in axon_ram_probe() 263 AXON_RAM_IRQ_FLAGS, bank->disk->disk_name, device); in axon_ram_probe() 289 bank->disk->disk_name); in axon_ram_probe()
|
/linux-2.6.39/drivers/message/i2o/ |
D | i2o_block.c | 113 i2o_blk_dev->gd->disk_name); in i2o_block_remove() 1078 sprintf(gd->disk_name, "i2o/hd%c", 'a' + unit); in i2o_block_probe() 1100 osm_warn("unable to get blocksize of %s\n", gd->disk_name); in i2o_block_probe() 1106 osm_warn("could not get size of %s\n", gd->disk_name); in i2o_block_probe() 1118 i2o_blk_dev->gd->disk_name); in i2o_block_probe()
|
/linux-2.6.39/fs/ |
D | bio-integrity.c | 355 bix.disk_name = bio->bi_bdev->bd_disk->disk_name; in bio_integrity_generate() 496 bix.disk_name = bio->bi_bdev->bd_disk->disk_name; in bio_integrity_verify()
|
/linux-2.6.39/include/linux/ |
D | amigaffs.h | 61 u8 disk_name[32]; member
|
/linux-2.6.39/drivers/staging/westbridge/astoria/block/ |
D | cyasblkdev_block.c | 457 req->rq_disk->disk_name); in cyasblkdev_blk_prep_rq() 1040 sprintf(bd->user_disk_0->disk_name, in cyasblkdev_add_disks() 1143 bd->user_disk_0->disk_name); in cyasblkdev_add_disks() 1200 sprintf(bd->user_disk_1->disk_name, in cyasblkdev_add_disks() 1290 bd->system_disk->disk_name, in cyasblkdev_add_disks()
|
/linux-2.6.39/drivers/block/aoe/ |
D | aoeblk.c | 288 snprintf(gd->disk_name, sizeof gd->disk_name, "etherd/e%ld.%d", in aoeblk_gdalloc()
|
/linux-2.6.39/drivers/staging/hv/ |
D | blkvsc_drv.c | 364 sprintf(blkdev->gd->disk_name, "hd%c", 'a' + devnum); in blkvsc_probe() 381 blkdev->gd->disk_name, (unsigned long)blkdev->capacity, in blkvsc_probe() 411 blkdev->users, blkdev->gd->disk_name); in blkvsc_shutdown() 1302 blkdev->gd->disk_name); in blkvsc_open() 1325 blkdev->gd->disk_name); in blkvsc_release()
|