Home
last modified time | relevance | path

Searched refs:DISK_NAME_LEN (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dlightnvm.h23 #define DISK_NAME_LEN 32 macro
46 char devname[DISK_NAME_LEN];
82 char dev[DISK_NAME_LEN];
84 char tgtname[DISK_NAME_LEN];
89 char tgtname[DISK_NAME_LEN];
93 char dev[DISK_NAME_LEN];
104 char dev[DISK_NAME_LEN];
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dlightnvm.h14 #define DISK_NAME_LEN 32 macro
38 char devname[DISK_NAME_LEN];
74 char dev[DISK_NAME_LEN];
76 char tgtname[DISK_NAME_LEN];
81 char tgtname[DISK_NAME_LEN];
85 char dev[DISK_NAME_LEN];
96 char dev[DISK_NAME_LEN];
/kernel/linux/linux-5.10/include/uapi/linux/
Dlightnvm.h29 #define DISK_NAME_LEN 32 macro
60 char devname[DISK_NAME_LEN];
103 char dev[DISK_NAME_LEN]; /* open-channel SSD device */
105 char tgtname[DISK_NAME_LEN]; /* dev to expose target as */
113 char tgtname[DISK_NAME_LEN];
119 char dev[DISK_NAME_LEN]; /* open-channel SSD device */
134 char dev[DISK_NAME_LEN];
/kernel/linux/linux-5.10/drivers/block/
Dnull_blk_trace.h27 memcpy(name, disk->disk_name, DISK_NAME_LEN); in __assign_disk_name()
29 memset(name, 0, DISK_NAME_LEN); in __assign_disk_name()
38 __array(char, disk, DISK_NAME_LEN)
60 __array(char, disk, DISK_NAME_LEN)
Dnull_blk.h94 char disk_name[DISK_NAME_LEN];
Dvirtio_blk.c791 virtblk_name_format("vd", index, vblk->disk->disk_name, DISK_NAME_LEN); in virtblk_probe()
Dxen-blkfront.c1178 BUG_ON(ptr >= gd->disk_name + DISK_NAME_LEN); in xlvbd_alloc_gendisk()
1182 snprintf(ptr, gd->disk_name + DISK_NAME_LEN - ptr, in xlvbd_alloc_gendisk()
Dnull_blk_main.c1704 strncpy(disk->disk_name, nullb->disk_name, DISK_NAME_LEN); in null_gendisk_register()
/kernel/linux/linux-5.10/drivers/nvme/host/
Dtrace.h41 memcpy(name, disk->disk_name, DISK_NAME_LEN); in __assign_disk_name()
43 memset(name, 0, DISK_NAME_LEN); in __assign_disk_name()
51 __array(char, disk, DISK_NAME_LEN)
89 __array(char, disk, DISK_NAME_LEN)
149 __array(char, disk, DISK_NAME_LEN)
Dlightnvm.c971 memcpy(dev->name, disk_name, DISK_NAME_LEN); in nvme_nvm_register()
Dcore.c3904 char disk_name[DISK_NAME_LEN]; in nvme_alloc_ns()
3942 memcpy(disk->disk_name, disk_name, DISK_NAME_LEN); in nvme_alloc_ns()
/kernel/linux/linux-5.10/drivers/nvme/target/
Dtrace.h52 strncpy(name, req->ns->device_path, DISK_NAME_LEN); in __assign_req_name()
54 memset(name, 0, DISK_NAME_LEN); in __assign_req_name()
64 __array(char, disk, DISK_NAME_LEN)
105 __array(char, disk, DISK_NAME_LEN)
/kernel/linux/linux-5.10/include/linux/
Dgenhd.h32 #define DISK_NAME_LEN 32 macro
176 char disk_name[DISK_NAME_LEN]; /* name of major driver */
Dlightnvm.h426 char name[DISK_NAME_LEN];
/kernel/linux/linux-5.10/drivers/s390/block/
Dscm_blk.c492 len = snprintf(bdev->gendisk->disk_name, DISK_NAME_LEN, "scm"); in scm_blk_dev_setup()
495 DISK_NAME_LEN - len, "%c", in scm_blk_dev_setup()
499 snprintf(bdev->gendisk->disk_name + len, DISK_NAME_LEN - len, "%c", in scm_blk_dev_setup()
/kernel/linux/linux-5.10/drivers/lightnvm/
Dcore.c1346 create.dev[DISK_NAME_LEN - 1] = '\0'; in nvm_ioctl_dev_create()
1348 create.tgtname[DISK_NAME_LEN - 1] = '\0'; in nvm_ioctl_dev_create()
1373 remove.tgtname[DISK_NAME_LEN - 1] = '\0'; in nvm_ioctl_dev_remove()
1407 fact.dev[DISK_NAME_LEN - 1] = '\0'; in nvm_ioctl_dev_factory()
Dpblk.h44 #define PBLK_CACHE_NAME_LEN (DISK_NAME_LEN + 16)
/kernel/linux/linux-5.10/drivers/md/bcache/
Dsuper.c953 snprintf(d->disk->disk_name, DISK_NAME_LEN, "bcache%i", idx); in bcache_device_init()
/kernel/linux/linux-5.10/drivers/mmc/core/
Dblock.c2543 char rpmb_name[DISK_NAME_LEN]; in mmc_blk_alloc_rpmb_part()
/kernel/linux/linux-5.10/drivers/scsi/
Dsd.c3424 error = sd_format_disk_name("sd", index, gd->disk_name, DISK_NAME_LEN); in sd_probe()
/kernel/linux/linux-5.10/drivers/block/mtip32xx/
Dmtip32xx.c3608 DISK_NAME_LEN); in mtip_block_initialize()
/kernel/linux/linux-5.10/drivers/md/
Dmd.c5774 char buf[DISK_NAME_LEN]; in add_named_array()
5779 if (len >= DISK_NAME_LEN) in add_named_array()