Home
last modified time | relevance | path

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

1234

/linux-6.6.21/block/partitions/
Damiga.c56 state->disk->disk_name, blk); in amiga_partition()
78 state->disk->disk_name, blk); in amiga_partition()
97 state->disk->disk_name, blk, part); in amiga_partition()
103 state->disk->disk_name, blk); in amiga_partition()
127 state->disk->disk_name, cylblk); in amiga_partition()
134 state->disk->disk_name, cylblk, in amiga_partition()
144 state->disk->disk_name, part); in amiga_partition()
165 state->disk->disk_name, part, in amiga_partition()
171 state->disk->disk_name, part, in amiga_partition()
Dcore.c130 snprintf(state->name, BDEVNAME_SIZE, "%s", hd->disk_name); in check_partition()
322 disk->disk_name); in add_partition()
326 disk->disk_name); in add_partition()
553 disk->disk_name, p, (unsigned long long) from); in blk_add_partition()
562 disk->disk_name, p, (unsigned long long) size); in blk_add_partition()
579 disk->disk_name, p, -PTR_ERR(part)); in blk_add_partition()
611 disk->disk_name); in blk_add_partitions()
623 disk->disk_name); in blk_add_partitions()
636 disk->disk_name); in blk_add_partitions()
Dsgi.c65 state->disk->disk_name); in sgi_partition()
/linux-6.6.21/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.6.21/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.c463 disk->disk_name, args->sector, zone->start); in blk_revalidate_zone_cb()
469 disk->disk_name, zone->start, zone->len); in blk_revalidate_zone_cb()
480 disk->disk_name); in blk_revalidate_zone_cb()
485 disk->disk_name); in blk_revalidate_zone_cb()
511 disk->disk_name, (int)zone->type, zone->start); in blk_revalidate_zone_cb()
559 disk->disk_name, zone_sectors); in blk_revalidate_disk_zones()
565 disk->disk_name); in blk_revalidate_disk_zones()
579 pr_warn("%s: No zones reported\n", disk->disk_name); in blk_revalidate_disk_zones()
590 disk->disk_name, args.sector); in blk_revalidate_disk_zones()
608 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()
/linux-6.6.21/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.6.21/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)
604 fname->disk_name.name = (unsigned char *)iname->name; in fscrypt_setup_filename()
605 fname->disk_name.len = iname->len; in fscrypt_setup_filename()
637 if (de_name_len != fname->disk_name.len) in fscrypt_match_name()
639 return !memcmp(de_name, fname->disk_name.name, fname->disk_name.len); in fscrypt_match_name()
967 fname->disk_name.name = (unsigned char *)dentry->d_name.name; in fscrypt_prepare_lookup()
968 fname->disk_name.len = dentry->d_name.len; in fscrypt_prepare_lookup()
/linux-6.6.21/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()
1000 snprintf(port->disk_name, sizeof(port->disk_name), in vdc_port_probe()
1005 snprintf(port->disk_name, sizeof(port->disk_name), in vdc_port_probe()
1020 &vdc_vio_ops, port->disk_name); in vdc_port_probe()
1143 port->disk_name, port->ldc_timeout); in vdc_ldc_reset_timer_work()
[all …]
Dxen-blkfront.c994 info->gd->disk_name, flush_info(info), in xlvbd_flush()
1145 strcpy(gd->disk_name, DEV_NAME); in xlvbd_alloc_gendisk()
1146 ptr = encode_disk_name(gd->disk_name + sizeof(DEV_NAME) - 1, offset); in xlvbd_alloc_gendisk()
1147 BUG_ON(ptr >= gd->disk_name + DISK_NAME_LEN); in xlvbd_alloc_gendisk()
1151 snprintf(ptr, gd->disk_name + DISK_NAME_LEN - ptr, in xlvbd_alloc_gendisk()
1435 info->gd->disk_name, s->associated_id); in blkif_completion()
1534 info->gd->disk_name, rp - rinfo->ring.rsp_cons); in blkif_interrupt()
1554 info->gd->disk_name, id); in blkif_interrupt()
1559 info->gd->disk_name); in blkif_interrupt()
1571 info->gd->disk_name, bret.operation, op); in blkif_interrupt()
[all …]
Dz2ram.c331 sprintf(disk->disk_name, "z2ram%d", minor); in z2ram_register_disk()
333 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.6.21/fs/f2fs/
Ddir.c83 fname->disk_name = crypt_name->disk_name; in __f2fs_setup_filename()
245 f.disk_name = fname->disk_name; in f2fs_match_name()
305 int s = GET_DENTRY_SLOTS(fname->disk_name.len); in find_in_level()
476 ri->i_namelen = cpu_to_le32(fname->disk_name.len); in init_dent_inode()
477 memcpy(ri->i_name, fname->disk_name.name, fname->disk_name.len); in init_dent_inode()
488 if (fname->disk_name.len + sizeof(f2fs_hash_t) <= in init_dent_inode()
491 &ri->i_name[fname->disk_name.len]); in init_dent_inode()
647 int slots = GET_DENTRY_SLOTS(fname->disk_name.len); in f2fs_has_enough_room()
693 slots = GET_DENTRY_SLOTS(fname->disk_name.len); in f2fs_add_regular_entry()
748 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.c495 fname.disk_name.name = d.filename[bit_pos]; in f2fs_add_inline_entries()
496 fname.disk_name.len = le16_to_cpu(de->name_len); in f2fs_add_inline_entries()
623 int slots = GET_DENTRY_SLOTS(fname->disk_name.len); in f2fs_add_inline_entry()
655 f2fs_update_dentry(ino, mode, &d, &fname->disk_name, fname->hash, in f2fs_add_inline_entry()
/linux-6.6.21/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.6.21/fs/ext4/
Dcrypto.c16 dst->disk_name = src->disk_name; in ext4_fname_from_fscrypt_name()
71 fname->disk_name.name = NULL; in ext4_fname_free_filename()
/linux-6.6.21/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.6.21/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()
400 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.6.21/fs/nfs/blocklayout/
Ddev.c260 d->bdev->bd_disk->disk_name); in bl_parse_simple()
357 d->bdev->bd_disk->disk_name, d->pr_key); in bl_parse_scsi()
362 d->bdev->bd_disk->disk_name); in bl_parse_scsi()
370 d->bdev->bd_disk->disk_name); in bl_parse_scsi()
/linux-6.6.21/drivers/block/null_blk/
Dtrace.h27 memcpy(name, disk->disk_name, DISK_NAME_LEN); in __assign_disk_name()
/linux-6.6.21/fs/pstore/
DKconfig115 2) /dev/<disk_name> represents the device name of disk
116 3) /dev/<disk_name><decimal> represents the device name and number
118 4) /dev/<disk_name>p<decimal> - same as the above, this form is

1234