/linux-5.19.10/drivers/s390/block/ |
D | dasd_genhd.c | 62 len = sprintf(gdp->disk_name, "dasd"); in dasd_gendisk_alloc() 66 len += sprintf(gdp->disk_name + len, "%c", in dasd_gendisk_alloc() 69 len += sprintf(gdp->disk_name + len, "%c", in dasd_gendisk_alloc() 72 len += sprintf(gdp->disk_name + len, "%c", in dasd_gendisk_alloc() 75 len += sprintf(gdp->disk_name + len, "%c", 'a'+(base->devindex%26)); in dasd_gendisk_alloc()
|
/linux-5.19.10/fs/crypto/ |
D | fname.c | 429 fname->disk_name.name = (unsigned char *)iname->name; in fscrypt_setup_filename() 430 fname->disk_name.len = iname->len; in fscrypt_setup_filename() 451 fname->disk_name.name = fname->crypto_buf.name; in fscrypt_setup_filename() 452 fname->disk_name.len = fname->crypto_buf.len; in fscrypt_setup_filename() 486 fname->disk_name.name = nokey_name->bytes; in fscrypt_setup_filename() 487 fname->disk_name.len = in fscrypt_setup_filename() 519 if (likely(fname->disk_name.name)) { in fscrypt_match_name() 520 if (de_name_len != fname->disk_name.len) in fscrypt_match_name() 522 return !memcmp(de_name, fname->disk_name.name, de_name_len); in fscrypt_match_name()
|
/linux-5.19.10/block/ |
D | blk-integrity.c | 134 __func__, gd1->disk_name, gd2->disk_name, in blk_integrity_compare() 141 gd1->disk_name, gd2->disk_name, in blk_integrity_compare() 148 gd1->disk_name, gd2->disk_name, in blk_integrity_compare() 155 gd1->disk_name, gd2->disk_name, in blk_integrity_compare()
|
D | blk-zoned.c | 488 disk->disk_name, zone->len); in blk_revalidate_zone_cb() 497 disk->disk_name); in blk_revalidate_zone_cb() 503 disk->disk_name); in blk_revalidate_zone_cb() 511 disk->disk_name, args->sector, zone->start); in blk_revalidate_zone_cb() 537 disk->disk_name, (int)zone->type, zone->start); in blk_revalidate_zone_cb() 585 pr_warn("%s: No zones reported\n", disk->disk_name); in blk_revalidate_disk_zones() 596 disk->disk_name, args.sector); in blk_revalidate_disk_zones() 615 pr_warn("%s: failed to revalidate zones\n", disk->disk_name); in blk_revalidate_disk_zones()
|
D | t10-pi.c | 75 "(rcvd %u)\n", iter->disk_name, in t10_pi_verify() 90 "(rcvd %04x, want %04x)\n", iter->disk_name, in t10_pi_verify() 337 iter->disk_name, seed, ref); in ext_pi_crc64_verify() 350 iter->disk_name, (unsigned long long)iter->seed, in ext_pi_crc64_verify()
|
D | disk-events.c | 286 bdev->bd_disk->disk_name); in bdev_check_media_change() 312 disk->disk_name); in disk_force_media_change() 456 pr_warn("%s: failed to initialize events\n", disk->disk_name); in disk_alloc_events()
|
D | genhd.c | 91 disk->disk_name, capacity, size); in set_capacity_and_notify() 117 snprintf(buf, BDEVNAME_SIZE, "%s", hd->disk_name); in bdevname() 118 else if (isdigit(hd->disk_name[strlen(hd->disk_name)-1])) in bdevname() 119 snprintf(buf, BDEVNAME_SIZE, "%sp%d", hd->disk_name, partno); in bdevname() 121 snprintf(buf, BDEVNAME_SIZE, "%s%d", hd->disk_name, partno); in bdevname() 463 dev_set_name(ddev, "%s", disk->disk_name); in device_add_disk()
|
/linux-5.19.10/include/linux/ |
D | fscrypt.h | 45 struct fscrypt_str disk_name; member 54 #define fname_name(p) ((p)->disk_name.name) 55 #define fname_len(p) ((p)->disk_name.len) 592 fname->disk_name.name = (unsigned char *)iname->name; in fscrypt_setup_filename() 593 fname->disk_name.len = iname->len; in fscrypt_setup_filename() 625 if (de_name_len != fname->disk_name.len) in fscrypt_match_name() 627 return !memcmp(de_name, fname->disk_name.name, fname->disk_name.len); in fscrypt_match_name() 951 fname->disk_name.name = (unsigned char *)dentry->d_name.name; in fscrypt_prepare_lookup() 952 fname->disk_name.len = dentry->d_name.len; in fscrypt_prepare_lookup()
|
/linux-5.19.10/drivers/block/ |
D | sunvdc.c | 88 char disk_name[32]; member 847 strcpy(g->disk_name, port->disk_name); in probe_disk() 858 pr_info(PFX "Virtual CDROM %s\n", port->disk_name); in probe_disk() 864 pr_info(PFX "Virtual DVD %s\n", port->disk_name); in probe_disk() 870 pr_info(PFX "Virtual Hard disk %s\n", port->disk_name); in probe_disk() 878 g->disk_name, in probe_disk() 998 snprintf(port->disk_name, sizeof(port->disk_name), in vdc_port_probe() 1003 snprintf(port->disk_name, sizeof(port->disk_name), in vdc_port_probe() 1018 &vdc_vio_ops, port->disk_name); in vdc_port_probe() 1141 port->disk_name, port->ldc_timeout); in vdc_ldc_reset_timer_work() [all …]
|
D | xen-blkfront.c | 993 info->gd->disk_name, flush_info(info), in xlvbd_flush() 1144 strcpy(gd->disk_name, DEV_NAME); in xlvbd_alloc_gendisk() 1145 ptr = encode_disk_name(gd->disk_name + sizeof(DEV_NAME) - 1, offset); in xlvbd_alloc_gendisk() 1146 BUG_ON(ptr >= gd->disk_name + DISK_NAME_LEN); in xlvbd_alloc_gendisk() 1150 snprintf(ptr, gd->disk_name + DISK_NAME_LEN - ptr, in xlvbd_alloc_gendisk() 1434 info->gd->disk_name, s->associated_id); in blkif_completion() 1533 info->gd->disk_name, rp - rinfo->ring.rsp_cons); in blkif_interrupt() 1553 info->gd->disk_name, id); in blkif_interrupt() 1558 info->gd->disk_name); in blkif_interrupt() 1570 info->gd->disk_name, bret.operation, op); in blkif_interrupt() [all …]
|
D | z2ram.c | 333 sprintf(disk->disk_name, "z2ram%d", minor); in z2ram_register_disk() 335 sprintf(disk->disk_name, "z2ram"); in z2ram_register_disk()
|
D | ps3disk.c | 459 snprintf(gendisk->disk_name, sizeof(gendisk->disk_name), PS3DISK_NAME, in ps3disk_probe() 467 gendisk->disk_name, priv->model, priv->raw_capacity >> 11, in ps3disk_probe()
|
/linux-5.19.10/block/partitions/ |
D | core.c | 139 snprintf(state->name, BDEVNAME_SIZE, "%s", hd->disk_name); in check_partition() 329 disk->disk_name); in add_partition() 333 disk->disk_name); in add_partition() 555 disk->disk_name, p, (unsigned long long) from); in blk_add_partition() 564 disk->disk_name, p, (unsigned long long) size); in blk_add_partition() 581 disk->disk_name, p, -PTR_ERR(part)); in blk_add_partition() 613 disk->disk_name); in blk_add_partitions() 625 disk->disk_name); in blk_add_partitions() 638 disk->disk_name); in blk_add_partitions()
|
D | amiga.c | 44 state->disk->disk_name, blk); in amiga_partition() 66 state->disk->disk_name, blk); in amiga_partition() 86 state->disk->disk_name, blk); in amiga_partition()
|
D | sgi.c | 65 state->disk->disk_name); in sgi_partition()
|
/linux-5.19.10/fs/f2fs/ |
D | dir.c | 116 fname->disk_name = crypt_name->disk_name; in __f2fs_setup_filename() 278 f.disk_name = fname->disk_name; in f2fs_match_name() 338 int s = GET_DENTRY_SLOTS(fname->disk_name.len); in find_in_level() 505 ri->i_namelen = cpu_to_le32(fname->disk_name.len); in init_dent_inode() 506 memcpy(ri->i_name, fname->disk_name.name, fname->disk_name.len); in init_dent_inode() 517 if (fname->disk_name.len + sizeof(f2fs_hash_t) <= in init_dent_inode() 520 &ri->i_name[fname->disk_name.len]); in init_dent_inode() 676 int slots = GET_DENTRY_SLOTS(fname->disk_name.len); in f2fs_has_enough_room() 722 slots = GET_DENTRY_SLOTS(fname->disk_name.len); in f2fs_add_regular_entry() 779 f2fs_update_dentry(ino, mode, &d, &fname->disk_name, fname->hash, in f2fs_add_regular_entry()
|
D | hash.c | 98 const u8 *name = fname->disk_name.name; in f2fs_hash_filename() 99 size_t len = fname->disk_name.len; in f2fs_hash_filename()
|
D | recovery.c | 129 fname->disk_name.len = le32_to_cpu(raw_inode->i_namelen); in init_recovered_filename() 130 fname->disk_name.name = raw_inode->i_name; in init_recovered_filename() 132 if (WARN_ON(fname->disk_name.len > F2FS_NAME_LEN)) in init_recovered_filename() 136 usr_fname->name = fname->disk_name.name; in init_recovered_filename() 137 usr_fname->len = fname->disk_name.len; in init_recovered_filename() 147 if (fname->disk_name.len + sizeof(f2fs_hash_t) > F2FS_NAME_LEN) in init_recovered_filename() 150 &raw_inode->i_name[fname->disk_name.len]); in init_recovered_filename()
|
/linux-5.19.10/drivers/mtd/ |
D | mtd_blkdevs.c | 352 snprintf(gd->disk_name, sizeof(gd->disk_name), in add_mtd_blktrans_dev() 355 snprintf(gd->disk_name, sizeof(gd->disk_name), in add_mtd_blktrans_dev() 360 snprintf(gd->disk_name, sizeof(gd->disk_name), in add_mtd_blktrans_dev()
|
/linux-5.19.10/fs/ext4/ |
D | crypto.c | 16 dst->disk_name = src->disk_name; in ext4_fname_from_fscrypt_name() 67 fname->disk_name.name = NULL; in ext4_fname_free_filename()
|
/linux-5.19.10/arch/xtensa/platforms/iss/ |
D | simdisk.c | 174 pr_info("SIMDISK: %s=%s\n", dev->gd->disk_name, dev->filename); in simdisk_attach() 198 dev->gd->disk_name, dev->filename); in simdisk_detach() 282 snprintf(dev->gd->disk_name, 32, "simdisk%d", which); in simdisk_setup()
|
/linux-5.19.10/drivers/block/aoe/ |
D | aoeblk.c | 201 p = strchr(d->gd->disk_name, '/'); in aoedisk_add_debugfs() 203 p = d->gd->disk_name; in aoedisk_add_debugfs() 410 snprintf(gd->disk_name, sizeof gd->disk_name, "etherd/e%ld.%d", in aoeblk_gdalloc()
|
D | aoedev.c | 250 p = kbasename(d->gd->disk_name); in user_req() 251 lim = sizeof(d->gd->disk_name); in user_req() 252 lim -= p - d->gd->disk_name; in user_req()
|
/linux-5.19.10/fs/nfs/blocklayout/ |
D | dev.c | 259 d->bdev->bd_disk->disk_name); in bl_parse_simple() 375 d->bdev->bd_disk->disk_name, d->pr_key); in bl_parse_scsi() 380 d->bdev->bd_disk->disk_name); in bl_parse_scsi() 388 d->bdev->bd_disk->disk_name); in bl_parse_scsi()
|
/linux-5.19.10/drivers/block/null_blk/ |
D | trace.h | 27 memcpy(name, disk->disk_name, DISK_NAME_LEN); in __assign_disk_name()
|