Home
last modified time | relevance | path

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

1234

/linux-6.1.9/drivers/s390/block/
Ddasd_genhd.c80 len = sprintf(gdp->disk_name, "dasd"); in dasd_gendisk_alloc()
84 len += sprintf(gdp->disk_name + len, "%c", in dasd_gendisk_alloc()
87 len += sprintf(gdp->disk_name + len, "%c", in dasd_gendisk_alloc()
90 len += sprintf(gdp->disk_name + len, "%c", in dasd_gendisk_alloc()
93 len += sprintf(gdp->disk_name + len, "%c", 'a'+(base->devindex%26)); in dasd_gendisk_alloc()
/linux-6.1.9/fs/crypto/
Dfname.c454 fname->disk_name.name = (unsigned char *)iname->name; in fscrypt_setup_filename()
455 fname->disk_name.len = iname->len; in fscrypt_setup_filename()
475 fname->disk_name.name = fname->crypto_buf.name; in fscrypt_setup_filename()
476 fname->disk_name.len = fname->crypto_buf.len; in fscrypt_setup_filename()
510 fname->disk_name.name = nokey_name->bytes; in fscrypt_setup_filename()
511 fname->disk_name.len = in fscrypt_setup_filename()
543 if (likely(fname->disk_name.name)) { in fscrypt_match_name()
544 if (de_name_len != fname->disk_name.len) in fscrypt_match_name()
546 return !memcmp(de_name, fname->disk_name.name, de_name_len); in fscrypt_match_name()
/linux-6.1.9/block/
Dblk-integrity.c134 __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()
Dblk-zoned.c483 disk->disk_name, zone->len); in blk_revalidate_zone_cb()
492 disk->disk_name); in blk_revalidate_zone_cb()
498 disk->disk_name); in blk_revalidate_zone_cb()
506 disk->disk_name, args->sector, zone->start); in blk_revalidate_zone_cb()
532 disk->disk_name, (int)zone->type, zone->start); in blk_revalidate_zone_cb()
580 pr_warn("%s: No zones reported\n", disk->disk_name); in blk_revalidate_disk_zones()
591 disk->disk_name, args.sector); in blk_revalidate_disk_zones()
610 pr_warn("%s: failed to revalidate zones\n", disk->disk_name); in blk_revalidate_disk_zones()
Dt10-pi.c75 "(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()
Ddisk-events.c286 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()
/linux-6.1.9/include/linux/
Dfscrypt.h45 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()
949 fname->disk_name.name = (unsigned char *)dentry->d_name.name; in fscrypt_prepare_lookup()
950 fname->disk_name.len = dentry->d_name.len; in fscrypt_prepare_lookup()
/linux-6.1.9/drivers/block/
Dsunvdc.c88 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 …]
Dxen-blkfront.c993 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 …]
Dz2ram.c333 sprintf(disk->disk_name, "z2ram%d", minor); in z2ram_register_disk()
335 sprintf(disk->disk_name, "z2ram"); in z2ram_register_disk()
Dps3disk.c459 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-6.1.9/block/partitions/
Dcore.c138 snprintf(state->name, BDEVNAME_SIZE, "%s", hd->disk_name); in check_partition()
328 disk->disk_name); in add_partition()
332 disk->disk_name); in add_partition()
554 disk->disk_name, p, (unsigned long long) from); in blk_add_partition()
563 disk->disk_name, p, (unsigned long long) size); in blk_add_partition()
580 disk->disk_name, p, -PTR_ERR(part)); in blk_add_partition()
612 disk->disk_name); in blk_add_partitions()
624 disk->disk_name); in blk_add_partitions()
637 disk->disk_name); in blk_add_partitions()
Damiga.c44 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()
Dsgi.c65 state->disk->disk_name); in sgi_partition()
/linux-6.1.9/fs/f2fs/
Ddir.c116 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()
Dhash.c98 const u8 *name = fname->disk_name.name; in f2fs_hash_filename()
99 size_t len = fname->disk_name.len; in f2fs_hash_filename()
Drecovery.c129 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()
Dinline.c497 fname.disk_name.name = d.filename[bit_pos]; in f2fs_add_inline_entries()
498 fname.disk_name.len = le16_to_cpu(de->name_len); in f2fs_add_inline_entries()
625 int slots = GET_DENTRY_SLOTS(fname->disk_name.len); in f2fs_add_inline_entry()
656 f2fs_update_dentry(ino, mode, &d, &fname->disk_name, fname->hash, in f2fs_add_inline_entry()
/linux-6.1.9/drivers/mtd/
Dmtd_blkdevs.c352 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-6.1.9/fs/ext4/
Dcrypto.c16 dst->disk_name = src->disk_name; in ext4_fname_from_fscrypt_name()
67 fname->disk_name.name = NULL; in ext4_fname_free_filename()
/linux-6.1.9/arch/xtensa/platforms/iss/
Dsimdisk.c174 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-6.1.9/drivers/block/aoe/
Daoeblk.c190 p = strchr(d->gd->disk_name, '/'); in aoedisk_add_debugfs()
192 p = d->gd->disk_name; in aoedisk_add_debugfs()
399 snprintf(gd->disk_name, sizeof gd->disk_name, "etherd/e%ld.%d", in aoeblk_gdalloc()
Daoedev.c250 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-6.1.9/fs/nfs/blocklayout/
Ddev.c259 d->bdev->bd_disk->disk_name); in bl_parse_simple()
355 d->bdev->bd_disk->disk_name, d->pr_key); in bl_parse_scsi()
360 d->bdev->bd_disk->disk_name); in bl_parse_scsi()
368 d->bdev->bd_disk->disk_name); in bl_parse_scsi()
/linux-6.1.9/drivers/block/null_blk/
Dtrace.h27 memcpy(name, disk->disk_name, DISK_NAME_LEN); in __assign_disk_name()

1234