Home
last modified time | relevance | path

Searched refs:fail_point (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/sys/
H A Dfail.h65 struct fail_point { struct
102 enum fail_point_return_code fail_point_eval_nontrivial(struct fail_point *, argument
114 void fail_point_init(struct fail_point *, const char *fmt, ...)
118 bool fail_point_is_off(struct fail_point *fp);
126 fail_point_sleep_set_pre_func(struct fail_point *fp, void (*sleep_fn)(void *)) in fail_point_sleep_set_pre_func()
132 fail_point_sleep_set_pre_arg(struct fail_point *fp, void *sleep_arg) in fail_point_sleep_set_pre_arg()
142 fail_point_sleep_set_post_func(struct fail_point *fp, void (*sleep_fn)(void *)) in fail_point_sleep_set_post_func()
148 fail_point_sleep_set_post_arg(struct fail_point *fp, void *sleep_arg) in fail_point_sleep_set_post_arg()
153 void fail_point_alloc_callout(struct fail_point *);
162 fail_point_use_timeout_path(struct fail_point *fp, bool use_timeout, in fail_point_use_timeout_path()
[all …]
/freebsd/sys/kern/
H A Dkern_fail.c77 ILOG_DEFINE_FOR_FILE(L_ISI_FAIL_POINT, L_ILOG, fail_point);
171 struct fail_point *fe_parent; /**< backpointer to fp */
178 struct fail_point * fs_parent;
192 struct fail_point *fp);
194 static inline void fail_point_setting_release_ref(struct fail_point *fp);
197 fail_point *);
210 fail_point_swap_settings(struct fail_point *fp,
215 static inline void fail_point_eval_swap_out(struct fail_point *fp,
219 fail_point_is_off(struct fail_point *fp) in fail_point_is_off()
244 fail_point_setting_new(struct fail_point *fp) in fail_point_setting_new()
[all …]
/freebsd/tests/sys/geom/class/mirror/
H A D9_test.sh28 sysctl debug.fail_point.g_mirror_metadata_write="1*return(5)[pid $(gmirror_worker_pid)]" || exit 1
30 sysctl debug.fail_point.g_mirror_metadata_write='off' || exit 1
H A Dsync_error.sh5 REG_READ_FP=debug.fail_point.g_mirror_regular_request_read
/freebsd/tools/test/stress2/misc/
H A Dgraid1_9.sh71 woid=debug.fail_point.g_mirror_regular_request_write
72 roid=debug.fail_point.g_mirror_regular_request_read
H A Duma_zalloc_arg.sh46 s2=`sysctl -n debug.fail_point.uma_zalloc_arg`
49 sysctl debug.fail_point.uma_zalloc_arg="$s2" > /dev/null
53 sysctl debug.fail_point.uma_zalloc_arg='1%return'
H A Dgraid1_10.sh65 roid=debug.fail_point.g_mirror_regular_request_read