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);
397 * contains a bit for each even nasid in our partition. The machine
398 * mask contains a bit for each even nasid in the entire machine.
413 int nasid;
462 for (nasid = (region * region_size * 2);
463 nasid < ((region + 1) * region_size * 2); nasid += 2) {
468 dev_dbg(xpc_part, "checking nasid %d\n", nasid);
470 if (test_bit(nasid / 2, xpc_part_nasids)) {
473 "region\n", nasid);
477 if (!(test_bit(nasid / 2, xpc_mach_nasids))) {
480 nasid);
484 if (test_bit(nasid / 2, discovered_nasids)) {
487 "discovered\n", nasid);
493 ret = xpc_get_remote_rp(nasid, discovered_nasids,
497 "from nasid %d, reason=%d\n", nasid,
507 remote_rp_pa, nasid);