Searched refs:buf_idx (Results 1 – 8 of 8) sorted by relevance
| /xnu-12377.41.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-12377.41.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 static_assert(sizeof ((_buf)->buf_idx) == sizeof (obj_idx_t)); \
|
| H A D | pbufpool.c | 1009 ASSERT(kbft->buf_idx != OBJ_IDX_NONE); in pp_buflet_metadata_dtor() 2651 ASSERT(kbft->buf_idx != OBJ_IDX_NONE); in pp_free_buflet_common() 2669 ASSERT(kbft->buf_idx != OBJ_IDX_NONE); in pp_free_buflet_common()
|
| H A D | packet_var.h | 138 BUF_CTOR(_ubuf, 0, (_kbuf)->buf_idx, (_kbuf)->buf_dlim, \
|
| /xnu-12377.41.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)) { \ 356 if (__improbable(p->pkt_qum_buf.buf_idx == OBJ_IDX_NONE)) { in _initialize_metadata_address() 366 if (__probable(pbft->buf_idx != OBJ_IDX_NONE)) { in _initialize_metadata_address() 2051 ubft->buf_idx); in os_channel_purge_buflet_alloc_ring() 2291 ubft->buf_idx); in os_channel_buflet_alloc()
|
| /xnu-12377.41.6/osfmk/kern/ |
| H A D | kern_stackshot.c | 857 for (size_t buf_idx = 0; buf_idx < stackshot_ctx.sc_num_buffers; buf_idx++) { in stackshot_best_buffer_alloc() local 858 if ((buf_idx == my_cluster) || (stackshot_ctx.sc_buffers[buf_idx].ssb_ptr == NULL)) { in stackshot_best_buffer_alloc() 862 ret = stackshot_buffer_alloc(size, &stackshot_ctx.sc_buffers[buf_idx], &err); in stackshot_best_buffer_alloc() 1651 …for (size_t buf_idx = 0; buf_idx < stackshot_ctx.sc_num_buffers; buf_idx++, out_addr += sizeof(buf… in stackshot_push_duration_and_latency() local 1652 struct stackshot_buffer *buf = &stackshot_ctx.sc_buffers[buf_idx]; in stackshot_push_duration_and_latency() 1659 ml_topology_cluster_t *cluster = &ml_get_topology_info()->clusters[buf_idx]; in stackshot_push_duration_and_latency() 5850 for (int buf_idx = 0; buf_idx < stackshot_ctx.sc_num_buffers; buf_idx++) { in do_stackshot() local 5851 size_t bufsz = buf_per_cpu * stackshot_ctx.sc_buffers[buf_idx].ssb_size; in do_stackshot() 5855 stackshot_ctx.sc_buffers[buf_idx] = (struct stackshot_buffer) { in do_stackshot()
|
| /xnu-12377.41.6/bsd/skywalk/channel/ |
| H A D | channel_ring.c | 1753 ubuf->buf_idx != kbuf->buf_idx)) { in kr_internalize_metadata() 1757 SK_KVA(kring), kbuf->buf_idx, ubuf->buf_idx); in kr_internalize_metadata()
|
| /xnu-12377.41.6/bsd/skywalk/nexus/ |
| H A D | nexus_adapter.c | 2280 SK_KVA(kqum), kqum->qum_buf[0].buf_idx, in na_kr_populate_slots() 2288 kqum->qum_user->qum_buf[0].buf_idx, in na_kr_populate_slots() 2407 METADATA_IDX(kqum), SK_KVA(kqum), kqum->qum_buf[0].buf_idx, in na_kr_depopulate_slots() 2415 kqum->qum_user->qum_buf[0].buf_idx, in na_kr_depopulate_slots()
|