Home
last modified time | relevance | path

Searched refs:__indexable (Results 1 – 25 of 45) sorted by relevance

12

/xnu-12377.1.9/bsd/netinet/
H A Din_var.h118 const struct ifaddr * __indexable : __ifatoia_const, \
121 struct ifaddr * __indexable : __ifatoia) \
146 const struct ifaddr * __indexable : __ifatoia_const, \
149 struct ifaddr * __indexable : __ifatoia, \
152 const struct in_ifaddr * __indexable : __iatoia_const, \
155 struct in_ifaddr * __indexable : __iatoia) \
H A Din.c102 static int inctl_associd(struct socket *, u_long, caddr_t __indexable);
103 static int inctl_connid(struct socket *, u_long, caddr_t __indexable);
104 static int inctl_conninfo(struct socket *, u_long, caddr_t __indexable);
308 inctl_associd(struct socket *so, u_long cmd, caddr_t __indexable data) in inctl_associd()
344 inctl_connid(struct socket *so, u_long cmd, caddr_t __indexable data) in inctl_connid()
382 inctl_conninfo(struct socket *so, u_long cmd, caddr_t __indexable data) in inctl_conninfo()
H A Dip_output.c150 static int ip_optcopy(struct ip *__indexable, struct ip *__indexable);
2274 ip_optcopy(struct ip *__indexable ip, struct ip *__indexable jp) in ip_optcopy()
/xnu-12377.1.9/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_classifier.c88 volatile struct ip *__indexable _iph; in flow_pkt_classify()
89 volatile struct ip6_hdr *__indexable _ip6; in flow_pkt_classify()
196 iph = (volatile struct ip *__indexable)(void *)pkt_buf_cpy; in flow_pkt_classify()
233 dst = (uint32_t *__indexable)(&pkt->pkt_flow_ipv4_addrs); in flow_pkt_classify()
277 dst = (uint64_t *__indexable)(void *)(&pkt->pkt_flow_ipv6_addrs); in flow_pkt_classify()
285 dst = (uint32_t *__indexable)(&pkt->pkt_flow_ipv6_addrs); in flow_pkt_classify()
/xnu-12377.1.9/doc/building/
H A Dbound_checks.md25 * when it is disabled, whether we should allow `__indexable` and
57 * (nothing): -fbounds-safety is disabled; it is an error to use `__indexable`
59 * `bound-checks-pending`: -fbounds-safety is disabled, but `__indexable` and
136 relating to -fbounds-safety. In this mode, -fbounds-safety's `__indexable` and
138 This is because `__indexable` and `__bidi_indexable` pointers are not
140 of `__indexable` or `__bidi_indexable` slipped into a header used by a set of
144 However, adopting -fbounds-safety may require the explicit use of `__indexable`
148 this flag causes `__indexable` and `__bidi_indexable` to expand to nothing, and
/xnu-12377.1.9/bsd/net/
H A Dbpf_filter.c87 get_word_from_buffers(u_char *__indexable cp, u_char *__indexable np, size_t num_from_cp) in get_word_from_buffers()
115 static u_char *__indexable
224 static void *__indexable
244 static u_char *__indexable
H A Dnat464_utils.c125 char *ptrv4 = (char *)__DECONST(struct in_addr *__indexable, addrv4); in nat464_synthesize_ipv6()
126 char *ptr = (char *)__DECONST(struct in6_addr *__indexable, addr); in nat464_synthesize_ipv6()
211 char *ptrv4 = (char *)__DECONST(struct in_addr *__indexable, addrv4); in nat464_synthesize_ipv4()
212 char *ptr = (char *)__DECONST(struct in6_addr *__indexable, addr); in nat464_synthesize_ipv4()
218 if (memcmp((const struct in6_addr *__indexable)addr, &prefix, prefix_len) != 0) { in nat464_synthesize_ipv4()
H A Dnecp.c424 static struct necp_kernel_socket_policy ** __indexable necp_kernel_socket_policies_map[NECP_KERNEL_…
426 static struct necp_kernel_socket_policy ** __indexable necp_kernel_socket_policies_app_layer_map;
442 static struct necp_kernel_ip_output_policy ** __indexable necp_kernel_ip_output_policies_map[NECP_K…
470 …find_policy_match_with_info_locked(struct necp_kernel_socket_policy ** __indexable policy_search_a…
499 static bool necp_buffer_compare_with_bit_prefix(u_int8_t * __indexable p1, u_int8_t * __indexable p…
1129 u_int8_t * __indexable tlv_buffer = NULL; in necp_session_add_policy()
1180 u_int8_t * __indexable response = NULL; in necp_session_get_policy()
1294 u_int8_t * __indexable response = NULL; in necp_session_list_all()
2107 necp_buffer_write_tlv_validate(u_int8_t * __indexable cursor, u_int8_t type, u_int32_t length, in necp_buffer_write_tlv_validate()
2135 u_int8_t * __indexable next_tlv = (u_int8_t *)(cursor + sizeof(type) + sizeof(length) + length);
[all …]
H A Dsiphash.c88 static const uint8_t *__indexable
H A Dnecp_client.c538 struct necp_client_interface_option * __indexable extra_interface_options;
802 struct necp_client_flow_stats * __indexable
841 …uint8_t * __indexable req_ptr = __unsafe_forge_bidi_indexable(uint8_t *, req, sizeof(struct necp_c… in flow_req_get_address()
858 …uint8_t * __indexable req_ptr = __unsafe_forge_bidi_indexable(uint8_t *, req, sizeof(struct necp_c… in flow_req_get_proto()
2851 …u_int8_t * __indexable value = necp_buffer_get_tlv_value(parameters, parameters_size, offset, NULL… in necp_client_update_local_port_parameters()
3101 …u_int8_t * __indexable value = necp_buffer_get_tlv_value(parameters, parameters_size, offset, NULL… in necp_client_parse_parameters()
3556 necp_client_parse_result(u_int8_t * __indexable result, in necp_client_parse_result()
3570 u_int8_t * __indexable value = necp_buffer_get_tlv_value(result, result_size, offset, NULL); in necp_client_parse_result()
4325 u_int8_t * __indexable assigned_results, in necp_assign_client_result_locked()
4856 u_int8_t * __indexable cursor = client->result; in necp_update_client_result()
[all …]
H A Dstrict_type_cnv_private.h370 CV TAG TYPE * __indexable: CNV_F
/xnu-12377.1.9/bsd/netinet6/
H A Din6.c187 static int in6ctl_associd(struct socket *, u_long, caddr_t __indexable);
188 static int in6ctl_connid(struct socket *, u_long, caddr_t __indexable);
189 static int in6ctl_conninfo(struct socket *, u_long, caddr_t __indexable);
190 static int in6ctl_llstart(struct ifnet *, u_long, caddr_t __indexable);
192 static int in6ctl_cgastart(struct ifnet *, u_long, caddr_t __indexable);
214 static struct in6_aliasreq *in6_aliasreq_to_native(void *__indexable, int,
416 lim = (u_char *)(struct in6_addr *__indexable)mask + sizeof(*mask);
418 for (p = (u_char *)(struct in6_addr *__indexable)mask; p < lim; x++, p++) {
537 in6_aliasreq_to_native(void *__indexable data, int data_is_64, struct in6_aliasreq *dst) in in6_aliasreq_to_native()
580 in6ctl_associd(struct socket *so, u_long cmd, caddr_t __indexable data) in in6ctl_associd()
[all …]
H A Din6_var.h207 const struct ifaddr * __indexable : __ifatoia6_const, \
210 struct ifaddr * __indexable : __ifatoia6) \
H A Dip6_output.c165 static int ip6_copyexthdr(struct mbuf **, caddr_t __indexable, int);
1999 ip6_copyexthdr(struct mbuf **mp, caddr_t __indexable hdr, int hlen) in ip6_copyexthdr()
3336 return sooptcopyout(sopt, (struct ip6_rthdr *__indexable)pktopt->ip6po_hbh, IP6_EXT_LEN(ip6e)); in ip6_getpcbopt()
3342 return sooptcopyout(sopt, (struct ip6_rthdr *__indexable)pktopt->ip6po_rthdr, IP6_EXT_LEN(ip6e)); in ip6_getpcbopt()
3348 return sooptcopyout(sopt, (struct ip6_dest *__indexable)pktopt->ip6po_dest1, IP6_EXT_LEN(ip6e)); in ip6_getpcbopt()
3354 return sooptcopyout(sopt, (struct ip6_dest *__indexable)pktopt->ip6po_dest2, IP6_EXT_LEN(ip6e)); in ip6_getpcbopt()
3359 …return sooptcopyout(sopt, (struct sockaddr *__indexable)pktopt->ip6po_nexthop, pktopt->ip6po_nexth… in ip6_getpcbopt()
H A Dicmp6.c172 struct ifnet **, char *__indexable);
173 static int ni6_store_addrs(struct icmp6_nodeinfo *ni6, struct icmp6_nodeinfo *__indexable nni6,
1822 ni6_addrs(struct icmp6_nodeinfo *ni6, struct ifnet **ifpp, char *__indexable subj) in ni6_addrs()
1941 ni6_store_addrs(struct icmp6_nodeinfo *ni6, struct icmp6_nodeinfo *__indexable nni6, in ni6_store_addrs()
/xnu-12377.1.9/EXTERNAL_HEADERS/
H A Dptrcheck.h42 #define __indexable __attribute__((__indexable__)) macro
/xnu-12377.1.9/bsd/skywalk/mem/
H A Dskmem_slab.c71 char *buf, *__indexable slab; in skmem_slab_create()
72 char *__indexable bufm; in skmem_slab_create()
112 struct skmem_bufctl *__indexable bc; in skmem_slab_create()
H A Dskmem_region.c979 bitmap_t *__indexable bmap = skr->skr_seg_bmap; in skmem_region_destroy()
995 struct sksegment_bkt *__indexable htable = skr->skr_hash_table; in skmem_region_destroy()
1135 void *__indexable addr = NULL, *__indexable addr1 = NULL; in __sized_by()
1959 struct sksegment_bkt *__indexable old_table, *new_table; in skmem_region_hash_rescale()
H A Dskmem.c436 static char *__indexable skmem_dump_buf;
/xnu-12377.1.9/bsd/sys/
H A Dconstrained_ctypes.h529 #define __CCT_CONTRACT_ATTR___CCT_PTR __indexable
H A Dcdefs.h1208 #define __indexable macro
1216 #define __header_indexable __indexable
/xnu-12377.1.9/doc/primitives/
H A Dstring-handling.md26 | strncmp(first, secnd, n) | __null_terminated first | __indexable first |
29 | __indexable secnd | strlcmp(secnd, first, n2) | strbufcmp(first, n1, secnd, n2) |
37 > passing 'const char *__indexable' to parameter of incompatible type
/xnu-12377.1.9/bsd/kern/
H A Dtracker.c142 struct trackerhashhead * __indexable tracker_hashbase;
556 u_int8_t * __indexable buffer = scratch_pad; in tracker_add()
809 uint8_t * __indexable buffer = scratch_pad_all; in tracker_dump()
H A Dkpi_socketfilter.c1022 const struct sockaddr *nam = (const struct sockaddr *__indexable)innam; in sflt_connectout()
1332 const struct sflt_filter *filter = (const struct sflt_filter *__indexable)infilter; in sflt_register_common()
/xnu-12377.1.9/bsd/skywalk/nexus/
H A Dnexus_traffic_rule_inet.c165 volatile struct ip *__indexable _iph; in fill_inet_td()
166 volatile struct ip6_hdr *__indexable _ip6; in fill_inet_td()

12