| /arch/m68k/include/asm/ |
| A D | linkage.h | 24 #define __asmlinkage_protect2(ret, arg1, arg2) \ argument 25 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2)) 26 #define __asmlinkage_protect3(ret, arg1, arg2, arg3) \ argument 27 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2), "m" (arg3)) 28 #define __asmlinkage_protect4(ret, arg1, arg2, arg3, arg4) \ argument 29 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2), "m" (arg3), \ 31 #define __asmlinkage_protect5(ret, arg1, arg2, arg3, arg4, arg5) \ argument 32 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2), "m" (arg3), \ 34 #define __asmlinkage_protect6(ret, arg1, arg2, arg3, arg4, arg5, arg6) \ argument 35 __asmlinkage_protect_n(ret, "m" (arg1), "m" (arg2), "m" (arg3), \
|
| /arch/x86/um/shared/sysdep/ |
| A D | stub_32.h | 36 static __always_inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument 41 "c" (arg2) in stub_syscall2() 47 static __always_inline long stub_syscall3(long syscall, long arg1, long arg2, in stub_syscall3() argument 53 "c" (arg2), "d" (arg3) in stub_syscall3() 59 static __always_inline long stub_syscall4(long syscall, long arg1, long arg2, in stub_syscall4() argument 65 "c" (arg2), "d" (arg3), "S" (arg4) in stub_syscall4() 71 static __always_inline long stub_syscall5(long syscall, long arg1, long arg2, in stub_syscall5() argument 77 "c" (arg2), "d" (arg3), "S" (arg4), "D" (arg5) in stub_syscall5() 83 static __always_inline long stub_syscall6(long syscall, long arg1, long arg2, in stub_syscall6() argument 99 "c" (arg2), "d" (arg3), "S" (arg4), "D" (arg5) in stub_syscall6()
|
| A D | stub_64.h | 43 static __always_inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument 49 : "0" (syscall), "D" (arg1), "S" (arg2) : __syscall_clobber ); in stub_syscall2() 54 static __always_inline long stub_syscall3(long syscall, long arg1, long arg2, in stub_syscall3() argument 61 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3) in stub_syscall3() 67 static __always_inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument 74 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall4() 81 static __always_inline long stub_syscall5(long syscall, long arg1, long arg2, in stub_syscall5() argument 88 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall5() 95 static __always_inline long stub_syscall6(long syscall, long arg1, long arg2, in stub_syscall6() argument 104 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall6()
|
| /arch/x86/um/ |
| A D | syscalls_64.c | 17 unsigned long __user *arg2) in arch_prctl() argument 24 (unsigned long) arg2; in arch_prctl() 29 (unsigned long) arg2; in arch_prctl() 33 ret = put_user(current->thread.regs.regs.gp[FS_BASE / sizeof(unsigned long)], arg2); in arch_prctl() 36 ret = put_user(current->thread.regs.regs.gp[GS_BASE / sizeof(unsigned long)], arg2); in arch_prctl() 43 SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) in SYSCALL_DEFINE2() argument 45 return arch_prctl(current, option, (unsigned long __user *) arg2); in SYSCALL_DEFINE2()
|
| A D | syscalls_32.c | 5 SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) in SYSCALL_DEFINE2() argument
|
| /arch/sparc/include/asm/ |
| A D | smp_32.h | 58 unsigned long arg2, unsigned long arg3, 75 static inline void xc2(void *func, unsigned long arg1, unsigned long arg2) in xc2() argument 77 sparc32_ipi_ops->cross_call(func, *cpu_online_mask, arg1, arg2, 0, 0); in xc2() 80 static inline void xc3(void *func, unsigned long arg1, unsigned long arg2, in xc3() argument 84 arg1, arg2, arg3, 0); in xc3() 87 static inline void xc4(void *func, unsigned long arg1, unsigned long arg2, in xc4() argument 91 arg1, arg2, arg3, arg4); in xc4()
|
| /arch/parisc/include/asm/ |
| A D | unistd.h | 111 #define syscall2(name, arg1, arg2) \ argument 112 K_INLINE_SYSCALL(name, 2, arg1, arg2) 113 #define syscall3(name, arg1, arg2, arg3) \ argument 114 K_INLINE_SYSCALL(name, 3, arg1, arg2, arg3) 115 #define syscall4(name, arg1, arg2, arg3, arg4) \ argument 116 K_INLINE_SYSCALL(name, 4, arg1, arg2, arg3, arg4) 117 #define syscall5(name, arg1, arg2, arg3, arg4, arg5) \ argument 118 K_INLINE_SYSCALL(name, 5, arg1, arg2, arg3, arg4, arg5)
|
| /arch/loongarch/include/asm/ |
| A D | kvm_para.h | 101 unsigned long arg0, unsigned long arg1, unsigned long arg2) in kvm_hypercall3() argument 107 register unsigned long a3 asm("a3") = arg2; in kvm_hypercall3() 121 unsigned long arg2, unsigned long arg3) in kvm_hypercall4() argument 127 register unsigned long a3 asm("a3") = arg2; in kvm_hypercall4() 142 unsigned long arg2, unsigned long arg3, unsigned long arg4) in kvm_hypercall5() argument 148 register unsigned long a3 asm("a3") = arg2; in kvm_hypercall5()
|
| /arch/arm/mach-bcm/ |
| A D | bcm_kona_smc.c | 19 unsigned arg2; member 129 writel_relaxed(data->arg2, args++); in __bcm_kona_smc() 140 unsigned arg2, unsigned arg3) in bcm_kona_smc() argument 147 data.arg2 = arg2; in bcm_kona_smc()
|
| /arch/x86/kernel/ |
| A D | process_64.c | 873 if (unlikely(arg2 >= TASK_SIZE_MAX)) in do_arch_prctl_64() 885 x86_gsbase_write_cpu_inactive(arg2); in do_arch_prctl_64() 891 task->thread.gsbase = arg2; in do_arch_prctl_64() 895 x86_gsbase_write_task(task, arg2); in do_arch_prctl_64() 905 if (unlikely(arg2 >= TASK_SIZE_MAX)) in do_arch_prctl_64() 915 x86_fsbase_write_cpu(arg2); in do_arch_prctl_64() 921 task->thread.fsbase = arg2; in do_arch_prctl_64() 924 x86_fsbase_write_task(task, arg2); in do_arch_prctl_64() 949 return prctl_map_vdso(&vdso_image_32, arg2); in do_arch_prctl_64() 957 (unsigned long __user *)arg2); in do_arch_prctl_64() [all …]
|
| /arch/parisc/kernel/ |
| A D | relocate_kernel.S | 61 ldo 1f-0b(%arg2), %r1 135 LDREG kexec_free_mem-0b(%arg2), %arg0 136 LDREG kexec_cmdline-0b(%arg2), %arg1 137 LDREG kexec_initrd_end-0b(%arg2), %arg3 138 LDREG kexec_initrd_start-0b(%arg2), %arg2
|
| A D | hpmc.S | 148 load32 PA(hpmc_raddr),arg2 164 ldo 0(%r0),arg2 /* reserved */ 189 load32 PA(hpmc_raddr),arg2 209 ldw BOOT_CONSOLE_SPA_OFFSET(%r0),arg2 /* console spa */ 210 depi 0,31,11,arg2 /* clear bits 21-31 */
|
| A D | real2.S | 57 copy %arg2, %r31 62 ldw -8(%arg1), %arg2 236 copy %arg2, %r31 241 ldd 2*REG_SZ(%arg1), %arg2
|
| /arch/x86/include/asm/ |
| A D | paravirt_types.h | 494 #define PVOP_CALL2(rettype, op, arg1, arg2) \ argument 496 #define PVOP_VCALL2(op, arg1, arg2) \ argument 497 __PVOP_VCALL(op, PVOP_CALL_ARG1(arg1), PVOP_CALL_ARG2(arg2)) 499 #define PVOP_CALL3(rettype, op, arg1, arg2, arg3) \ argument 501 PVOP_CALL_ARG2(arg2), PVOP_CALL_ARG3(arg3)) 502 #define PVOP_VCALL3(op, arg1, arg2, arg3) \ argument 504 PVOP_CALL_ARG2(arg2), PVOP_CALL_ARG3(arg3)) 506 #define PVOP_CALL4(rettype, op, arg1, arg2, arg3, arg4) \ argument 508 PVOP_CALL_ARG1(arg1), PVOP_CALL_ARG2(arg2), \ 510 #define PVOP_VCALL4(op, arg1, arg2, arg3, arg4) \ argument [all …]
|
| A D | shstk.h | 17 long shstk_prctl(struct task_struct *task, int option, unsigned long arg2); 28 unsigned long arg2) { return -EINVAL; } in shstk_prctl() argument
|
| /arch/sparc/kernel/ |
| A D | sun4m_smp.c | 162 unsigned long arg2; member 174 unsigned long arg2, unsigned long arg3, in sun4m_cross_call() argument 185 ccall_info.arg2 = arg2; in sun4m_cross_call() 238 func(ccall_info.arg1, ccall_info.arg2, ccall_info.arg3, ccall_info.arg4, in smp4m_cross_call_irq()
|
| A D | sun4d_smp.c | 273 unsigned long arg2; member 285 unsigned long arg2, unsigned long arg3, in sun4d_cross_call() argument 301 register unsigned long a2 asm("i2") = arg2; in sun4d_cross_call() 361 func(ccall_info.arg1, ccall_info.arg2, ccall_info.arg3, ccall_info.arg4, in smp4d_cross_call_irq()
|
| A D | leon_smp.c | 364 unsigned long arg2; member 376 unsigned long arg2, unsigned long arg3, in leon_cross_call() argument 389 register unsigned long a2 asm("i2") = arg2; in leon_cross_call() 452 func(ccall_info.arg1, ccall_info.arg2, ccall_info.arg3, ccall_info.arg4, in leon_cross_call_irq()
|
| /arch/s390/include/asm/ |
| A D | kvm_para.h | 37 #define HYPERCALL_PARM_2 HYPERCALL_PARM_1, unsigned long arg2 48 register unsigned long r3 asm("3") = arg2 64 #define HYPERCALL_ARGS_2 HYPERCALL_ARGS_1, arg2
|
| /arch/arm/mach-omap2/ |
| A D | omap-secure.c | 59 u32 omap_secure_dispatcher(u32 idx, u32 flag, u32 nargs, u32 arg1, u32 arg2, in omap_secure_dispatcher() argument 72 param[2] = arg2; in omap_secure_dispatcher() 156 u32 arg1, u32 arg2, u32 arg3, u32 arg4) in rx51_secure_dispatcher() argument 163 param[2] = arg2; in rx51_secure_dispatcher()
|
| /arch/x86/math-emu/ |
| A D | poly.h | 64 const unsigned long arg2) in mul_32_32() argument 68 :"0"(arg1), "g"(arg2) in mul_32_32()
|
| A D | fpu_emu.h | 193 asmlinkage int FPU_u_sub(FPU_REG const *arg1, FPU_REG const *arg2, 196 asmlinkage int FPU_u_mul(FPU_REG const *arg1, FPU_REG const *arg2, 199 asmlinkage int FPU_u_div(FPU_REG const *arg1, FPU_REG const *arg2, 201 asmlinkage int FPU_u_add(FPU_REG const *arg1, FPU_REG const *arg2,
|
| /arch/riscv/kernel/ |
| A D | sbi_ecall.c | 21 unsigned long arg2, unsigned long arg3, in __sbi_ecall() argument 31 register uintptr_t a2 asm ("a2") = (uintptr_t)(arg2); in __sbi_ecall()
|
| /arch/parisc/boot/compressed/ |
| A D | head.S | 61 copy %arg2, %r7 /* rd-start */ 81 copy %r7, %arg2 /* rd-start */
|
| /arch/sh/kernel/ |
| A D | sh_bios.c | 25 static inline long sh_bios_call(long func, long arg0, long arg1, long arg2, in sh_bios_call() argument 31 register long r6 __asm__("r6") = arg2; in sh_bios_call()
|