| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/net/ceph/ |
| H A D | decode.c | 17 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 …]
|
| H A D | osdmap.c | 59 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 …]
|
| H A D | pagevec.c | 68 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()
|
| /OK3568_Linux_fs/kernel/fs/ceph/ |
| H A D | mdsmap.c | 57 #define __decode_and_drop_type(p, end, type, bad) \ argument 60 goto bad; \ 64 #define __decode_and_drop_set(p, end, type, bad) \ argument 68 ceph_decode_32_safe(p, end, n, bad); \ 70 ceph_decode_need(p, end, need, bad); \ 74 #define __decode_and_drop_map(p, end, ktype, vtype, bad) \ argument 78 ceph_decode_32_safe(p, end, n, bad); \ 80 ceph_decode_need(p, end, need, bad); \ 91 ceph_decode_need(p, end, sizeof(u64) + sizeof(u32), bad); in __decode_and_drop_compat_set() 99 bad); in __decode_and_drop_compat_set() [all …]
|
| H A D | mds_client.c | 78 ceph_decode_8_safe(p, end, struct_v, bad); in parse_reply_info_quota() 79 ceph_decode_8_safe(p, end, struct_compat, bad); in parse_reply_info_quota() 83 goto bad; in parse_reply_info_quota() 84 ceph_decode_32_safe(p, end, struct_len, bad); in parse_reply_info_quota() 85 ceph_decode_need(p, end, struct_len, bad); in parse_reply_info_quota() 87 ceph_decode_64_safe(p, end, info->max_bytes, bad); in parse_reply_info_quota() 88 ceph_decode_64_safe(p, end, info->max_files, bad); in parse_reply_info_quota() 91 bad: in parse_reply_info_quota() 108 ceph_decode_8_safe(p, end, struct_v, bad); in parse_reply_info_in() 109 ceph_decode_8_safe(p, end, struct_compat, bad); in parse_reply_info_in() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/tee/optee/ |
| H A D | rpc.c | 38 goto bad; in handle_rpc_func_cmd_get_time() 41 goto bad; in handle_rpc_func_cmd_get_time() 49 bad: in handle_rpc_func_cmd_get_time() 82 goto bad; in handle_rpc_func_cmd_i2c_transfer() 86 goto bad; in handle_rpc_func_cmd_i2c_transfer() 91 goto bad; in handle_rpc_func_cmd_i2c_transfer() 97 goto bad; in handle_rpc_func_cmd_i2c_transfer() 115 goto bad; in handle_rpc_func_cmd_i2c_transfer() 133 bad: in handle_rpc_func_cmd_i2c_transfer() 191 goto bad; in handle_rpc_func_cmd_wq() [all …]
|
| /OK3568_Linux_fs/kernel/security/selinux/ss/ |
| H A D | policydb.c | 1112 goto bad; in perm_read() 1119 goto bad; in perm_read() 1123 goto bad; in perm_read() 1126 bad: in perm_read() 1145 goto bad; in common_read() 1153 goto bad; in common_read() 1158 goto bad; in common_read() 1163 goto bad; in common_read() 1168 goto bad; in common_read() 1170 bad: in common_read() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/md/ |
| H A D | dm-default-key.c | 175 goto bad; in default_key_ctr() 181 goto bad; in default_key_ctr() 190 goto bad; in default_key_ctr() 196 goto bad; in default_key_ctr() 203 goto bad; in default_key_ctr() 211 goto bad; in default_key_ctr() 219 goto bad; in default_key_ctr() 228 goto bad; in default_key_ctr() 234 goto bad; in default_key_ctr() 246 goto bad; in default_key_ctr() [all …]
|
| H A D | dm-verity-target.c | 1013 goto bad; in verity_ctr() 1018 goto bad; in verity_ctr() 1024 goto bad; in verity_ctr() 1031 goto bad; in verity_ctr() 1038 goto bad; in verity_ctr() 1044 goto bad; in verity_ctr() 1053 goto bad; in verity_ctr() 1063 goto bad; in verity_ctr() 1072 goto bad; in verity_ctr() 1079 goto bad; in verity_ctr() [all …]
|
| /OK3568_Linux_fs/kernel/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 $config to $bad\n"; 752 my $ret = config_bisect $good, $bad; 761 run_command "rm $bad"; [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/ubi/ |
| H A D | vtbl.c | 195 goto bad; 203 goto bad; 208 goto bad; 214 goto bad; 221 goto bad; 226 goto bad; 231 goto bad; 238 goto bad; 243 goto bad; 248 goto bad; [all …]
|
| H A D | io.c | 674 goto bad; in validate_ec_hdr() 680 goto bad; in validate_ec_hdr() 686 goto bad; in validate_ec_hdr() 691 goto bad; in validate_ec_hdr() 696 bad: in validate_ec_hdr() 886 goto bad; in validate_vid_hdr() 892 goto bad; in validate_vid_hdr() 897 goto bad; in validate_vid_hdr() 902 goto bad; in validate_vid_hdr() 909 goto bad; in validate_vid_hdr() [all …]
|
| /OK3568_Linux_fs/kernel/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 | 636 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 …]
|
| /OK3568_Linux_fs/u-boot/drivers/power/ |
| H A D | tps6586x.c | 173 int bad; in tps6586x_adjust_sm0_sm1() local 214 bad = 0; in tps6586x_adjust_sm0_sm1() 215 while (!bad && (sm0 != sm0_target || sm1 != sm1_target)) { in tps6586x_adjust_sm0_sm1() 227 bad |= set_voltage(SM0_VOLTAGE_V1, sm0, rate); in tps6586x_adjust_sm0_sm1() 234 bad |= set_voltage(SM1_VOLTAGE_V1, sm1, rate); in tps6586x_adjust_sm0_sm1() 238 bad |= set_voltage(SM0_VOLTAGE_V1, sm0, rate); in tps6586x_adjust_sm0_sm1() 243 return bad ? -EINVAL : 0; in tps6586x_adjust_sm0_sm1()
|
| /OK3568_Linux_fs/kernel/fs/xfs/scrub/ |
| H A D | inode.c | 121 goto bad; in xchk_inode_flags() 125 goto bad; in xchk_inode_flags() 129 goto bad; in xchk_inode_flags() 137 goto bad; in xchk_inode_flags() 142 goto bad; in xchk_inode_flags() 146 goto bad; in xchk_inode_flags() 149 bad: in xchk_inode_flags() 172 goto bad; in xchk_inode_flags2() 178 goto bad; in xchk_inode_flags2() 182 goto bad; in xchk_inode_flags2() [all …]
|
| H A D | health.c | 131 bool bad; in xchk_update_health() local 136 bad = (sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT); in xchk_update_health() 140 if (bad) in xchk_update_health() 149 if (bad) in xchk_update_health() 155 if (bad) in xchk_update_health() 161 if (bad) in xchk_update_health()
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/ |
| H A D | sock_server.c | 168 goto bad; in sock_server() 173 goto bad; in sock_server() 185 goto bad; in sock_server() 191 goto bad; in sock_server() 199 bad: in sock_server() 246 goto bad; in sock_server_add_fd() 249 goto bad; in sock_server_add_fd() 252 goto bad; in sock_server_add_fd() 263 goto bad; in sock_server_add_fd() 267 goto bad; in sock_server_add_fd() [all …]
|
| /OK3568_Linux_fs/kernel/net/bridge/ |
| H A D | br_netfilter_ipv6.c | 55 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()
|
| /OK3568_Linux_fs/kernel/drivers/pcmcia/ |
| H A D | rsrc_nonstatic.c | 187 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 …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/ |
| H A D | hard-reg-set.h | 104 HARD_REG_ELT_TYPE bad = 0; member 106 bad |= (elts[i] ^ other.elts[i]); 107 return bad == 0; 234 HARD_REG_ELT_TYPE bad = 0; 236 bad |= (x.elts[i] & ~y.elts[i]); 237 return bad == 0; 252 HARD_REG_ELT_TYPE bad = 0; 254 bad |= x.elts[i]; 255 return bad == 0;
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/ |
| H A D | hard-reg-set.h | 104 HARD_REG_ELT_TYPE bad = 0; member 106 bad |= (elts[i] ^ other.elts[i]); 107 return bad == 0; 234 HARD_REG_ELT_TYPE bad = 0; 236 bad |= (x.elts[i] & ~y.elts[i]); 237 return bad == 0; 252 HARD_REG_ELT_TYPE bad = 0; 254 bad |= x.elts[i]; 255 return bad == 0;
|