| /linux/include/linux/ceph/ |
| H A D | decode.h | 57 #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/block/ |
| H A D | badblocks.c | 481 static int prev_badblocks(struct badblocks *bb, struct badblocks_context *bad, in prev_badblocks() argument 484 sector_t s = bad->start; in prev_badblocks() 535 struct badblocks_context *bad) in can_merge_front() argument 537 sector_t s = bad->start; in can_merge_front() 540 if (BB_ACK(p[prev]) == bad->ack && in can_merge_front() 552 static int front_merge(struct badblocks *bb, int prev, struct badblocks_context *bad) in front_merge() argument 554 sector_t sectors = bad->len; in front_merge() 555 sector_t s = bad->start; in front_merge() 571 BB_LEN(p[prev]) + merged, bad->ack); in front_merge() 589 struct badblocks_context *bad) in can_combine_front() argument [all …]
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | dm-dust.rst | 4 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/fs/ceph/ |
| H A D | mdsmap.c | 59 #define __decode_and_drop_type(p, end, type, bad) \ argument 62 goto bad; \ 66 #define __decode_and_drop_set(p, end, type, bad) \ argument 70 ceph_decode_32_safe(p, end, n, bad); \ 72 ceph_decode_need(p, end, need, bad); \ 76 #define __decode_and_drop_map(p, end, ktype, vtype, bad) \ argument 80 ceph_decode_32_safe(p, end, n, bad); \ 82 ceph_decode_need(p, end, need, bad); \ 93 ceph_decode_need(p, end, sizeof(u64) + sizeof(u32), bad); in __decode_and_drop_compat_set() 101 bad); in __decode_and_drop_compat_set() [all …]
|
| H A D | mds_client.c | 100 ceph_decode_8_safe(p, end, struct_v, bad); in parse_reply_info_quota() 101 ceph_decode_8_safe(p, end, struct_compat, bad); in parse_reply_info_quota() 105 goto bad; in parse_reply_info_quota() 106 ceph_decode_32_safe(p, end, struct_len, bad); in parse_reply_info_quota() 107 ceph_decode_need(p, end, struct_len, bad); in parse_reply_info_quota() 109 ceph_decode_64_safe(p, end, info->max_bytes, bad); in parse_reply_info_quota() 110 ceph_decode_64_safe(p, end, info->max_files, bad); in parse_reply_info_quota() 113 bad: in parse_reply_info_quota() 130 ceph_decode_8_safe(p, end, struct_v, bad); in parse_reply_info_in() 131 ceph_decode_8_safe(p, end, struct_compat, bad); in parse_reply_info_in() [all …]
|
| /linux/drivers/tee/optee/ |
| H A D | rpc.c | 21 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() 66 goto bad; in handle_rpc_func_cmd_i2c_transfer() 70 goto bad; in handle_rpc_func_cmd_i2c_transfer() 75 goto bad; in handle_rpc_func_cmd_i2c_transfer() 81 goto bad; in handle_rpc_func_cmd_i2c_transfer() 99 goto bad; in handle_rpc_func_cmd_i2c_transfer() 118 bad: in handle_rpc_func_cmd_i2c_transfer() 136 goto bad; in handle_rpc_func_cmd_wq() [all …]
|
| /linux/net/ceph/ |
| H A D | osdmap.c | 75 ceph_decode_32_safe(p, end, b->item_weight, bad); in crush_decode_uniform_bucket() 77 bad: in crush_decode_uniform_bucket() 92 ceph_decode_need(p, end, 2 * b->h.size * sizeof(u32), bad); in crush_decode_list_bucket() 98 bad: in crush_decode_list_bucket() 107 ceph_decode_8_safe(p, end, b->num_nodes, bad); in crush_decode_tree_bucket() 111 ceph_decode_need(p, end, b->num_nodes * sizeof(u32), bad); in crush_decode_tree_bucket() 115 bad: in crush_decode_tree_bucket() 130 ceph_decode_need(p, end, 2 * b->h.size * sizeof(u32), bad); in crush_decode_straw_bucket() 136 bad: in crush_decode_straw_bucket() 148 ceph_decode_need(p, end, b->h.size * sizeof(u32), bad); in crush_decode_straw2_bucket() [all …]
|
| H A D | auth_x.c | 216 ceph_decode_need(p, end, sizeof(u32) + 1, bad); in process_one_ticket() 223 goto bad; in process_one_ticket() 241 ceph_decode_8_safe(&dp, dend, tkt_struct_v, bad); in process_one_ticket() 243 goto bad; in process_one_ticket() 254 ceph_decode_need(&dp, dend, sizeof(struct ceph_timespec), bad); in process_one_ticket() 263 ceph_decode_8_safe(p, end, is_enc, bad); in process_one_ticket() 280 ceph_decode_32_safe(ptp, tpend, dlen, bad); in process_one_ticket() 282 ceph_decode_need(ptp, tpend, 1 + sizeof(u64), bad); in process_one_ticket() 285 goto bad; in process_one_ticket() 308 bad: in process_one_ticket() [all …]
|
| /linux/security/selinux/ss/ |
| H A D | policydb.c | 1229 goto bad; in perm_read() 1235 goto bad; in perm_read() 1238 goto bad; in perm_read() 1241 goto bad; in perm_read() 1246 goto bad; in perm_read() 1250 goto bad; in perm_read() 1253 bad: in perm_read() 1272 goto bad; in common_read() 1279 goto bad; in common_read() 1284 goto bad; in common_read() [all …]
|
| /linux/net/rxrpc/ |
| H A D | peer_event.c | 387 int good, trial, bad, jumbo; in rxrpc_input_probe_for_pmtud() local 391 bad = peer->pmtud_bad; in rxrpc_input_probe_for_pmtud() 392 if (good >= bad - 1) { in rxrpc_input_probe_for_pmtud() 411 bad = trial; in rxrpc_input_probe_for_pmtud() 412 peer->pmtud_bad = bad; in rxrpc_input_probe_for_pmtud() 413 if (bad <= max_data) in rxrpc_input_probe_for_pmtud() 414 max_data = bad - 1; in rxrpc_input_probe_for_pmtud() 435 if (good < RXRPC_JUMBO(2) && bad > RXRPC_JUMBO(2)) in rxrpc_input_probe_for_pmtud() 437 else if (good < RXRPC_JUMBO(4) && bad > RXRPC_JUMBO(4)) in rxrpc_input_probe_for_pmtud() 439 else if (good < RXRPC_JUMBO(3) && bad > RXRPC_JUMBO(3)) in rxrpc_input_probe_for_pmtud() [all …]
|
| /linux/tools/testing/ktest/ |
| H A D | config-bisect.pl | 700 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 $output_config to $bad\n"; 752 my $ret = config_bisect $good, $bad; 761 run_command "rm $bad"; [all …]
|
| /linux/drivers/mtd/ubi/ |
| H A D | vtbl.c | 188 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 …]
|
| H A D | io.c | 658 goto bad; in validate_ec_hdr() 664 goto bad; in validate_ec_hdr() 670 goto bad; in validate_ec_hdr() 675 goto bad; in validate_ec_hdr() 680 bad: in validate_ec_hdr() 904 goto bad; in validate_vid_hdr() 910 goto bad; in validate_vid_hdr() 915 goto bad; in validate_vid_hdr() 920 goto bad; in validate_vid_hdr() 927 goto bad; in validate_vid_hdr() [all …]
|
| /linux/Documentation/translations/zh_CN/admin-guide/ |
| H A D | bug-bisect.rst | 45 $ git bisect bad [commit] 58 $ git bisect bad 66 $ git bisect bad # Current version is bad 70 .. [#f1] 您可以(可选地)在开始git bisect的时候提供good或bad参数
|
| /linux/Documentation/translations/zh_TW/admin-guide/ |
| H A D | bug-bisect.rst | 48 $ git bisect bad [commit] 61 $ git bisect bad 69 $ git bisect bad # Current version is bad 73 .. [#f1] 您可以(可選地)在開始git bisect的時候提供good或bad參數
|
| /linux/drivers/md/ |
| H A D | dm-inlinecrypt.c | 337 goto bad; in inlinecrypt_ctr() 343 goto bad; in inlinecrypt_ctr() 350 goto bad; in inlinecrypt_ctr() 357 goto bad; in inlinecrypt_ctr() 364 goto bad; in inlinecrypt_ctr() 372 goto bad; in inlinecrypt_ctr() 380 goto bad; in inlinecrypt_ctr() 390 goto bad; in inlinecrypt_ctr() 396 goto bad; in inlinecrypt_ctr() 401 goto bad; in inlinecrypt_ctr() [all …]
|
| H A D | dm-verity-target.c | 1439 goto bad; in verity_ctr() 1444 goto bad; in verity_ctr() 1450 goto bad; in verity_ctr() 1459 goto bad; in verity_ctr() 1466 goto bad; in verity_ctr() 1473 goto bad; in verity_ctr() 1479 goto bad; in verity_ctr() 1488 goto bad; in verity_ctr() 1498 goto bad; in verity_ctr() 1507 goto bad; in verity_ctr() [all …]
|
| /linux/Documentation/driver-api/ |
| H A D | mtdnand.rst | 424 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 block information of the device 447 A bad block table is used per chip and contains the bad block 452 The bad block table is located at a fixed offset in the chip [all …]
|
| /linux/fs/xfs/scrub/ |
| H A D | health.c | 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()
|
| H A D | inode.c | 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() 376 goto bad; in xchk_inode_flags2() [all …]
|
| /linux/drivers/of/unittest-data/ |
| H A D | tests-phandle.dtsi | 60 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/drivers/md/persistent-data/ |
| H A D | dm-space-map-disk.c | 233 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/scripts/coccinelle/tests/ |
| H A D | doubletest.cocci | 30 @bad@ 42 @depends on context && !bad@ 49 @script:python depends on org && !bad@ 55 @script:python depends on report && !bad@
|
| /linux/net/ipv6/ |
| H A D | exthdrs_core.c | 127 goto bad; in ipv6_find_tlv() 132 goto bad; in ipv6_find_tlv() 150 goto bad; in ipv6_find_tlv() 153 goto bad; in ipv6_find_tlv() 160 bad: in ipv6_find_tlv()
|
| /linux/net/sched/ |
| H A D | act_pedit.c | 418 goto bad; in tcf_pedit_act() 429 goto bad; in tcf_pedit_act() 434 goto bad; in tcf_pedit_act() 439 goto bad; in tcf_pedit_act() 445 goto bad; in tcf_pedit_act() 451 goto bad; in tcf_pedit_act() 456 goto bad; in tcf_pedit_act() 461 goto bad; in tcf_pedit_act() 466 goto bad; in tcf_pedit_act() 469 goto bad; in tcf_pedit_act() [all …]
|