Home
last modified time | relevance | path

Searched refs:UINT8_MAX (Results 1 – 25 of 40) sorted by relevance

12

/xnu-8019.80.24/EXTERNAL_HEADERS/
H A Dstdint.h128 #define UINT8_MAX 255 macro
144 #define UINT_LEAST8_MAX UINT8_MAX
160 #define UINT_FAST8_MAX UINT8_MAX
/xnu-8019.80.24/bsd/netinet6/
H A Dah_output.c279 VERIFY((plen >> 2) <= UINT8_MAX); in ah4_output()
290 VERIFY(((plen >> 2) + 1) <= UINT8_MAX); in ah4_output()
491 VERIFY((plen >> 2) <= UINT8_MAX); in ah6_output()
503 VERIFY(((plen >> 2) + 1) <= UINT8_MAX); in ah6_output()
H A Desp_output.c731 VERIFY((extendsiz - 2) <= UINT8_MAX); in esp_output()
H A Desp_input.c332 _CASSERT(MBUF_TC_MAX <= UINT8_MAX); in esp4_input_extended()
/xnu-8019.80.24/bsd/kern/
H A Dkern_malloc.c168 assert3u(size, <=, UINT8_MAX); in _MALLOC_external()
192 kheap_free_bounded(KHEAP_SONAME, addr, 1, UINT8_MAX); in _FREE_external()
H A Dprocess_policy.c338 (uint8_t)MIN(cpuattr.ppattr_cpu_percentage, UINT8_MAX), in handle_cpuuse()
H A Dkern_memorystatus_freeze.c281 static_assert(_kMemorystatusFreezeSkipReasonMax <= UINT8_MAX);
/xnu-8019.80.24/san/coverage/
H A Dkcov_ksancov.h72 #define KSANCOV_MAX_HITS UINT8_MAX
/xnu-8019.80.24/san/tools/
H A Dksancov.h63 #define KSANCOV_MAX_HITS UINT8_MAX
/xnu-8019.80.24/bsd/skywalk/nexus/netif/
H A Dnx_netif_gso.c138 if (__improbable(len > UINT8_MAX)) { in netif_gso_get_frame_header_len()
637 VERIFY(lasthdr_off <= UINT8_MAX); in netif_gso_ipv6_tcp()
/xnu-8019.80.24/tests/ktrace/
H A Dkpc_tests.c421 T_QUIET; T_EXPECT_EQ(config & UINT8_MAX,
422 (uint64_t)CYCLES_EVENT & UINT8_MAX,
/xnu-8019.80.24/bsd/security/audit/
H A Daudit_arg.c467 KASSERT(number <= UINT8_MAX, in audit_arg_data()
471 number > UINT8_MAX) { in audit_arg_data()
/xnu-8019.80.24/bsd/skywalk/lib/
H A Dcuckoo_hashtable.c190 #define _CHT_SLOT_INVAL UINT8_MAX
596 #define _CHT_BFS_QUEUE_LEN UINT8_MAX
/xnu-8019.80.24/bsd/netinet/
H A Draw_ip.c932 if (proto > UINT8_MAX) { in rip_attach()
946 VERIFY(proto <= UINT8_MAX); in rip_attach()
H A Dip_output.c2313 if (optval > UINT8_MAX) { in ip_ctloutput()
2321 if (optval > UINT8_MAX) { in ip_ctloutput()
2765 if (optlen > UINT8_MAX) { in ip_pcbopts()
H A Din_arp.c1015 if (ret == 0 && broadcast_len <= UINT8_MAX) { in arp_rtrequest()
1345 if (result == 0 && broadcast_len <= UINT8_MAX) { in arp_lookup_ip()
H A Dip_icmp.c210 VERIFY(code <= UINT8_MAX); in icmp_error()
H A Dtcp_subr.c4092 ASSERT(frame_data_offset + sizeof(struct ip) + sizeof(struct tcphdr) <= UINT8_MAX); in tcp_fill_keepalive_offload_frames()
4105 ASSERT(frame_data_offset + sizeof(struct ip6_hdr) + sizeof(struct tcphdr) <= UINT8_MAX); in tcp_fill_keepalive_offload_frames()
/xnu-8019.80.24/libkern/os/
H A Dlog_encode.c122 assert(arg_size <= UINT8_MAX); in log_add_cmd()
/xnu-8019.80.24/iokit/Kernel/
H A DIOKitDebug.cpp517 static_assert(kIOTrackingCallSiteBTs <= UINT8_MAX); in IOTrackingAddUser()
631 static_assert(kIOTrackingCallSiteBTs <= UINT8_MAX); in IOTrackingAdd()
/xnu-8019.80.24/bsd/net/
H A Dpf_if.c786 VERIFY(b >= 0 && b <= UINT8_MAX); in pfi_unmask()
/xnu-8019.80.24/bsd/sys/
H A Dsocketvar.h853 kheap_free_bounded(KHEAP_SONAME, (sa), 1, UINT8_MAX); \
/xnu-8019.80.24/bsd/skywalk/packet/
H A Dpacket_common.h361 …if (token == NULL || len == NULL || type == NULL || tlen > *len || po->__po_token_type > UINT8_MAX in __packet_opt_get_token()
/xnu-8019.80.24/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_agg.c1392 _CASSERT(MAX_BUFLET_COUNT <= UINT8_MAX); in _estimate_buflet_cnt()
/xnu-8019.80.24/osfmk/arm/
H A Dpmap.c1577 assert(pmap->sw_asid < UINT8_MAX); in alloc_asid()
1578 pmap->sw_asid = UINT8_MAX; in alloc_asid()
1607 if (__improbable(pmap->sw_asid == UINT8_MAX)) { in free_asid()
1899 if (((max_asids + MAX_HW_ASIDS) / (MAX_HW_ASIDS + 1)) > MIN(MAX_HW_ASIDS, UINT8_MAX)) { in pmap_compute_max_asids()

12