/linux/include/linux/ |
A D | badblocks.h | 27 struct badblocks { struct 44 int badblocks_check(struct badblocks *bb, sector_t s, int sectors, argument 46 int badblocks_set(struct badblocks *bb, sector_t s, int sectors, 48 int badblocks_clear(struct badblocks *bb, sector_t s, int sectors); 49 void ack_all_badblocks(struct badblocks *bb); 50 ssize_t badblocks_show(struct badblocks *bb, char *page, int unack); 51 ssize_t badblocks_store(struct badblocks *bb, const char *page, size_t len, 53 int badblocks_init(struct badblocks *bb, int enable); 54 void badblocks_exit(struct badblocks *bb); 56 int devm_init_badblocks(struct device *dev, struct badblocks *bb); [all …]
|
A D | genhd.h | 107 struct badblocks; 162 struct badblocks *bb;
|
A D | nd.h | 76 struct badblocks bb;
|
/linux/block/ |
A D | badblocks.c | 53 int badblocks_check(struct badblocks *bb, sector_t s, int sectors, in badblocks_check() 128 static void badblocks_update_acked(struct badblocks *bb) in badblocks_update_acked() 163 int badblocks_set(struct badblocks *bb, sector_t s, int sectors, in badblocks_set() 331 int badblocks_clear(struct badblocks *bb, sector_t s, int sectors) in badblocks_clear() 433 void ack_all_badblocks(struct badblocks *bb) in ack_all_badblocks() 467 ssize_t badblocks_show(struct badblocks *bb, char *page, int unack) in badblocks_show() 517 ssize_t badblocks_store(struct badblocks *bb, const char *page, size_t len, in badblocks_store() 544 static int __badblocks_init(struct device *dev, struct badblocks *bb, in __badblocks_init() 575 int badblocks_init(struct badblocks *bb, int enable) in badblocks_init() 581 int devm_init_badblocks(struct device *dev, struct badblocks *bb) in devm_init_badblocks() [all …]
|
A D | .badblocks.o.cmd | 1 …badblocks.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bi… 3 source_block/badblocks.o := block/badblocks.c 5 deps_block/badblocks.o := \ 22 include/linux/badblocks.h \ 933 block/badblocks.o: $(deps_block/badblocks.o) 935 $(deps_block/badblocks.o):
|
A D | built-in.a | 26 badblocks.o/
|
A D | .built-in.a.cmd | 1 …o block/blk-mq-sched.o block/ioctl.o block/genhd.o block/ioprio.o block/badblocks.o block/partitio…
|
A D | Makefile | 11 genhd.o ioprio.o badblocks.o partitions/ blk-rq-qos.o \
|
/linux/drivers/nvdimm/ |
A D | badrange.c | 165 static void set_badblock(struct badblocks *bb, sector_t s, int num) in set_badblock() 185 static void __add_badblock_range(struct badblocks *bb, u64 ns_offset, u64 len) in __add_badblock_range() 214 struct badblocks *bb, const struct range *range) in badblocks_populate() 270 struct badblocks *bb, const struct range *range) in nvdimm_badblocks_populate()
|
A D | btt.h | 199 struct badblocks; 232 struct badblocks *phys_bb;
|
A D | pmem.h | 23 struct badblocks bb;
|
A D | nd.h | 424 struct badblocks bb; 659 struct badblocks *bb, const struct range *range); 677 static inline bool is_bad_pmem(struct badblocks *bb, sector_t sector, in is_bad_pmem()
|
/linux/drivers/block/null_blk/ |
A D | null_blk.h | 68 struct badblocks badblocks; member
|
A D | main.c | 460 return badblocks_show(&t_dev->badblocks, page, 0); in nullb_device_badblocks_show() 494 cmpxchg(&t_dev->badblocks.shift, -1, 0); in nullb_device_badblocks_store() 496 ret = badblocks_set(&t_dev->badblocks, start, in nullb_device_badblocks_store() 499 ret = badblocks_clear(&t_dev->badblocks, start, in nullb_device_badblocks_store() 507 CONFIGFS_ATTR(nullb_device_, badblocks); 633 if (badblocks_init(&dev->badblocks, 0)) { in null_alloc_dev() 668 badblocks_exit(&dev->badblocks); in null_free_dev() 1303 struct badblocks *bb = &cmd->nq->dev->badblocks; in null_handle_badblocks() 1392 if (dev->badblocks.shift != -1) { in null_process_cmd()
|
/linux/drivers/md/ |
A D | md.h | 133 struct badblocks badblocks; member 221 if (unlikely(rdev->badblocks.count)) { in is_badblock() 222 int rv = badblocks_check(&rdev->badblocks, rdev->data_offset + s, in is_badblock()
|
A D | md.c | 915 badblocks_exit(&rdev->badblocks); in md_rdev_clear() 1225 rdev->badblocks.shift = -1; in super_90_load() 1741 rdev->badblocks.shift = 0; in super_1_load() 2057 if (rdev->badblocks.count == 0) in super_1_sync() 2063 struct badblocks *bb = &rdev->badblocks; in super_1_sync() 2233 if (rdev->badblocks.sector + rdev->badblocks.size > new_offset) in super_1_allow_new_offset() 2499 rdev->badblocks.count = 0; in unbind_rdev_from_array() 2783 if (rdev->badblocks.changed) in md_update_sb() 2813 if (rdev->badblocks.size) { in md_update_sb() 2818 rdev->badblocks.size = 0; in md_update_sb() [all …]
|
/linux/drivers/mtd/ |
A D | mtdconcat.c | 624 mtd->ecc_stats.badblocks++; in concat_block_markbad() 702 concat->mtd.ecc_stats.badblocks = subdev[0]->ecc_stats.badblocks; in mtd_concat_create() 733 concat->mtd.ecc_stats.badblocks += in mtd_concat_create() 734 subdev[i]->ecc_stats.badblocks; in mtd_concat_create()
|
A D | mtdpart.c | 206 child->ecc_stats.badblocks++; in allocate_partition()
|
/linux/include/uapi/mtd/ |
A D | mtd-abi.h | 255 __u32 badblocks; member
|
/linux/drivers/mtd/nand/onenand/ |
A D | onenand_bbt.c | 106 mtd->ecc_stats.badblocks++; in create_bbt()
|
/linux/drivers/mtd/nand/ |
A D | core.c | 87 mtd->ecc_stats.badblocks++; in nanddev_markbad()
|
/linux/drivers/mtd/nand/raw/ |
A D | nandsim.c | 90 static char *badblocks = NULL; variable 122 module_param(badblocks, charp, 0400); 148 MODULE_PARM_DESC(badblocks, "Erase blocks that are initially marked bad, separated by commas"); 806 if (!badblocks) in ns_parse_badblocks() 808 w = badblocks; in ns_parse_badblocks()
|
A D | nand_bbt.c | 239 mtd->ecc_stats.badblocks++; in read_bbt() 529 mtd->ecc_stats.badblocks++; in create_bbt()
|
/linux/fs/hpfs/ |
A D | hpfs.h | 91 __le32 badblocks; /* bad block list */ member
|
/linux/Documentation/admin-guide/device-mapper/ |
A D | dm-dust.rst | 202 dust_clear_badblocks: badblocks cleared 207 dust_clear_badblocks: no badblocks found
|