• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/kernel/

Lines Matching defs:uvhub

75  * Determine the first node on a uvhub. 'Nodes' are used for kernel
78 static int __init uvhub_to_first_node(int uvhub)
84 if (uvhub == b)
91 * Determine the apicid of the first cpu on a uvhub.
93 static int __init uvhub_to_first_apicid(int uvhub)
98 if (uvhub == uv_cpu_to_blade_id(cpu))
218 * One cpu on each uvhub has the additional job on a RETRY
245 * All cpus in uvhub saw it; reply
255 * Determine the first cpu on a uvhub.
257 static int uvhub_to_first_cpu(int uvhub)
261 if (uvhub == uv_cpu_to_blade_id(cpu))
272 * This is entered for a single cpu on the uvhub.
273 * The sender want's this uvhub to free a specific message's
339 int uvhub;
347 /* find a single cpu for each uvhub in this distribution mask */
348 for (uvhub = 0;
349 uvhub < sizeof(struct bau_target_uvhubmask) * BITSPERBYTE;
350 uvhub++) {
351 if (!bau_uvhub_isset(uvhub, distribution))
353 /* find a cpu for this uvhub */
354 cpu = uvhub_to_first_cpu(uvhub);
563 * cpus that are on the local uvhub.
702 int uvhub;
754 uvhub = uv_cpu_to_blade_id(tcpu);
755 bau_uvhub_set(uvhub, &bau_desc->distribution);
756 if (uvhub == bcp->uvhub)
769 /* uvhub statistics */
852 * Each target uvhub (i.e. a uvhub that has no cpu's) needs to have
859 int uvhub;
866 for (uvhub = 0; uvhub < nuvhubs; uvhub++) {
867 if (!uv_blade_nr_possible_cpus(uvhub))
870 pnode = uv_blade_to_pnode(uvhub);
1338 * per cpu; and up to 32 (UV_ADP_SIZE) cpu's per uvhub
1361 * base_dest_nodeid is the nasid (pnode<<1) of the first uvhub
1362 * in the partition. The bit map will indicate uvhub numbers,
1384 * entered for each uvhub in the partition
1385 * - node is first node (kernel memory notion) on the uvhub
1386 * - pnode is the uvhub's physical identifier
1438 static void __init uv_init_uvhub(int uvhub, int vector)
1444 node = uvhub_to_first_node(uvhub);
1445 pnode = uv_blade_to_pnode(uvhub);
1452 apicid = uvhub_to_first_apicid(uvhub);
1492 int uvhub;
1509 short uvhub;
1525 uvhub = uv_cpu_hub_info(cpu)->numa_blade_id;
1526 *(uvhub_mask + (uvhub/8)) |= (1 << (uvhub%8));
1527 bdp = &uvhub_descs[uvhub];
1529 bdp->uvhub = uvhub;
1539 for (uvhub = 0; uvhub < nuvhubs; uvhub++) {
1540 if (!(*(uvhub_mask + (uvhub/8)) & (1 << (uvhub%8))))
1543 bdp = &uvhub_descs[uvhub];
1564 bcp->uvhub = bdp->uvhub;
1600 int uvhub;
1626 for (uvhub = 0; uvhub < nuvhubs; uvhub++)
1627 if (uv_blade_nr_possible_cpus(uvhub) &&
1628 (uv_blade_to_pnode(uvhub) < uv_partition_base_pnode))
1629 uv_partition_base_pnode = uv_blade_to_pnode(uvhub);
1632 for_each_possible_blade(uvhub)
1633 if (uv_blade_nr_possible_cpus(uvhub))
1634 uv_init_uvhub(uvhub, vector);
1639 for_each_possible_blade(uvhub) {
1640 if (uv_blade_nr_possible_cpus(uvhub)) {
1641 pnode = uv_blade_to_pnode(uvhub);