Swap fp's entries with fp_setting_new */
| 333 | |
| 334 | /* Swap fp's entries with fp_setting_new */ |
| 335 | static struct fail_point_setting * |
| 336 | fail_point_swap_settings(struct fail_point *fp, |
| 337 | struct fail_point_setting *fp_setting_new) |
| 338 | { |
| 339 | struct fail_point_setting *fp_setting_old; |
| 340 | |
| 341 | fp_setting_old = fp->fp_setting; |
| 342 | fp->fp_setting = fp_setting_new; |
| 343 | |
| 344 | return (fp_setting_old); |
| 345 | } |
| 346 | |
| 347 | static inline void |
| 348 | fail_point_eval_swap_out(struct fail_point *fp, |
no outgoing calls
no test coverage detected