/usr/src/linux-headers-5.15.0-190/arch/parisc/include/asm
NameSizeModeActions
agp.h5960644editdlrm
alternative.h19540644editdlrm
asm-offsets.h350644editdlrm
asmregs.h24780644editdlrm
assembly.h124960644editdlrm
atomic.h57180644editdlrm
barrier.h25630644editdlrm
bitops.h55780644editdlrm
bug.h24080644editdlrm
cache.h20840644editdlrm
cacheflush.h37730644editdlrm
checksum.h47150644editdlrm
cmpxchg.h37830644editdlrm
compat.h39730644editdlrm
compat_ucontext.h5910644editdlrm
delay.h5330644editdlrm
dma-mapping.h10120644editdlrm
dma.h58490644editdlrm
dwarf.h4560644editdlrm
eisa_bus.h4920644editdlrm
eisa_eeprom.h43180644editdlrm
elf.h143810644editdlrm
fb.h4910644editdlrm
fixmap.h16110644editdlrm
floppy.h61930644editdlrm
ftrace.h6410644editdlrm
futex.h26660644editdlrm
grfioctl.h40900644editdlrm
hardirq.h9760644editdlrm
hardware.h42390644editdlrm
hash.h51940644editdlrm
hugetlb.h13310644editdlrm
ide.h11200644editdlrm
io.h83070644editdlrm
irq.h11710644editdlrm
irqflags.h10460644editdlrm
jump_label.h9900644editdlrm
kbdleds.h4770644editdlrm
Kbuild1750644editdlrm
kexec.h8270644editdlrm
kgdb.h13180644editdlrm
kprobes.h12840644editdlrm
ldcw.h25700644editdlrm
led.h13620644editdlrm
linkage.h7380644editdlrm
machdep.h3490644editdlrm
mckinley.h2700644editdlrm
mmu.h1950644editdlrm
mmu_context.h23550644editdlrm
mmzone.h2020644editdlrm
module.h5270644editdlrm
page.h55330644editdlrm
parisc-device.h19640644editdlrm
parport.h3580644editdlrm
patch.h4450644editdlrm
pci.h59560644editdlrm
pdc.h42690644editdlrm
pdcpat.h169680644editdlrm
pdc_chassis.h147450644editdlrm
perf.h19360644editdlrm
perf_event.h1520644editdlrm
pgalloc.h17220644editdlrm
pgtable.h170620644editdlrm
prefetch.h11470644editdlrm
processor.h94860644editdlrm
psw.h24640644editdlrm
ptrace.h16030644editdlrm
ropes.h100600644editdlrm
rt_sigframe.h7450644editdlrm
runway.h3200644editdlrm
seccomp.h6510644editdlrm
sections.h4940644editdlrm
serial.h1240644editdlrm
shmparam.h2630644editdlrm
signal.h6850644editdlrm
smp.h12760644editdlrm
socket.h3100644editdlrm
sparsemem.h3450644editdlrm
special_insns.h15540644editdlrm
spinlock.h31820644editdlrm
spinlock_types.h7010644editdlrm
string.h2470644editdlrm
superio.h33330644editdlrm
switch_to.h3320644editdlrm
syscall.h14770644editdlrm
termios.h17610644editdlrm
thread_info.h31430644editdlrm
timex.h4030644editdlrm
tlb.h2880644editdlrm
tlbflush.h19750644editdlrm
topology.h9000644editdlrm
traps.h5980644editdlrm
uaccess.h62530644editdlrm
ucontext.h3270644editdlrm
unaligned.h3070644editdlrm
unistd.h57760644editdlrm
unwind.h27230644editdlrm
vmalloc.h960644editdlrm
Edit: /usr/src/linux-headers-5.15.0-190/arch/parisc/include/asm/syscall.h (1477B)
/* SPDX-License-Identifier: GPL-2.0 */ /* syscall.h */ #ifndef _ASM_PARISC_SYSCALL_H_ #define _ASM_PARISC_SYSCALL_H_ #include #include #include #include #define NR_syscalls (__NR_Linux_syscalls) static inline long syscall_get_nr(struct task_struct *tsk, struct pt_regs *regs) { return regs->gr[20]; } static inline void syscall_get_arguments(struct task_struct *tsk, struct pt_regs *regs, unsigned long *args) { args[5] = regs->gr[21]; args[4] = regs->gr[22]; args[3] = regs->gr[23]; args[2] = regs->gr[24]; args[1] = regs->gr[25]; args[0] = regs->gr[26]; } static inline long syscall_get_error(struct task_struct *task, struct pt_regs *regs) { unsigned long error = regs->gr[28]; return IS_ERR_VALUE(error) ? error : 0; } static inline long syscall_get_return_value(struct task_struct *task, struct pt_regs *regs) { return regs->gr[28]; } static inline void syscall_set_return_value(struct task_struct *task, struct pt_regs *regs, int error, long val) { regs->gr[28] = error ? error : val; } static inline void syscall_rollback(struct task_struct *task, struct pt_regs *regs) { /* do nothing */ } static inline int syscall_get_arch(struct task_struct *task) { int arch = AUDIT_ARCH_PARISC; #ifdef CONFIG_64BIT if (!__is_compat_task(task)) arch = AUDIT_ARCH_PARISC64; #endif return arch; } #endif /*_ASM_PARISC_SYSCALL_H_*/