Home
last modified time | relevance | path

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

12345678910>>...12

/Linux-v4.19/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-v4.19/fs/ceph/
Dmdsmap.c46 #define __decode_and_drop_type(p, end, type, bad) \ argument
49 goto bad; \
53 #define __decode_and_drop_set(p, end, type, bad) \ argument
57 ceph_decode_32_safe(p, end, n, bad); \
59 ceph_decode_need(p, end, need, bad); \
63 #define __decode_and_drop_map(p, end, ktype, vtype, bad) \ argument
67 ceph_decode_32_safe(p, end, n, bad); \
69 ceph_decode_need(p, end, need, bad); \
80 ceph_decode_need(p, end, sizeof(u64) + sizeof(u32), bad); in __decode_and_drop_compat_set()
88 bad); in __decode_and_drop_compat_set()
[all …]
/Linux-v4.19/drivers/tee/optee/
Drpc.c46 goto bad; in handle_rpc_func_cmd_get_time()
49 goto bad; in handle_rpc_func_cmd_get_time()
57 bad: in handle_rpc_func_cmd_get_time()
107 goto bad; in handle_rpc_func_cmd_wq()
111 goto bad; in handle_rpc_func_cmd_wq()
121 goto bad; in handle_rpc_func_cmd_wq()
126 bad: in handle_rpc_func_cmd_wq()
135 goto bad; in handle_rpc_func_cmd_wait()
139 goto bad; in handle_rpc_func_cmd_wait()
148 bad: in handle_rpc_func_cmd_wait()
[all …]
/Linux-v4.19/security/selinux/ss/
Dpolicydb.c1133 goto bad; in perm_read()
1140 goto bad; in perm_read()
1144 goto bad; in perm_read()
1147 bad: in perm_read()
1166 goto bad; in common_read()
1173 goto bad; in common_read()
1179 goto bad; in common_read()
1184 goto bad; in common_read()
1189 goto bad; in common_read()
1191 bad: in common_read()
[all …]
Debitmap.c368 goto bad; in ebitmap_read()
381 goto bad; in ebitmap_read()
387 goto bad; in ebitmap_read()
395 goto bad; in ebitmap_read()
401 goto bad; in ebitmap_read()
410 goto bad; in ebitmap_read()
423 goto bad; in ebitmap_read()
429 goto bad; in ebitmap_read()
443 bad: in ebitmap_read()
/Linux-v4.19/tools/testing/ktest/
Dconfig-bisect.pl701 my $bad = "$bad_start.tmp";
718 if ( -f $good || -f $bad ) {
725 if ( -f $bad ) {
726 $p = "$p$bad exists\n";
736 run_command "cp $bad_start $bad" or die "faield to copy to $bad\n";
741 if ( ! -f $bad ) {
742 die "Can not find file $bad\n";
747 run_command "cp $output_config $bad" or die "failed to copy $config to $bad\n";
753 my $ret = config_bisect $good, $bad;
762 run_command "rm $bad";
[all …]
/Linux-v4.19/net/ceph/
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.c101 int l, bad; in ceph_copy_user_to_page_vector() local
105 bad = copy_from_user(page_address(pages[i]) + po, data, l); in ceph_copy_user_to_page_vector()
106 if (bad == l) in ceph_copy_user_to_page_vector()
108 data += l - bad; in ceph_copy_user_to_page_vector()
109 left -= l - bad; in ceph_copy_user_to_page_vector()
110 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-v4.19/drivers/mtd/ubi/
Dvtbl.c201 goto bad; in vtbl_check()
209 goto bad; in vtbl_check()
214 goto bad; in vtbl_check()
220 goto bad; in vtbl_check()
227 goto bad; in vtbl_check()
232 goto bad; in vtbl_check()
237 goto bad; in vtbl_check()
244 goto bad; in vtbl_check()
249 goto bad; in vtbl_check()
254 goto bad; in vtbl_check()
[all …]
Dio.c649 goto bad; in validate_ec_hdr()
655 goto bad; in validate_ec_hdr()
661 goto bad; in validate_ec_hdr()
666 goto bad; in validate_ec_hdr()
671 bad: in validate_ec_hdr()
861 goto bad; in validate_vid_hdr()
867 goto bad; in validate_vid_hdr()
872 goto bad; in validate_vid_hdr()
877 goto bad; in validate_vid_hdr()
884 goto bad; in validate_vid_hdr()
[all …]
DKconfig7 flash chips like wear and bad blocks and provides some other useful
31 int "Maximum expected bad eraseblock count per 1024 eraseblocks"
35 This option specifies the maximum bad physical eraseblocks UBI
37 flash does not admit of bad eraseblocks (e.g. NOR flash), this value
42 expected bad eraseblocks per 1024 eraseblocks then can be calculated
47 about 1.9% of physical eraseblocks for bad blocks handling. And that
50 flash chip admits maximum 40 bad eraseblocks, and it is split on two
97 UBI driver will transparently handle things like bad eraseblocks and
/Linux-v4.19/net/bridge/
Dbr_netfilter_ipv6.c59 goto bad; in br_nf_check_hbh_len()
77 goto bad; in br_nf_check_hbh_len()
81 goto bad; in br_nf_check_hbh_len()
83 goto bad; in br_nf_check_hbh_len()
86 goto bad; in br_nf_check_hbh_len()
91 goto bad; in br_nf_check_hbh_len()
99 bad: in br_nf_check_hbh_len()
/Linux-v4.19/fs/xfs/scrub/
Dinode.c131 goto bad; in xchk_inode_flags()
136 goto bad; in xchk_inode_flags()
140 goto bad; in xchk_inode_flags()
148 goto bad; in xchk_inode_flags()
153 goto bad; in xchk_inode_flags()
157 goto bad; in xchk_inode_flags()
160 bad: in xchk_inode_flags()
183 goto bad; in xchk_inode_flags2()
189 goto bad; in xchk_inode_flags2()
193 goto bad; in xchk_inode_flags2()
[all …]
/Linux-v4.19/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-v4.19/drivers/md/
Ddm-verity-target.c951 goto bad; in verity_ctr()
956 goto bad; in verity_ctr()
962 goto bad; in verity_ctr()
969 goto bad; in verity_ctr()
976 goto bad; in verity_ctr()
982 goto bad; in verity_ctr()
991 goto bad; in verity_ctr()
1001 goto bad; in verity_ctr()
1010 goto bad; in verity_ctr()
1017 goto bad; in verity_ctr()
[all …]
Ddm-delay.c198 goto bad; in delay_ctr()
203 goto bad; in delay_ctr()
206 goto bad; in delay_ctr()
212 goto bad; in delay_ctr()
216 goto bad; in delay_ctr()
222 goto bad; in delay_ctr()
229 goto bad; in delay_ctr()
237 bad: in delay_ctr()
Ddm-flakey.c218 goto bad; in flakey_ctr()
224 goto bad; in flakey_ctr()
228 goto bad; in flakey_ctr()
233 goto bad; in flakey_ctr()
239 goto bad; in flakey_ctr()
244 goto bad; in flakey_ctr()
249 goto bad; in flakey_ctr()
258 bad: in flakey_ctr()
/Linux-v4.19/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-v4.19/drivers/pcmcia/
Drsrc_nonstatic.c190 unsigned int i, j, bad; in do_io_probe() local
219 bad = any = 0; in do_io_probe()
225 if (!bad) in do_io_probe()
226 bad = any = i; in do_io_probe()
236 if (!bad) in do_io_probe()
237 bad = any = i; in do_io_probe()
239 if (bad) { in do_io_probe()
240 sub_interval(&s_data->io_db, bad, i-bad); in do_io_probe()
241 pr_cont(" %#x-%#x", bad, i-1); in do_io_probe()
242 bad = 0; in do_io_probe()
[all …]
/Linux-v4.19/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-v4.19/scripts/coccinelle/tests/
Ddoubletest.cocci29 @bad@
41 @depends on context && !bad@
48 @script:python depends on org && !bad@
54 @script:python depends on report && !bad@
/Linux-v4.19/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()
/Linux-v4.19/Documentation/mtd/nand/
Dpxa3xx-nand.txt81 Factory bad blocks handling
100 It can be seen from the above, that the factory bad block marker must be
105 likely to be marked as bad.
107 For this reason, marking the block as bad in the OOB is explicitly
109 for this is that there's no point in marking a block as bad, because good
110 blocks are also 'marked as bad' (in the OOB BBM sense) under normal usage.
112 Instead, the driver relies on the bad block table alone, and should only perform
113 the bad block scan on the very first time (when the device hasn't been used).

12345678910>>...12