in_syscall
#define in_syscall(regs) ((regs->ecr.vec == ECR_V_TRAP) && !regs->ecr.param)
static inline bool in_syscall(struct pt_regs const *regs)