ACIL FM
Dark
Refresh
Current DIR:
/usr/src/kernels/5.14.0-427.31.1.el9_4.x86_64/tools/arch/x86/include/asm
/
usr
src
kernels
5.14.0-427.31.1.el9_4.x86_64
tools
arch
x86
include
asm
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
amd-ibs.h
4.9 MB
chmod
View
DL
Edit
Rename
Delete
asm.h
4.88 MB
chmod
View
DL
Edit
Rename
Delete
atomic.h
1.77 MB
chmod
View
DL
Edit
Rename
Delete
barrier.h
1.32 MB
chmod
View
DL
Edit
Rename
Delete
cmpxchg.h
2.56 MB
chmod
View
DL
Edit
Rename
Delete
cpufeatures.h
32.16 MB
chmod
View
DL
Edit
Rename
Delete
disabled-features.h
3.92 MB
chmod
View
DL
Edit
Rename
Delete
emulate_prefix.h
484 B
chmod
View
DL
Edit
Rename
Delete
inat.h
5.95 MB
chmod
View
DL
Edit
Rename
Delete
inat_types.h
341 B
chmod
View
DL
Edit
Rename
Delete
insn.h
7.68 MB
chmod
View
DL
Edit
Rename
Delete
irq_vectors.h
4.2 MB
chmod
View
DL
Edit
Rename
Delete
msr-index.h
41.98 MB
chmod
View
DL
Edit
Rename
Delete
nops.h
1.86 MB
chmod
View
DL
Edit
Rename
Delete
orc_types.h
1.98 MB
chmod
View
DL
Edit
Rename
Delete
pvclock-abi.h
1.49 MB
chmod
View
DL
Edit
Rename
Delete
pvclock.h
2.48 MB
chmod
View
DL
Edit
Rename
Delete
required-features.h
2.89 MB
chmod
View
DL
Edit
Rename
Delete
rmwcc.h
1.1 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /usr/src/kernels/5.14.0-427.31.1.el9_4.x86_64/tools/arch/x86/include/asm/barrier.h
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _TOOLS_LINUX_ASM_X86_BARRIER_H #define _TOOLS_LINUX_ASM_X86_BARRIER_H /* * Copied from the Linux kernel sources, and also moving code * out from tools/perf/perf-sys.h so as to make it be located * in a place similar as in the kernel sources. * * Force strict CPU ordering. * And yes, this is required on UP too when we're talking * to devices. */ #if defined(__i386__) /* * Some non-Intel clones support out of order store. wmb() ceases to be a * nop for these. */ #define mb() asm volatile("lock; addl $0,0(%%esp)" ::: "memory") #define rmb() asm volatile("lock; addl $0,0(%%esp)" ::: "memory") #define wmb() asm volatile("lock; addl $0,0(%%esp)" ::: "memory") #elif defined(__x86_64__) #define mb() asm volatile("mfence" ::: "memory") #define rmb() asm volatile("lfence" ::: "memory") #define wmb() asm volatile("sfence" ::: "memory") #define smp_rmb() barrier() #define smp_wmb() barrier() #define smp_mb() asm volatile("lock; addl $0,-132(%%rsp)" ::: "memory", "cc") #endif #if defined(__x86_64__) #define smp_store_release(p, v) \ do { \ barrier(); \ WRITE_ONCE(*p, v); \ } while (0) #define smp_load_acquire(p) \ ({ \ typeof(*p) ___p1 = READ_ONCE(*p); \ barrier(); \ ___p1; \ }) #endif /* defined(__x86_64__) */ #endif /* _TOOLS_LINUX_ASM_X86_BARRIER_H */
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply