Lines Matching refs:thiscpu
2730 int get_physical_node_id(struct cpu_topology *thiscpu)
2735 int cpu = thiscpu->logical_cpu_id;
2749 int get_thread_siblings(struct cpu_topology *thiscpu)
2755 int cpu = thiscpu->logical_cpu_id;
2760 thiscpu->put_ids = CPU_ALLOC((topo.max_cpu_num + 1));
2761 if (thiscpu->thread_id < 0)
2762 thiscpu->thread_id = thread_id++;
2763 if (!thiscpu->put_ids)
2767 CPU_ZERO_S(size, thiscpu->put_ids);
2785 if (sib_core == thiscpu->physical_core_id) {
2786 CPU_SET_S(so, size, thiscpu->put_ids);
2797 return CPU_COUNT_S(size, thiscpu->put_ids);