Lines Matching defs:thiscpu
5979 int get_physical_node_id(struct cpu_topology *thiscpu)
5984 int cpu = thiscpu->logical_cpu_id;
6053 int get_thread_siblings(struct cpu_topology *thiscpu)
6059 int cpu = thiscpu->logical_cpu_id;
6064 thiscpu->put_ids = CPU_ALLOC((topo.max_cpu_num + 1));
6065 if (thiscpu->thread_id < 0)
6066 thiscpu->thread_id = thread_id++;
6067 if (!thiscpu->put_ids)
6071 CPU_ZERO_S(size, thiscpu->put_ids);
6088 if (sib_core == thiscpu->physical_core_id) {
6089 CPU_SET_S(so, size, thiscpu->put_ids);
6098 return CPU_COUNT_S(size, thiscpu->put_ids);