Home
last modified time | relevance | path

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

12345678910>>...13

/Linux-v5.4/include/linux/ceph/
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-v5.4/net/ceph/
Ddecode.c17 goto bad; in ceph_decode_entity_addr_versioned()
22 ceph_decode_copy_safe(p, end, &addr->type, sizeof(addr->type), bad); in ceph_decode_entity_addr_versioned()
24 ceph_decode_copy_safe(p, end, &addr->nonce, sizeof(addr->nonce), bad); in ceph_decode_entity_addr_versioned()
26 ceph_decode_32_safe(p, end, addr_len, bad); in ceph_decode_entity_addr_versioned()
28 goto bad; in ceph_decode_entity_addr_versioned()
32 ceph_decode_copy_safe(p, end, &addr->in_addr, addr_len, bad); in ceph_decode_entity_addr_versioned()
41 bad: in ceph_decode_entity_addr_versioned()
52 ceph_decode_skip_n(p, end, 3, bad); in ceph_decode_entity_addr_legacy()
59 ceph_decode_copy_safe(p, end, &addr->nonce, sizeof(addr->nonce), bad); in ceph_decode_entity_addr_legacy()
62 sizeof(addr->in_addr), bad); in ceph_decode_entity_addr_legacy()
[all …]
Dosdmap.c59 ceph_decode_need(p, end, (1+b->h.size) * sizeof(u32), bad); in crush_decode_uniform_bucket()
62 bad: in crush_decode_uniform_bucket()
77 ceph_decode_need(p, end, 2 * b->h.size * sizeof(u32), bad); in crush_decode_list_bucket()
83 bad: in crush_decode_list_bucket()
92 ceph_decode_8_safe(p, end, b->num_nodes, bad); in crush_decode_tree_bucket()
96 ceph_decode_need(p, end, b->num_nodes * sizeof(u32), bad); in crush_decode_tree_bucket()
100 bad: in crush_decode_tree_bucket()
115 ceph_decode_need(p, end, 2 * b->h.size * sizeof(u32), bad); in crush_decode_straw_bucket()
121 bad: in crush_decode_straw_bucket()
133 ceph_decode_need(p, end, b->h.size * sizeof(u32), bad); in crush_decode_straw2_bucket()
[all …]
Dpagevec.c68 int l, bad; in ceph_copy_user_to_page_vector() local
72 bad = copy_from_user(page_address(pages[i]) + po, data, l); in ceph_copy_user_to_page_vector()
73 if (bad == l) in ceph_copy_user_to_page_vector()
75 data += l - bad; in ceph_copy_user_to_page_vector()
76 left -= l - bad; in ceph_copy_user_to_page_vector()
77 po += l - bad; in ceph_copy_user_to_page_vector()
Dauth.c123 ceph_decode_need(&p, end, 1 + sizeof(u32), bad); in ceph_auth_build_hello()
127 ceph_decode_need(&p, end, num * sizeof(u32), bad); in ceph_auth_build_hello()
134 ceph_decode_need(&p, end, sizeof(u64), bad); in ceph_auth_build_hello()
143 bad: in ceph_auth_build_hello()
195 ceph_decode_need(&p, end, sizeof(u32) * 3 + sizeof(u64), bad); in ceph_handle_auth_reply()
202 ceph_decode_need(&p, end, sizeof(u32), bad); in ceph_handle_auth_reply()
207 goto bad; in ceph_handle_auth_reply()
254 bad: in ceph_handle_auth_reply()
Dbuffer.c48 ceph_decode_need(p, end, sizeof(u32), bad); in ceph_decode_buffer()
51 ceph_decode_need(p, end, len, bad); in ceph_decode_buffer()
57 bad: in ceph_decode_buffer()
/Linux-v5.4/fs/ceph/
Dmdsmap.c45 #define __decode_and_drop_type(p, end, type, bad) \ argument
48 goto bad; \
52 #define __decode_and_drop_set(p, end, type, bad) \ argument
56 ceph_decode_32_safe(p, end, n, bad); \
58 ceph_decode_need(p, end, need, bad); \
62 #define __decode_and_drop_map(p, end, ktype, vtype, bad) \ argument
66 ceph_decode_32_safe(p, end, n, bad); \
68 ceph_decode_need(p, end, need, bad); \
79 ceph_decode_need(p, end, sizeof(u64) + sizeof(u32), bad); in __decode_and_drop_compat_set()
87 bad); in __decode_and_drop_compat_set()
[all …]
Dmds_client.c76 ceph_decode_8_safe(p, end, struct_v, bad); in parse_reply_info_quota()
77 ceph_decode_8_safe(p, end, struct_compat, bad); in parse_reply_info_quota()
81 goto bad; in parse_reply_info_quota()
82 ceph_decode_32_safe(p, end, struct_len, bad); in parse_reply_info_quota()
83 ceph_decode_need(p, end, struct_len, bad); in parse_reply_info_quota()
85 ceph_decode_64_safe(p, end, info->max_bytes, bad); in parse_reply_info_quota()
86 ceph_decode_64_safe(p, end, info->max_files, bad); in parse_reply_info_quota()
89 bad: in parse_reply_info_quota()
106 ceph_decode_8_safe(p, end, struct_v, bad); in parse_reply_info_in()
107 ceph_decode_8_safe(p, end, struct_compat, bad); in parse_reply_info_in()
[all …]
/Linux-v5.4/Documentation/admin-guide/device-mapper/
Ddm-dust.txt4 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-v5.4/drivers/tee/optee/
Drpc.c37 goto bad; in handle_rpc_func_cmd_get_time()
40 goto bad; in handle_rpc_func_cmd_get_time()
48 bad: in handle_rpc_func_cmd_get_time()
98 goto bad; in handle_rpc_func_cmd_wq()
102 goto bad; in handle_rpc_func_cmd_wq()
112 goto bad; in handle_rpc_func_cmd_wq()
117 bad: in handle_rpc_func_cmd_wq()
126 goto bad; in handle_rpc_func_cmd_wait()
130 goto bad; in handle_rpc_func_cmd_wait()
139 bad: in handle_rpc_func_cmd_wait()
[all …]
/Linux-v5.4/security/selinux/ss/
Dpolicydb.c1096 goto bad; in perm_read()
1103 goto bad; in perm_read()
1107 goto bad; in perm_read()
1110 bad: in perm_read()
1129 goto bad; in common_read()
1136 goto bad; in common_read()
1142 goto bad; in common_read()
1147 goto bad; in common_read()
1152 goto bad; in common_read()
1154 bad: in common_read()
[all …]
/Linux-v5.4/tools/testing/ktest/
Dconfig-bisect.pl700 my $bad = "$bad_start.tmp";
717 if ( -f $good || -f $bad ) {
724 if ( -f $bad ) {
725 $p = "$p$bad exists\n";
735 run_command "cp $bad_start $bad" or die "failed to copy to $bad\n";
740 if ( ! -f $bad ) {
741 die "Can not find file $bad\n";
746 run_command "cp $output_config $bad" or die "failed to copy $config to $bad\n";
752 my $ret = config_bisect $good, $bad;
761 run_command "rm $bad";
[all …]
/Linux-v5.4/drivers/mtd/ubi/
Dvtbl.c188 goto bad; in vtbl_check()
196 goto bad; in vtbl_check()
201 goto bad; in vtbl_check()
207 goto bad; in vtbl_check()
214 goto bad; in vtbl_check()
219 goto bad; in vtbl_check()
224 goto bad; in vtbl_check()
231 goto bad; in vtbl_check()
236 goto bad; in vtbl_check()
241 goto bad; in vtbl_check()
[all …]
Dio.c636 goto bad; in validate_ec_hdr()
642 goto bad; in validate_ec_hdr()
648 goto bad; in validate_ec_hdr()
653 goto bad; in validate_ec_hdr()
658 bad: in validate_ec_hdr()
848 goto bad; in validate_vid_hdr()
854 goto bad; in validate_vid_hdr()
859 goto bad; in validate_vid_hdr()
864 goto bad; in validate_vid_hdr()
871 goto bad; in validate_vid_hdr()
[all …]
/Linux-v5.4/fs/xfs/scrub/
Dhealth.c130 bool bad; in xchk_update_health() local
135 bad = (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT); in xchk_update_health()
139 if (bad) in xchk_update_health()
148 if (bad) in xchk_update_health()
154 if (bad) in xchk_update_health()
160 if (bad) in xchk_update_health()
Dinode.c121 goto bad; in xchk_inode_flags()
126 goto bad; in xchk_inode_flags()
130 goto bad; in xchk_inode_flags()
138 goto bad; in xchk_inode_flags()
143 goto bad; in xchk_inode_flags()
147 goto bad; in xchk_inode_flags()
150 bad: in xchk_inode_flags()
173 goto bad; in xchk_inode_flags2()
179 goto bad; in xchk_inode_flags2()
183 goto bad; in xchk_inode_flags2()
[all …]
/Linux-v5.4/net/bridge/
Dbr_netfilter_ipv6.c55 goto bad; in br_nf_check_hbh_len()
73 goto bad; in br_nf_check_hbh_len()
77 goto bad; in br_nf_check_hbh_len()
79 goto bad; in br_nf_check_hbh_len()
82 goto bad; in br_nf_check_hbh_len()
87 goto bad; in br_nf_check_hbh_len()
95 bad: in br_nf_check_hbh_len()
/Linux-v5.4/drivers/md/
Ddm-verity-target.c969 goto bad; in verity_ctr()
974 goto bad; in verity_ctr()
980 goto bad; in verity_ctr()
987 goto bad; in verity_ctr()
994 goto bad; in verity_ctr()
1000 goto bad; in verity_ctr()
1009 goto bad; in verity_ctr()
1019 goto bad; in verity_ctr()
1028 goto bad; in verity_ctr()
1035 goto bad; in verity_ctr()
[all …]
Ddm-delay.c199 goto bad; in delay_ctr()
204 goto bad; in delay_ctr()
207 goto bad; in delay_ctr()
213 goto bad; in delay_ctr()
217 goto bad; in delay_ctr()
223 goto bad; in delay_ctr()
230 goto bad; in delay_ctr()
238 bad: in delay_ctr()
/Linux-v5.4/drivers/of/unittest-data/
Dtests-phandle.dtsi51 phandle-list-bad-phandle = <12345678 0 0>;
52 phandle-list-bad-args = <&provider2 1 0>,
68 phandle-list-bad-phandle = <12345678 0 0>;
69 phandle-list-bad-args = <&provider2 1 0>,
/Linux-v5.4/Documentation/driver-api/
Dmtdnand.rst422 use bad block tables on FLASH, because the ECC layout is interfering
423 with the bad block marker positions. See bad block table support for
429 Most NAND chips mark the bad blocks at a defined position in the spare
430 area. Those blocks must not be erased under any circumstances as the bad
431 block information would be lost. It is possible to check the bad block
433 the first page in the block. This is time consuming so a bad block table
436 The nand driver supports various types of bad block tables.
440 The bad block table contains all bad block information of the device
445 A bad block table is used per chip and contains the bad block
450 The bad block table is located at a fixed offset in the chip
[all …]
/Linux-v5.4/drivers/pcmcia/
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, i-1); in do_io_probe()
239 bad = 0; in do_io_probe()
[all …]
/Linux-v5.4/Documentation/admin-guide/
Dbug-bisect.rst41 $ git bisect bad [commit]
54 $ git bisect bad
60 - For example, if you know that the current version is bad, and version
64 $ git bisect bad # Current version is bad
68 .. [#f1] You can, optionally, provide both good and bad arguments at git
/Linux-v5.4/scripts/coccinelle/tests/
Ddoubletest.cocci30 @bad@
42 @depends on context && !bad@
49 @script:python depends on org && !bad@
55 @script:python depends on report && !bad@
/Linux-v5.4/drivers/md/persistent-data/
Ddm-space-map-disk.c270 goto bad; in dm_sm_disk_create()
274 goto bad; in dm_sm_disk_create()
278 goto bad; in dm_sm_disk_create()
282 bad: in dm_sm_disk_create()
304 goto bad; in dm_sm_disk_open()
308 goto bad; in dm_sm_disk_open()
312 bad: in dm_sm_disk_open()

12345678910>>...13