Searched refs:rseq (Results 1 - 25 of 26) sorted by relevance

12

/linux-master/include/linux/sched/
H A Drseq_api.h1 #include <linux/rseq.h>
/linux-master/tools/testing/selftests/rseq/
H A DMakefile29 $(OUTPUT)/librseq.so: rseq.c rseq.h rseq-*.h
32 $(OUTPUT)/%: %.c $(TEST_GEN_PROGS_EXTENDED) rseq.h rseq-*.h
35 $(OUTPUT)/basic_percpu_ops_mm_cid_test: basic_percpu_ops_test.c $(TEST_GEN_PROGS_EXTENDED) rseq.h rseq-*.h
39 rseq.h rseq-*.h
43 rseq
[all...]
H A Drseq.h3 * rseq.h
20 #include "rseq-abi.h"
57 #include "rseq-thread-pointer.h"
59 /* Offset from the thread pointer to the rseq area. */
63 * Size of the registered rseq area. 0 if the registration was
68 /* Flags used during rseq registration. */
72 * rseq feature size supported by the kernel. 0 if the registration was
118 #include <rseq-x86.h>
120 #include <rseq-arm.h>
122 #include <rseq
[all...]
/linux-master/kernel/
H A Drseq.c14 #include <linux/rseq.h>
19 #include <trace/events/rseq.h>
21 /* The original rseq structure size (including padding) is 32 bytes. */
38 * Detailed algorithm of rseq user-space assembly sequences:
41 * cpu = TLS->rseq::cpu_id_start
42 * [1] TLS->rseq::rseq_cs = rseq_cs
44 * [2] if (cpu != TLS->rseq::cpu_id)
60 * struct rseq TLS area. This update is performed through a single
90 struct rseq __user *rseq local
[all...]
H A Dsys_ni.c393 COND_SYSCALL(rseq); variable
H A DMakefile130 obj-$(CONFIG_RSEQ) += rseq.o
H A Dptrace.c796 .rseq_abi_pointer = (u64)(uintptr_t)task->rseq,
H A Dfork.c103 #include <linux/rseq.h>
/linux-master/include/linux/
H A Drseq.h28 if (t->rseq)
37 if (current->rseq)
66 * child inherits. Unregister rseq for a clone with CLONE_VM set.
71 t->rseq = NULL;
76 t->rseq = current->rseq;
85 t->rseq = NULL;
H A Dresume_user_mode.h9 #include <linux/rseq.h>
H A Dsched.h42 #include <uapi/linux/rseq.h>
1318 struct rseq __user *rseq; member in struct:task_struct
H A Dsyscalls.h67 struct rseq;
931 asmlinkage long sys_rseq(struct rseq __user *rseq, uint32_t rseq_len,
/linux-master/include/uapi/linux/
H A Drseq.h6 * linux/rseq.h
57 * struct rseq is aligned on 4 * 8 bytes to ensure it is always
60 * A single struct rseq per thread is allowed.
62 struct rseq { struct
69 * value may not be the actual current CPU (e.g. if rseq is not
71 * against the value of the cpu_id field before performing a rseq
82 * have a special semantic: the former means "rseq uninitialized",
83 * and latter means "rseq initialization failed". This value is
84 * meant to be read within rseq critical sections and compared
119 * Mainly used for single-stepping through rseq critica
[all...]
/linux-master/include/trace/events/
H A Drseq.h3 #define TRACE_SYSTEM rseq
/linux-master/tools/testing/selftests/kvm/
H A Drseq_test.c16 #include <linux/rseq.h>
23 #include "../rseq/rseq.c"
80 * that a migration may have occurred in between rseq and sched
115 * to check the rseq CPU ID (see #2).
123 * the rseq CPU ID must wait for migration to complete in
124 * order to avoid false positive, thus any kernel rseq bug
222 * Verify rseq's CPU matches sched's CPU. Ensure migration
223 * doesn't occur between getcpu() and reading the rseq cpu_id
235 * Ensure calling getcpu() and reading rseq
[all...]
H A DMakefile232 -I$(<D) -Iinclude/$(ARCH_DIR) -I ../rseq -I.. $(EXTRA_CFLAGS) \
/linux-master/arch/powerpc/kernel/
H A Dinterrupt.c6 #include <linux/rseq.h>
/linux-master/arch/x86/kernel/
H A Dsignal.c30 #include <linux/rseq.h>
/linux-master/tools/testing/selftests/
H A DMakefile81 TARGETS += rseq
/linux-master/arch/s390/kernel/
H A Dsignal.c15 #include <linux/rseq.h>
/linux-master/fs/
H A Dbinfmt_elf.c49 #include <linux/rseq.h>
274 NEW_AUX_ENT(AT_RSEQ_FEATURE_SIZE, offsetof(struct rseq, end));
275 NEW_AUX_ENT(AT_RSEQ_ALIGN, __alignof__(struct rseq));
H A Dexec.c69 #include <linux/rseq.h>
/linux-master/arch/loongarch/kernel/
H A Dsignal.c18 #include <linux/rseq.h>
/linux-master/arch/arm64/kernel/
H A Dsignal.c20 #include <linux/rseq.h>
H A Dptrace.c31 #include <linux/rseq.h>

Completed in 405 milliseconds

12