Home
last modified time | relevance | path

Searched refs:arg1 (Results 1 – 25 of 70) sorted by relevance

123

/arch/um/sys-i386/shared/sysdep/
Dstub.h32 static inline long stub_syscall1(long syscall, long arg1) in stub_syscall1() argument
36 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1)); in stub_syscall1()
41 static inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument
45 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall2()
51 static inline long stub_syscall3(long syscall, long arg1, long arg2, long arg3) in stub_syscall3() argument
55 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall3()
61 static inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument
66 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall4()
72 static inline long stub_syscall5(long syscall, long arg1, long arg2, long arg3, in stub_syscall5() argument
77 __asm__ volatile ("int $0x80" : "=a" (ret) : "0" (syscall), "b" (arg1), in stub_syscall5()
/arch/cris/include/arch-v10/arch/
Dunistd.h26 #define _syscall1(type,name,type1,arg1) \ argument
27 type name(type1 arg1) \
29 register long __a __asm__ ("r10") = (long) arg1; \
43 #define _syscall2(type,name,type1,arg1,type2,arg2) \ argument
44 type name(type1 arg1,type2 arg2) \
46 register long __a __asm__ ("r10") = (long) arg1; \
61 #define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \ argument
62 type name(type1 arg1,type2 arg2,type3 arg3) \
64 register long __a __asm__ ("r10") = (long) arg1; \
80 #define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ argument
[all …]
/arch/cris/include/arch-v32/arch/
Dunistd.h27 #define _syscall1(type,name,type1,arg1) \ argument
28 type name(type1 arg1) \
30 register long __a __asm__ ("r10") = (long) arg1; \
45 #define _syscall2(type,name,type1,arg1,type2,arg2) \ argument
46 type name(type1 arg1,type2 arg2) \
48 register long __a __asm__ ("r10") = (long) arg1; \
64 #define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \ argument
65 type name(type1 arg1,type2 arg2,type3 arg3) \
67 register long __a __asm__ ("r10") = (long) arg1; \
84 #define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ argument
[all …]
/arch/x86/include/asm/
Dlinkage.h37 #define __asmlinkage_protect1(ret, arg1) \ argument
38 __asmlinkage_protect_n(ret, "g" (arg1))
39 #define __asmlinkage_protect2(ret, arg1, arg2) \ argument
40 __asmlinkage_protect_n(ret, "g" (arg1), "g" (arg2))
41 #define __asmlinkage_protect3(ret, arg1, arg2, arg3) \ argument
42 __asmlinkage_protect_n(ret, "g" (arg1), "g" (arg2), "g" (arg3))
43 #define __asmlinkage_protect4(ret, arg1, arg2, arg3, arg4) \ argument
44 __asmlinkage_protect_n(ret, "g" (arg1), "g" (arg2), "g" (arg3), \
46 #define __asmlinkage_protect5(ret, arg1, arg2, arg3, arg4, arg5) \ argument
47 __asmlinkage_protect_n(ret, "g" (arg1), "g" (arg2), "g" (arg3), \
[all …]
Dlguest_hcall.h45 unsigned long arg1, unsigned long arg2, unsigned long arg3) in hcall() argument
52 : "a"(call), "d"(arg1), "b"(arg2), "c"(arg3) in hcall()
67 unsigned long arg0, arg2, arg3, arg1; member
Defi.h41 extern u64 efi_call1(void *fp, u64 arg1);
42 extern u64 efi_call2(void *fp, u64 arg1, u64 arg2);
43 extern u64 efi_call3(void *fp, u64 arg1, u64 arg2, u64 arg3);
44 extern u64 efi_call4(void *fp, u64 arg1, u64 arg2, u64 arg3, u64 arg4);
45 extern u64 efi_call5(void *fp, u64 arg1, u64 arg2, u64 arg3,
47 extern u64 efi_call6(void *fp, u64 arg1, u64 arg2, u64 arg3,
Dparavirt.h557 #define PVOP_CALL1(rettype, op, arg1) \ argument
558 __PVOP_CALL(rettype, op, "", "", "0" ((unsigned long)(arg1)))
559 #define PVOP_VCALL1(op, arg1) \ argument
560 __PVOP_VCALL(op, "", "", "0" ((unsigned long)(arg1)))
562 #define PVOP_CALL2(rettype, op, arg1, arg2) \ argument
563 __PVOP_CALL(rettype, op, "", "", "0" ((unsigned long)(arg1)), \
565 #define PVOP_VCALL2(op, arg1, arg2) \ argument
566 __PVOP_VCALL(op, "", "", "0" ((unsigned long)(arg1)), \
569 #define PVOP_CALL3(rettype, op, arg1, arg2, arg3) \ argument
570 __PVOP_CALL(rettype, op, "", "", "0" ((unsigned long)(arg1)), \
[all …]
/arch/sparc/include/asm/
Dsmp_32.h56 #define smp_cross_call(func,mask,arg1,arg2,arg3,arg4) BTFIXUP_CALL(smp_cross_call)(func,mask,arg1,a… in BTFIXUPDEF_CALL() argument
59 static inline void xc1(smpfunc_t func, unsigned long arg1) in xc1() argument
60 { smp_cross_call(func, cpu_online_map, arg1, 0, 0, 0); } in xc1()
61 static inline void xc2(smpfunc_t func, unsigned long arg1, unsigned long arg2) in xc2() argument
62 { smp_cross_call(func, cpu_online_map, arg1, arg2, 0, 0); } in xc2()
63 static inline void xc3(smpfunc_t func, unsigned long arg1, unsigned long arg2, in xc3() argument
65 { smp_cross_call(func, cpu_online_map, arg1, arg2, arg3, 0); } in xc3()
66 static inline void xc4(smpfunc_t func, unsigned long arg1, unsigned long arg2, in xc4() argument
68 { smp_cross_call(func, cpu_online_map, arg1, arg2, arg3, arg4); } in xc4()
/arch/um/sys-x86_64/shared/sysdep/
Dstub.h37 static inline long stub_syscall2(long syscall, long arg1, long arg2) in stub_syscall2() argument
43 : "0" (syscall), "D" (arg1), "S" (arg2) : __syscall_clobber ); in stub_syscall2()
48 static inline long stub_syscall3(long syscall, long arg1, long arg2, long arg3) in stub_syscall3() argument
54 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3) in stub_syscall3()
60 static inline long stub_syscall4(long syscall, long arg1, long arg2, long arg3, in stub_syscall4() argument
67 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall4()
74 static inline long stub_syscall5(long syscall, long arg1, long arg2, long arg3, in stub_syscall5() argument
81 : "0" (syscall), "D" (arg1), "S" (arg2), "d" (arg3), in stub_syscall5()
/arch/parisc/kernel/
Dreal2.S80 ldw 0(%arg1), %arg0 /* note overwriting arg0 */
81 ldw -8(%arg1), %arg2
82 ldw -12(%arg1), %arg3
83 ldw -4(%arg1), %arg1 /* obviously must do this one last! */
250 ldo 64(%arg1), %r29
254 ldd 0*REG_SZ(%arg1), %arg0 /* note overwriting arg0 */
255 ldd 2*REG_SZ(%arg1), %arg2
256 ldd 3*REG_SZ(%arg1), %arg3
257 ldd 4*REG_SZ(%arg1), %r22
258 ldd 5*REG_SZ(%arg1), %r21
[all …]
Dhpmc.S156 ldo PDC_PIM_HPMC(%r0),arg1 /* Transfer HPMC data */
172 ldo 0(%r0),arg1 /* log IO errors */
197 ldo PDC_IODC_READ(%r0),arg1
217 ldo ENTRY_INIT_MOD_DEV(%r0), arg1
275 ldo 0(%r0),arg1 /* do reset */
/arch/mips/kernel/
Dkspd.c52 int arg1; member
120 static int sp_syscall(int num, int arg0, int arg1, int arg2, int arg3) in sp_syscall() argument
124 register long int _arg1 __asm__("$5") = arg1; in sp_syscall()
256 generic.arg1 = translate_open_flags(generic.arg1); in sp_work_handle_request()
278 ret.retval = sp_syscall(cmd, generic.arg0, generic.arg1, in sp_work_handle_request()
/arch/ia64/kernel/
Dsal.c358 ia64_sal_oemcall(struct ia64_sal_retval *isrvp, u64 oemfunc, u64 arg1, in ia64_sal_oemcall() argument
363 SAL_CALL(*isrvp, oemfunc, arg1, arg2, arg3, arg4, arg5, arg6, arg7); in ia64_sal_oemcall()
369 ia64_sal_oemcall_nolock(struct ia64_sal_retval *isrvp, u64 oemfunc, u64 arg1, in ia64_sal_oemcall_nolock() argument
375 SAL_CALL_NOLOCK(*isrvp, oemfunc, arg1, arg2, arg3, arg4, arg5, arg6, in ia64_sal_oemcall_nolock()
383 u64 arg1, u64 arg2, u64 arg3, u64 arg4, u64 arg5, in ia64_sal_oemcall_reentrant() argument
388 SAL_CALL_REENTRANT(*isrvp, oemfunc, arg1, arg2, arg3, arg4, arg5, arg6, in ia64_sal_oemcall_reentrant()
Desi.c102 u64 arg1, u64 arg2, u64 arg3, u64 arg4, u64 arg5, u64 arg6, in ia64_esi_call() argument
133 *isrvp = (*esi_proc)(func, arg1, arg2, arg3, in ia64_esi_call()
153 u64 func, u64 arg1, u64 arg2, u64 arg3, u64 arg4, in ia64_esi_call_phys() argument
179 esi_params[1] = arg1; in ia64_esi_call_phys()
Dsigframe.h14 unsigned long arg1; /* siginfo pointer */ member
/arch/sh/kernel/
Dsh_bios.c17 static inline long sh_bios_call(long func, long arg0, long arg1, long arg2, in sh_bios_call() argument
22 register long r5 __asm__("r5") = arg1; in sh_bios_call()
/arch/parisc/include/asm/
Dunistd.h929 #define _syscall1(type,name,type1,arg1) \ argument
930 type name(type1 arg1) \
932 return K_INLINE_SYSCALL(name, 1, arg1); \
935 #define _syscall2(type,name,type1,arg1,type2,arg2) \ argument
936 type name(type1 arg1, type2 arg2) \
938 return K_INLINE_SYSCALL(name, 2, arg1, arg2); \
941 #define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \ argument
942 type name(type1 arg1, type2 arg2, type3 arg3) \
944 return K_INLINE_SYSCALL(name, 3, arg1, arg2, arg3); \
947 #define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ argument
[all …]
/arch/sparc/kernel/
Dsun4m_smp.c239 unsigned long arg1; member
251 static void smp4m_cross_call(smpfunc_t func, cpumask_t mask, unsigned long arg1, in smp4m_cross_call() argument
262 ccall_info.arg1 = arg1; in smp4m_cross_call()
315 ccall_info.func(ccall_info.arg1, ccall_info.arg2, ccall_info.arg3, in smp4m_cross_call_irq()
Dsun4d_smp.c265 unsigned long arg1; member
277 static void smp4d_cross_call(smpfunc_t func, cpumask_t mask, unsigned long arg1, in smp4d_cross_call() argument
290 register unsigned long a1 asm("i1") = arg1; in smp4d_cross_call()
349 ccall_info.func(ccall_info.arg1, ccall_info.arg2, ccall_info.arg3, in smp4d_cross_call_irq()
/arch/x86/math-emu/
Dpoly.h62 static inline unsigned long mul_32_32(const unsigned long arg1, in mul_32_32() argument
67 :"0"(arg1), "g"(arg2) in mul_32_32()
Dfpu_emu.h192 asmlinkage int FPU_u_sub(FPU_REG const *arg1, FPU_REG const *arg2,
195 asmlinkage int FPU_u_mul(FPU_REG const *arg1, FPU_REG const *arg2,
198 asmlinkage int FPU_u_div(FPU_REG const *arg1, FPU_REG const *arg2,
200 asmlinkage int FPU_u_add(FPU_REG const *arg1, FPU_REG const *arg2,
/arch/x86/lguest/
Dboot.c97 static void async_hcall(unsigned long call, unsigned long arg1, in async_hcall() argument
110 hcall(call, arg1, arg2, arg3); in async_hcall()
113 lguest_data.hcalls[next_call].arg1 = arg1; in async_hcall()
138 unsigned long arg1, in lazy_hcall() argument
143 hcall(call, arg1, arg2, arg3); in lazy_hcall()
145 async_hcall(call, arg1, arg2, arg3); in lazy_hcall()
/arch/ia64/hp/sim/
Dhpsim_ssc.h34 extern long ia64_ssc (long arg0, long arg1, long arg2, long arg3, int nr);
/arch/m68k/include/asm/
Dmath-emu.h245 .macro movestack nr,arg1,arg2,arg3,arg4,arg5
248 move.l \arg1,-(%sp)
252 .macro printf bit=-1,string,nr=0,arg1,arg2,arg3,arg4,arg5
270 movestack \nr,\arg1,\arg2,\arg3,\arg4,\arg5
/arch/ia64/hp/sim/boot/
Dssc.h33 extern long ssc (long arg0, long arg1, long arg2, long arg3, int nr);

123