Searched refs:bad (Results 1 - 25 of 160) sorted by relevance

1234567

/linux-master/include/linux/ceph/
H A Ddecode.h57 #define ceph_decode_need(p, end, n, bad) \
60 goto bad; \
63 #define ceph_decode_64_safe(p, end, v, bad) \
65 ceph_decode_need(p, end, sizeof(u64), bad); \
68 #define ceph_decode_32_safe(p, end, v, bad) \
70 ceph_decode_need(p, end, sizeof(u32), bad); \
73 #define ceph_decode_16_safe(p, end, v, bad) \
75 ceph_decode_need(p, end, sizeof(u16), bad); \
78 #define ceph_decode_8_safe(p, end, v, bad) \
80 ceph_decode_need(p, end, sizeof(u8), bad); \
[all...]
/linux-master/block/
H A Dbadblocks.c20 * The purpose of badblocks set/clear is to manage bad blocks ranges which are
23 * When the caller of badblocks_set() wants to set a range of bad blocks, the
27 * more complicated when the setting range covers multiple already set bad block
28 * ranges, with restrictions of maximum length of each bad range and the bad
32 * for setting a large range of bad blocks, we can handle it by dividing the
34 * bad table full conditions. Every time only a smaller piece of the bad range
36 * possible overlapped or adjacent already set bad block ranges. Then the hard
39 * When setting a range of bad block
481 prev_badblocks(struct badblocks *bb, struct badblocks_context *bad, int hint) argument
534 can_merge_behind(struct badblocks *bb, struct badblocks_context *bad, int behind) argument
554 behind_merge(struct badblocks *bb, struct badblocks_context *bad, int behind) argument
579 can_merge_front(struct badblocks *bb, int prev, struct badblocks_context *bad) argument
597 front_merge(struct badblocks *bb, int prev, struct badblocks_context *bad) argument
633 can_combine_front(struct badblocks *bb, int prev, struct badblocks_context *bad) argument
671 overlap_front(struct badblocks *bb, int front, struct badblocks_context *bad) argument
686 overlap_behind(struct badblocks *bb, struct badblocks_context *bad, int behind) argument
718 can_front_overwrite(struct badblocks *bb, int prev, struct badblocks_context *bad, int *extra) argument
761 front_overwrite(struct badblocks *bb, int prev, struct badblocks_context *bad, int extra) argument
823 insert_at(struct badblocks *bb, int at, struct badblocks_context *bad) argument
864 struct badblocks_context bad; local
1073 front_clear(struct badblocks *bb, int prev, struct badblocks_context *bad, int *deleted) argument
1116 front_splitting_clear(struct badblocks *bb, int prev, struct badblocks_context *bad) argument
1136 struct badblocks_context bad; local
1279 struct badblocks_context bad; local
[all...]
/linux-master/net/ceph/
H A Ddecode.c21 goto bad;
26 ceph_decode_copy_safe(p, end, &addr->type, sizeof(addr->type), bad);
28 ceph_decode_copy_safe(p, end, &addr->nonce, sizeof(addr->nonce), bad);
30 ceph_decode_32_safe(p, end, addr_len, bad);
32 goto bad;
36 ceph_decode_copy_safe(p, end, &addr->in_addr, addr_len, bad);
45 bad:
56 ceph_decode_skip_n(p, end, 3, bad);
63 ceph_decode_copy_safe(p, end, &addr->nonce, sizeof(addr->nonce), bad);
66 sizeof(addr->in_addr), bad);
[all...]
H A Dbuffer.c48 ceph_decode_need(p, end, sizeof(u32), bad);
51 ceph_decode_need(p, end, len, bad);
57 bad:
H A Dpagevec.c68 int l, bad; local
72 bad = copy_from_user(page_address(pages[i]) + po, data, l);
73 if (bad == l)
75 data += l - bad;
76 left -= l - bad;
77 po += l - bad;
H A Dauth_x.c90 pr_err("%s bad magic\n", __func__);
180 ceph_decode_need(p, end, sizeof(u32) + 1, bad);
187 goto bad;
203 ceph_decode_8_safe(&dp, dend, tkt_struct_v, bad);
205 goto bad;
211 ceph_decode_need(&dp, dend, sizeof(struct ceph_timespec), bad);
220 ceph_decode_8_safe(p, end, is_enc, bad);
235 ceph_decode_32_safe(ptp, tpend, dlen, bad);
237 ceph_decode_need(ptp, tpend, 1 + sizeof(u64), bad);
240 goto bad;
[all...]
/linux-master/drivers/tee/optee/
H A Drpc.c20 goto bad;
23 goto bad;
31 bad:
66 goto bad;
70 goto bad;
75 goto bad;
81 goto bad;
99 goto bad;
118 bad:
134 goto bad;
[all...]
/linux-master/fs/ceph/
H A Dmdsmap.c58 #define __decode_and_drop_type(p, end, type, bad) \
61 goto bad; \
65 #define __decode_and_drop_set(p, end, type, bad) \
69 ceph_decode_32_safe(p, end, n, bad); \
71 ceph_decode_need(p, end, need, bad); \
75 #define __decode_and_drop_map(p, end, ktype, vtype, bad) \
79 ceph_decode_32_safe(p, end, n, bad); \
81 ceph_decode_need(p, end, need, bad); \
92 ceph_decode_need(p, end, sizeof(u64) + sizeof(u32), bad);
100 bad);
[all...]
/linux-master/fs/xfs/scrub/
H A Dhealth.c27 * the good/bad state of the data structure.
186 bool bad; local
203 bad = (sc->sm->sm_flags & (XFS_SCRUB_OFLAG_CORRUPT |
208 if (bad)
217 if (bad) {
233 if (bad)
239 if (bad)
264 * If we know the btree is bad then don't bother, just set XFAIL.
H A Dinode.c97 /* Reject internal metadata files and obviously bad inode numbers. */
278 goto bad;
282 goto bad;
286 goto bad;
294 goto bad;
299 goto bad;
303 goto bad;
306 bad:
329 goto bad;
335 goto bad;
[all...]
/linux-master/include/crypto/internal/
H A Ddes.h66 goto bad;
69 goto bad;
72 bad:
/linux-master/tools/testing/ktest/examples/include/
H A Dbisect.conf23 # You must set the commit that was considered bad (git bisect bad)
28 # that requires to run a test to know if the bisect was good or bad.
29 # The test should exit with 0 on good, non-zero for bad. But see
34 # commits are truly good and bad respectively. Having BISECT_CHECK
35 # set to 1 will check both that the good commit works and the bad
37 # set BISECT_CHECK to 'good' or to 'bad'.
40 #BISECT_CHECK = bad
66 # if the commit was good or bad. Instead, it will ask you to tell
76 # Currently (which hopefully will be fixed soon), the bad confi
[all...]
/linux-master/net/ipv6/
H A Dexthdrs_core.c124 goto bad;
129 goto bad;
147 goto bad;
150 goto bad;
157 bad:
/linux-master/drivers/mtd/ubi/
H A Dvtbl.c34 * eraseblocks became bad for some reasons. Suppose we are attaching the
38 * eraseblocks went bad. So we cannot alarm the user properly.
178 ubi_err(ubi, "bad CRC at record %u: %#08x, not %#08x",
188 goto bad;
196 goto bad;
201 goto bad;
207 goto bad;
212 ubi_err(ubi, "bad data_pad, has to be %d", n);
214 goto bad;
219 goto bad;
[all...]
H A Dio.c106 * that this eraseblock may become bad soon (but do not have to);
229 * bad.
317 * %-EIO is returned, the physical eraseblock most probably went bad.
367 * torture_peb - test a supposedly bad physical eraseblock.
424 ubi_msg(ubi, "PEB %d passed torture test, do not mark it as bad", pnum);
434 ubi_err(ubi, "read problems on freshly erased PEB %d, must be bad",
533 * eraseblock is bad.
577 * ubi_io_is_bad - check if a physical eraseblock is bad.
581 * This function returns a positive number if the physical eraseblock is bad,
595 ubi_err(ubi, "error %d while checking if PEB %d is bad",
[all...]
/linux-master/drivers/md/persistent-data/
H A Ddm-space-map-disk.c233 goto bad;
237 goto bad;
241 goto bad;
245 bad:
267 goto bad;
271 goto bad;
275 bad:
/linux-master/drivers/mtd/tests/
H A Dmtd_test.c36 pr_info("block %d is bad\n", ebnum);
44 int i, bad = 0; local
49 pr_info("scanning for bad eraseblocks\n");
53 bad += 1;
56 pr_info("scanned %d eraseblocks, %d are bad\n", i, bad);
/linux-master/drivers/pcmcia/
H A Drsrc_nonstatic.c187 unsigned int i, j, bad; local
216 bad = any = 0;
222 if (!bad)
223 bad = any = i;
233 if (!bad)
234 bad = any = i;
236 if (bad) {
237 sub_interval(&s_data->io_db, bad, i-bad);
238 pr_cont(" %#x-%#x", bad,
409 u_long i, j, bad, fail, step; local
[all...]
/linux-master/security/selinux/ss/
H A Dpolicydb.c1127 goto bad;
1134 goto bad;
1138 goto bad;
1141 bad:
1160 goto bad;
1168 goto bad;
1173 goto bad;
1178 goto bad;
1183 goto bad;
1185 bad
[all...]
H A Debitmap.c386 goto bad;
399 goto bad;
405 goto bad;
413 goto bad;
419 goto bad;
429 goto bad;
442 goto bad;
448 goto bad;
462 bad:
/linux-master/drivers/md/
H A Ddm-verity-target.c1266 goto bad;
1271 goto bad;
1277 goto bad;
1286 goto bad;
1293 goto bad;
1300 goto bad;
1306 goto bad;
1315 goto bad;
1325 goto bad;
1334 goto bad;
[all...]
H A Ddm-delay.c233 goto bad;
239 goto bad;
242 goto bad;
250 goto bad;
254 goto bad;
261 goto bad;
275 goto bad;
284 goto bad;
294 bad:
H A Ddm-ebs-target.c271 goto bad;
279 goto bad;
286 goto bad;
297 goto bad;
305 goto bad;
314 goto bad;
323 goto bad;
330 goto bad;
343 bad:
/linux-master/tools/testing/ktest/
H A Dconfig-bisect.pl9 # config-bisect.pl [options] good-config bad-config [good|bad]
12 # Compares a good config to a bad config, then takes half of the diffs
14 # the bad config. That is, the resulting config will start with the
16 # the good and bad configs match the bad config. It tries because of
24 # $ config-bisect.pl /path/to/good/config /path/to/bad/config
27 # so do not make that be one of the good or bad configs), and then
30 # the good config. It does the same for the bad config as well.
35 # and the bad confi
[all...]
/linux-master/arch/sh/kernel/
H A Dio_trapped.c53 goto bad;
63 goto bad;
68 goto bad;
75 goto bad;
101 bad:

Completed in 517 milliseconds

1234567