Lines Matching refs:partid
228 short partid; in xpc_check_remote_hb() local
231 for (partid = 0; partid < xp_max_npartitions; partid++) { in xpc_check_remote_hb()
236 if (partid == xp_partition_id) in xpc_check_remote_hb()
239 part = &xpc_partitions[partid]; in xpc_check_remote_hb()
413 short partid = XPC_PARTID(part); in xpc_setup_ch_structures() local
453 ch->partid = partid; in xpc_setup_ch_structures()
540 short partid = (u64)__partid; in xpc_activating() local
541 struct xpc_partition *part = &xpc_partitions[partid]; in xpc_activating()
544 DBUG_ON(partid < 0 || partid >= xp_max_npartitions); in xpc_activating()
562 dev_dbg(xpc_part, "activating partition %d\n", partid); in xpc_activating()
564 xpc_arch_ops.allow_hb(partid); in xpc_activating()
579 xpc_arch_ops.disallow_hb(partid); in xpc_activating()
593 short partid = XPC_PARTID(part); in xpc_activate_partition() local
606 kthread = kthread_run(xpc_activating, (void *)((u64)partid), "xpc%02d", in xpc_activate_partition()
607 partid); in xpc_activate_partition()
630 "channel=%d\n", wakeup, ch->partid, ch->number); in xpc_activate_kthreads()
646 needed, ch->partid, ch->number); in xpc_activate_kthreads()
690 short partid = XPC_UNPACK_ARG1(args); in xpc_kthread_start() local
692 struct xpc_partition *part = &xpc_partitions[partid]; in xpc_kthread_start()
700 partid, ch_number); in xpc_kthread_start()
760 partid, ch_number); in xpc_kthread_start()
783 u64 args = XPC_PACK_ARGS(ch->partid, ch->number); in xpc_create_kthreads()
784 struct xpc_partition *part = &xpc_partitions[ch->partid]; in xpc_create_kthreads()
815 "xpc%02dc%d", ch->partid, ch->number); in xpc_create_kthreads()
857 short partid; in xpc_disconnect_wait() local
863 for (partid = 0; partid < xp_max_npartitions; partid++) { in xpc_disconnect_wait()
864 part = &xpc_partitions[partid]; in xpc_disconnect_wait()
906 short partid; in xpc_setup_partitions() local
924 for (partid = 0; partid < xp_max_npartitions; partid++) { in xpc_setup_partitions()
925 part = &xpc_partitions[partid]; in xpc_setup_partitions()
957 short partid; in xpc_do_exit() local
990 for (partid = 0; partid < xp_max_npartitions; partid++) { in xpc_do_exit()
991 part = &xpc_partitions[partid]; in xpc_do_exit()
1097 short partid; in xpc_die_deactivate() local
1110 for (partid = 0; partid < xp_max_npartitions; partid++) { in xpc_die_deactivate()
1111 part = &xpc_partitions[partid]; in xpc_die_deactivate()
1113 if (xpc_arch_ops.partition_engaged(partid) || in xpc_die_deactivate()
1140 for (partid = 0; partid < xp_max_npartitions; in xpc_die_deactivate()
1141 partid++) { in xpc_die_deactivate()
1142 if (xpc_arch_ops.partition_engaged(partid)) { in xpc_die_deactivate()
1145 "out\n", partid); in xpc_die_deactivate()