| /xnu-8019.80.24/EXTERNAL_HEADERS/ |
| H A D | stdint.h | 129 #define UINT16_MAX 65535 macro 145 #define UINT_LEAST16_MAX UINT16_MAX 161 #define UINT_FAST16_MAX UINT16_MAX
|
| /xnu-8019.80.24/bsd/net/ |
| H A D | restricted_in_port.c | 206 int error = SYSCTL_OUT(req, restricted_port_bitmap, BITMAP_SIZE(UINT16_MAX)); 280 if (value < 0 || value > UINT16_MAX) { in sysctl_restricted_port_test_common() 378 restricted_port_bitmap = bitmap_alloc(UINT16_MAX); in restricted_in_port_init()
|
| H A D | if_ports_used.c | 690 if (ifindex > UINT16_MAX) { in if_ports_used_add_inpcb() 800 if (ifindex > UINT16_MAX) { in if_ports_used_add_flow_entry()
|
| /xnu-8019.80.24/bsd/sys/ |
| H A D | dtrace.h | 632 #define DTRACE_LQUANTIZE_STEPMASK ((uint64_t)UINT16_MAX << 48) 634 #define DTRACE_LQUANTIZE_LEVELMASK ((uint64_t)UINT16_MAX << 32) 651 #define DTRACE_LLQUANTIZE_FACTORMASK ((uint64_t)UINT16_MAX << 48) 653 #define DTRACE_LLQUANTIZE_LOWMASK ((uint64_t)UINT16_MAX << 32) 655 #define DTRACE_LLQUANTIZE_HIGHMASK ((uint64_t)UINT16_MAX << 16) 657 #define DTRACE_LLQUANTIZE_NSTEPMASK UINT16_MAX
|
| /xnu-8019.80.24/bsd/netinet6/ |
| H A D | ah_output.c | 235 VERIFY(ahlen <= UINT16_MAX); in ah4_output() 425 VERIFY(ahlen <= UINT16_MAX); in ah6_output()
|
| H A D | nd6_send.c | 138 VERIFY(iov->iov_len < UINT16_MAX);
|
| /xnu-8019.80.24/libkern/os/ |
| H A D | log_encode.c | 156 const size_t final_arg_len = MIN(arg_len, UINT16_MAX); in log_create_range() 197 assert(arg_len < UINT16_MAX); in log_add_arg()
|
| H A D | log_queue.c | 192 assert(lqe_size <= UINT16_MAX); in log_queue_entry_alloc()
|
| /xnu-8019.80.24/iokit/IOKit/ |
| H A D | IOReportTypes.h | 73 #define kIOReportInvalidCategory UINT16_MAX
|
| /xnu-8019.80.24/osfmk/kern/ |
| H A D | ledger.h | 69 #define LEDGER_PERCENT_NONE UINT16_MAX
|
| H A D | ledger.c | 80 _Static_assert(((sizeof(struct ledger_entry_small) << ENTRY_ID_SIZE_SHIFT) | (UINT16_MAX / sizeof(s… 81 _Static_assert(((sizeof(struct ledger_entry) << ENTRY_ID_SIZE_SHIFT) | (UINT16_MAX / sizeof(struct … 83 #define MAX_LEDGER_ENTRIES (UINT16_MAX / sizeof(struct ledger_entry_small))
|
| /xnu-8019.80.24/iokit/DriverKit/ |
| H A D | IOReportTypes.h | 73 #define kIOReportInvalidCategory UINT16_MAX
|
| /xnu-8019.80.24/bsd/netkey/ |
| H A D | key.c | 1077 VERIFY(PFKEY_UNIT64(result->m_pkthdr.len) <= UINT16_MAX); in key_send_delete() 2211 if (PFKEY_UNIT64(tlen) > UINT16_MAX) { in key_sp2msg() 2704 VERIFY(PFKEY_UNIT64(n->m_pkthdr.len) <= UINT16_MAX); in key_spdadd() 2905 VERIFY(PFKEY_UNIT64(n->m_pkthdr.len) <= UINT16_MAX); in key_spddelete() 3013 VERIFY(PFKEY_UNIT64(n->m_pkthdr.len) <= UINT16_MAX); in key_spddelete2() 3078 VERIFY(PFKEY_UNIT64(n->m_pkthdr.len) <= UINT16_MAX); in key_spdenable() 3143 VERIFY(PFKEY_UNIT64(n->m_pkthdr.len) <= UINT16_MAX); in key_spddisable() 3283 VERIFY(PFKEY_UNIT64(result->m_pkthdr.len) <= UINT16_MAX); in key_spdacquire() 3548 if (PFKEY_UNIT64(result->m_pkthdr.len) >= UINT16_MAX) { in key_setdumpsp() 3742 if (PFKEY_UNIT64(result->m_pkthdr.len) >= UINT16_MAX) { in key_spdexpire() [all …]
|
| H A D | keysock.c | 216 VERIFY(PFKEY_UNIT64(m->m_pkthdr.len) <= UINT16_MAX); in key_sendup0()
|
| /xnu-8019.80.24/bsd/vfs/ |
| H A D | vfs_vnops.c | 1494 …sb64->st_nlink = VATTR_IS_SUPPORTED(&va, va_nlink) ? va.va_nlink > UINT16_MAX ? UINT16_MAX : (u_in… in vn_stat_noauth() 1512 …sb->st_nlink = VATTR_IS_SUPPORTED(&va, va_nlink) ? va.va_nlink > UINT16_MAX ? UINT16_MAX : (u_int1… in vn_stat_noauth()
|
| H A D | vfs_cprotect.c | 256 assert(key_len <= UINT16_MAX); in cpx_init()
|
| /xnu-8019.80.24/bsd/kern/ |
| H A D | subr_log.c | 386 if (!data || data_len > UINT16_MAX || ft_size > UINT16_MAX) { in stream_metadata_create() 520 assert(publen <= UINT16_MAX); in oslog_streamwrite_locked()
|
| /xnu-8019.80.24/bsd/net/pktsched/ |
| H A D | pktsched_fq_codel.c | 845 VERIFY((ifp->if_mtu + ETHER_HDR_LEN) <= UINT16_MAX); in fq_if_calc_quantum() 852 VERIFY(ifp->if_mtu <= UINT16_MAX); in fq_if_calc_quantum() 866 VERIFY(ifp->if_tso_v4_mtu <= UINT16_MAX); in fq_if_calc_quantum() 867 VERIFY(ifp->if_tso_v6_mtu <= UINT16_MAX); in fq_if_calc_quantum()
|
| /xnu-8019.80.24/libkdd/ |
| H A D | KCDBasicTypeDescription.m | 86 subtype.kcs_elem_size = KCS_SUBTYPE_PACK_SIZE(UINT16_MAX, (uint16_t)sizeof(uint8_t)); category
|
| H A D | kcdtypes.c | 85 #define _STRINGTYPE(f) setup_subtype_array_description(&subtypes[i++], KC_ST_CHAR, 0, UINT16_MAX, f) in kcdata_get_typedescription() 97 …setup_subtype_array_description(&subtypes[i++], KC_ST_CHAR, KCDATA_DESC_MAXLEN, UINT16_MAX, "data"… in kcdata_get_typedescription()
|
| /xnu-8019.80.24/bsd/skywalk/packet/ |
| H A D | packet_var.h | 218 _CASSERT(NEXUS_META_TYPE_MAX <= UINT16_MAX); \ 220 _CASSERT(NEXUS_META_SUBTYPE_MAX <= UINT16_MAX); \
|
| H A D | pbufpool_kern.c | 100 (init->kbi_max_frags <= UINT16_MAX)); in kern_pbufpool_create()
|
| H A D | pbufpool.c | 885 if (__improbable((buf_size > UINT16_MAX) || in pp_create() 886 (buf_srp->srp_c_obj_size > UINT16_MAX))) { in pp_create() 1887 ASSERT(bufcnt <= UINT16_MAX); in pp_alloc_packet_by_size()
|
| /xnu-8019.80.24/bsd/security/audit/ |
| H A D | audit_arg.c | 438 KASSERT(size <= UINT16_MAX, ("audit_arg_opaque: size > UINT16_MAX")); in audit_arg_opaque() 440 if (data == NULL || size > UINT16_MAX) { in audit_arg_opaque()
|
| /xnu-8019.80.24/bsd/netinet/ |
| H A D | mptcp_subr.c | 479 if (mptcp_alternate_port > 0 && mptcp_alternate_port < UINT16_MAX) { in mptcp_session_create() 2096 VERIFY(m_pktlen(m) < UINT16_MAX); in mptcp_adj_rmap() 2318 while (m_iter != NULL && parsed_length < UINT16_MAX) { in mptcp_subflow_soreceive() 2341 if (!found_mapping && parsed_length < UINT16_MAX) { in mptcp_subflow_soreceive() 2347 } else if (!found_mapping && parsed_length >= UINT16_MAX) { in mptcp_subflow_soreceive() 2460 VERIFY(top->m_pkthdr.len > 0 && top->m_pkthdr.len <= UINT16_MAX); in mptcp_subflow_sosend() 3294 sb_cc = min(sb_cc, UINT16_MAX); in mptcp_subflow_output() 5552 VERIFY(m_pktlen(m) >= 0 && m_pktlen(m) < UINT16_MAX); in mptcp_insert_dsn() 5726 VERIFY(m->m_pkthdr.mp_rlen <= UINT16_MAX); in mptcp_output_getm_dsnmap64()
|