Searched refs:kframe (Results 1 – 2 of 2) sorted by relevance
33 struct crunch_sigframe *kframe; in preserve_crunch_context() local36 kframe = (struct crunch_sigframe *)((unsigned long)(kbuf + 8) & ~7); in preserve_crunch_context()37 kframe->magic = CRUNCH_MAGIC; in preserve_crunch_context()38 kframe->size = CRUNCH_STORAGE_SIZE; in preserve_crunch_context()39 crunch_task_copy(current_thread_info(), &kframe->storage); in preserve_crunch_context()40 return __copy_to_user(frame, kframe, sizeof(*frame)); in preserve_crunch_context()46 struct crunch_sigframe *kframe; in restore_crunch_context() local49 kframe = (struct crunch_sigframe *)((unsigned long)(kbuf + 8) & ~7); in restore_crunch_context()50 if (__copy_from_user(kframe, frame, sizeof(*frame))) in restore_crunch_context()52 if (kframe->magic != CRUNCH_MAGIC || in restore_crunch_context()[all …]
133 struct rt_sigframe* kframe) in valid_sigframe() argument142 kframe, (void __user __force *)b->sp, in valid_sigframe()143 sizeof(*kframe)); in valid_sigframe()146 (unsigned int)(kframe->info.si_signo) >= _NSIG) in valid_sigframe()150 kframe->info.si_signo); in valid_sigframe()152 return (struct pt_regs *)&kframe->uc.uc_mcontext; in valid_sigframe()160 struct rt_sigframe kframe; in KBacktraceIterator_restart() local164 p = valid_sigframe(kbt, &kframe); in KBacktraceIterator_restart()