Home
last modified time | relevance | path

Searched refs:removable (Results 1 – 25 of 49) sorted by relevance

12

/linux-2.6.39/Documentation/ABI/testing/
Dsysfs-devices-memory12 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/
DKconfig6 bool "Assume MMC/SD cards are non-removable (DANGEROUS)"
18 module parameter "removable=0" or "removable=1".
Dcore.c63 module_param_named(removable, mmc_assume_removable, bool, 0644);
65 removable,
/linux-2.6.39/drivers/scsi/
Dscsi_ioctl.c113 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()
Dsd.c949 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()
Dscsi_scan.c784 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/
Dpd.c233 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()
Dpf.c231 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/
Dmemory-hotplug.txt156 /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/
Ddasd_fba.h52 unsigned char removable:1; member
/linux-2.6.39/drivers/pci/hotplug/
Dacpi_pcihp.c415 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/
Dmemory.c352 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/
Df_mass_storage.c416 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 …]
Dfile_storage.c313 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 …]
Dstorage_common.c239 unsigned int removable:1; member
/linux-2.6.39/drivers/ide/
Dide-atapi.c38 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/
DKconfig156 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/
Dub.c299 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/
Dcore.c272 if (device->flags.removable) in pnpacpi_add_device()
/linux-2.6.39/include/acpi/
Dacpi_bus.h145 u32 removable:1; member
/linux-2.6.39/Documentation/filesystems/
Dudf.txt49 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/
Dcyasstorage.h342 cy_bool removable; member
/linux-2.6.39/include/scsi/
Dscsi_device.h116 unsigned removable:1; member
/linux-2.6.39/arch/mips/include/asm/
Dsgiarcs.h75 bogus, ronly, removable, consin, consout, input, output enumerator
/linux-2.6.39/drivers/staging/westbridge/astoria/api/src/
Dcyasstorage.c1106 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()

12