removable 1185 block/genhd.c static DEVICE_ATTR(removable, 0444, disk_removable_show, NULL); removable 1004 drivers/acpi/scan.c device->flags.removable = 1; removable 424 drivers/base/memory.c static DEVICE_ATTR_RO(removable); removable 234 drivers/block/paride/pd.c int removable; /* removable media device ? */ removable 736 drivers/block/paride/pd.c disk->removable = pd_scratch[0] & 0x80; removable 743 drivers/block/paride/pd.c disk->removable ? "removable" : "fixed"); removable 798 drivers/block/paride/pd.c if (disk->removable) { removable 845 drivers/block/paride/pd.c if (!--disk->access && disk->removable) removable 854 drivers/block/paride/pd.c if (!disk->removable) removable 234 drivers/block/paride/pf.c int removable; /* removable media device ? */ removable 346 drivers/block/paride/pf.c if (pf->removable) removable 400 drivers/block/paride/pf.c if (!pf->access && pf->removable) removable 672 drivers/block/paride/pf.c pf->removable = (buf[1] & 0x80); removable 682 drivers/block/paride/pf.c if (pf->removable) removable 40 drivers/ide/ide-atapi.c u8 gcw[2], protocol, device_type, removable, drq_type, packet_size; removable 46 drivers/ide/ide-atapi.c removable = (gcw[0] & 0x80) >> 7; removable 65 drivers/ide/ide-atapi.c else if (removable == 0) removable 148 drivers/pci/hotplug/acpi_pcihp.c unsigned long long removable; removable 153 drivers/pci/hotplug/acpi_pcihp.c status = acpi_evaluate_integer(handle, "_RMV", NULL, &removable); removable 154 drivers/pci/hotplug/acpi_pcihp.c if (ACPI_SUCCESS(status) && removable) removable 247 drivers/pnp/pnpacpi/core.c if (device->flags.removable) removable 57 drivers/s390/block/dasd_fba.h unsigned char removable:1; removable 3084 drivers/scsi/aacraid/aachba.c scsicmd->device->removable = 1; removable 3112 drivers/scsi/aacraid/aachba.c scsicmd->device->removable = 1; removable 415 drivers/scsi/aacraid/linit.c sdev->removable = 1; removable 2621 drivers/scsi/dpt_i2o.c pDev->pScsi_dev->removable = TRUE; removable 4454 drivers/scsi/scsi_debug.c module_param_named(removable, sdebug_removable, bool, S_IRUGO | S_IWUSR); removable 4514 drivers/scsi/scsi_debug.c MODULE_PARM_DESC(removable, "claim to have removable media (def=0)"); removable 5119 drivers/scsi/scsi_debug.c static DRIVER_ATTR_RW(removable); removable 118 drivers/scsi/scsi_ioctl.c if (sdev->removable) removable 122 drivers/scsi/scsi_ioctl.c if (sdev->removable) { removable 147 drivers/scsi/scsi_ioctl.c if (!sdev->removable || !sdev->lockable) removable 701 drivers/scsi/scsi_lib.c if (cmd->device->removable) { removable 2220 drivers/scsi/scsi_lib.c if (sdev->removable && scsi_sense_valid(sshdr) && removable 811 drivers/scsi/scsi_scan.c sdev->removable = 1; removable 814 drivers/scsi/scsi_scan.c sdev->removable = (inq_result[1] & 0x80) >> 7; removable 856 drivers/scsi/scsi_scan.c sdev->lockable = sdev->removable; removable 1355 drivers/scsi/sd.c if (sdev->removable || sdkp->write_prot) removable 1362 drivers/scsi/sd.c if (sdev->removable && !sdkp->media_present && !(mode & FMODE_NDELAY)) removable 1383 drivers/scsi/sd.c if ((atomic_inc_return(&sdkp->openers) == 1) && sdev->removable) { removable 1415 drivers/scsi/sd.c if (atomic_dec_return(&sdkp->openers) == 0 && sdev->removable) { removable 1518 drivers/scsi/sd.c if (sdkp->device->removable) { removable 2252 drivers/scsi/sd.c if (sdp->removable && removable 3379 drivers/scsi/sd.c if (sdp->removable) { removable 3399 drivers/scsi/sd.c sdp->removable ? "removable " : ""); removable 1372 drivers/scsi/sg.c && sdp->device->removable) { removable 2430 drivers/usb/core/hub.c bool removable = true; removable 2443 drivers/usb/core/hub.c udev->removable = USB_DEVICE_REMOVABLE; removable 2447 drivers/usb/core/hub.c udev->removable = USB_DEVICE_FIXED; removable 2465 drivers/usb/core/hub.c removable = false; removable 2468 drivers/usb/core/hub.c removable = false; removable 2471 drivers/usb/core/hub.c if (removable) removable 2472 drivers/usb/core/hub.c udev->removable = USB_DEVICE_REMOVABLE; removable 2474 drivers/usb/core/hub.c udev->removable = USB_DEVICE_FIXED; removable 309 drivers/usb/core/sysfs.c switch (udev->removable) { removable 322 drivers/usb/core/sysfs.c static DEVICE_ATTR_RO(removable); removable 1074 drivers/usb/gadget/function/f_mass_storage.c buf[1] = curlun->removable ? 0x80 : 0; removable 1304 drivers/usb/gadget/function/f_mass_storage.c } else if (!curlun->removable) { removable 1354 drivers/usb/gadget/function/f_mass_storage.c } else if (!common->curlun->removable) { removable 2724 drivers/usb/gadget/function/f_mass_storage.c return lun->removable ? (S_IWUSR | S_IRUGO) : S_IRUGO; removable 2752 drivers/usb/gadget/function/f_mass_storage.c if (!cfg->filename && !cfg->removable) { removable 2766 drivers/usb/gadget/function/f_mass_storage.c lun->removable = !!cfg->removable; removable 2806 drivers/usb/gadget/function/f_mass_storage.c lun->removable ? "removable " : "", removable 3079 drivers/usb/gadget/function/f_mass_storage.c CONFIGFS_ATTR(fsg_lun_opts_, removable); removable 3180 drivers/usb/gadget/function/f_mass_storage.c config.removable = true; removable 3370 drivers/usb/gadget/function/f_mass_storage.c config.removable = true; removable 3458 drivers/usb/gadget/function/f_mass_storage.c lun->removable = !!params->removable[i]; removable 11 drivers/usb/gadget/function/f_mass_storage.h bool removable[FSG_MAX_LUNS]; removable 37 drivers/usb/gadget/function/f_mass_storage.h _FSG_MODULE_PARAM_ARRAY(prefix, params, removable, bool, \ removable 90 drivers/usb/gadget/function/f_mass_storage.h char removable; removable 364 drivers/usb/gadget/function/storage_common.c return sprintf(buf, "%u\n", curlun->removable); removable 491 drivers/usb/gadget/function/storage_common.c bool removable; removable 494 drivers/usb/gadget/function/storage_common.c ret = strtobool(buf, &removable); removable 498 drivers/usb/gadget/function/storage_common.c curlun->removable = removable; removable 105 drivers/usb/gadget/function/storage_common.h unsigned int removable:1; removable 38 drivers/usb/gadget/legacy/nokia.c .removable = { 1, 1, }, removable 191 include/acpi/acpi_bus.h u32 removable:1; removable 704 include/linux/usb.h enum usb_device_removable removable; removable 153 include/scsi/scsi_device.h unsigned removable:1;