Home
last modified time | relevance | path

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

/xnu-12377.41.6/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.c287 assert(txprop.sp_len >= rxprop.sp_len); in skt_utunloop_xfer_slots()
289 (void *)rxprop.sp_buf_ptr, rxprop.sp_len); in skt_utunloop_xfer_slots()
290 txprop.sp_len = rxprop.sp_len; in skt_utunloop_xfer_slots()
294 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.c1173 assert(prop.sp_len == 0);
1178 assert(prop.sp_len != 0);
1191 assert(buf_len == prop.sp_len);
1218 prop.sp_len = frame_length;
1275 assert(prop.sp_len == 0); in channel_port_send_fragments()
1280 assert(prop.sp_len != 0); in channel_port_send_fragments()
1293 assert(buf_len == prop.sp_len); in channel_port_send_fragments()
1323 prop.sp_len = frame_length; in channel_port_send_fragments()
1444 assert(pkt_len == prop.sp_len); in channel_port_receive()
H A Dskywalk_test_utils.c807 prop.sp_len = random() % bdlim; in sktc_chew_random()
/xnu-12377.41.6/bsd/skywalk/channel/
H A Dos_channel.h208 uint16_t sp_len; /* length for this slot */ member
/xnu-12377.41.6/libsyscall/wrappers/skywalk/
H A Dos_channel.c1035 prop->sp_len = 0; in os_channel_get_next_slot()
1060 prop->sp_len = (ring_kind == CR_KIND_TX) ? in os_channel_get_next_slot()
1088 q->qum_len = prop->sp_len; in os_channel_set_slot_properties()
1091 p->pkt_qum_buf.buf_dlen = prop->sp_len; in os_channel_set_slot_properties()
/xnu-12377.41.6/tests/
H A Dnet_tuntests.c774 T_QUIET; T_ASSERT_NE_UINT(0, rxprop.sp_len, NULL); in drain_ring()
777 log_hexdump((void *)rxprop.sp_buf_ptr, rxprop.sp_len); in drain_ring()