/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | storage_common.c | 231 if (curlun->cdrom) { in fsg_lun_open() 244 if (curlun->cdrom) { in fsg_lun_open() 360 return sprintf(buf, "%u\n", curlun->cdrom); in fsg_show_cdrom() 470 bool cdrom; in fsg_store_cdrom() local 473 ret = strtobool(buf, &cdrom); in fsg_store_cdrom() 478 ret = cdrom ? _fsg_store_ro(curlun, true) : 0; in fsg_store_cdrom() 481 curlun->cdrom = cdrom; in fsg_store_cdrom()
|
H A D | f_mass_storage.h | 12 bool cdrom[FSG_MAX_LUNS]; member 39 _FSG_MODULE_PARAM_ARRAY(prefix, params, cdrom, bool, \ 91 char cdrom; member
|
H A D | f_mass_storage.c | 74 * ->cdrom Flag specifying that LUN shall be reported as 1090 buf[0] = curlun->cdrom ? TYPE_ROM : TYPE_DISK; in do_inquiry() 1935 if (!common->curlun || !common->curlun->cdrom) in do_scsi_command() 1947 if (!common->curlun || !common->curlun->cdrom) in do_scsi_command() 2738 return lun->cdrom ? S_IRUGO : (S_IWUSR | S_IRUGO); in fsg_lun_dev_is_visible() 2779 lun->cdrom = !!cfg->cdrom; in fsg_common_create_lun() 2780 lun->ro = cfg->cdrom || cfg->ro; in fsg_common_create_lun() 2824 lun->cdrom ? "CD-ROM " : "", in fsg_common_create_lun() 2875 pn ?: ((*common->luns)->cdrom in fsg_common_set_inquiry_string() [all...] |
H A D | storage_common.h | 106 unsigned int cdrom:1; member
|
/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
H A D | storage_common.c | 232 if (curlun->cdrom) { in fsg_lun_open() 245 if (curlun->cdrom) { in fsg_lun_open() 361 return sprintf(buf, "%u\n", curlun->cdrom); in fsg_show_cdrom() 471 bool cdrom; in fsg_store_cdrom() local 474 ret = kstrtobool(buf, &cdrom); in fsg_store_cdrom() 479 ret = cdrom ? _fsg_store_ro(curlun, true) : 0; in fsg_store_cdrom() 482 curlun->cdrom = cdrom; in fsg_store_cdrom()
|
H A D | f_mass_storage.h | 12 bool cdrom[FSG_MAX_LUNS]; member 39 _FSG_MODULE_PARAM_ARRAY(prefix, params, cdrom, bool, \ 91 char cdrom; member
|
H A D | f_mass_storage.c | 44 * ->cdrom Flag specifying that LUN shall be reported as 1066 buf[0] = curlun->cdrom ? TYPE_ROM : TYPE_DISK; in do_inquiry() 1995 if (!common->curlun || !common->curlun->cdrom) in do_scsi_command() 2007 if (!common->curlun || !common->curlun->cdrom) in do_scsi_command() 2686 * fsg_lun_dev_is_visible() depending on if this is a cdrom, or if it is a 2855 return lun->cdrom ? S_IRUGO : (S_IWUSR | S_IRUGO); in fsg_lun_dev_is_visible() 2896 lun->cdrom = !!cfg->cdrom; in fsg_common_create_lun() 2897 lun->ro = cfg->cdrom || cfg->ro; in fsg_common_create_lun() 2938 lun->cdrom in fsg_common_create_lun() [all...] |
H A D | storage_common.h | 106 unsigned int cdrom:1; member
|
/kernel/linux/linux-6.6/fs/udf/ |
H A D | lowlevel.c | 19 #include <linux/cdrom.h> 50 * The cdrom layer call failed or returned obviously bogus value? in udf_get_last_block()
|
/kernel/linux/linux-5.10/fs/udf/ |
H A D | lowlevel.c | 23 #include <linux/cdrom.h> 55 * The cdrom layer call failed or returned obviously bogus value? in udf_get_last_block()
|
/kernel/linux/linux-5.10/drivers/ide/ |
H A D | ide-cd.h | 9 #include <linux/cdrom.h> 31 /* Structure of a MSF cdrom address. */ 75 /* Extra per-device info for cdrom drives. */ 90 /* Per-device info needed by cdrom.c generic driver. */
|
H A D | ide.c | 236 module_param_named(cdrom, ide_cdroms, ide_dev_mask, 0); 237 MODULE_PARM_DESC(cdrom, "force device as a CD-ROM");
|
H A D | ide-cd_verbose.c | 12 #include <linux/cdrom.h>
|
/kernel/linux/linux-5.10/drivers/staging/rts5208/ |
H A D | rtsx.h | 25 #include <linux/cdrom.h>
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | pktcdvd.h | 17 #include <linux/cdrom.h>
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | pktcdvd.h | 17 #include <linux/cdrom.h>
|
/kernel/linux/linux-6.6/drivers/staging/rts5208/ |
H A D | rtsx.h | 25 #include <linux/cdrom.h>
|
/kernel/linux/linux-5.10/drivers/block/xen-blkback/ |
H A D | xenbus.c | 482 int cdrom) in xen_vbd_create() 513 if (vbd->bdev->bd_disk->flags & GENHD_FL_CD || cdrom) in xen_vbd_create() 713 int cdrom = 0; in backend_changed() local 751 cdrom = strcmp(device_type, "cdrom") == 0; in backend_changed() 767 !strchr(be->mode, 'w'), cdrom); in backend_changed() 480 xen_vbd_create(struct xen_blkif *blkif, blkif_vdev_t handle, unsigned major, unsigned minor, int readonly, int cdrom) xen_vbd_create() argument
|
/kernel/linux/linux-6.6/drivers/block/xen-blkback/ |
H A D | xenbus.c | 482 int cdrom) in xen_vbd_create() 512 if (cdrom || disk_to_cdi(vbd->bdev->bd_disk)) in xen_vbd_create() 707 int cdrom = 0; in backend_changed() local 745 cdrom = strcmp(device_type, "cdrom") == 0; in backend_changed() 761 !strchr(be->mode, 'w'), cdrom); in backend_changed() 480 xen_vbd_create(struct xen_blkif *blkif, blkif_vdev_t handle, unsigned major, unsigned minor, int readonly, int cdrom) xen_vbd_create() argument
|
/kernel/linux/linux-5.10/drivers/usb/storage/ |
H A D | debug.c | 31 #include <linux/cdrom.h>
|
/kernel/linux/linux-6.6/drivers/usb/storage/ |
H A D | debug.c | 31 #include <linux/cdrom.h>
|
/kernel/linux/linux-5.10/drivers/ata/ |
H A D | libata-zpodd.c | 3 #include <linux/cdrom.h>
|
/kernel/linux/linux-5.10/fs/hfsplus/ |
H A D | wrapper.c | 14 #include <linux/cdrom.h> 213 * (should do this only for cdrom/loop though) in hfsplus_read_wrapper()
|
/kernel/linux/linux-6.6/drivers/ata/ |
H A D | libata-zpodd.c | 3 #include <linux/cdrom.h>
|
/kernel/linux/linux-6.6/fs/hfsplus/ |
H A D | wrapper.c | 14 #include <linux/cdrom.h> 211 * (should do this only for cdrom/loop though) in hfsplus_read_wrapper()
|