Searched refs:rseq (Results 1 – 25 of 31) sorted by relevance
12
/Linux-v5.10/kernel/ |
D | rseq.c | 88 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 …]
|
D | Makefile | 122 obj-$(CONFIG_RSEQ) += rseq.o
|
D | sys_ni.c | 473 COND_SYSCALL(rseq);
|
/Linux-v5.10/tools/testing/selftests/rseq/ |
D | Makefile | 26 $(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
|
D | rseq.c | 34 __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()
|
D | rseq.h | 46 extern __thread volatile struct rseq __rseq_abi;
|
/Linux-v5.10/include/linux/ |
D | sched.h | 1173 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()
|
D | syscalls.h | 66 struct rseq; 996 asmlinkage long sys_rseq(struct rseq __user *rseq, uint32_t rseq_len,
|
/Linux-v5.10/include/uapi/linux/ |
D | rseq.h | 62 struct rseq { struct
|
/Linux-v5.10/include/trace/events/ |
D | rseq.h | 3 #define TRACE_SYSTEM rseq
|
/Linux-v5.10/tools/testing/selftests/ |
D | Makefile | 50 TARGETS += rseq
|
/Linux-v5.10/arch/ia64/kernel/syscalls/ |
D | syscall.tbl | 345 333 common rseq sys_rseq
|
/Linux-v5.10/arch/mips/kernel/syscalls/ |
D | syscall_n32.tbl | 342 331 n32 rseq sys_rseq
|
D | syscall_n64.tbl | 338 327 n64 rseq sys_rseq
|
D | syscall_o32.tbl | 381 367 o32 rseq sys_rseq
|
/Linux-v5.10/arch/xtensa/kernel/syscalls/ |
D | syscall.tbl | 375 352 common rseq sys_rseq
|
/Linux-v5.10/arch/x86/entry/syscalls/ |
D | syscall_64.tbl | 345 334 common rseq sys_rseq
|
/Linux-v5.10/tools/perf/arch/x86/entry/syscalls/ |
D | syscall_64.tbl | 345 334 common rseq sys_rseq
|
/Linux-v5.10/arch/arm/tools/ |
D | syscall.tbl | 415 398 common rseq sys_rseq
|
/Linux-v5.10/arch/m68k/kernel/syscalls/ |
D | syscall.tbl | 394 384 common rseq sys_rseq
|
/Linux-v5.10/arch/microblaze/kernel/syscalls/ |
D | syscall.tbl | 410 400 common rseq sys_rseq
|
/Linux-v5.10/arch/parisc/kernel/syscalls/ |
D | syscall.tbl | 401 354 common rseq sys_rseq
|
/Linux-v5.10/arch/sh/kernel/syscalls/ |
D | syscall.tbl | 397 387 common rseq sys_rseq
|
/Linux-v5.10/arch/alpha/kernel/syscalls/ |
D | syscall.tbl | 458 527 common rseq sys_rseq
|
/Linux-v5.10/arch/s390/kernel/syscalls/ |
D | syscall.tbl | 393 383 common rseq sys_rseq sys_rseq
|
12