Lines Matching refs:nasid
33 static int xpc_nasid_mask_nbytes; /* #of bytes in nasid mask */
34 int xpc_nasid_mask_nlongs; /* #of longs in nasid mask */
63 * Given a nasid, get the physical address of the partition's reserved page
64 * for that nasid. This function returns 0 on any error.
67 xpc_get_rsvd_page_pa(int nasid)
71 unsigned long rp_pa = nasid; /* seed with nasid */
166 /* establish the actual sizes of the nasid masks */
212 xpc_get_remote_rp(int nasid, unsigned long *discovered_nasids,
220 *remote_rp_pa = xpc_get_rsvd_page_pa(nasid);
407 * contains a bit for each even nasid in our partition. The machine
408 * mask contains a bit for each even nasid in the entire machine.
423 int nasid;
472 for (nasid = (region * region_size * 2);
473 nasid < ((region + 1) * region_size * 2); nasid += 2) {
478 dev_dbg(xpc_part, "checking nasid %d\n", nasid);
480 if (test_bit(nasid / 2, xpc_part_nasids)) {
483 "region\n", nasid);
487 if (!(test_bit(nasid / 2, xpc_mach_nasids))) {
490 nasid);
494 if (test_bit(nasid / 2, discovered_nasids)) {
497 "discovered\n", nasid);
503 ret = xpc_get_remote_rp(nasid, discovered_nasids,
507 "from nasid %d, reason=%d\n", nasid,
517 remote_rp_pa, nasid);