Home
last modified time | relevance | path

Searched refs:arg2 (Results 1 – 25 of 66) sorted by relevance

123

/arch/m68k/include/asm/
Dlinkage.h24 #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/
Dstub_32.h33 static inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument
38 "c" (arg2)); in stub_syscall2()
43 static inline long stub_syscall3(long syscall, long arg1, long arg2, long arg3) in stub_syscall3() argument
48 "c" (arg2), "d" (arg3)); in stub_syscall3()
53 static inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument
59 "c" (arg2), "d" (arg3), "S" (arg4)); in stub_syscall4()
64 static inline long stub_syscall5(long syscall, long arg1, long arg2, long arg3, in stub_syscall5() argument
70 "c" (arg2), "d" (arg3), "S" (arg4), "D" (arg5)); in stub_syscall5()
Dstub_64.h29 static inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument
35 : "0" (syscall), "D" (arg1), "S" (arg2) : __syscall_clobber ); in stub_syscall2()
40 static inline long stub_syscall3(long syscall, long arg1, long arg2, long arg3) in stub_syscall3() argument
46 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3) in stub_syscall3()
52 static inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument
59 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall4()
66 static inline long stub_syscall5(long syscall, long arg1, long arg2, long arg3, in stub_syscall5() argument
73 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall5()
/arch/parisc/include/asm/
Dunistd.h123 #define _syscall2(type,name,type1,arg1,type2,arg2) \ argument
124 type name(type1 arg1, type2 arg2) \
126 return K_INLINE_SYSCALL(name, 2, arg1, arg2); \
129 #define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \ argument
130 type name(type1 arg1, type2 arg2, type3 arg3) \
132 return K_INLINE_SYSCALL(name, 3, arg1, arg2, arg3); \
135 #define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ argument
136 type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4) \
138 return K_INLINE_SYSCALL(name, 4, arg1, arg2, arg3, arg4); \
142 #define _syscall5(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4,type5,arg5) \ argument
[all …]
/arch/sparc/include/asm/
Dsmp_32.h61 unsigned long arg2, unsigned long arg3,
78 static inline void xc2(smpfunc_t func, unsigned long arg1, unsigned long arg2) in xc2() argument
80 sparc32_ipi_ops->cross_call(func, *cpu_online_mask, arg1, arg2, 0, 0); in xc2()
83 static inline void xc3(smpfunc_t func, unsigned long arg1, unsigned long arg2, in xc3() argument
87 arg1, arg2, arg3, 0); in xc3()
90 static inline void xc4(smpfunc_t func, unsigned long arg1, unsigned long arg2, in xc4() argument
94 arg1, arg2, arg3, arg4); in xc4()
/arch/x86/um/
Dsyscalls_64.c17 unsigned long __user *arg2) in arch_prctl() argument
19 unsigned long *ptr = arg2, tmp; in arch_prctl()
69 ret = put_user(tmp, arg2); in arch_prctl()
72 ret = put_user(tmp, arg2); in arch_prctl()
79 SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) in SYSCALL_DEFINE2() argument
81 return arch_prctl(current, option, (unsigned long __user *) arg2); in SYSCALL_DEFINE2()
Dsyscalls_32.c5 SYSCALL_DEFINE2(arch_prctl, int, option, unsigned long, arg2) in SYSCALL_DEFINE2() argument
/arch/x86/include/asm/
Dparavirt_types.h581 #define PVOP_CALL2(rettype, op, arg1, arg2) \ argument
583 PVOP_CALL_ARG2(arg2))
584 #define PVOP_VCALL2(op, arg1, arg2) \ argument
586 PVOP_CALL_ARG2(arg2))
588 #define PVOP_CALLEE2(rettype, op, arg1, arg2) \ argument
590 PVOP_CALL_ARG2(arg2))
591 #define PVOP_VCALLEE2(op, arg1, arg2) \ argument
593 PVOP_CALL_ARG2(arg2))
596 #define PVOP_CALL3(rettype, op, arg1, arg2, arg3) \ argument
598 PVOP_CALL_ARG2(arg2), PVOP_CALL_ARG3(arg3))
[all …]
/arch/s390/include/asm/
Dstacktrace.h80 #define CALL_ARGS_2(arg1, arg2) \ argument
82 register unsigned long r3 asm("3") = (unsigned long)(arg2)
83 #define CALL_ARGS_3(arg1, arg2, arg3) \ argument
84 CALL_ARGS_2(arg1, arg2); \
86 #define CALL_ARGS_4(arg1, arg2, arg3, arg4) \ argument
87 CALL_ARGS_3(arg1, arg2, arg3); \
89 #define CALL_ARGS_5(arg1, arg2, arg3, arg4, arg5) \ argument
90 CALL_ARGS_4(arg1, arg2, arg3, arg4); \
137 long arg2 = (long)(t2)(a2)
154 register long r3 asm("3") = arg2
/arch/x86/kernel/
Dprocess_64.c720 long do_arch_prctl_64(struct task_struct *task, int option, unsigned long arg2) in do_arch_prctl_64() argument
726 if (unlikely(arg2 >= TASK_SIZE_MAX)) in do_arch_prctl_64()
738 x86_gsbase_write_cpu_inactive(arg2); in do_arch_prctl_64()
744 task->thread.gsbase = arg2; in do_arch_prctl_64()
748 x86_gsbase_write_task(task, arg2); in do_arch_prctl_64()
758 if (unlikely(arg2 >= TASK_SIZE_MAX)) in do_arch_prctl_64()
768 x86_fsbase_write_cpu(arg2); in do_arch_prctl_64()
774 task->thread.fsbase = arg2; in do_arch_prctl_64()
777 x86_fsbase_write_task(task, arg2); in do_arch_prctl_64()
785 ret = put_user(base, (unsigned long __user *)arg2); in do_arch_prctl_64()
[all …]
/arch/arm64/kernel/
Dcpu-reset.h14 unsigned long arg0, unsigned long arg1, unsigned long arg2);
19 unsigned long arg2) in cpu_soft_restart() argument
28 restart(el2_switch, entry, arg0, arg1, arg2); in cpu_soft_restart()
/arch/arm/mach-bcm/
Dbcm_kona_smc.c31 unsigned arg2; member
152 writel_relaxed(data->arg2, args++); in __bcm_kona_smc()
163 unsigned arg2, unsigned arg3) in bcm_kona_smc() argument
170 data.arg2 = arg2; in bcm_kona_smc()
/arch/x86/um/os-Linux/
Dprctl.c9 int os_arch_prctl(int pid, int option, unsigned long *arg2) in os_arch_prctl() argument
11 return ptrace(PTRACE_ARCH_PRCTL, pid, (unsigned long) arg2, option); in os_arch_prctl()
/arch/parisc/kernel/
Drelocate_kernel.S61 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
Dhpmc.S150 load32 PA(hpmc_raddr),arg2
166 ldo 0(%r0),arg2 /* reserved */
191 load32 PA(hpmc_raddr),arg2
211 ldw BOOT_CONSOLE_SPA_OFFSET(%r0),arg2 /* console spa */
212 depi 0,31,11,arg2 /* clear bits 21-31 */
/arch/x86/crypto/
Daesni-intel_avx-x86_64.S210 #define arg2 %rsi macro
299 vmovdqu AadHash(arg2), %xmm8
300 vmovdqu HashKey(arg2), %xmm13 # xmm13 = HashKey
301 add arg5, InLen(arg2)
420 vmovdqu %xmm14, AadHash(arg2)
421 vmovdqu %xmm9, CurCount(arg2)
431 mov %r13, PBlockLen(arg2)
434 vmovdqu %xmm9, CurCount(arg2)
438 vmovdqu %xmm9, PBlockEncKey(arg2)
485 vmovdqu %xmm14, AadHash(arg2)
[all …]
Daesni-intel_asm.S118 #define arg2 rsi macro
221 movdqu \TMP3, HashKey(%arg2)
226 movdqu \TMP1, HashKey_k(%arg2)
230 movdqu \TMP5, HashKey_2(%arg2)
234 movdqu \TMP1, HashKey_2_k(%arg2)
238 movdqu \TMP5, HashKey_3(%arg2)
241 movdqu \TMP1, HashKey_3_k(%arg2)
245 movdqu \TMP5, HashKey_4(%arg2)
248 movdqu \TMP1, HashKey_4_k(%arg2)
255 mov %r11, AadLen(%arg2) # ctx_data.aad_length = aad_length
[all …]
/arch/sparc/kernel/
Dsun4m_smp.c162 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()
236 ccall_info.func(ccall_info.arg1, ccall_info.arg2, ccall_info.arg3, in smp4m_cross_call_irq()
/arch/arm/mach-omap2/
Domap-secure.c59 u32 omap_secure_dispatcher(u32 idx, u32 flag, u32 nargs, u32 arg1, u32 arg2, in omap_secure_dispatcher() argument
67 param[2] = arg2; in omap_secure_dispatcher()
154 u32 arg1, u32 arg2, u32 arg3, u32 arg4) in rx51_secure_dispatcher() argument
161 param[2] = arg2; in rx51_secure_dispatcher()
Domap-secure.h68 u32 arg1, u32 arg2, u32 arg3, u32 arg4);
79 u32 arg1, u32 arg2, u32 arg3, u32 arg4);
/arch/ia64/kernel/
Dsal.c354 u64 arg2, u64 arg3, u64 arg4, u64 arg5, u64 arg6, u64 arg7) in ia64_sal_oemcall() argument
358 SAL_CALL(*isrvp, oemfunc, arg1, arg2, arg3, arg4, arg5, arg6, arg7); in ia64_sal_oemcall()
365 u64 arg2, u64 arg3, u64 arg4, u64 arg5, u64 arg6, in ia64_sal_oemcall_nolock() argument
370 SAL_CALL_NOLOCK(*isrvp, oemfunc, arg1, arg2, arg3, arg4, arg5, arg6, in ia64_sal_oemcall_nolock()
378 u64 arg1, u64 arg2, u64 arg3, u64 arg4, u64 arg5, in ia64_sal_oemcall_reentrant() argument
383 SAL_CALL_REENTRANT(*isrvp, oemfunc, arg1, arg2, arg3, arg4, arg5, arg6, in ia64_sal_oemcall_reentrant()
Desi.c90 u64 arg1, u64 arg2, u64 arg3, u64 arg4, u64 arg5, u64 arg6, in ia64_esi_call() argument
121 *isrvp = (*esi_proc)(func, arg1, arg2, arg3, in ia64_esi_call()
141 u64 func, u64 arg1, u64 arg2, u64 arg3, u64 arg4, in ia64_esi_call_phys() argument
168 esi_params[2] = arg2; in ia64_esi_call_phys()
/arch/x86/math-emu/
Dpoly.h64 const unsigned long arg2) in mul_32_32() argument
68 :"0"(arg1), "g"(arg2) in mul_32_32()
Dfpu_emu.h193 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/parisc/boot/compressed/
Dhead.S61 copy %arg2, %r7 /* rd-start */
81 copy %r7, %arg2 /* rd-start */

123