Lines Matching refs:thiscpu
2912 int get_physical_node_id(struct cpu_topology *thiscpu)
2917 int cpu = thiscpu->logical_cpu_id;
2930 int get_thread_siblings(struct cpu_topology *thiscpu)
2936 int cpu = thiscpu->logical_cpu_id;
2941 thiscpu->put_ids = CPU_ALLOC((topo.max_cpu_num + 1));
2942 if (thiscpu->thread_id < 0)
2943 thiscpu->thread_id = thread_id++;
2944 if (!thiscpu->put_ids)
2948 CPU_ZERO_S(size, thiscpu->put_ids);
2965 if (sib_core == thiscpu->physical_core_id) {
2966 CPU_SET_S(so, size, thiscpu->put_ids);
2975 return CPU_COUNT_S(size, thiscpu->put_ids);