Symbol: removable
block/genhd.c
1164
static DEVICE_ATTR(removable, 0444, disk_removable_show, NULL);
drivers/acpi/scan.c
1155
device->flags.removable = 1;
drivers/base/core.c
2821
switch (dev->removable) {
drivers/base/core.c
2833
static DEVICE_ATTR_RO(removable);
drivers/base/memory.c
507
static DEVICE_ATTR_RO(removable);
drivers/mtd/maps/vmu-flash.c
43
u32 removable;
drivers/mtd/maps/vmu-flash.c
622
card->removable = basic_flash_data >> 7 & 1;
drivers/pci/hotplug/acpi_pcihp.c
148
unsigned long long removable;
drivers/pci/hotplug/acpi_pcihp.c
153
status = acpi_evaluate_integer(handle, "_RMV", NULL, &removable);
drivers/pci/hotplug/acpi_pcihp.c
154
if (ACPI_SUCCESS(status) && removable)
drivers/pnp/pnpacpi/core.c
247
if (device->flags.removable)
drivers/s390/block/dasd_fba.h
57
unsigned char removable:1;
drivers/scsi/aacraid/aachba.c
3002
scsicmd->device->removable = 1;
drivers/scsi/aacraid/aachba.c
3029
scsicmd->device->removable = 1;
drivers/scsi/aacraid/linit.c
418
sdev->removable = 1;
drivers/scsi/scsi_debug.c
7387
module_param_named(removable, sdebug_removable, bool, S_IRUGO | S_IWUSR);
drivers/scsi/scsi_debug.c
7468
MODULE_PARM_DESC(removable, "claim to have removable media (def=0)");
drivers/scsi/scsi_debug.c
8299
static DRIVER_ATTR_RW(removable);
drivers/scsi/scsi_ioctl.c
102
if (sdev->removable)
drivers/scsi/scsi_ioctl.c
106
if (sdev->removable) {
drivers/scsi/scsi_ioctl.c
141
if (!sdev->removable || !sdev->lockable)
drivers/scsi/scsi_lib.c
2490
if (sdev->removable && result > 0 && scsi_sense_valid(sshdr) &&
drivers/scsi/scsi_lib.c
820
if (cmd->device->removable) {
drivers/scsi/scsi_scan.c
925
sdev->removable = 1;
drivers/scsi/scsi_scan.c
928
sdev->removable = (inq_result[1] & 0x80) >> 7;
drivers/scsi/scsi_scan.c
970
sdev->lockable = sdev->removable;
drivers/scsi/sd.c
1523
if (sdkp->device->removable || sdkp->write_prot) {
drivers/scsi/sd.c
1577
if (sdev->removable && !sdkp->media_present &&
drivers/scsi/sd.c
1599
if ((atomic_inc_return(&sdkp->openers) == 1) && sdev->removable) {
drivers/scsi/sd.c
1630
if (atomic_dec_return(&sdkp->openers) == 0 && sdev->removable) {
drivers/scsi/sd.c
1714
if (sdkp->device->removable) {
drivers/scsi/sd.c
2644
if (sdp->removable &&
drivers/scsi/sd.c
4047
if (sdp->removable) {
drivers/scsi/sd.c
4073
sdp->removable ? "removable " : "");
drivers/scsi/sg.c
1363
&& sdp->device->removable) {
drivers/usb/core/hub.c
2571
bool removable = true;
drivers/usb/core/hub.c
2608
removable = false;
drivers/usb/core/hub.c
2611
removable = false;
drivers/usb/core/hub.c
2614
if (removable)
drivers/usb/gadget/function/f_mass_storage.c
1068
buf[1] = curlun->removable ? 0x80 : 0;
drivers/usb/gadget/function/f_mass_storage.c
1371
} else if (!curlun->removable) {
drivers/usb/gadget/function/f_mass_storage.c
1421
} else if (!common->curlun->removable) {
drivers/usb/gadget/function/f_mass_storage.c
2865
return lun->removable ? (S_IWUSR | S_IRUGO) : S_IRUGO;
drivers/usb/gadget/function/f_mass_storage.c
2893
if (!cfg->filename && !cfg->removable) {
drivers/usb/gadget/function/f_mass_storage.c
2907
lun->removable = !!cfg->removable;
drivers/usb/gadget/function/f_mass_storage.c
2944
lun->removable ? "removable " : "",
drivers/usb/gadget/function/f_mass_storage.c
3215
CONFIGFS_ATTR(fsg_lun_opts_, removable);
drivers/usb/gadget/function/f_mass_storage.c
3329
config.removable = true;
drivers/usb/gadget/function/f_mass_storage.c
3519
config.removable = true;
drivers/usb/gadget/function/f_mass_storage.c
3608
lun->removable = !!params->removable[i];
drivers/usb/gadget/function/f_mass_storage.h
11
bool removable[FSG_MAX_LUNS];
drivers/usb/gadget/function/f_mass_storage.h
37
_FSG_MODULE_PARAM_ARRAY(prefix, params, removable, bool, \
drivers/usb/gadget/function/f_mass_storage.h
90
char removable;
drivers/usb/gadget/function/storage_common.c
367
return sprintf(buf, "%u\n", curlun->removable);
drivers/usb/gadget/function/storage_common.c
494
bool removable;
drivers/usb/gadget/function/storage_common.c
497
ret = kstrtobool(buf, &removable);
drivers/usb/gadget/function/storage_common.c
501
curlun->removable = removable;
drivers/usb/gadget/function/storage_common.h
105
unsigned int removable:1;
drivers/usb/gadget/legacy/nokia.c
38
.removable = { 1, 1, },
include/acpi/acpi_bus.h
205
u32 removable:1;
include/linux/device.h
1000
dev->removable = removable;
include/linux/device.h
1005
return dev->removable == DEVICE_REMOVABLE;
include/linux/device.h
1010
return dev->removable != DEVICE_REMOVABLE_NOT_SUPPORTED;
include/linux/device.h
657
enum device_removable removable;
include/linux/device.h
998
enum device_removable removable)
include/scsi/scsi_device.h
198
unsigned removable:1;
security/landlock/fs.c
1131
const bool removable, const bool exchange)
security/landlock/fs.c
1158
if (removable) {