Home
last modified time | relevance | path

Searched refs:mask_width (Results 1 – 3 of 3) sorted by relevance

/freebsd-13.1/contrib/tcpdump/
H A Dprint-bootp.c933 u_int mask_width, significant_octets, i; in rfc1048_print() local
945 mask_width = *bp++; in rfc1048_print()
948 if (mask_width > 32) { in rfc1048_print()
949 ND_PRINT((ndo, "[ERROR: Mask width (%d) > 32]", mask_width)); in rfc1048_print()
954 significant_octets = (mask_width + 7) / 8; in rfc1048_print()
963 if (mask_width == 0) in rfc1048_print()
973 ND_PRINT((ndo, "/%d", mask_width)); in rfc1048_print()
/freebsd-13.1/sys/x86/x86/
H A Dmp_x86.c195 mask_width(u_int x) in mask_width() function
224 mask_width(share_count)); in add_deterministic_cache()
226 caches[level - 1].id_shift = mask_width(share_count); in add_deterministic_cache()
277 mask_width((cpu_procinfo2 & AMDID_CMP_CORES) + 1); in topo_probe_amd()
292 core_id_shift = mask_width(share_count); in topo_probe_amd()
301 node_id_shift = pkg_id_shift - mask_width(nodes_per_socket); in topo_probe_amd()
340 pkg_id_shift - mask_width(nodes_per_socket); in topo_probe_amd()
375 core_id_shift = mask_width(max_logical/max_cores); in topo_probe_intel_0x4()
378 pkg_id_shift = core_id_shift + mask_width(max_cores); in topo_probe_intel_0x4()
/freebsd-13.1/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_affinity.cpp1814 unsigned level_type, mask, mask_width, nitems, cache_mask; member
1843 unsigned level_type, mask_width, nitems; in __kmp_x2apicid_get_levels() local
1857 mask_width = __kmp_extract_bits<0, 4>(buf.eax); in __kmp_x2apicid_get_levels()
1866 levels[levels_index].mask_width = mask_width; in __kmp_x2apicid_get_levels()
1872 levels[levels_index - 1].mask_width = mask_width; in __kmp_x2apicid_get_levels()
1882 levels[i].mask = ~((-1) << levels[i].mask_width); in __kmp_x2apicid_get_levels()
1883 levels[i].cache_mask = (-1) << levels[i].mask_width; in __kmp_x2apicid_get_levels()
1888 levels[i].mask = (-1) << levels[i - 1].mask_width; in __kmp_x2apicid_get_levels()
2051 hw_thread.ids[idx] >>= my_levels[j - 1].mask_width; in __kmp_affinity_create_x2apicid_map()