Searched refs:kframe (Results 1 – 1 of 1) sorted by relevance
35 struct crunch_sigframe *kframe; in preserve_crunch_context() local38 kframe = (struct crunch_sigframe *)((unsigned long)(kbuf + 8) & ~7); in preserve_crunch_context()39 kframe->magic = CRUNCH_MAGIC; in preserve_crunch_context()40 kframe->size = CRUNCH_STORAGE_SIZE; in preserve_crunch_context()41 crunch_task_copy(current_thread_info(), &kframe->storage); in preserve_crunch_context()42 return __copy_to_user(frame, kframe, sizeof(*frame)); in preserve_crunch_context()50 struct crunch_sigframe *kframe; in restore_crunch_context() local53 kframe = (struct crunch_sigframe *)((unsigned long)(kbuf + 8) & ~7); in restore_crunch_context()54 if (__copy_from_user(kframe, frame, sizeof(*frame))) in restore_crunch_context()56 if (kframe->magic != CRUNCH_MAGIC || in restore_crunch_context()[all …]