Lines Matching refs:sn2
10 * Cross Partition Communication (XPC) sn2-based functions.
273 chctl.all_flags = xpc_receive_IRQ_amo_sn2(part->sn.sn2.
328 struct xpc_partition_sn2 *part_sn2 = &part->sn.sn2;
349 struct xpc_partition_sn2 *part_sn2 = &part->sn.sn2;
388 FETCHOP_STORE_OP(TO_AMO((u64)&part->sn.sn2.local_chctl_amo_va->
401 struct xpc_openclose_args *args = ch->sn.sn2.local_openclose_args;
416 struct xpc_openclose_args *args = ch->sn.sn2.local_openclose_args;
426 struct xpc_openclose_args *args = ch->sn.sn2.local_openclose_args;
430 args->local_msgqueue_pa = xp_pa(ch->sn.sn2.local_msgqueue);
457 ch->sn.sn2.remote_msgqueue_pa = msgqueue_pa;
470 struct amo *amo = (struct amo *)__va(part->sn.sn2.remote_amos_page_pa +
496 struct xpc_partition_sn2 *part_sn2 = &part->sn.sn2;
641 rp->sn.sn2.vars_pa = xp_pa(xpc_vars_sn2);
777 part->sn.sn2.remote_vars_pa,
839 xpc_send_local_activate_IRQ_sn2(part->sn.sn2.activate_IRQ_nasid);
845 struct xpc_partition_sn2 *part_sn2 = &part->sn.sn2;
883 struct amo *amo = (struct amo *)__va(part->sn.sn2.remote_amos_page_pa +
927 struct xpc_partition_sn2 *part_sn2 = &part->sn.sn2;
1010 remote_vars_pa = remote_rp->sn.sn2.vars_pa;
1016 part_sn2 = &part->sn.sn2;
1165 * Setup the channel structures that are sn2 specific.
1170 struct xpc_partition_sn2 *part_sn2 = &part->sn.sn2;
1243 ch_sn2 = &part->channels[ch_number].sn.sn2;
1287 * Teardown the channel structures that are sn2 specific.
1292 struct xpc_partition_sn2 *part_sn2 = &part->sn.sn2;
1351 struct xpc_partition_sn2 *part_sn2 = &part->sn.sn2;
1448 struct xpc_partition_sn2 *part_sn2 = &part->sn.sn2;
1505 struct xpc_partition_sn2 *part_sn2 = &part->sn.sn2;
1563 struct xpc_channel_sn2 *ch_sn2 = &ch->sn.sn2;
1608 struct xpc_channel_sn2 *ch_sn2 = &ch->sn.sn2;
1649 struct xpc_channel_sn2 *ch_sn2 = &ch->sn.sn2;
1675 struct xpc_channel_sn2 *ch_sn2 = &ch->sn.sn2;
1712 s64 get = ch->sn.sn2.w_remote_GP.get - 1;
1716 notify = &ch->sn.sn2.notify_queue[get % ch->local_nentries];
1752 xpc_notify_senders_sn2(ch, ch->reason, ch->sn.sn2.w_local_GP.put);
1761 struct xpc_channel_sn2 *ch_sn2 = &ch->sn.sn2;
1781 struct xpc_channel_sn2 *ch_sn2 = &ch->sn.sn2;
1804 return ch->sn.sn2.w_remote_GP.put - ch->sn.sn2.w_local_GP.get;
1811 struct xpc_channel_sn2 *ch_sn2 = &ch->sn.sn2;
1814 ch_sn2->remote_GP = part->sn.sn2.remote_GPs[ch_number];
1913 struct xpc_channel_sn2 *ch_sn2 = &ch->sn.sn2;
1977 struct xpc_channel_sn2 *ch_sn2 = &ch->sn.sn2;
2032 struct xpc_channel_sn2 *ch_sn2 = &ch->sn.sn2;
2093 struct xpc_channel_sn2 *ch_sn2 = &ch->sn.sn2;
2172 struct xpc_channel_sn2 *ch_sn2 = &ch->sn.sn2;
2265 struct xpc_channel_sn2 *ch_sn2 = &ch->sn.sn2;
2332 DBUG_ON((((u64)msg - (u64)ch->sn.sn2.remote_msgqueue) / ch->entry_size) !=
2349 get = ch->sn.sn2.local_GP->get;