1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * Automatically generated by rvgen kunit. 4 * May need manual intervention for function prototypes that couldn't be 5 * found (e.g. are in another file) or variables to be exported. 6 */ 7 8 #ifndef __NOMISS_KUNIT_H 9 #define __NOMISS_KUNIT_H 10 11 #if IS_ENABLED(CONFIG_RV_MONITORS_KUNIT_TEST) 12 13 #include <linux/rv.h> 14 #include <rv/kunit.h> 15 16 extern const struct rv_nomiss_ops { 17 struct rv_kunit_mon mon; 18 const u64 *deadline_thresh; 19 void (*handle_dl_replenish)(void *data, struct sched_dl_entity *dl_se, 20 int cpu, u8 type); 21 void (*handle_dl_throttle)(void *data, struct sched_dl_entity *dl_se, 22 int cpu, u8 type); 23 void (*handle_dl_server_stop)(void *data, struct sched_dl_entity *dl_se, 24 int cpu, u8 type); 25 void (*handle_sched_switch)(void *data, bool preempt, 26 struct task_struct *prev, 27 struct task_struct *next, 28 unsigned int prev_state); 29 void (*handle_sched_wakeup)(void *data, struct task_struct *tsk); 30 void (*handle_sys_enter)(void *data, struct pt_regs *regs, long id); 31 void (*handle_newtask)(void *data, struct task_struct *task, u64 flags); 32 } rv_nomiss_ops; 33 #endif 34 35 #endif /* __NOMISS_KUNIT_H */ 36