| /linux/scripts/ |
| H A D | Makefile.kstack_erase | 4 kstack-erase-cflags-y += -fplugin=$(objtree)/scripts/gcc-plugins/stackleak_plugin.so 5 kstack-erase-cflags-y += -fplugin-arg-stackleak_plugin-track-min-size=$(CONFIG_KSTACK_ERASE_TRACK_M… 6 kstack-erase-cflags-y += -fplugin-arg-stackleak_plugin-arch=$(SRCARCH) 7 kstack-erase-cflags-$(CONFIG_GCC_PLUGIN_STACKLEAK_VERBOSE) += -fplugin-arg-stackleak_plugin-verbose 12 kstack-erase-cflags-y += -fsanitize-coverage=stack-depth 13 kstack-erase-cflags-y += -fsanitize-coverage-stack-depth-callback-min=$(CONFIG_KSTACK_ERASE_TRACK_M… 17 KSTACK_ERASE_CFLAGS := $(kstack-erase-cflags-y)
|
| /linux/Documentation/driver-api/mmc/ |
| H A D | mmc-dev-attrs.rst | 35 preferred_erase_size Preferred erase size 47 "erase_size" is the minimum size, in bytes, of an erase 48 operation. For MMC, "erase_size" is the erase group size 54 SD/MMC cards can erase an arbitrarily large area up to and 58 1. A single erase command will make all other I/O on 62 duration of the erase - which could be a several 64 2. To be able to inform the user of erase progress. 65 3. The erase timeout becomes too large to be very 66 useful. Because the erase timeout contains a margin 67 which is multiplied by the size of the erase area, [all …]
|
| /linux/drivers/cxl/ |
| H A D | security.c | 175 struct cxl_pass_erase erase; in cxl_pmem_security_passphrase_erase() local 178 erase = (struct cxl_pass_erase) { in cxl_pmem_security_passphrase_erase() 182 memcpy(erase.pass, key->data, NVDIMM_PASSPHRASE_LEN); in cxl_pmem_security_passphrase_erase() 185 .size_in = sizeof(erase), in cxl_pmem_security_passphrase_erase() 186 .payload_in = &erase, in cxl_pmem_security_passphrase_erase() 202 .erase = cxl_pmem_security_passphrase_erase,
|
| /linux/drivers/mtd/ |
| H A D | mtdconcat.c | 369 struct erase_info *erase; in concat_erase() local 419 erase = kmalloc(sizeof (struct erase_info), GFP_KERNEL); in concat_erase() 421 if (!erase) in concat_erase() 424 *erase = *instr; in concat_erase() 433 if (subdev->size <= erase->addr) { in concat_erase() 434 erase->addr -= subdev->size; in concat_erase() 451 if (erase->addr + length > subdev->size) in concat_erase() 452 erase->len = subdev->size - erase->addr; in concat_erase() 454 erase->len = length; in concat_erase() 456 length -= erase->len; in concat_erase() [all …]
|
| H A D | mtdblock.c | 47 struct erase_info erase; in erase_write() local 54 erase.addr = pos; in erase_write() 55 erase.len = len; in erase_write() 57 ret = mtd_erase(mtd, &erase); in erase_write()
|
| H A D | mtdchar.c | 924 struct erase_info *erase; in mtdchar_ioctl() local 926 erase=kzalloc(sizeof(struct erase_info),GFP_KERNEL); in mtdchar_ioctl() 927 if (!erase) in mtdchar_ioctl() 935 kfree(erase); in mtdchar_ioctl() 938 erase->addr = einfo64.start; in mtdchar_ioctl() 939 erase->len = einfo64.length; in mtdchar_ioctl() 945 kfree(erase); in mtdchar_ioctl() 948 erase->addr = einfo32.start; in mtdchar_ioctl() 949 erase->len = einfo32.length; in mtdchar_ioctl() 952 ret = mtd_erase(mtd, erase); in mtdchar_ioctl() [all …]
|
| /linux/drivers/firmware/microchip/ |
| H A D | mpfs-auto-update.c | 205 struct erase_info erase; in mpfs_auto_update_set_image_address() local 214 erase.addr = AUTO_UPDATE_DIRECTORY_BASE; in mpfs_auto_update_set_image_address() 215 erase.len = erase_size; in mpfs_auto_update_set_image_address() 237 ret = mtd_erase(priv->flash, &erase); in mpfs_auto_update_set_image_address() 267 struct erase_info erase; in mpfs_auto_update_write_bitstream() local 305 erase.len = round_up(size, (size_t)priv->flash->erasesize); in mpfs_auto_update_write_bitstream() 306 erase.addr = image_address; in mpfs_auto_update_write_bitstream() 309 ret = mtd_erase(priv->flash, &erase); in mpfs_auto_update_write_bitstream()
|
| /linux/drivers/mtd/devices/ |
| H A D | powernv_flash.c | 168 static int powernv_flash_erase(struct mtd_info *mtd, struct erase_info *erase) in powernv_flash_erase() argument 172 rc = powernv_flash_async_op(mtd, FLASH_OP_ERASE, erase->addr, in powernv_flash_erase() 173 erase->len, NULL, NULL); in powernv_flash_erase() 175 erase->fail_addr = erase->addr; in powernv_flash_erase()
|
| H A D | bcm47xxsflash.c | 69 static int bcm47xxsflash_erase(struct mtd_info *mtd, struct erase_info *erase) in bcm47xxsflash_erase() argument 76 b47s->cc_write(b47s, BCMA_CC_FLASHADDR, erase->addr); in bcm47xxsflash_erase() 87 b47s->cc_write(b47s, BCMA_CC_FLASHADDR, erase->addr << 1); in bcm47xxsflash_erase()
|
| /linux/Documentation/networking/devlink/ |
| H A D | iosm.rst | 25 - erase_full_flash parameter is used to check if full erase is required for 27 If set, Full nand erase command will be sent to the device. By default, 28 only conditional erase support is enabled. 66 By default, conditional erase feature is supported. 75 2) If user want to do a full erase, below command need to be issued to set the 76 erase full flash param (To be set only if full erase required).
|
| /linux/Documentation/driver-api/mtd/ |
| H A D | spi-nor.rst | 126 erase 0x20 135 erase commands 143 region (in hex) | erase mask | flags 152 and verify that erase, read and page program operations work fine:: 159 root@1:~# mtd_debug erase /dev/mtd0 0 2097152 183 If the flash comes erased by default and the previous erase was ignored, 184 we won't catch it, thus test the erase again:: 186 root@1:~# mtd_debug erase /dev/mtd0 0 2097152
|
| /linux/drivers/fpga/ |
| H A D | machxo2-spi.c | 140 static const u8 erase[] = ISC_ERASE; in machxo2_cleanup() local 146 tx[0].tx_buf = &erase; in machxo2_cleanup() 147 tx[0].len = sizeof(erase); in machxo2_cleanup() 195 static const u8 erase[] = ISC_ERASE; in machxo2_write_init() local 216 tx[1].tx_buf = &erase; in machxo2_write_init() 217 tx[1].len = sizeof(erase); in machxo2_write_init()
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | mtd.c | 21 static int efx_mtd_erase(struct mtd_info *mtd, struct erase_info *erase) in efx_mtd_erase() argument 25 return efx->type->mtd_erase(mtd, erase->addr, erase->len); in efx_mtd_erase()
|
| /linux/drivers/net/ethernet/sfc/falcon/ |
| H A D | mtd.c | 21 static int ef4_mtd_erase(struct mtd_info *mtd, struct erase_info *erase) in ef4_mtd_erase() argument 25 return efx->type->mtd_erase(mtd, erase->addr, erase->len); in ef4_mtd_erase()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | mtd.c | 21 static int efx_mtd_erase(struct mtd_info *mtd, struct erase_info *erase) in efx_mtd_erase() argument 25 return efx->type->mtd_erase(mtd, erase->addr, erase->len); in efx_mtd_erase()
|
| /linux/drivers/mtd/ubi/ |
| H A D | attach.c | 236 } else if (list == &ai->erase) { in add_to_list() 652 &ai->erase); in ubi_add_to_av() 675 cmp_res & 4, &ai->erase); in ubi_add_to_av() 754 destroy_av(ai, av, &ai->erase); in ubi_remove_av() 837 list_for_each_entry_safe(aeb, tmp_aeb, &ai->erase, u.list) { in ubi_early_get_peb() 973 UBI_UNKNOWN, 0, &ai->erase); in scan_peb() 977 UBI_UNKNOWN, 1, &ai->erase); in scan_peb() 1104 UBI_UNKNOWN, ec, 1, &ai->erase); in scan_peb() 1113 ec, 1, &ai->erase); in scan_peb() 1120 UBI_UNKNOWN, ec, 1, &ai->erase); in scan_peb() [all …]
|
| H A D | Kconfig | 20 erase counter value and the lowest erase counter value of eraseblocks 22 wear leveling by means of moving data from eraseblock with low erase 23 counter to eraseblocks with high erase counter.
|
| /linux/Documentation/driver-api/nvdimm/ |
| H A D | security.rst | 11 "unlock unit", "freeze lock", "secure erase", and "overwrite". A security_ops 31 erase <keyid> - delete existing user encryption key. 98 The command format for doing a secure erase is: 99 erase <keyid> 131 The command format for doing a master erase is: 134 This command has the same operating mechanism as erase except the master
|
| /linux/Documentation/devicetree/bindings/mtd/partitions/ |
| H A D | brcm,bcm963xx-cfe-nor-partitions.txt | 5 NOR. The first erase block used for the CFE bootloader, the last for an 8 header found at beginning of the second erase block, containing the rootfs and
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-mtd | 50 "Major" erase size for the device. If numeraseregions is 65 0x1000: MTD_NO_ERASE - no erase necessary 82 provides the total number of erase regions. Otherwise, 147 return code as an indication that an erase block may be 164 bitflip_threshold should be low enough to detect genuine erase
|
| /linux/include/linux/ |
| H A D | pstore_zone.h | 53 pstore_zone_erase_op erase; member
|
| /linux/drivers/mtd/spi-nor/ |
| H A D | Kconfig | 14 bool "Use small 4096 B erase sectors" 25 4096 B erase size (e.g. UBIFS requires 15 KiB as a minimum).
|
| /linux/fs/jffs2/ |
| H A D | README.Locking | 79 As the MTD API no longer permits erase-completion callback functions 86 the list are protected by the file mutex f->sem. But the erase code 124 This mutex is only used by the erase code which frees obsolete node 131 heavyweight lock was required to prevent the erase code from freeing
|
| H A D | Makefile | 11 jffs2-y += symlink.o build.o erase.o background.o fs.o writev.o
|
| /linux/Documentation/core-api/ |
| H A D | maple_tree.rst | 64 given index. You can use mtree_erase() to erase an entire range by only 66 NULL may be used to partially erase a range or many ranges at once. 162 You can use mas_erase() to erase an entire range by setting index and 163 last of the maple state to the desired range to erase. This will erase
|