Searched refs:buf_idx (Results 1 – 8 of 8) sorted by relevance
| /xnu-11417.121.6/tests/ |
| H A D | avx.c | 256 unsigned int buf_idx = 0; in vec256_to_string() local 263 buf + buf_idx, in vec256_to_string() 268 buf_idx += ret; in vec256_to_string() 707 unsigned int buf_idx = 0; in vec512_to_string() local 714 buf + buf_idx, in vec512_to_string() 721 buf_idx += ret; in vec512_to_string() 729 unsigned int buf_idx = 0; in opmask_to_string() local 734 buf + buf_idx, in opmask_to_string() 740 buf_idx += ret; in opmask_to_string()
|
| /xnu-11417.121.6/bsd/skywalk/packet/ |
| H A D | os_packet_private.h | 280 #define buf_idx buf_com.__bidx macro 297 *__DECONST(obj_idx_t *, &(_buf)->buf_idx) = (obj_idx_t)(_idx) 318 _CASSERT(sizeof ((_buf)->buf_idx) == sizeof (obj_idx_t)); \
|
| H A D | packet_var.h | 138 BUF_CTOR(_ubuf, 0, (_kbuf)->buf_idx, (_kbuf)->buf_dlim, \
|
| H A D | pbufpool.c | 1067 ASSERT(kbft->buf_idx != OBJ_IDX_NONE); in pp_buflet_metadata_dtor() 2714 ASSERT(kbft->buf_idx != OBJ_IDX_NONE); in pp_free_buflet_common() 2732 ASSERT(kbft->buf_idx != OBJ_IDX_NONE); in pp_free_buflet_common()
|
| /xnu-11417.121.6/libsyscall/wrappers/skywalk/ |
| H A D | os_channel.c | 201 _CHANNEL_RING_LARGE_BUF(_chrd, _ring, (_bft)->buf_idx) : \ 202 _CHANNEL_RING_DEF_BUF(_chrd, _ring, (_bft)->buf_idx) 217 if (__probable((_pkt)->pkt_qum_buf.buf_idx != OBJ_IDX_NONE)) { \ 361 if (__improbable(p->pkt_qum_buf.buf_idx == OBJ_IDX_NONE)) { in _initialize_metadata_address() 371 if (__probable(pbft->buf_idx != OBJ_IDX_NONE)) { in _initialize_metadata_address() 2112 ubft->buf_idx); in os_channel_purge_buflet_alloc_ring() 2352 ubft->buf_idx); in os_channel_buflet_alloc()
|
| /xnu-11417.121.6/osfmk/kern/ |
| H A D | kern_stackshot.c | 843 for (size_t buf_idx = 0; buf_idx < stackshot_ctx.sc_num_buffers; buf_idx++) { in stackshot_best_buffer_alloc() local 844 if (buf_idx == my_cluster) { in stackshot_best_buffer_alloc() 848 ret = stackshot_buffer_alloc(size, &stackshot_ctx.sc_buffers[buf_idx], &err); in stackshot_best_buffer_alloc() 1624 for (size_t buf_idx = 0; buf_idx < stackshot_ctx.sc_num_buffers; buf_idx++) { in stackshot_push_duration_and_latency() local 1625 struct stackshot_buffer *buf = &stackshot_ctx.sc_buffers[buf_idx]; in stackshot_push_duration_and_latency() 2729 for (int buf_idx = 0; buf_idx < stackshot_ctx.sc_num_buffers; buf_idx++) { in kdp_snapshot_preflight_internal() local 2730 stackshot_ctx.sc_buffers[buf_idx] = (struct stackshot_buffer) { in kdp_snapshot_preflight_internal() 2731 .ssb_ptr = (void*) ((mach_vm_address_t) args.buffer + (bufsz * buf_idx)), in kdp_snapshot_preflight_internal()
|
| /xnu-11417.121.6/bsd/skywalk/channel/ |
| H A D | channel_ring.c | 1779 ubuf->buf_idx != kbuf->buf_idx)) { in kr_internalize_metadata() 1783 SK_KVA(kring), kbuf->buf_idx, ubuf->buf_idx); in kr_internalize_metadata()
|
| /xnu-11417.121.6/bsd/skywalk/nexus/ |
| H A D | nexus_adapter.c | 2328 SK_KVA(kqum), kqum->qum_buf[0].buf_idx, in na_kr_populate_slots() 2336 kqum->qum_user->qum_buf[0].buf_idx, in na_kr_populate_slots() 2455 METADATA_IDX(kqum), SK_KVA(kqum), kqum->qum_buf[0].buf_idx, in na_kr_depopulate_slots() 2463 kqum->qum_user->qum_buf[0].buf_idx, in na_kr_depopulate_slots()
|