Home
last modified time | relevance | path

Searched refs:sp_len (Results 1 – 12 of 12) sorted by relevance

/xnu-11417.140.69/tests/skywalk/ !
H A Dskt_debug_verify.c93 assert(prop.sp_len); in skt_debug_verify_main()
96 prop.sp_len = sizeof(msg); in skt_debug_verify_main()
128 assert(prop.sp_len == sizeof(msg)); in skt_debug_verify_main()
H A Dskt_oneslot.c138 assert(prop.sp_len); in skt_oneslot_common()
141 prop.sp_len = sizeof(msg); in skt_oneslot_common()
202 assert(prop.sp_len == sizeof(msg)); in skt_oneslot_common()
H A Dskt_mangle.c204 prop.sp_len = 6; in skt_mangle_rx()
304 prop.sp_len = 65535; in skt_mangle_tx()
309 prop.sp_len = 131; in skt_mangle_tx()
314 prop.sp_len = 83; in skt_mangle_tx()
H A Dskt_nslots.c179 assert(prop.sp_len == slotsize); in skt_nslots_common()
181 prop.sp_len = sizeof(sendcount); in skt_nslots_common()
243 assert(prop.sp_len == sizeof(recvcount)); in skt_nslots_common()
H A Dskt_utunloop.c286 assert(txprop.sp_len >= rxprop.sp_len); in skt_utunloop_xfer_slots()
288 (void *)rxprop.sp_buf_ptr, rxprop.sp_len); in skt_utunloop_xfer_slots()
289 txprop.sp_len = rxprop.sp_len; in skt_utunloop_xfer_slots()
293 bytecount += txprop.sp_len; in skt_utunloop_xfer_slots()
H A Dskt_netifdirect.c332 assert(prop.sp_len == 0);
337 assert(prop.sp_len != 0);
350 assert(buf_len == prop.sp_len);
375 prop.sp_len = frame_length;
434 assert(pkt_len == prop.sp_len); in skt_netif_channel_receive()
H A Dskywalk_test_common.c430 assert(txprop.sp_len == slotsize); in sktc_channel_worker_echo()
431 assert(txprop.sp_len >= rxprop.sp_len); in sktc_channel_worker_echo()
432 memcpy((void *)txprop.sp_buf_ptr, (void *)rxprop.sp_buf_ptr, rxprop.sp_len); in sktc_channel_worker_echo()
433 txprop.sp_len = rxprop.sp_len; in sktc_channel_worker_echo()
862 assert(prop.sp_len == txring->chrd_ring->ring_def_buf_size); in send_bytes()
865 prop.sp_len = count; in send_bytes()
H A Dskt_xfer.c1172 assert(prop.sp_len == 0);
1177 assert(prop.sp_len != 0);
1190 assert(buf_len == prop.sp_len);
1217 prop.sp_len = frame_length;
1274 assert(prop.sp_len == 0); in channel_port_send_fragments()
1279 assert(prop.sp_len != 0); in channel_port_send_fragments()
1292 assert(buf_len == prop.sp_len); in channel_port_send_fragments()
1322 prop.sp_len = frame_length; in channel_port_send_fragments()
1443 assert(pkt_len == prop.sp_len); in channel_port_receive()
H A Dskywalk_test_utils.c821 prop.sp_len = random() % bdlim; in sktc_chew_random()
/xnu-11417.140.69/bsd/skywalk/channel/ !
H A Dos_channel.h216 uint16_t sp_len; /* length for this slot */ member
/xnu-11417.140.69/libsyscall/wrappers/skywalk/ !
H A Dos_channel.c1063 prop->sp_len = 0; in os_channel_get_next_slot()
1088 prop->sp_len = (ring_kind == CR_KIND_TX) ? in os_channel_get_next_slot()
1116 q->qum_len = prop->sp_len; in os_channel_set_slot_properties()
1121 p->pkt_qum_buf.buf_dlen = prop->sp_len; in os_channel_set_slot_properties()
1126 q->qum_buf[0].buf_dlen = prop->sp_len; in os_channel_set_slot_properties()
/xnu-11417.140.69/tests/ !
H A Dnet_tuntests.c929 T_QUIET; T_ASSERT_NE_UINT(0, rxprop.sp_len, NULL); in drain_ring()
932 log_hexdump((void *)rxprop.sp_buf_ptr, rxprop.sp_len); in drain_ring()