Home
last modified time | relevance | path

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

/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.c100 int l, bad; in ceph_copy_user_to_page_vector() local
104 bad = copy_from_user(page_address(pages[i]) + po, data, l); in ceph_copy_user_to_page_vector()
105 if (bad == l) in ceph_copy_user_to_page_vector()
107 data += l - bad; in ceph_copy_user_to_page_vector()
108 left -= l - bad; in ceph_copy_user_to_page_vector()
109 po += l - bad; in ceph_copy_user_to_page_vector()
Dauth.c122 ceph_decode_need(&p, end, 1 + sizeof(u32), bad); in ceph_auth_build_hello()
126 ceph_decode_need(&p, end, num * sizeof(u32), bad); in ceph_auth_build_hello()
133 ceph_decode_need(&p, end, sizeof(u64), bad); in ceph_auth_build_hello()
142 bad: in ceph_auth_build_hello()
194 ceph_decode_need(&p, end, sizeof(u32) * 3 + sizeof(u64), bad); in ceph_handle_auth_reply()
201 ceph_decode_need(&p, end, sizeof(u32), bad); in ceph_handle_auth_reply()
206 goto bad; in ceph_handle_auth_reply()
253 bad: in ceph_handle_auth_reply()
Dauth_x.c160 ceph_decode_need(p, end, sizeof(u32) + 1, bad); in process_one_ticket()
167 goto bad; in process_one_ticket()
185 goto bad; in process_one_ticket()
199 ceph_decode_8_safe(p, end, is_enc, bad); in process_one_ticket()
214 ceph_decode_32_safe(ptp, tpend, dlen, bad); in process_one_ticket()
216 ceph_decode_need(ptp, tpend, 1 + sizeof(u64), bad); in process_one_ticket()
241 bad: in process_one_ticket()
255 ceph_decode_8_safe(&p, end, reply_struct_v, bad); in ceph_x_proc_ticket_reply()
259 ceph_decode_32_safe(&p, end, num, bad); in ceph_x_proc_ticket_reply()
270 bad: in ceph_x_proc_ticket_reply()
[all …]
Dbuffer.c47 ceph_decode_need(p, end, sizeof(u32), bad); in ceph_decode_buffer()
50 ceph_decode_need(p, end, len, bad); in ceph_decode_buffer()
56 bad: in ceph_decode_buffer()
Dmon_client.c49 ceph_decode_32_safe(&p, end, len, bad); in ceph_monmap_decode()
50 ceph_decode_need(&p, end, len, bad); in ceph_monmap_decode()
54 ceph_decode_16_safe(&p, end, version, bad); in ceph_monmap_decode()
56 ceph_decode_need(&p, end, sizeof(fsid) + 2*sizeof(u32), bad); in ceph_monmap_decode()
61 ceph_decode_need(&p, end, num_mon*sizeof(m->mon_inst[0]), bad); in ceph_monmap_decode()
64 goto bad; in ceph_monmap_decode()
82 bad: in ceph_monmap_decode()
297 goto bad; in handle_subscribe_ack()
313 bad: in handle_subscribe_ack()
651 goto bad; in handle_statfs_reply()
[all …]
Dcrypto.c90 ceph_decode_need(p, end, 2*sizeof(u16) + sizeof(key->created), bad); in ceph_crypto_key_decode()
94 ceph_decode_need(p, end, key->len, bad); in ceph_crypto_key_decode()
99 bad: in ceph_crypto_key_decode()
Dosd_client.c3214 ceph_decode_need(&p, end, sizeof(fsid), bad); in ceph_osdc_handle_map()
3217 goto bad; in ceph_osdc_handle_map()
3225 ceph_decode_32_safe(&p, end, nr_maps, bad); in ceph_osdc_handle_map()
3228 ceph_decode_need(&p, end, 2*sizeof(u32), bad); in ceph_osdc_handle_map()
3231 ceph_decode_need(&p, end, maplen, bad); in ceph_osdc_handle_map()
3239 goto bad; in ceph_osdc_handle_map()
3252 ceph_decode_32_safe(&p, end, nr_maps, bad); in ceph_osdc_handle_map()
3255 ceph_decode_need(&p, end, 2*sizeof(u32), bad); in ceph_osdc_handle_map()
3258 ceph_decode_need(&p, end, maplen, bad); in ceph_osdc_handle_map()
3271 goto bad; in ceph_osdc_handle_map()
[all …]
Dmessenger.c1927 goto bad; in ceph_parse_ips()
1935 goto bad; in ceph_parse_ips()
1951 goto bad; in ceph_parse_ips()
1963 goto bad; in ceph_parse_ips()
1968 goto bad; in ceph_parse_ips()
1974 bad: in ceph_parse_ips()
/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()
/net/sched/
Dact_pedit.c151 goto bad; in tcf_pedit()
156 goto bad; in tcf_pedit()
163 goto bad; in tcf_pedit()
169 goto bad; in tcf_pedit()
174 goto bad; in tcf_pedit()
185 bad: in tcf_pedit()
/net/ipv6/
Dexthdrs_core.c123 goto bad; in ipv6_find_tlv()
128 goto bad; in ipv6_find_tlv()
147 goto bad; in ipv6_find_tlv()
154 bad: in ipv6_find_tlv()
Dah6.c135 goto bad; in zero_out_mutable_opts()
138 goto bad; in zero_out_mutable_opts()
150 bad: in zero_out_mutable_opts()
179 goto bad; in ipv6_rearrange_destopt()
182 goto bad; in ipv6_rearrange_destopt()
196 goto bad; in ipv6_rearrange_destopt()
209 bad: in ipv6_rearrange_destopt()
Dexthdrs.c107 goto bad; in ip6_parse_tlv()
121 goto bad; in ip6_parse_tlv()
132 goto bad; in ip6_parse_tlv()
139 goto bad; in ip6_parse_tlv()
145 goto bad; in ip6_parse_tlv()
169 bad: in ip6_parse_tlv()
/net/irda/
DKconfig65 Disabling this option will make latency over IrDA very bad. Enabling