Lines Matching refs:partid
307 short partid = (short)(u64)dev_id; in xpc_handle_notify_IRQ_sn2() local
308 struct xpc_partition *part = &xpc_partitions[partid]; in xpc_handle_notify_IRQ_sn2()
310 DBUG_ON(partid < 0 || partid >= XP_MAX_NPARTITIONS_SN2); in xpc_handle_notify_IRQ_sn2()
348 struct xpc_partition *part = &xpc_partitions[ch->partid]; in xpc_send_notify_IRQ_sn2()
361 chctl_flag_string, ch->partid, ch->number, ret); in xpc_send_notify_IRQ_sn2()
384 struct xpc_partition *part = &xpc_partitions[ch->partid]; in xpc_send_local_notify_IRQ_sn2()
391 chctl_flag_string, ch->partid, ch->number); in xpc_send_local_notify_IRQ_sn2()
531 xpc_assume_partition_disengaged_sn2(short partid) in xpc_assume_partition_disengaged_sn2() argument
538 ~BIT(partid)); in xpc_assume_partition_disengaged_sn2()
542 xpc_partition_engaged_sn2(short partid) in xpc_partition_engaged_sn2() argument
549 BIT(partid)) != 0; in xpc_partition_engaged_sn2()
706 xpc_hb_allowed_sn2(short partid, void *heartbeating_to_mask) in xpc_hb_allowed_sn2() argument
708 return test_bit(partid, heartbeating_to_mask); in xpc_hb_allowed_sn2()
712 xpc_allow_hb_sn2(short partid) in xpc_allow_hb_sn2() argument
715 set_bit(partid, xpc_vars_sn2->heartbeating_to_mask); in xpc_allow_hb_sn2()
719 xpc_disallow_hb_sn2(short partid) in xpc_disallow_hb_sn2() argument
722 clear_bit(partid, xpc_vars_sn2->heartbeating_to_mask); in xpc_disallow_hb_sn2()
907 xpc_partition_deactivation_requested_sn2(short partid) in xpc_partition_deactivation_requested_sn2() argument
914 BIT(partid)) != 0; in xpc_partition_deactivation_requested_sn2()
994 short partid; in xpc_identify_activate_IRQ_req_sn2() local
1014 partid = remote_rp->SAL_partid; in xpc_identify_activate_IRQ_req_sn2()
1015 part = &xpc_partitions[partid]; in xpc_identify_activate_IRQ_req_sn2()
1034 "%lld:0x%lx\n", (int)nasid, (int)partid, in xpc_identify_activate_IRQ_req_sn2()
1046 if (xpc_partition_deactivation_requested_sn2(partid)) { in xpc_identify_activate_IRQ_req_sn2()
1065 DBUG_ON(xpc_partition_engaged_sn2(partid)); in xpc_identify_activate_IRQ_req_sn2()
1066 DBUG_ON(xpc_partition_deactivation_requested_sn2(partid)); in xpc_identify_activate_IRQ_req_sn2()
1082 else if (xpc_partition_deactivation_requested_sn2(partid)) in xpc_identify_activate_IRQ_req_sn2()
1177 short partid = XPC_PARTID(part); in xpc_setup_ch_structures_sn2() local
1216 part_sn2->local_chctl_amo_va = xpc_init_IRQ_amo_sn2(partid); in xpc_setup_ch_structures_sn2()
1222 sprintf(part_sn2->notify_IRQ_owner, "xpc%02d", partid); in xpc_setup_ch_structures_sn2()
1225 (void *)(u64)partid); in xpc_setup_ch_structures_sn2()
1259 xpc_vars_part_sn2[partid].GPs_pa = xp_pa(part_sn2->local_GPs); in xpc_setup_ch_structures_sn2()
1260 xpc_vars_part_sn2[partid].openclose_args_pa = in xpc_setup_ch_structures_sn2()
1262 xpc_vars_part_sn2[partid].chctl_amo_pa = in xpc_setup_ch_structures_sn2()
1265 xpc_vars_part_sn2[partid].notify_IRQ_nasid = cpuid_to_nasid(cpuid); in xpc_setup_ch_structures_sn2()
1266 xpc_vars_part_sn2[partid].notify_IRQ_phys_cpuid = in xpc_setup_ch_structures_sn2()
1268 xpc_vars_part_sn2[partid].nchannels = part->nchannels; in xpc_setup_ch_structures_sn2()
1269 xpc_vars_part_sn2[partid].magic = XPC_VP_MAGIC1_SN2; in xpc_setup_ch_structures_sn2()
1293 short partid = XPC_PARTID(part); in xpc_teardown_ch_structures_sn2() local
1299 xpc_vars_part_sn2[partid].magic = 0; in xpc_teardown_ch_structures_sn2()
1303 free_irq(SGI_XPC_NOTIFY, (void *)(u64)partid); in xpc_teardown_ch_structures_sn2()
1358 short partid = XPC_PARTID(part); in xpc_pull_remote_vars_part_sn2() local
1381 "partition %d, ret=%d\n", partid, ret); in xpc_pull_remote_vars_part_sn2()
1393 partid, sn_partition_id, pulled_entry->magic); in xpc_pull_remote_vars_part_sn2()
1401 if (xpc_vars_part_sn2[partid].magic == XPC_VP_MAGIC1_SN2) { in xpc_pull_remote_vars_part_sn2()
1410 "partition %d are not valid\n", partid, in xpc_pull_remote_vars_part_sn2()
1431 xpc_vars_part_sn2[partid].magic = XPC_VP_MAGIC2_SN2; in xpc_pull_remote_vars_part_sn2()
1589 ch->local_nentries, ch->partid, ch->number); in xpc_allocate_local_msgqueue_sn2()
1598 "queue, partid=%d, channel=%d\n", ch->partid, ch->number); in xpc_allocate_local_msgqueue_sn2()
1628 ch->remote_nentries, ch->partid, ch->number); in xpc_allocate_remote_msgqueue_sn2()
1637 "partid=%d, channel=%d\n", ch->partid, ch->number); in xpc_allocate_remote_msgqueue_sn2()
1693 ch->flags, ch->partid, ch->number); in xpc_teardown_msg_structures_sn2()
1737 (void *)notify, get, ch->partid, ch->number); in xpc_notify_senders_sn2()
1739 notify->func(reason, ch->partid, ch->number, in xpc_notify_senders_sn2()
1744 (void *)notify, get, ch->partid, ch->number); in xpc_notify_senders_sn2()
1865 "channel=%d\n", ch_sn2->w_remote_GP.get, ch->partid, in xpc_process_msg_chctl_flags_sn2()
1892 "channel=%d\n", ch_sn2->w_remote_GP.put, ch->partid, in xpc_process_msg_chctl_flags_sn2()
1899 npayloads_sent, ch->partid, ch->number); in xpc_process_msg_chctl_flags_sn2()
1912 struct xpc_partition *part = &xpc_partitions[ch->partid]; in xpc_pull_remote_msg_sn2()
1951 ch->partid, ch->number, ret); in xpc_pull_remote_msg_sn2()
2003 ch->partid, ch->number); in xpc_get_deliverable_payload_sn2()
2069 "channel=%d\n", put, ch->partid, ch->number); in xpc_send_msgs_sn2()
2155 (void *)msg, msg->number, ch->partid, ch->number); in xpc_allocate_msg_sn2()
2303 "channel=%d\n", get, ch->partid, ch->number); in xpc_acknowledge_msgs_sn2()
2330 (void *)msg, msg_number, ch->partid, ch->number); in xpc_received_payload_sn2()