Home
last modified time | relevance | path

Searched refs:cring (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/x86/
H A Dlam.c387 struct io_uring_queue *cring = &s->cq_ring; in mmap_io_uring() local
390 cring->ring_sz = p.cq_off.cqes + p.cq_entries * sizeof(struct io_uring_cqe); in mmap_io_uring()
393 if (cring->ring_sz > sring->ring_sz) in mmap_io_uring()
394 sring->ring_sz = cring->ring_sz; in mmap_io_uring()
396 cring->ring_sz = sring->ring_sz; in mmap_io_uring()
411 cq_ptr = mmap(0, cring->ring_sz, PROT_READ | PROT_WRITE, in mmap_io_uring()
436 munmap(cq_ptr, cring->ring_sz); in mmap_io_uring()
441 cring->head = cq_ptr + p.cq_off.head; in mmap_io_uring()
442 cring->tail = cq_ptr + p.cq_off.tail; in mmap_io_uring()
443 cring->ring_mask = cq_ptr + p.cq_off.ring_mask; in mmap_io_uring()
[all …]
/openbmc/qemu/target/xtensa/
H A Dtranslate.c55 int cring; member
337 if (!dc->cring) { in gen_check_privilege()
1133 dc->cring = (tb_flags & XTENSA_TBFLAG_EXCM) ? 0 : dc->ring; in xtensa_tr_init_disas_context()
1523 tcg_gen_qemu_ld_i32(res, addr, dc->cring, MO_UB); in translate_dcache()
1656 tcg_gen_qemu_ld_i32(arg[0].out, addr, dc->cring, mop); in translate_l32ex()
1674 tcg_gen_qemu_st_tl(arg[0].in, addr, dc->cring, mop); in translate_ldst()
1676 tcg_gen_qemu_ld_tl(arg[0].out, addr, dc->cring, mop); in translate_ldst()
1700 tcg_gen_qemu_ld_i32(arg[0].out, tmp, dc->cring, MO_TEUL); in translate_l32r()
1755 tcg_gen_qemu_ld_tl(mem32, vaddr, dc->cring, mop); in translate_mac16()
2186 tmp, dc->cring, mop); in translate_s32c1i()
[all …]