Home
last modified time | relevance | path

Searched refs:ext (Results 1 – 25 of 27) sorted by relevance

12

/xnu-11215/bsd/netkey/
H A Dkey_debug.c102 ext->sadb_ext_len, ext->sadb_ext_type);
167 ext = (struct sadb_ext *)((caddr_t)ext + extlen);
182 if (ext == NULL) {
232 if (ext == NULL) {
278 if (ext == NULL) {
304 if (ext == NULL) {
319 kdebug_sadb_sa(ext) in kdebug_sadb_sa() argument
325 if (ext == NULL) {
345 if (ext == NULL) {
366 if (ext == NULL) {
[all …]
H A Dkey.c9625 struct sadb_ext *ext; in key_align() local
9656 switch (ext->sadb_ext_type) { in key_align()
9690 if (mhp->ext[ext->sadb_ext_type].ext_buf != NULL) { in key_align()
9703 ext->sadb_ext_type)); in key_align()
9736 mhp->ext[ext->sadb_ext_type].ext_buf = ext; in key_align()
9737 mhp->ext[ext->sadb_ext_type].ext_len = extlen; in key_align()
9738 mhp->ext[ext->sadb_ext_type].ext_type = ext->sadb_ext_type; in key_align()
9772 if (!minsize[ext->sadb_ext_type] || len < minsize[ext->sadb_ext_type]) { in key_validate_ext()
9775 if (maxsize[ext->sadb_ext_type] && len > maxsize[ext->sadb_ext_type]) { in key_validate_ext()
9780 switch (ext->sadb_ext_type) { in key_validate_ext()
[all …]
/xnu-11215/bsd/net/
H A Dpfkeyv2.h514 #define PFKEY_ADDR_PREFIX(ext) \ argument
515 (((struct sadb_address *)(ext))->sadb_address_prefixlen)
516 #define PFKEY_ADDR_PROTO(ext) \ argument
517 (((struct sadb_address *)(ext))->sadb_address_proto)
518 #define PFKEY_ADDR_SADDR(ext) \ argument
519 ((struct sockaddr *)((caddr_t)(ext) + sizeof(struct sadb_address)))
H A Dpf_norm.c1864 struct ip6_ext ext; in pf_refragment6() local
1865 if (!pf_pull_hdr(*pbufp, off, &ext, sizeof(ext), sizeof(ext), NULL, in pf_refragment6()
1871 proto = ext.ip6e_nxt; in pf_refragment6()
2244 struct ip6_ext ext; in pf_normalize_ip6() local
2321 if (!pf_pull_hdr(pbuf, off, &ext, sizeof(ext), sizeof(ext), NULL, in pf_normalize_ip6()
2347 off += (ext.ip6e_len + 2) * 4; in pf_normalize_ip6()
2349 off += (ext.ip6e_len + 1) * 8; in pf_normalize_ip6()
2351 proto = ext.ip6e_nxt; in pf_normalize_ip6()
2356 ooff = off + sizeof(ext); in pf_normalize_ip6()
2403 proto = ext.ip6e_nxt; in pf_normalize_ip6()
[all …]
H A Ddlil.c3566 const struct ifnet_stat_increment_param *s, boolean_t ext, boolean_t poll) in ifnet_input_common() argument
3574 if ((m_head == NULL && !poll) || (s == NULL && ext)) { in ifnet_input_common()
3581 VERIFY(m_head != NULL || (s == NULL && m_tail == NULL && !ext && poll)); in ifnet_input_common()
3582 VERIFY(m_tail == NULL || ext); in ifnet_input_common()
3583 VERIFY(s != NULL || !ext); in ifnet_input_common()
3658 if (ext && s->packets_in != m_cnt) { in ifnet_input_common()
5936 u_int32_t cnt, ifnet_model_t mode, boolean_t ext) in dlil_input_packet_list_common() argument
5952 if (ext && mode == IFNET_MODEL_INPUT_POLL_ON && cnt > 1 && in dlil_input_packet_list_common()
/xnu-11215/tests/
H A Dturnstile_multihop.c311 hdr = (mach_msg_header_t *)kev->ext[0]; in workloop_cb_test_intransit()
349 kev->ext[0] = kev->ext[1] = kev->ext[2] = kev->ext[3] = 0; in workloop_cb_test_intransit()
583 .ext[EV_EXTIDX_WL_MASK] = mask, in dispatch_sync_wait()
584 .ext[EV_EXTIDX_WL_VALUE] = dispatch_sync_owner, in dispatch_sync_wait()
585 .ext[EV_EXTIDX_WL_ADDR] = (uint64_t)&dispatch_sync_owner, in dispatch_sync_wait()
615 .ext[EV_EXTIDX_WL_MASK] = mask, in dispatch_sync_cancel()
616 .ext[EV_EXTIDX_WL_VALUE] = dispatch_sync_owner, in dispatch_sync_cancel()
617 .ext[EV_EXTIDX_WL_ADDR] = (uint64_t)&dispatch_sync_owner, in dispatch_sync_cancel()
H A Dipsec.m234 struct sadb_ext *ext;
258 ext = (void *)p;
259 …T_QUIET; T_ASSERT_GE_PTR((void *)ep, (void *)(p + sizeof(*ext)), "pfkey extension header beyond en…
260 …T_QUIET; T_ASSERT_GE_ULONG((unsigned long)PFKEY_EXTLEN(ext), sizeof(*ext), "pfkey extension shorte…
261 …T_QUIET; T_ASSERT_GE_PTR((void *)ep, (void *)(p + PFKEY_EXTLEN(ext)), "pfkey extension length beyo…
263 …T_QUIET; T_EXPECT_NULL(mhp[ext->sadb_ext_type], "duplicate extension type %u payload", ext->sadb_e…
266 switch (ext->sadb_ext_type) {
311 mhp[ext->sadb_ext_type] = (void *)ext;
314 T_FAIL("bad extension type %u", ext->sadb_ext_type);
318 p += PFKEY_EXTLEN(ext);
H A Dkqueue_nesting.c29 .ext = {},
48 .ext = {},
H A Dtest_knote_use_after_free.c113 .ext = {(uint64_t)reply, sizeof(*reply), 0, 0}, in th_allocate_knotes()
144 .ext = {0x00, 0x00, 0x00, 0x00}, in th_allocate_knotes()
244 .ext = {(uint64_t)remote, sizeof(*remote), 0, 0},
263 .ext = {0, 0, 0, 0},
H A Dkevent_info.c92 .ext = {
109 uint64_t leaked_addr = extinfo.kqext_kev.ext[3];
H A Dpfkey.c86 struct sadb_ext *ext; in pfkey_align() local
110 ext = (void *)p; in pfkey_align()
111 …T_QUIET; T_ASSERT_GE_PTR((void *)ep, (void *)(p + sizeof(*ext)), "pfkey extension header beyond en… in pfkey_align()
112 …T_QUIET; T_ASSERT_GE_ULONG((unsigned long)PFKEY_EXTLEN(ext), sizeof(*ext), "pfkey extension shorte… in pfkey_align()
113 …T_QUIET; T_ASSERT_GE_PTR((void *)ep, (void *)(p + PFKEY_EXTLEN(ext)), "pfkey extension length beyo… in pfkey_align()
115 …T_QUIET; T_EXPECT_NULL(mhp[ext->sadb_ext_type], "duplicate extension type %u payload", ext->sadb_e… in pfkey_align()
118 switch (ext->sadb_ext_type) { in pfkey_align()
163 mhp[ext->sadb_ext_type] = (void *)ext; in pfkey_align()
166 T_FAIL("bad extension type %u", ext->sadb_ext_type); in pfkey_align()
170 p += PFKEY_EXTLEN(ext); in pfkey_align()
H A Dprioritize_process_launch.c322 mach_msg_header_t *hdr = (mach_msg_header_t *)kev->ext[0]; in workloop_cb_test_intransit()
359 mach_msg_header_t *hdr = (mach_msg_header_t *)kev->ext[0]; in workloop_cb_test_knote_kill()
393 mach_msg_header_t *hdr = (mach_msg_header_t *)kev->ext[0]; in workloop_cb_test_sync_bootstrap()
H A Dkevent_qos.c126 mach_msg_header_t *hdr = (mach_msg_header_t *)ke->ext[0]; \
131 T_EXPECT_EQ(tmsg->qos, ((uint32_t)(ke->ext[2] >> 32)), \
289 mach_msg_header_t *hdr = (mach_msg_header_t *)kev->ext[0]; in workloop_cb_test_sync_send_and_enable_handoff()
406 hdr = (void*)kev->ext[0]; in get_reply_port()
/xnu-11215/bsd/sys/
H A Devent.h112 uint64_t ext[2]; /* filter-specific extensions */ member
133 __kevp__->ext[0] = (g); \
134 __kevp__->ext[1] = (h); \
H A Devent_private.h124 uint64_t ext[4]; /* filter-specific extensions */ member
/xnu-11215/osfmk/ipc/
H A Dipc_pset.c911 kn->kn_ext[0] = kev->ext[0]; in filt_machporttouch()
912 kn->kn_ext[1] = kev->ext[1]; in filt_machporttouch()
981 kev->ext[3] = 0; in filt_machportprocess()
1134 kev->ext[1] = msgr.msgr_msg_size + msgr.msgr_trailer_size; in filt_machportprocess()
1135 kev->ext[3] = msgr.msgr_aux_size; /* Only lower 32 bits of ext3 are used */ in filt_machportprocess()
1155 kev->ext[0] = kectx->kec_data_out; in filt_machportprocess()
1159 kev->ext[0] = kectx->kec_data_out + kectx->kec_data_resid; in filt_machportprocess()
1168 kev->ext[2] = ((uint64_t)msgr.msgr_priority << 32) | in filt_machportprocess()
1199 kev->ext[3] = 0; in filt_machportsanitizedcopyout()
/xnu-11215/SETUP/config/
H A Dmkmakefile.c68 void do_objs(FILE *fp, const char *msg, int ext, int flags);
69 void do_files(FILE *fp, const char *msg, char ext);
644 do_objs(FILE *fp, const char *msg, int ext, int flags) in do_objs() argument
670 if (ext != -1 && *cp != ext) { in do_objs()
698 do_files(FILE *fp, const char *msg, char ext) in do_files() argument
709 if (tp->f_fn[strlen(tp->f_fn) - 1] != ext) { in do_files()
/xnu-11215/tests/ipc/
H A Dport_turnstile_stash.c99 .ext = {(uint64_t)remote, sizeof(*remote), 0, 0},
118 .ext = {0, 0, 0, 0},
H A Dmach_msg2.c508 mach_msg_header_t *msg = (mach_msg_header_t *)kev->ext[0]; in workloop_cb()
509 mach_msg_size_t msg_size = (mach_msg_size_t)kev->ext[1]; in workloop_cb()
510 mach_msg_size_t aux_size = (mach_msg_size_t)kev->ext[3]; in workloop_cb()
/xnu-11215/bsd/netinet/
H A Dip6.h366 #define IP6_EXT_LEN(ext) \ argument
367 (((ext)->ip6e_len + 1) << 3)
/xnu-11215/bsd/kern/
H A Dkern_event.c981 knote_assert_aliases(ext, 0, kei_ext); in knote_fill_kevent_with_sdata()
1463 leeway_abs = (uint64_t)kev->ext[1]; in filt_timervalidate()
1860 kev->ext[0] = 0; in filt_timerprocess()
2074 uint64_t mask = kev->ext[EV_EXTIDX_WL_MASK]; in filt_wlupdate()
2129 kev->ext[EV_EXTIDX_WL_VALUE] = udata; in filt_wlupdate()
2339 memcpy(kn->kn_ext, kev->ext, sizeof(kev->ext)); in filt_wlremember_last_update()
2397 kev->ext[EV_EXTIDX_WL_VALUE] = udata; in filt_wlupdate_sync_ipc()
7511 .ext[0] = kev64.ext[0],
7512 .ext[1] = kev64.ext[1],
7602 .ext[0] = kevp->ext[0],
[all …]
H A Dkdebug.c1376 bool ext = map_version != RAW_VERSION1; in _copy_cpu_map() local
1377 size_t stride = ext ? sizeof(kd_cpumap_ext) : sizeof(kd_cpumap); in _copy_cpu_map()
1398 size_t name_size = ext ? sizeof(((kd_cpumap_ext *)NULL)->name) : in _copy_cpu_map()
/xnu-11215/bsd/skywalk/channel/
H A Dos_channel.h319 nexus_type_t *nexus_type, uint64_t *ext);
/xnu-11215/iokit/DriverKit/
H A DIOExtensiblePaniclog.iig129 * @brief This function is called to get a pointer to the ext paniclog buffer
/xnu-11215/libsyscall/wrappers/skywalk/
H A Dos_channel.c833 uint64_t *ext) in os_channel_read_nexus_extension_info() argument
841 if (ext != NULL) { in os_channel_read_nexus_extension_info()
842 *ext = (uint64_t)nxp->nxp_extensions; in os_channel_read_nexus_extension_info()

12