/linux-2.6.39/Documentation/ABI/testing/ |
D | sysfs-devices-memory | 12 What: /sys/devices/system/memory/memoryX/removable 16 The file /sys/devices/system/memory/memoryX/removable 17 indicates whether this memory block is removable or not. 19 identify removable sections of the memory before attempting 48 root can toggle the the online/offline state of a removable 49 memory section (see removable file description above) 54 For example, if /sys/devices/system/memory/memory22/removable
|
/linux-2.6.39/drivers/mmc/core/ |
D | Kconfig | 6 bool "Assume MMC/SD cards are non-removable (DANGEROUS)" 18 module parameter "removable=0" or "removable=1".
|
D | core.c | 63 module_param_named(removable, mmc_assume_removable, bool, 0644); 65 removable,
|
/linux-2.6.39/drivers/scsi/ |
D | scsi_ioctl.c | 113 if (sdev->removable) in ioctl_internal_command() 116 if (sdev->removable) { in ioctl_internal_command() 139 if (!sdev->removable || !sdev->lockable) in scsi_set_medium_removal()
|
D | sd.c | 949 if (sdev->removable || sdkp->write_prot) in sd_open() 956 if (sdev->removable && !sdkp->media_present && !(mode & FMODE_NDELAY)) in sd_open() 977 if ((atomic_inc_return(&sdkp->openers) == 1) && sdev->removable) { in sd_open() 1011 if (atomic_dec_return(&sdkp->openers) == 0 && sdev->removable) { in sd_release() 1112 if (sdkp->device->removable) { in set_media_not_present() 1621 if (sdp->removable && in read_capacity_error() 2481 if (sdp->removable) { in sd_probe_async() 2492 sdp->removable ? "removable " : ""); in sd_probe_async()
|
D | scsi_scan.c | 784 sdev->removable = 1; in scsi_add_lun() 787 sdev->removable = (inq_result[1] & 0x80) >> 7; in scsi_add_lun() 839 sdev->lockable = sdev->removable; in scsi_add_lun()
|
/linux-2.6.39/drivers/block/paride/ |
D | pd.c | 233 int removable; /* removable media device ? */ member 687 disk->removable = pd_scratch[0] & 0x80; in pd_identify() 694 disk->removable ? "removable" : "fixed"); in pd_identify() 743 if (disk->removable) { in pd_open() 790 if (!--disk->access && disk->removable) in pd_release() 801 if (!disk->removable) in pd_check_events()
|
D | pf.c | 231 int removable; /* removable media device ? */ member 320 if (pf->removable) in pf_open() 373 if (!pf->access && pf->removable) in pf_release() 647 pf->removable = (buf[1] & 0x80); in pf_identify() 657 if (pf->removable) in pf_identify()
|
/linux-2.6.39/Documentation/ |
D | memory-hotplug.txt | 156 /sys/devices/system/memory/memoryXXX/removable 168 'removable' : read-only: contains an integer value indicating 169 whether the memory block is removable or not 170 removable. A value of 1 indicates that the memory 171 block is removable and a value of 0 indicates that 172 it is not removable. A memory block is removable only if 173 every section in the block is removable.
|
/linux-2.6.39/drivers/s390/block/ |
D | dasd_fba.h | 52 unsigned char removable:1; member
|
/linux-2.6.39/drivers/pci/hotplug/ |
D | acpi_pcihp.c | 415 unsigned long long removable; in is_ejectable() local 422 status = acpi_evaluate_integer(handle, "_RMV", NULL, &removable); in is_ejectable() 423 if (ACPI_SUCCESS(status) && removable) in is_ejectable()
|
/linux-2.6.39/drivers/base/ |
D | memory.c | 352 static SYSDEV_ATTR(removable, 0444, show_mem_removable, NULL); 567 ret = mem_create_simple_file(mem, removable); in init_memory_block() 613 mem_remove_simple_file(mem, removable); in remove_memory_block()
|
/linux-2.6.39/drivers/usb/gadget/ |
D | f_mass_storage.c | 416 char removable; member 1207 buf[1] = curlun->removable ? 0x80 : 0; in do_inquiry() 1432 } else if (!curlun->removable) { in do_start_stop() 1495 } else if (!common->curlun->removable) { in do_prevent_allow() 2803 curlun->removable = lcfg->removable; in fsg_common_init() 2836 } else if (!curlun->removable) { in fsg_common_init() 2922 curlun->removable ? "removable " : "", in fsg_common_init() 3115 int removable[FSG_MAX_LUNS]; member 3141 _FSG_MODULE_PARAM_ARRAY(prefix, params, removable, bool, \ 3166 lun->removable = /* Removable by default */ in fsg_config_from_params() [all …]
|
D | file_storage.c | 313 int removable; member 332 .removable = 0, 359 module_param_named(removable, mod_data.removable, bool, S_IRUGO); 360 MODULE_PARM_DESC(removable, "true to simulate removable media"); 1582 if (mod_data.removable) in do_inquiry() 1807 if (!mod_data.removable) { in do_start_stop() 1857 if (!mod_data.removable) { in do_prevent_allow() 3349 if (mod_data.removable) { // Enable the store_xxx attributes in fsg_bind() 3386 curlun->removable = mod_data.removable; in fsg_bind() 3418 } else if (!mod_data.removable) { in fsg_bind() [all …]
|
D | storage_common.c | 239 unsigned int removable:1; member
|
/linux-2.6.39/drivers/ide/ |
D | ide-atapi.c | 38 u8 gcw[2], protocol, device_type, removable, drq_type, packet_size; in ide_check_atapi_device() local 44 removable = (gcw[0] & 0x80) >> 7; in ide_check_atapi_device() 63 else if (removable == 0) in ide_check_atapi_device()
|
/linux-2.6.39/fs/partitions/ |
D | Kconfig | 156 Linux box via a removable medium like magneto-optical, ZIP or 157 removable IDE drives. Note, however, that a good portable way to 223 your Linux box via a removable medium like magneto-optical or ZIP
|
/linux-2.6.39/drivers/block/ |
D | ub.c | 299 int removable; member 1690 if (lun->removable || lun->readonly) in ub_bd_open() 1698 if (lun->removable && lun->changed && !(mode & FMODE_NDELAY)) { in ub_bd_open() 1796 if (!lun->removable) in ub_bd_check_events() 2325 lun->removable = 1; /* XXX Query this from the device */ in ub_probe_lun() 2357 if (lun->removable) in ub_probe_lun()
|
/linux-2.6.39/drivers/pnp/pnpacpi/ |
D | core.c | 272 if (device->flags.removable) in pnpacpi_add_device()
|
/linux-2.6.39/include/acpi/ |
D | acpi_bus.h | 145 u32 removable:1; member
|
/linux-2.6.39/Documentation/filesystems/ |
D | udf.txt | 49 For typical desktop use of removable media, you should set the ID to that
|
/linux-2.6.39/drivers/staging/westbridge/astoria/include/linux/westbridge/ |
D | cyasstorage.h | 342 cy_bool removable; member
|
/linux-2.6.39/include/scsi/ |
D | scsi_device.h | 116 unsigned removable:1; member
|
/linux-2.6.39/arch/mips/include/asm/ |
D | sgiarcs.h | 75 bogus, ronly, removable, consin, consout, input, output enumerator
|
/linux-2.6.39/drivers/staging/westbridge/astoria/api/src/ |
D | cyasstorage.c | 1106 cy_bool removable; in my_handle_response_storage_query_device() local 1135 removable = (v & 0x8000) ? cy_true : cy_false; in my_handle_response_storage_query_device() 1156 store_p->desc_p.removable = removable; in my_handle_response_storage_query_device() 1175 store_p->desc_p.removable = removable; in my_handle_response_storage_query_device()
|