Lines Matching refs:tle
126 static union topology_entry *next_tle(union topology_entry *tle) in next_tle() argument
128 if (!tle->nl) in next_tle()
129 return (union topology_entry *)((struct topology_core *)tle + 1); in next_tle()
130 return (union topology_entry *)((struct topology_container *)tle + 1); in next_tle()
137 union topology_entry *tle, *end; in __tl_to_masks_generic() local
139 tle = info->tle; in __tl_to_masks_generic()
141 while (tle < end) { in __tl_to_masks_generic()
142 switch (tle->nl) { in __tl_to_masks_generic()
145 book->id = tle->container.id; in __tl_to_masks_generic()
149 socket->id = tle->container.id; in __tl_to_masks_generic()
152 add_cpus_to_mask(&tle->cpu, book, socket, 0); in __tl_to_masks_generic()
158 tle = next_tle(tle); in __tl_to_masks_generic()
166 union topology_entry *tle, *end; in __tl_to_masks_z10() local
168 tle = info->tle; in __tl_to_masks_z10()
170 while (tle < end) { in __tl_to_masks_z10()
171 switch (tle->nl) { in __tl_to_masks_z10()
174 book->id = tle->container.id; in __tl_to_masks_z10()
177 socket = add_cpus_to_mask(&tle->cpu, book, socket, 1); in __tl_to_masks_z10()
183 tle = next_tle(tle); in __tl_to_masks_z10()