Lines Matching refs:sos
783 { .sos = NULL, .monarch_cpu = &monarch_cpu }; in ia64_mca_rendez_int_handler()
895 finish_pt_regs(struct pt_regs *regs, struct ia64_sal_os_state *sos, in finish_pt_regs() argument
898 const struct pal_min_state_area *ms = sos->pal_min_state; in finish_pt_regs()
913 sos->iip = ms->pmsa_iip; in finish_pt_regs()
914 sos->ipsr = ms->pmsa_ipsr; in finish_pt_regs()
915 sos->ifs = ms->pmsa_ifs; in finish_pt_regs()
968 struct ia64_sal_os_state *sos, in ia64_mca_modify_original_stack() argument
974 const struct pal_min_state_area *ms = sos->pal_min_state; in ia64_mca_modify_original_stack()
1050 if (r13 != sos->prev_IA64_KR_CURRENT) { in ia64_mca_modify_original_stack()
1091 finish_pt_regs(old_regs, sos, &old_unat); in ia64_mca_modify_original_stack()
1155 sos->prev_task = previous_current; in ia64_mca_modify_original_stack()
1162 finish_pt_regs(regs, sos, &old_unat); in ia64_mca_modify_original_stack()
1285 struct ia64_sal_os_state *sos) in ia64_mca_handler() argument
1290 { .sos = sos, .monarch_cpu = &monarch_cpu, .data = &recover }; in ia64_mca_handler()
1296 sos->monarch = 1; in ia64_mca_handler()
1299 sos->monarch = 0; in ia64_mca_handler()
1302 "monarch=%ld\n", sos->proc_state_param, cpu, sos->monarch); in ia64_mca_handler()
1304 previous_current = ia64_mca_modify_original_stack(regs, sw, sos, "MCA"); in ia64_mca_handler()
1309 if (sos->monarch) { in ia64_mca_handler()
1334 sos)); in ia64_mca_handler()
1340 sos->os_status = IA64_MCA_CORRECTED; in ia64_mca_handler()
1663 struct ia64_sal_os_state *sos) in ia64_init_handler() argument
1670 { .sos = sos, .monarch_cpu = &monarch_cpu }; in ia64_init_handler()
1675 sos->proc_state_param, cpu, sos->monarch); in ia64_init_handler()
1678 previous_current = ia64_mca_modify_original_stack(regs, sw, sos, "INIT"); in ia64_init_handler()
1679 sos->os_status = IA64_INIT_RESUME; in ia64_init_handler()
1686 if (!sos->monarch && atomic_add_return(1, &slaves) == num_online_cpus()) { in ia64_init_handler()
1690 sos->monarch = 1; in ia64_init_handler()
1698 if (sos->monarch && atomic_add_return(1, &monarchs) > 1) { in ia64_init_handler()
1702 sos->monarch = 0; in ia64_init_handler()
1705 if (!sos->monarch) { in ia64_init_handler()