Lines Matching refs:xpc_vars_sn2
60 static struct xpc_vars_sn2 *xpc_vars_sn2;
199 struct amo *amo = xpc_vars_sn2->amos_page + index;
245 struct amo *amos = (struct amo *)__va(xpc_vars_sn2->amos_page_pa +
533 struct amo *amo = xpc_vars_sn2->amos_page +
544 struct amo *amo = xpc_vars_sn2->amos_page +
555 struct amo *amo = xpc_vars_sn2->amos_page +
639 xpc_vars_sn2 = XPC_RP_VARS(rp);
641 rp->sn.sn2.vars_pa = xp_pa(xpc_vars_sn2);
648 * Before clearing xpc_vars_sn2, see if a page of amos had been
654 * to this page (i.e., amos_page) in the struct xpc_vars_sn2 structure,
659 amos_page = xpc_vars_sn2->amos_page;
680 /* clear xpc_vars_sn2 */
681 memset(xpc_vars_sn2, 0, sizeof(struct xpc_vars_sn2));
683 xpc_vars_sn2->version = XPC_V_VERSION;
684 xpc_vars_sn2->activate_IRQ_nasid = cpuid_to_nasid(0);
685 xpc_vars_sn2->activate_IRQ_phys_cpuid = cpu_physical_id(0);
686 xpc_vars_sn2->vars_part_pa = xp_pa(xpc_vars_part_sn2);
687 xpc_vars_sn2->amos_page_pa = ia64_tpa((u64)amos_page);
688 xpc_vars_sn2->amos_page = amos_page; /* save for next load of XPC */
714 DBUG_ON(xpc_vars_sn2 == NULL);
715 set_bit(partid, xpc_vars_sn2->heartbeating_to_mask);
721 DBUG_ON(xpc_vars_sn2 == NULL);
722 clear_bit(partid, xpc_vars_sn2->heartbeating_to_mask);
728 DBUG_ON(xpc_vars_sn2 == NULL);
729 bitmap_zero(xpc_vars_sn2->heartbeating_to_mask, xp_max_npartitions);
735 xpc_vars_sn2->heartbeat++;
742 xpc_vars_sn2->heartbeat_offline = 1;
749 xpc_vars_sn2->heartbeat_offline = 0;
755 DBUG_ON(xpc_vars_sn2 == NULL);
757 bitmap_zero(xpc_vars_sn2->heartbeating_to_mask, XP_MAX_NPARTITIONS_SN2);
770 struct xpc_vars_sn2 *remote_vars;
773 remote_vars = (struct xpc_vars_sn2 *)xpc_remote_copy_buffer_sn2;
808 struct xpc_vars_sn2 *remote_vars)
909 struct amo *amo = xpc_vars_sn2->amos_page +
925 struct xpc_vars_sn2 *remote_vars)
988 struct xpc_vars_sn2 *remote_vars;
1020 remote_vars = (struct xpc_vars_sn2 *)xpc_remote_copy_buffer_sn2;
1103 act_amos = xpc_vars_sn2->amos_page + XPC_ACTIVATE_IRQ_AMOS_SN2;