Searched refs:kframe (Results 1 – 1 of 1) sorted by relevance
32 struct crunch_sigframe *kframe; in preserve_crunch_context() local35 kframe = (struct crunch_sigframe *)((unsigned long)(kbuf + 8) & ~7); in preserve_crunch_context()36 kframe->magic = CRUNCH_MAGIC; in preserve_crunch_context()37 kframe->size = CRUNCH_STORAGE_SIZE; in preserve_crunch_context()38 crunch_task_copy(current_thread_info(), &kframe->storage); in preserve_crunch_context()39 return __copy_to_user(frame, kframe, sizeof(*frame)); in preserve_crunch_context()47 struct crunch_sigframe *kframe; in restore_crunch_context() local50 kframe = (struct crunch_sigframe *)((unsigned long)(kbuf + 8) & ~7); in restore_crunch_context()51 if (__copy_from_user(kframe, frame, sizeof(*frame))) in restore_crunch_context()53 if (kframe->magic != CRUNCH_MAGIC || in restore_crunch_context()[all …]