Home
last modified time | relevance | path

Searched refs:rseq (Results 1 – 25 of 31) sorted by relevance

12

/Linux-v5.10/kernel/
Drseq.c88 if (put_user(cpu_id, &t->rseq->cpu_id_start)) in rseq_update_cpu_id()
90 if (put_user(cpu_id, &t->rseq->cpu_id)) in rseq_update_cpu_id()
103 if (put_user(cpu_id_start, &t->rseq->cpu_id_start)) in rseq_reset_rseq_cpu_id()
110 if (put_user(cpu_id, &t->rseq->cpu_id)) in rseq_reset_rseq_cpu_id()
123 if (copy_from_user(&ptr, &t->rseq->rseq_cs.ptr64, sizeof(ptr))) in rseq_get_rseq_cs()
167 ret = get_user(flags, &t->rseq->flags); in rseq_need_restart()
207 if (clear_user(&t->rseq->rseq_cs.ptr64, sizeof(t->rseq->rseq_cs.ptr64))) in clear_rseq_cs()
269 if (unlikely(!access_ok(t->rseq, sizeof(*t->rseq)))) in __rseq_handle_notify_resume()
295 if (!t->rseq) in rseq_syscall()
297 if (!access_ok(t->rseq, sizeof(*t->rseq)) || in rseq_syscall()
[all …]
DMakefile122 obj-$(CONFIG_RSEQ) += rseq.o
Dsys_ni.c473 COND_SYSCALL(rseq);
/Linux-v5.10/tools/testing/selftests/rseq/
DMakefile26 $(OUTPUT)/librseq.so: rseq.c rseq.h rseq-*.h
29 $(OUTPUT)/%: %.c $(TEST_GEN_PROGS_EXTENDED) rseq.h rseq-*.h
33 rseq.h rseq-*.h
37 rseq.h rseq-*.h
Drseq.c34 __thread volatile struct rseq __rseq_abi = {
70 static int sys_rseq(volatile struct rseq *rseq_abi, uint32_t rseq_len, in sys_rseq()
90 rc = sys_rseq(&__rseq_abi, sizeof(struct rseq), 0, RSEQ_SIG); in rseq_register_current_thread()
118 rc = sys_rseq(&__rseq_abi, sizeof(struct rseq), in rseq_unregister_current_thread()
Drseq.h46 extern __thread volatile struct rseq __rseq_abi;
/Linux-v5.10/include/linux/
Dsched.h1173 struct rseq __user *rseq; member
1971 if (t->rseq) in rseq_set_notify_resume()
1980 if (current->rseq) in rseq_handle_notify_resume()
2014 t->rseq = NULL; in rseq_fork()
2018 t->rseq = current->rseq; in rseq_fork()
2026 t->rseq = NULL; in rseq_execve()
Dsyscalls.h66 struct rseq;
996 asmlinkage long sys_rseq(struct rseq __user *rseq, uint32_t rseq_len,
/Linux-v5.10/include/uapi/linux/
Drseq.h62 struct rseq { struct
/Linux-v5.10/include/trace/events/
Drseq.h3 #define TRACE_SYSTEM rseq
/Linux-v5.10/tools/testing/selftests/
DMakefile50 TARGETS += rseq
/Linux-v5.10/arch/ia64/kernel/syscalls/
Dsyscall.tbl345 333 common rseq sys_rseq
/Linux-v5.10/arch/mips/kernel/syscalls/
Dsyscall_n32.tbl342 331 n32 rseq sys_rseq
Dsyscall_n64.tbl338 327 n64 rseq sys_rseq
Dsyscall_o32.tbl381 367 o32 rseq sys_rseq
/Linux-v5.10/arch/xtensa/kernel/syscalls/
Dsyscall.tbl375 352 common rseq sys_rseq
/Linux-v5.10/arch/x86/entry/syscalls/
Dsyscall_64.tbl345 334 common rseq sys_rseq
/Linux-v5.10/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl345 334 common rseq sys_rseq
/Linux-v5.10/arch/arm/tools/
Dsyscall.tbl415 398 common rseq sys_rseq
/Linux-v5.10/arch/m68k/kernel/syscalls/
Dsyscall.tbl394 384 common rseq sys_rseq
/Linux-v5.10/arch/microblaze/kernel/syscalls/
Dsyscall.tbl410 400 common rseq sys_rseq
/Linux-v5.10/arch/parisc/kernel/syscalls/
Dsyscall.tbl401 354 common rseq sys_rseq
/Linux-v5.10/arch/sh/kernel/syscalls/
Dsyscall.tbl397 387 common rseq sys_rseq
/Linux-v5.10/arch/alpha/kernel/syscalls/
Dsyscall.tbl458 527 common rseq sys_rseq
/Linux-v5.10/arch/s390/kernel/syscalls/
Dsyscall.tbl393 383 common rseq sys_rseq sys_rseq

12