Lines Matching refs:kexec_flags
58 static unsigned long kexec_flags = 0; /* the lowest bits are for KEXEC_IMAGE... */ variable
304 set_bit(KEXEC_FLAG_IN_PROGRESS, &kexec_flags); in one_cpu_only()
378 pos = (test_bit(KEXEC_FLAG_CRASH_POS, &kexec_flags) != 0); in kexec_crash()
379 if ( !test_bit(KEXEC_IMAGE_CRASH_BASE + pos, &kexec_flags) ) in kexec_crash()
828 pos = (test_bit(bit, &kexec_flags) != 0); in kexec_exec()
831 if ( !test_bit(base + pos, &kexec_flags) ) in kexec_exec()
856 if ( test_bit(KEXEC_FLAG_IN_PROGRESS, &kexec_flags) ) in kexec_swap_images()
862 ASSERT(test_bit(KEXEC_FLAG_IN_HYPERCALL, &kexec_flags)); in kexec_swap_images()
864 pos = (test_bit(bit, &kexec_flags) != 0); in kexec_swap_images()
870 set_bit(new_slot, &kexec_flags); in kexec_swap_images()
871 change_bit(bit, &kexec_flags); in kexec_swap_images()
873 clear_bit(old_slot, &kexec_flags); in kexec_swap_images()
1209 return !!test_bit(bit, &kexec_flags); in kexec_status()
1222 if ( test_and_set_bit(KEXEC_FLAG_IN_HYPERCALL, &kexec_flags) ) in do_kexec_op_internal()
1259 clear_bit(KEXEC_FLAG_IN_HYPERCALL, &kexec_flags); in do_kexec_op_internal()