Searched refs:id_shift (Results 1 – 2 of 2) sorted by relevance
| /src/sys/x86/x86/ |
| H A D | mp_x86.c | 169 int id_shift; member 217 printf("%u => %u\n", caches[level - 1].id_shift, in add_deterministic_cache() 220 caches[level - 1].id_shift = mask_width(share_count); in add_deterministic_cache() 223 if (caches[level - 1].id_shift > pkg_id_shift) { in add_deterministic_cache() 226 caches[level - 1].id_shift, pkg_id_shift); in add_deterministic_cache() 227 caches[level - 1].id_shift = pkg_id_shift; in add_deterministic_cache() 229 if (caches[level - 1].id_shift < core_id_shift) { in add_deterministic_cache() 232 caches[level - 1].id_shift, core_id_shift); in add_deterministic_cache() 233 caches[level - 1].id_shift = core_id_shift; in add_deterministic_cache() 328 caches[0].id_shift = 0; in topo_probe_amd() [all …]
|
| /src/tests/sys/sys/ |
| H A D | queue_test.c | 47 const u_int nb, const u_int id_shift); \ 54 type ## _create(const u_int nb, const u_int id_shift) \ 69 e->ie_id = nb - 1 - i + id_shift; \ 75 type ## _check(type, nb, id_shift); \ 97 const u_int nb, const u_int id_shift) \ 106 ATF_REQUIRE_MSG(e->ie_id == i + id_shift, \ 109 type, e, e->ie_id, i + id_shift); \ 174 const u_int nb, const u_int id_shift) \ 180 const u_int expected_id = nb - 1 - i + id_shift; \
|