Home
last modified time | relevance | path

Searched full:bad (Results 1 – 25 of 2659) sorted by relevance

12345678910>>...107

/linux/block/
H A Dbadblocks.c3 * Bad block management
20 * The purpose of badblocks set/clear is to manage bad blocks ranges which are
23 * When the caller of badblocks_set() wants to set a range of bad blocks, the
27 * more complicated when the setting range covers multiple already set bad block
28 * ranges, with restrictions of maximum length of each bad range and the bad
32 * for setting a large range of bad blocks, we can handle it by dividing the
34 * bad table full conditions. Every time only a smaller piece of the bad range
36 * possible overlapped or adjacent already set bad block ranges. Then the hard
39 * When setting a range of bad blocks to the bad table, the simplified situations
40 * to be considered are, (The already set bad blocks ranges are naming with
[all …]
/linux/Documentation/admin-guide/device-mapper/
H A Ddm-dust.rst4 This target emulates the behavior of bad sectors at arbitrary
11 drive with bad sectors).
15 in the "bad block list" will fail with EIO ("Input/output error").
17 Writes of blocks in the "bad block list will result in the following:
19 1. Remove the block from the "bad block list".
22 This emulates the "remapped sector" behavior of a drive with bad
25 Normally, a drive that is encountering bad sectors will most likely
26 encounter more bad sectors, at an unknown time or location.
28 messages to add arbitrary bad blocks at new locations, and the
30 configured "bad blocks" will be treated as bad, or bypassed.
[all …]
/linux/include/linux/ceph/
H A Ddecode.h57 #define ceph_decode_need(p, end, n, bad) \ argument
60 goto bad; \
63 #define ceph_decode_64_safe(p, end, v, bad) \ argument
65 ceph_decode_need(p, end, sizeof(u64), bad); \
68 #define ceph_decode_32_safe(p, end, v, bad) \ argument
70 ceph_decode_need(p, end, sizeof(u32), bad); \
73 #define ceph_decode_16_safe(p, end, v, bad) \ argument
75 ceph_decode_need(p, end, sizeof(u16), bad); \
78 #define ceph_decode_8_safe(p, end, v, bad) \ argument
80 ceph_decode_need(p, end, sizeof(u8), bad); \
[all …]
/linux/tools/testing/ktest/
H A Dconfig-bisect.pl9 # config-bisect.pl [options] good-config bad-config [good|bad]
12 # Compares a good config to a bad config, then takes half of the diffs
14 # the bad config. That is, the resulting config will start with the
16 # the good and bad configs match the bad config. It tries because of
24 # $ config-bisect.pl /path/to/good/config /path/to/bad/config
27 # so do not make that be one of the good or bad configs), and then
30 # the good config. It does the same for the bad config as well.
35 # and the bad config to /path/to/bad/config.tmp (just appends ".tmp" to the
39 # After the first run, determine if the result is good or bad then
43 # $ config-bisect.pl /path/to/good/config /path/to/bad/config good
[all …]
/linux/drivers/nvme/host/
H A Dfc.h110 "Bad CR_ASSOC Length",
111 "Bad CR_ASSOC Rqst Length",
113 "Bad CR_ASSOC Cmd Length",
114 "Bad Ersp Ratio",
117 "Bad CR_CONN Length",
118 "Bad CR_CONN Rqst Length",
120 "Bad Association ID Length",
123 "Bad Connection ID Length",
126 "Bad CR_CONN Cmd Length",
127 "Bad DISCONN Length",
[all …]
/linux/drivers/mtd/nand/onenand/
H A Donenand_bbt.c3 * Bad Block Table support for the OneNAND driver
26 * Check for a pattern at the given place. Used to search bad block
27 * tables and good / bad block identifiers. Same as check_pattern, but
46 * create_bbt - [GENERIC] Create a bad block table by scanning the device
49 * @bd: descriptor for the good/bad block search pattern
53 * Create a bad block table by scanning the device
54 * for the given good/bad block identify pattern
67 printk(KERN_INFO "Scanning device for bad blocks\n"); in create_bbt()
97 /* If it is a initial bad block, just ignore it */ in create_bbt()
105 "initial bad block\n", i >> 1); in create_bbt()
[all …]
/linux/include/linux/mtd/
H A Dbbm.h3 * NAND family Bad Block Management (BBM) header file
4 * - Bad Block Table (BBT) implementation
19 * struct nand_bbt_descr - bad block table descriptor
32 * bad) block in the stored bbt
33 * @pattern: pattern to identify bad block table or factory marked good /
34 * bad blocks, can be NULL, if len = 0
36 * Descriptor for the bad block table marker and the descriptor for the
37 * pattern which identifies good and bad blocks. The assumption is made
53 /* Options for the bad block table descriptors */
61 /* The bad block table is in the last good block of the device */
[all …]
/linux/drivers/mtd/nand/raw/
H A Dnand_bbt.c4 * Bad block table support for the NAND driver
10 * When nand_scan_bbt is called, then it tries to find the bad block table
13 * marked good / bad blocks. This information is used to create a memory BBT.
14 * Once a new bad block is discovered then the "factory" information is updated
21 * If the tables are not versioned, then we "or" the bad block information.
24 * good / bad blocks and the bad block tables are created.
29 * The auto generated bad block table is located in the last good blocks
40 * 00b: block is factory marked bad
41 * 01b, 10b: block is marked bad due to wear
43 * The memory bad block table uses the following scheme:
[all …]
/linux/fs/ceph/
H A Dmdsmap.c58 #define __decode_and_drop_type(p, end, type, bad) \ argument
61 goto bad; \
65 #define __decode_and_drop_set(p, end, type, bad) \ argument
69 ceph_decode_32_safe(p, end, n, bad); \
71 ceph_decode_need(p, end, need, bad); \
75 #define __decode_and_drop_map(p, end, ktype, vtype, bad) \ argument
79 ceph_decode_32_safe(p, end, n, bad); \
81 ceph_decode_need(p, end, need, bad); \
92 ceph_decode_need(p, end, sizeof(u64) + sizeof(u32), bad); in __decode_and_drop_compat_set()
100 bad); in __decode_and_drop_compat_set()
[all …]
/linux/tools/testing/ktest/examples/include/
H A Dbisect.conf23 # You must set the commit that was considered bad (git bisect bad)
28 # that requires to run a test to know if the bisect was good or bad.
29 # The test should exit with 0 on good, non-zero for bad. But see
33 # It is usually a good idea to confirm that the GOOD and the BAD
34 # commits are truly good and bad respectively. Having BISECT_CHECK
35 # set to 1 will check both that the good commit works and the bad
37 # set BISECT_CHECK to 'good' or to 'bad'.
40 #BISECT_CHECK = bad
66 # if the commit was good or bad. Instead, it will ask you to tell
76 # Currently (which hopefully will be fixed soon), the bad config
[all …]
/linux/arch/mips/include/asm/sn/
H A Dfru.h20 confidence_t km_confidence; /* confidence level that the memory is bad
24 /* confidence level that dimm[i] is bad
31 confidence_t kc_confidence; /* confidence level that cpu is bad */
32 confidence_t kc_icache; /* confidence level that instr. cache is bad */
33 confidence_t kc_dcache; /* confidence level that data cache is bad */
34 confidence_t kc_scache; /* confidence level that sec. cache is bad */
35 confidence_t kc_sysbus; /* confidence level that sysad/cmd/state bus is bad */
39 confidence_t kpb_belief; /* confidence level that the pci bus is bad */
41 /* confidence level that the pci dev is bad */
/linux/Documentation/driver-api/
H A Dmtdnand.rst424 use bad block tables on FLASH, because the ECC layout is interfering
425 with the bad block marker positions. See bad block table support for
428 Bad block table support
431 Most NAND chips mark the bad blocks at a defined position in the spare
432 area. Those blocks must not be erased under any circumstances as the bad
433 block information would be lost. It is possible to check the bad block
435 the first page in the block. This is time consuming so a bad block table
438 The nand driver supports various types of bad block tables.
442 The bad block table contains all bad block information of the device
447 A bad block table is used per chip and contains the bad block
[all …]
/linux/drivers/misc/lkdtm/
H A Dperms.c78 pr_info("attempting bad execution at %px\n", dst); in execute_location()
100 pr_info("attempting bad execution at %px\n", dst); in execute_user_location()
111 pr_info("attempting bad rodata write at %px\n", ptr); in lkdtm_WRITE_RO()
113 pr_err("FAIL: survived bad write\n"); in lkdtm_WRITE_RO()
130 pr_info("attempting bad ro_after_init write at %px\n", ptr); in lkdtm_WRITE_RO_AFTER_INIT()
132 pr_err("FAIL: survived bad write\n"); in lkdtm_WRITE_RO_AFTER_INIT()
144 pr_info("attempting bad %zu byte write at %px\n", size, ptr); in lkdtm_WRITE_KERN()
147 pr_err("FAIL: survived bad write\n"); in lkdtm_WRITE_KERN()
161 pr_info("attempting bad %zu bytes write at %px\n", size, do_nothing); in lkdtm_WRITE_OPD()
163 pr_err("FAIL: survived bad write\n"); in lkdtm_WRITE_OPD()
[all …]
H A Drefcount.c35 pr_info("attempting bad refcount_inc() overflow\n"); in lkdtm_REFCOUNT_INC_OVERFLOW()
54 pr_info("attempting bad refcount_add() overflow\n"); in lkdtm_REFCOUNT_ADD_OVERFLOW()
65 pr_info("attempting bad refcount_inc_not_zero() overflow\n"); in lkdtm_REFCOUNT_INC_NOT_ZERO_OVERFLOW()
77 pr_info("attempting bad refcount_add_not_zero() overflow\n"); in lkdtm_REFCOUNT_ADD_NOT_ZERO_OVERFLOW()
113 pr_info("attempting bad refcount_dec() to zero\n"); in lkdtm_REFCOUNT_DEC_ZERO()
149 pr_info("attempting bad refcount_dec() below zero\n"); in lkdtm_REFCOUNT_DEC_NEGATIVE()
163 pr_info("attempting bad refcount_dec_and_test() below zero\n"); in lkdtm_REFCOUNT_DEC_AND_TEST_NEGATIVE()
178 pr_info("attempting bad refcount_sub_and_test() below zero\n"); in lkdtm_REFCOUNT_SUB_AND_TEST_NEGATIVE()
193 pr_info("attempting bad refcount_sub_and_test() at zero\n"); in lkdtm_REFCOUNT_SUB_AND_TEST_ZERO()
236 pr_info("attempting bad refcount_inc() from zero\n"); in lkdtm_REFCOUNT_INC_ZERO()
[all …]
/linux/net/ceph/
H A Ddecode.c21 goto bad; in ceph_decode_entity_addr_versioned()
26 ceph_decode_copy_safe(p, end, &addr->type, sizeof(addr->type), bad); in ceph_decode_entity_addr_versioned()
28 ceph_decode_copy_safe(p, end, &addr->nonce, sizeof(addr->nonce), bad); in ceph_decode_entity_addr_versioned()
30 ceph_decode_32_safe(p, end, addr_len, bad); in ceph_decode_entity_addr_versioned()
32 goto bad; in ceph_decode_entity_addr_versioned()
36 ceph_decode_copy_safe(p, end, &addr->in_addr, addr_len, bad); in ceph_decode_entity_addr_versioned()
45 bad: in ceph_decode_entity_addr_versioned()
56 ceph_decode_skip_n(p, end, 3, bad); in ceph_decode_entity_addr_legacy()
63 ceph_decode_copy_safe(p, end, &addr->nonce, sizeof(addr->nonce), bad); in ceph_decode_entity_addr_legacy()
66 sizeof(addr->in_addr), bad); in ceph_decode_entity_addr_legacy()
[all …]
/linux/tools/testing/selftests/x86/
H A Dtest_FCOMI.c75 printf("[BAD]\tfcomi_1_pi with flags:%lx\n", flags); in test()
79 printf("[BAD]\tfcomi_pi_1 with flags:%lx->%lx\n", flags, res_fcomi_pi_1 & ARITH); in test()
83 printf("[BAD]\tfcomi_1_1 with flags:%lx\n", flags); in test()
87 printf("[BAD]\tFE_INVALID is set in %s\n", __func__); in test()
112 printf("[BAD]\tfcomi_qnan_1 with flags:%lx\n", flags); in test_qnan()
116 printf("[BAD]\tFE_INVALID is not set in %s\n", __func__); in test_qnan()
141 printf("[BAD]\tfcomi_qnan_1 with flags:%lx\n", flags); in testu_qnan()
145 printf("[BAD]\tFE_INVALID is set in %s\n", __func__); in testu_qnan()
172 printf("[BAD]\tfcomi_qnan_1 with flags:%lx\n", flags); in testu_snan()
177 printf("[BAD]\tFE_INVALID is not set in %s\n", __func__); in testu_snan()
[all …]
H A Dtest_FISTTP.c36 printf("[BAD]\tfisttp 1\n"); in test()
41 printf("[BAD]\tfisttp 1: wrong exception state\n"); in test()
56 printf("[BAD]\tfisttp pi\n"); in test()
61 printf("[BAD]\tfisttp pi: wrong exception state\n"); in test()
79 printf("[BAD]\tfisttp -pi\n"); in test()
84 printf("[BAD]\tfisttp -pi: wrong exception state\n"); in test()
100 printf("[BAD]\tfisttp ln2\n"); in test()
105 printf("[BAD]\tfisttp ln2: wrong exception state\n"); in test()
/linux/drivers/mtd/ubi/
H A Dio.c106 * that this eraseblock may become bad soon (but do not have to);
229 * bad.
317 * %-EIO is returned, the physical eraseblock most probably went bad.
367 * torture_peb - test a supposedly bad physical eraseblock.
424 ubi_msg(ubi, "PEB %d passed torture test, do not mark it as bad", pnum); in torture_peb()
434 ubi_err(ubi, "read problems on freshly erased PEB %d, must be bad", in torture_peb()
533 * eraseblock is bad.
577 * ubi_io_is_bad - check if a physical eraseblock is bad.
581 * This function returns a positive number if the physical eraseblock is bad,
595 ubi_err(ubi, "error %d while checking if PEB %d is bad", in ubi_io_is_bad()
[all …]
H A DKconfig8 flash chips like wear and bad blocks and provides some other useful
32 int "Maximum expected bad eraseblock count per 1024 eraseblocks"
36 This option specifies the maximum bad physical eraseblocks UBI
38 flash does not admit of bad eraseblocks (e.g. NOR flash), this value
43 expected bad eraseblocks per 1024 eraseblocks then can be calculated
48 about 1.9% of physical eraseblocks for bad blocks handling. And that
51 flash chip admits maximum 40 bad eraseblocks, and it is split on two
98 UBI driver will transparently handle things like bad eraseblocks and
/linux/drivers/tee/optee/
H A Drpc.c21 goto bad; in handle_rpc_func_cmd_get_time()
24 goto bad; in handle_rpc_func_cmd_get_time()
32 bad: in handle_rpc_func_cmd_get_time()
67 goto bad; in handle_rpc_func_cmd_i2c_transfer()
71 goto bad; in handle_rpc_func_cmd_i2c_transfer()
76 goto bad; in handle_rpc_func_cmd_i2c_transfer()
82 goto bad; in handle_rpc_func_cmd_i2c_transfer()
100 goto bad; in handle_rpc_func_cmd_i2c_transfer()
119 bad: in handle_rpc_func_cmd_i2c_transfer()
137 goto bad; in handle_rpc_func_cmd_wq()
[all …]
/linux/drivers/md/
H A Draid1-10.c13 * correct the read error. To keep track of bad blocks on a per-bio
17 /* When we successfully write to a known bad-block, we need to remove the
18 * bad-block marking which must be done from process context. So we record
229 * raid1_check_read_range() - check a given read range for bad blocks,
237 * 1) If there are no bad blocks in the range, @len is returned;
238 * 2) If the range are all bad blocks, 0 is returned;
239 * 3) If there are partial bad blocks:
240 * - If the bad block range starts after @this_sector, the length of first
242 * - If the bad block range starts before @this_sector, 0 is returned and
252 /* no bad block overlap */ in raid1_check_read_range()
[all …]
/linux/drivers/gpu/drm/radeon/
H A Devergreen_cs.c1146 dev_warn(p->dev, "bad SET_CONTEXT_REG " in evergreen_cs_handle_reg()
1158 dev_warn(p->dev, "bad SET_CONTEXT_REG " in evergreen_cs_handle_reg()
1165 dev_warn(p->dev, "bad SET_CONTEXT_REG " in evergreen_cs_handle_reg()
1175 dev_warn(p->dev, "bad SET_CONTEXT_REG " in evergreen_cs_handle_reg()
1217 dev_warn(p->dev, "bad SET_CONTEXT_REG " in evergreen_cs_handle_reg()
1229 dev_warn(p->dev, "bad SET_CONTEXT_REG " in evergreen_cs_handle_reg()
1241 dev_warn(p->dev, "bad SET_CONTEXT_REG " in evergreen_cs_handle_reg()
1253 dev_warn(p->dev, "bad SET_CONTEXT_REG " in evergreen_cs_handle_reg()
1276 dev_warn(p->dev, "bad SET_CONTEXT_REG " in evergreen_cs_handle_reg()
1314 dev_warn(p->dev, "bad SET_CONTEXT_REG " in evergreen_cs_handle_reg()
[all …]
H A Dr600_cs.c443 /* the initial DDX does bad things with the CB size occasionally */ in r600_cs_track_validate_cb()
445 /* r600c,g also seem to flush at bad times in some apps resulting in in r600_cs_track_validate_cb()
865 DRM_ERROR("vline WAIT_REG_MEM bad reg\n"); in r600_cs_common_vline_parse()
870 DRM_ERROR("vline WAIT_REG_MEM bad bit mask\n"); in r600_cs_common_vline_parse()
1016 dev_warn(p->dev, "bad SET_CONTEXT_REG " in r600_cs_check_reg()
1034 dev_warn(p->dev, "bad SET_CONTEXT_REG " in r600_cs_check_reg()
1076 dev_warn(p->dev, "bad SET_CONTEXT_REG " in r600_cs_check_reg()
1135 dev_err(p->dev, "bad SET_CONTEXT_REG 0x%04X\n", reg); in r600_cs_check_reg()
1207 dev_err(p->dev, "bad SET_CONTEXT_REG 0x%04X\n", reg); in r600_cs_check_reg()
1238 dev_err(p->dev, "bad SET_CONTEXT_REG 0x%04X\n", reg); in r600_cs_check_reg()
[all …]
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpmac.h129 * @DPMAC_CNT_ING_FRAME_64: counts 64-bytes frames, good or bad.
130 * @DPMAC_CNT_ING_FRAME_127: counts 65- to 127-bytes frames, good or bad.
131 * @DPMAC_CNT_ING_FRAME_255: counts 128- to 255-bytes frames, good or bad.
132 * @DPMAC_CNT_ING_FRAME_511: counts 256- to 511-bytes frames, good or bad.
133 * @DPMAC_CNT_ING_FRAME_1023: counts 512- to 1023-bytes frames, good or bad.
134 * @DPMAC_CNT_ING_FRAME_1518: counts 1024- to 1518-bytes frames, good or bad.
137 * good or bad.
141 * specified, with a bad frame check sequence.
159 * @DPMAC_CNT_ING_ALL_FRAME: counts each good or bad frames received.
/linux/security/selinux/ss/
H A Dpolicydb.c1130 goto bad; in perm_read()
1137 goto bad; in perm_read()
1141 goto bad; in perm_read()
1144 bad: in perm_read()
1163 goto bad; in common_read()
1171 goto bad; in common_read()
1176 goto bad; in common_read()
1181 goto bad; in common_read()
1188 goto bad; in common_read()
1190 bad: in common_read()
[all …]

12345678910>>...107