Home
last modified time | relevance | path

Searched refs:bad (Results 1 – 25 of 364) sorted by relevance

12345678910>>...15

/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); \
84 ceph_decode_copy_safe(p,end,pv,n,bad) global() argument
139 ceph_decode_skip_n(p,end,n,bad) global() argument
145 ceph_decode_skip_64(p,end,bad) global() argument
148 ceph_decode_skip_32(p,end,bad) global() argument
151 ceph_decode_skip_16(p,end,bad) global() argument
154 ceph_decode_skip_8(p,end,bad) global() argument
157 ceph_decode_skip_string(p,end,bad) global() argument
165 ceph_decode_skip_set(p,end,type,bad) global() argument
174 ceph_decode_skip_map(p,end,ktype,vtype,bad) global() argument
185 ceph_decode_skip_map_of_map(p,end,ktype1,ktype2,vtype2,bad) global() argument
359 ceph_encode_need(p,end,n,bad) global() argument
365 ceph_encode_64_safe(p,end,v,bad) global() argument
370 ceph_encode_32_safe(p,end,v,bad) global() argument
375 ceph_encode_16_safe(p,end,v,bad) global() argument
380 ceph_encode_8_safe(p,end,v,bad) global() argument
386 ceph_encode_copy_safe(p,end,pv,n,bad) global() argument
391 ceph_encode_string_safe(p,end,s,n,bad) global() argument
[all...]
/linux/block/ !
H A Dbadblocks.c20 * 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 block
481 prev_badblocks(struct badblocks * bb,struct badblocks_context * bad,int hint) prev_badblocks() argument
535 can_merge_front(struct badblocks * bb,int prev,struct badblocks_context * bad) can_merge_front() argument
552 front_merge(struct badblocks * bb,int prev,struct badblocks_context * bad) front_merge() argument
589 can_combine_front(struct badblocks * bb,int prev,struct badblocks_context * bad) can_combine_front() argument
627 overlap_front(struct badblocks * bb,int front,struct badblocks_context * bad) overlap_front() argument
641 overlap_behind(struct badblocks * bb,struct badblocks_context * bad,int behind) overlap_behind() argument
674 can_front_overwrite(struct badblocks * bb,int prev,struct badblocks_context * bad,int * extra) can_front_overwrite() argument
717 front_overwrite(struct badblocks * bb,int prev,struct badblocks_context * bad,int extra) front_overwrite() argument
778 insert_at(struct badblocks * bb,int at,struct badblocks_context * bad) insert_at() argument
843 struct badblocks_context bad; _badblocks_set() local
989 front_clear(struct badblocks * bb,int prev,struct badblocks_context * bad,int * deleted) front_clear() argument
1032 front_splitting_clear(struct badblocks * bb,int prev,struct badblocks_context * bad) front_splitting_clear() argument
1051 struct badblocks_context bad; _badblocks_clear() local
1190 struct badblocks_context bad; _badblocks_check() local
[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 block
[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...]
H A Dmds_client.c81 ceph_decode_8_safe(p, end, struct_v, bad); in parse_reply_info_quota()
82 ceph_decode_8_safe(p, end, struct_compat, bad); in parse_reply_info_quota()
86 goto bad; in parse_reply_info_quota()
87 ceph_decode_32_safe(p, end, struct_len, bad); in parse_reply_info_quota()
88 ceph_decode_need(p, end, struct_len, bad); in parse_reply_info_quota()
90 ceph_decode_64_safe(p, end, info->max_bytes, bad); in parse_reply_info_quota()
91 ceph_decode_64_safe(p, end, info->max_files, bad); in parse_reply_info_quota()
94 bad: in parse_reply_info_quota()
111 ceph_decode_8_safe(p, end, struct_v, bad); in parse_reply_info_in()
112 ceph_decode_8_safe(p, end, struct_compat, bad); in parse_reply_info_in()
[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...]
H A Dosdmap.c75 ceph_decode_need(p, end, (1+b->h.size) * sizeof(u32), bad); in crush_decode_uniform_bucket()
78 bad: in crush_decode_uniform_bucket()
93 ceph_decode_need(p, end, 2 * b->h.size * sizeof(u32), bad); in crush_decode_list_bucket()
99 bad: in crush_decode_list_bucket()
108 ceph_decode_8_safe(p, end, b->num_nodes, bad); in crush_decode_tree_bucket()
112 ceph_decode_need(p, end, b->num_nodes * sizeof(u32), bad); in crush_decode_tree_bucket()
116 bad: in crush_decode_tree_bucket()
131 ceph_decode_need(p, end, 2 * b->h.size * sizeof(u32), bad); in crush_decode_straw_bucket()
137 bad: in crush_decode_straw_bucket()
149 ceph_decode_need(p, end, b->h.size * sizeof(u32), bad); in crush_decode_straw2_bucket()
[all...]
H A Dauth_x.c90 pr_err("%s bad magic\n", __func__); in __ceph_x_decrypt()
180 ceph_decode_need(p, end, sizeof(u32) + 1, bad); in process_one_ticket()
187 goto bad; in process_one_ticket()
203 ceph_decode_8_safe(&dp, dend, tkt_struct_v, bad); in process_one_ticket()
205 goto bad; in process_one_ticket()
211 ceph_decode_need(&dp, dend, sizeof(struct ceph_timespec), bad); in process_one_ticket()
220 ceph_decode_8_safe(p, end, is_enc, bad); in process_one_ticket()
235 ceph_decode_32_safe(ptp, tpend, dlen, bad); in process_one_ticket()
237 ceph_decode_need(ptp, tpend, 1 + sizeof(u64), bad); in process_one_ticket()
240 goto bad; in process_one_ticket()
[all...]
/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/net/rxrpc/ !
H A Dpeer_event.c372 int good, trial, bad, jumbo; in rxrpc_input_probe_for_pmtud() local
376 bad = peer->pmtud_bad; in rxrpc_input_probe_for_pmtud()
377 if (good >= bad - 1) { in rxrpc_input_probe_for_pmtud()
396 bad = trial; in rxrpc_input_probe_for_pmtud()
397 peer->pmtud_bad = bad; in rxrpc_input_probe_for_pmtud()
398 if (bad <= max_data) in rxrpc_input_probe_for_pmtud()
399 max_data = bad - 1; in rxrpc_input_probe_for_pmtud()
420 if (good < RXRPC_JUMBO(2) && bad > RXRPC_JUMBO(2)) in rxrpc_input_probe_for_pmtud()
422 else if (good < RXRPC_JUMBO(4) && bad > RXRPC_JUMBO(4)) in rxrpc_input_probe_for_pmtud()
424 else if (good < RXRPC_JUMBO(3) && bad > RXRPC_JUMB in rxrpc_input_probe_for_pmtud()
[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 confi
[all...]
/linux/security/selinux/ss/ !
H A Dpolicydb.c1140 goto bad; in perm_read()
1147 goto bad; in perm_read()
1151 goto bad; in perm_read()
1154 bad: in perm_read()
1173 goto bad; in common_read()
1181 goto bad; in common_read()
1186 goto bad; in common_read()
1191 goto bad; in common_read()
1198 goto bad; in common_read()
1200 bad in common_read()
[all...]
H A Debitmap.c387 goto bad; in ebitmap_read()
400 goto bad; in ebitmap_read()
406 goto bad; in ebitmap_read()
414 goto bad; in ebitmap_read()
420 goto bad; in ebitmap_read()
430 goto bad; in ebitmap_read()
443 goto bad; in ebitmap_read()
449 goto bad; in ebitmap_read()
454 goto bad; in ebitmap_read()
467 goto bad; in ebitmap_read()
[all...]
/linux/Documentation/translations/zh_CN/admin-guide/ !
H A Dbug-bisect.rst45 $ git bisect bad [commit]
58 $ git bisect bad
66 $ git bisect bad # Current version is bad
/linux/drivers/mtd/ubi/ !
H A Dvtbl.c34 * eraseblocks became bad for some reasons. Suppose we are attaching the
38 * eraseblocks went bad. So we cannot alarm the user properly.
178 ubi_err(ubi, "bad CRC at record %u: %#08x, not %#08x", in vtbl_check()
188 goto bad; in vtbl_check()
196 goto bad; in vtbl_check()
201 goto bad; in vtbl_check()
207 goto bad; in vtbl_check()
212 ubi_err(ubi, "bad data_pad, has to be %d", n); in vtbl_check()
214 goto bad; in vtbl_check()
219 goto bad; in vtbl_check()
[all...]
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...]
/linux/fs/xfs/scrub/ !
H A Dhealth.c28 * the good/bad state of the data structure.
197 bool bad; in xchk_update_health() local
211 bad = (sc->sm->sm_flags & (XFS_SCRUB_OFLAG_CORRUPT | in xchk_update_health()
213 if (!bad) in xchk_update_health()
222 if (bad) in xchk_update_health()
240 if (bad) in xchk_update_health()
248 if (bad) in xchk_update_health()
257 if (bad) in xchk_update_health()
283 * If we know the btree is bad then don't bother, just set XFAIL. in xchk_ag_btree_del_cursor_if_sick()
H A Dinode.c121 /* Reject obviously bad inode numbers. */ in xchk_setup_inode()
315 goto bad; in xchk_inode_flags()
319 goto bad; in xchk_inode_flags()
323 goto bad; in xchk_inode_flags()
331 goto bad; in xchk_inode_flags()
336 goto bad; in xchk_inode_flags()
340 goto bad; in xchk_inode_flags()
343 bad: in xchk_inode_flags()
366 goto bad; in xchk_inode_flags2()
372 goto bad; in xchk_inode_flags2()
[all...]
/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
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 bloc
[all...]
/linux/drivers/pcmcia/ !
H A Drsrc_nonstatic.c187 unsigned int i, j, bad; in do_io_probe() local
216 bad = any = 0; in do_io_probe()
222 if (!bad) in do_io_probe()
223 bad = any = i; in do_io_probe()
233 if (!bad) in do_io_probe()
234 bad = any = i; in do_io_probe()
236 if (bad) { in do_io_probe()
237 sub_interval(&s_data->io_db, bad, i-bad); in do_io_probe()
238 pr_cont(" %#x-%#x", bad, in do_io_probe()
409 u_long i, j, bad, fail, step; do_mem_probe() local
[all...]
/linux/drivers/of/unittest-data/ !
H A Dtests-phandle.dtsi60 phandle-list-bad-phandle = <12345678 0 0>;
61 phandle-list-bad-args = <&provider2 1 0>,
78 phandle-list-bad-phandle = <12345678 0 0>;
79 phandle-list-bad-args = <&provider2 1 0>,
/linux/scripts/coccinelle/tests/ !
H A Ddoubletest.cocci30 @bad@
42 @depends on context && !bad@
49 @script:python depends on org && !bad@
55 @script:python depends on report && !bad@
/linux/drivers/md/persistent-data/ !
H A Ddm-space-map-disk.c233 goto bad; in dm_sm_disk_create()
237 goto bad; in dm_sm_disk_create()
241 goto bad; in dm_sm_disk_create()
245 bad: in dm_sm_disk_create()
267 goto bad; in dm_sm_disk_open()
271 goto bad; in dm_sm_disk_open()
275 bad: in dm_sm_disk_open()
/linux/fs/bcachefs/ !
H A Dutil.c810 bool bad;
817 bad = true;
820 bad = s >= 0 && test_array[s] <= search;
824 bad = s >= 0 && test_array[s] <= search;
827 if (bad) {
847 bool bad;
854 bad = true;
857 bad = s >= 0 && test_array[s] > search;
861 bad = s >= 0 && test_array[s] > search;
864 if (bad) {
[all...]
/linux/net/ipv6/ !
H A Dexthdrs_core.c124 goto bad; in ipv6_find_tlv()
129 goto bad; in ipv6_find_tlv()
147 goto bad; in ipv6_find_tlv()
150 goto bad; in ipv6_find_tlv()
157 bad: in ipv6_find_tlv()

12345678910>>...15