| /freebsd-14.2/sys/riscv/include/ |
| H A D | atomic.h | 62 fence(); \ 74 fence(); \ 82 fence(); \ 266 fence(); in atomic_load_acq_32() 275 fence(); in atomic_store_rel_32() 476 fence(); in atomic_load_acq_64() 485 fence(); in atomic_store_rel_64() 512 fence(); in atomic_thread_fence_acq() 519 fence(); in atomic_thread_fence_rel() 526 fence(); in atomic_thread_fence_acq_rel() [all …]
|
| H A D | encoding.h | 809 DECLARE_INSN(fence, MATCH_FENCE, MASK_FENCE)
|
| /freebsd-14.2/sys/dev/hyperv/vmbus/amd64/ |
| H A D | hyperv_machdep.c | 138 #define HYPERV_TSC_TIMECOUNT(fence) \ argument 140 hyperv_tc64_tsc_##fence(void) \ 150 fence(); \ 170 hyperv_tsc_timecount_##fence(struct timecounter *tc __unused) \ 173 return (hyperv_tc64_tsc_##fence()); \
|
| /freebsd-14.2/contrib/ofed/include/ |
| H A D | udma_barrier.h | 110 #define udma_to_device_barrier() fence() 148 #define udma_from_device_barrier() fence() 218 #define mmio_flush_writes() fence()
|
| /freebsd-14.2/sys/dev/ioat/ |
| H A D | ioat_internal.h | 129 uint32_t fence:1; member 162 uint32_t fence:1; member 193 uint32_t fence:1; member 221 uint32_t fence:1; member 300 uint32_t fence:1; member 338 uint32_t fence:1; member 380 uint32_t fence:1; member
|
| H A D | ioat.c | 1171 hw_desc->u.control_generic.fence = 1; in ioat_op_generic()
|
| /freebsd-14.2/sys/dev/bnxt/bnxt_re/ |
| H A D | ib_verbs.c | 536 struct bnxt_re_legacy_fence_data *fence = &pd->fence; in bnxt_re_legacy_create_fence_wqe() local 559 fence->bind_rkey = ib_inc_rkey(fence->mw->rkey); in bnxt_re_legacy_create_fence_wqe() 568 struct bnxt_re_legacy_fence_data *fence = &pd->fence; in bnxt_re_legacy_bind_fence_mw() local 578 fence->bind_rkey = ib_inc_rkey(fence->bind_rkey); in bnxt_re_legacy_bind_fence_mw() 596 struct bnxt_re_legacy_fence_data *fence = &pd->fence; in bnxt_re_legacy_create_fence_mr() local 612 if (!fence->va) in bnxt_re_legacy_create_fence_mr() 630 fence->mr = mr; in bnxt_re_legacy_create_fence_mr() 687 fence->mr = NULL; in bnxt_re_legacy_create_fence_mr() 695 kfree(fence->va); in bnxt_re_legacy_create_fence_mr() 702 struct bnxt_re_legacy_fence_data *fence = &pd->fence; in bnxt_re_legacy_destroy_fence_mr() local [all …]
|
| H A D | ib_verbs.h | 141 struct bnxt_re_legacy_fence_data fence; member
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | Atomic.cpp | 39 # error No memory fence implementation for your platform! in MemoryFence()
|
| /freebsd-14.2/sys/x86/iommu/ |
| H A D | intel_qi.c | 170 bool memw, bool fence) in dmar_qi_emit_wait_descr() argument 179 (fence ? DMAR_IQ_DESCR_WAIT_FN : 0) | in dmar_qi_emit_wait_descr()
|
| /freebsd-14.2/sys/dev/smartpqi/ |
| H A D | smartpqi_structures.h | 669 uint8_t fence : 1; member 766 uint8_t fence : 1; member 811 uint8_t fence : 1; member 825 uint8_t fence : 1; member
|
| H A D | smartpqi_request.c | 222 raid_req->fence = 0; in pqisrc_build_raid_io() 352 aio_req->cmd_flags.fence = 0; in pqisrc_build_aio_common() 423 DBG_INFO("%15s: 0x%x\n", "fence", aio_req->cmd_flags.fence); in pqisrc_show_aio_common() 477 aio_req->cmd_flags.fence = 0; in pqisrc_build_aio_R1_write() 545 DBG_INFO("%15s: 0x%x\n", "fence", aio_req->cmd_flags.fence); in pqisrc_show_aio_R1_write() 623 aio_req->cmd_flags.fence = 0; in pqisrc_build_aio_R5or6_write() 699 DBG_INFO("%15s: 0x%x\n", "fence", aio_req->cmd_flags.fence); in pqisrc_show_aio_R5or6_write()
|
| /freebsd-14.2/contrib/ofed/libmlx5/ |
| H A D | qp.c | 633 uint8_t fence; in _mlx5_post_send() local 668 fence = MLX5_WQE_CTRL_FENCE; in _mlx5_post_send() 670 fence = next_fence; in _mlx5_post_send() 676 ctrl->fm_ce_se = qp->sq_signal_bits | fence | in _mlx5_post_send()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVInstrInfo.td | 688 "fence", "$pred, $succ">, Sched<[]> { 697 def FENCE_TSO : RVInstI<0b000, OPC_MISC_MEM, (outs), (ins), "fence.tso", "">, Sched<[]> { 703 def FENCE_I : RVInstI<0b001, OPC_MISC_MEM, (outs), (ins), "fence.i", "">, Sched<[]> { 943 def : InstAlias<"fence", (FENCE 0xF, 0xF)>; // 0xF == iorw 1824 // fence acquire -> fence r, rw 1826 // fence release -> fence rw, w 1828 // fence acq_rel -> fence.tso 1830 // fence seq_cst -> fence rw, rw 1834 // Although these are lowered to fence+load/store instructions defined in the
|
| H A D | RISCVFeatures.td | 83 "'Zifencei' (fence.i)">; 86 "'Zifencei' (fence.i)">; 1018 def FeatureTrailingSeqCstFence : SubtargetFeature<"seq-cst-trailing-fence", 1021 "Enable trailing fence for seq-cst store.">;
|
| /freebsd-14.2/sys/dev/mlx5/mlx5_ib/ |
| H A D | mlx5_ib_qp.c | 3829 static u8 get_fence(u8 fence, const struct ib_send_wr *wr) in get_fence() argument 3835 if (unlikely(fence)) { in get_fence() 3839 return fence; in get_fence() 3875 int nreq, u8 fence, u8 next_fence, in finish_wqe() argument 3883 ctrl->fm_ce_se |= fence; in finish_wqe() 3917 u8 fence; in mlx5_ib_post_send() local 3943 fence = qp->fm_cache; in mlx5_ib_post_send() 4018 nreq, get_fence(fence, wr), in mlx5_ib_post_send() 4043 nreq, get_fence(fence, wr), in mlx5_ib_post_send() 4065 nreq, get_fence(fence, wr), in mlx5_ib_post_send() [all …]
|
| /freebsd-14.2/sys/riscv/riscv/ |
| H A D | busdma_bounce.c | 906 fence(); in bounce_bus_dmamap_sync() 984 fence(); in bounce_bus_dmamap_sync()
|
| H A D | pmap.c | 820 fence(); in pmap_invalidate_page() 835 fence(); in pmap_invalidate_range() 861 fence(); in pmap_invalidate_all() 4794 fence(); in pmap_sync_icache()
|
| /freebsd-14.2/sys/dev/hwpmc/ |
| H A D | hwpmc_mod.c | 199 static int pmc_debugflags_parse(char *newstr, char *fence); 451 pmc_debugflags_parse(char *newstr, char *fence) in pmc_debugflags_parse() argument 462 for (p = newstr; p < fence && (c = *p); p++) { in pmc_debugflags_parse() 468 for (q = p; p < fence && (c = *p) && c != '='; p++) in pmc_debugflags_parse() 504 for (q = p; p < fence && (c = *p); p++) in pmc_debugflags_parse() 582 char *fence, *newstr; in pmc_debugflags_sysctl_handler() local 594 fence = newstr + (n < req->newlen ? n : req->newlen + 1); in pmc_debugflags_sysctl_handler() 595 error = pmc_debugflags_parse(newstr, fence); in pmc_debugflags_sysctl_handler()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | TargetOpcodes.def | 124 /// Arithmetic fence. 220 // This is a fence with the singlethread scope. It represents a compiler memory 410 // Generic atomic fence
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyInstrAtomics.td | 108 // A compiler fence instruction that prevents reordering of instructions. 113 defm ATOMIC_FENCE : ATOMIC_NRI<(outs), (ins i8imm:$flags), [], "atomic.fence",
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLLexer.cpp | 888 INSTKEYWORD(fence, Fence); in LexIdentifier()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/ |
| H A D | atomic | 601 #include <__atomic/fence.h>
|
| /freebsd-14.2/lib/libc++/ |
| H A D | Makefile | 533 ATM_HEADERS+= fence.h
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | BuiltinsPPC.def | 114 // fence builtin prevents all instructions moved across it
|