Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/tcpdump/
H A Dprint-bootp.c932 u_int mask_width, significant_octets, i; in rfc1048_print() local
944 mask_width = *bp++; in rfc1048_print()
947 if (mask_width > 32) { in rfc1048_print()
948 ND_PRINT((ndo, "[ERROR: Mask width (%d) > 32]", mask_width)); in rfc1048_print()
953 significant_octets = (mask_width + 7) / 8; in rfc1048_print()
962 if (mask_width == 0) in rfc1048_print()
972 ND_PRINT((ndo, "/%d", mask_width)); in rfc1048_print()
/freebsd-12.1/sys/x86/x86/
H A Dmp_x86.c180 mask_width(u_int x) in mask_width() function
209 mask_width(share_count)); in add_deterministic_cache()
211 caches[level - 1].id_shift = mask_width(share_count); in add_deterministic_cache()
262 mask_width((cpu_procinfo2 & AMDID_CMP_CORES) + 1); in topo_probe_amd()
277 core_id_shift = mask_width(share_count); in topo_probe_amd()
286 node_id_shift = pkg_id_shift - mask_width(nodes_per_socket); in topo_probe_amd()
325 pkg_id_shift - mask_width(nodes_per_socket); in topo_probe_amd()
360 core_id_shift = mask_width(max_logical/max_cores); in topo_probe_intel_0x4()
363 pkg_id_shift = core_id_shift + mask_width(max_cores); in topo_probe_intel_0x4()