Home
last modified time | relevance | path

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

12345

/linux-3.4.99/security/keys/
Dcompat.c69 u32 arg2, u32 arg3, u32 arg4, u32 arg5) in compat_sys_keyctl() argument
73 return keyctl_get_keyring_ID(arg2, arg3); in compat_sys_keyctl()
76 return keyctl_join_session_keyring(compat_ptr(arg2)); in compat_sys_keyctl()
79 return keyctl_update_key(arg2, compat_ptr(arg3), arg4); in compat_sys_keyctl()
82 return keyctl_revoke_key(arg2); in compat_sys_keyctl()
85 return keyctl_describe_key(arg2, compat_ptr(arg3), arg4); in compat_sys_keyctl()
88 return keyctl_keyring_clear(arg2); in compat_sys_keyctl()
91 return keyctl_keyring_link(arg2, arg3); in compat_sys_keyctl()
94 return keyctl_keyring_unlink(arg2, arg3); in compat_sys_keyctl()
97 return keyctl_keyring_search(arg2, compat_ptr(arg3), in compat_sys_keyctl()
[all …]
Dkeyctl.c1528 SYSCALL_DEFINE5(keyctl, int, option, unsigned long, arg2, unsigned long, arg3, in SYSCALL_DEFINE5() argument
1533 return keyctl_get_keyring_ID((key_serial_t) arg2, in SYSCALL_DEFINE5()
1537 return keyctl_join_session_keyring((const char __user *) arg2); in SYSCALL_DEFINE5()
1540 return keyctl_update_key((key_serial_t) arg2, in SYSCALL_DEFINE5()
1545 return keyctl_revoke_key((key_serial_t) arg2); in SYSCALL_DEFINE5()
1548 return keyctl_describe_key((key_serial_t) arg2, in SYSCALL_DEFINE5()
1553 return keyctl_keyring_clear((key_serial_t) arg2); in SYSCALL_DEFINE5()
1556 return keyctl_keyring_link((key_serial_t) arg2, in SYSCALL_DEFINE5()
1560 return keyctl_keyring_unlink((key_serial_t) arg2, in SYSCALL_DEFINE5()
1564 return keyctl_keyring_search((key_serial_t) arg2, in SYSCALL_DEFINE5()
[all …]
/linux-3.4.99/arch/x86/include/asm/
Dlinkage.h31 #define __asmlinkage_protect2(ret, arg1, arg2) \ argument
32 __asmlinkage_protect_n(ret, "g" (arg1), "g" (arg2))
33 #define __asmlinkage_protect3(ret, arg1, arg2, arg3) \ argument
34 __asmlinkage_protect_n(ret, "g" (arg1), "g" (arg2), "g" (arg3))
35 #define __asmlinkage_protect4(ret, arg1, arg2, arg3, arg4) \ argument
36 __asmlinkage_protect_n(ret, "g" (arg1), "g" (arg2), "g" (arg3), \
38 #define __asmlinkage_protect5(ret, arg1, arg2, arg3, arg4, arg5) \ argument
39 __asmlinkage_protect_n(ret, "g" (arg1), "g" (arg2), "g" (arg3), \
41 #define __asmlinkage_protect6(ret, arg1, arg2, arg3, arg4, arg5, arg6) \ argument
42 __asmlinkage_protect_n(ret, "g" (arg1), "g" (arg2), "g" (arg3), \
Dparavirt_types.h626 #define PVOP_CALL2(rettype, op, arg1, arg2) \ argument
628 PVOP_CALL_ARG2(arg2))
629 #define PVOP_VCALL2(op, arg1, arg2) \ argument
631 PVOP_CALL_ARG2(arg2))
633 #define PVOP_CALLEE2(rettype, op, arg1, arg2) \ argument
635 PVOP_CALL_ARG2(arg2))
636 #define PVOP_VCALLEE2(op, arg1, arg2) \ argument
638 PVOP_CALL_ARG2(arg2))
641 #define PVOP_CALL3(rettype, op, arg1, arg2, arg3) \ argument
643 PVOP_CALL_ARG2(arg2), PVOP_CALL_ARG3(arg3))
[all …]
Dlguest_hcall.h49 unsigned long arg1, unsigned long arg2, unsigned long arg3, in hcall() argument
57 : "a"(call), "b"(arg1), "c"(arg2), "d"(arg3), "S"(arg4) in hcall()
72 unsigned long arg0, arg1, arg2, arg3, arg4; member
/linux-3.4.99/arch/cris/include/arch-v32/arch/
Dunistd.h45 #define _syscall2(type,name,type1,arg1,type2,arg2) \ argument
46 type name(type1 arg1,type2 arg2) \
49 register long __b __asm__ ("r11") = (long) arg2; \
64 #define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \ argument
65 type name(type1 arg1,type2 arg2,type3 arg3) \
68 register long __b __asm__ ("r11") = (long) arg2; \
84 #define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ argument
85 type name (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \
88 register long __b __asm__ ("r11") = (long) arg2; \
106 #define _syscall5(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \ argument
[all …]
/linux-3.4.99/arch/cris/include/arch-v10/arch/
Dunistd.h43 #define _syscall2(type,name,type1,arg1,type2,arg2) \ argument
44 type name(type1 arg1,type2 arg2) \
47 register long __b __asm__ ("r11") = (long) arg2; \
61 #define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \ argument
62 type name(type1 arg1,type2 arg2,type3 arg3) \
65 register long __b __asm__ ("r11") = (long) arg2; \
80 #define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ argument
81 type name (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \
84 register long __b __asm__ ("r11") = (long) arg2; \
101 #define _syscall5(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \ argument
[all …]
/linux-3.4.99/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()
/linux-3.4.99/arch/sparc/include/asm/
Dsmp_32.h69 #define smp_cross_call(func,mask,arg1,arg2,arg3,arg4) BTFIXUP_CALL(smp_cross_call)(func,mask,arg1,a… in BTFIXUPDEF_BLACKBOX() argument
74 static inline void xc2(smpfunc_t func, unsigned long arg1, unsigned long arg2) in xc2() argument
75 { smp_cross_call(func, *cpu_online_mask, arg1, arg2, 0, 0); } in xc2()
76 static inline void xc3(smpfunc_t func, unsigned long arg1, unsigned long arg2, in xc3() argument
78 { smp_cross_call(func, *cpu_online_mask, arg1, arg2, arg3, 0); } in xc3()
79 static inline void xc4(smpfunc_t func, unsigned long arg1, unsigned long arg2, in xc4() argument
81 { smp_cross_call(func, *cpu_online_mask, arg1, arg2, arg3, arg4); } in xc4()
/linux-3.4.99/include/drm/
Ddrm_os_linux.h85 #define DRM_COPY_FROM_USER(arg1, arg2, arg3) \ argument
86 copy_from_user(arg1, arg2, arg3)
88 #define DRM_COPY_TO_USER(arg1, arg2, arg3) \ argument
89 copy_to_user(arg1, arg2, arg3)
93 #define DRM_COPY_FROM_USER_UNCHECKED(arg1, arg2, arg3) \ argument
94 __copy_from_user(arg1, arg2, arg3)
95 #define DRM_COPY_TO_USER_UNCHECKED(arg1, arg2, arg3) \ argument
96 __copy_to_user(arg1, arg2, arg3)
/linux-3.4.99/arch/tile/include/arch/
Dsim.h239 static __inline long _sim_syscall2(int val, long arg1, long arg2) in _sim_syscall2() argument
244 : "R00" (val), "R01" (arg1), "R02" (arg2)); in _sim_syscall2()
253 static __inline long _sim_syscall3(int val, long arg1, long arg2, long arg3) in _sim_syscall3() argument
259 : "R00" (val), "R01" (arg1), "R02" (arg2), in _sim_syscall3()
264 static __inline long _sim_syscall4(int val, long arg1, long arg2, long arg3, in _sim_syscall4() argument
271 : "R00" (val), "R01" (arg1), "R02" (arg2), in _sim_syscall4()
276 static __inline long _sim_syscall5(int val, long arg1, long arg2, long arg3, in _sim_syscall5() argument
283 : "R00" (val), "R01" (arg1), "R02" (arg2), in _sim_syscall5()
/linux-3.4.99/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ctx.c48 QLCWR32(adapter, QLCNIC_ARG2_CRB_OFFSET, cmd->req.arg2); in qlcnic_issue_cmd()
64 if (cmd->rsp.arg2) in qlcnic_issue_cmd()
65 cmd->rsp.arg2 = QLCRD32(adapter, in qlcnic_issue_cmd()
112 temp_size = cmd.rsp.arg2; in qlcnic_fw_cmd_get_minidump_temp()
127 cmd.req.arg2 = MSD(tmp_addr_t); in qlcnic_fw_cmd_get_minidump_temp()
173 cmd.req.arg2 = mtu; in qlcnic_fw_cmd_set_mtu()
289 cmd.req.arg2 = (u32) (phys_addr & 0xffffffff); in qlcnic_fw_cmd_create_rx_ctx()
344 cmd.req.arg2 = QLCNIC_DESTROY_CTX_RESET; in qlcnic_fw_cmd_destroy_rx_ctx()
416 cmd.req.arg2 = ((u32)phys_addr & 0xffffffff); in qlcnic_fw_cmd_create_tx_ctx()
450 cmd.req.arg2 = QLCNIC_DESTROY_CTX_RESET; in qlcnic_fw_cmd_destroy_tx_ctx()
[all …]
/linux-3.4.99/drivers/lguest/
Dhypercalls.c71 if (args->arg2 == LGUEST_SHUTDOWN_RESTART) in do_hcall()
91 guest_set_stack(cpu, args->arg1, args->arg2, args->arg3); in do_hcall()
95 guest_set_pte(cpu, args->arg1, args->arg2, in do_hcall()
98 guest_set_pte(cpu, args->arg1, args->arg2, __pte(args->arg3)); in do_hcall()
102 guest_set_pgd(cpu->lg, args->arg1, args->arg2); in do_hcall()
106 guest_set_pmd(cpu->lg, args->arg1, args->arg2); in do_hcall()
/linux-3.4.99/security/yama/
Dyama_lsm.c114 static int yama_task_prctl(int option, unsigned long arg2, unsigned long arg3, in yama_task_prctl() argument
120 rc = cap_task_prctl(option, arg2, arg3, arg4, arg5); in yama_task_prctl()
138 if (arg2 == 0) { in yama_task_prctl()
141 } else if (arg2 == PR_SET_PTRACER_ANY || (int)arg2 == -1) { in yama_task_prctl()
147 tracer = find_task_by_vpid(arg2); in yama_task_prctl()
/linux-3.4.99/arch/x86/lguest/
Dboot.c106 unsigned long arg2, unsigned long arg3, in async_hcall() argument
121 hcall(call, arg1, arg2, arg3, arg4); in async_hcall()
125 lguest_data.hcalls[next_call].arg2 = arg2; in async_hcall()
162 unsigned long arg2) in lazy_hcall2() argument
165 hcall(call, arg1, arg2, 0, 0); in lazy_hcall2()
167 async_hcall(call, arg1, arg2, 0, 0); in lazy_hcall2()
172 unsigned long arg2, in lazy_hcall3() argument
176 hcall(call, arg1, arg2, arg3, 0); in lazy_hcall3()
178 async_hcall(call, arg1, arg2, arg3, 0); in lazy_hcall3()
184 unsigned long arg2, in lazy_hcall4() argument
[all …]
/linux-3.4.99/arch/parisc/kernel/
Dhpmc.S157 load32 PA(hpmc_raddr),arg2
173 ldo 0(%r0),arg2 /* reserved */
198 load32 PA(hpmc_raddr),arg2
218 ldw BOOT_CONSOLE_SPA_OFFSET(%r0),arg2 /* console spa */
219 depi 0,31,11,arg2 /* clear bits 21-31 */
/linux-3.4.99/kernel/
Dsys.c1849 SYSCALL_DEFINE5(prctl, int, option, unsigned long, arg2, unsigned long, arg3, in SYSCALL_DEFINE5() argument
1856 error = security_task_prctl(option, arg2, arg3, arg4, arg5); in SYSCALL_DEFINE5()
1863 if (!valid_signal(arg2)) { in SYSCALL_DEFINE5()
1867 me->pdeath_signal = arg2; in SYSCALL_DEFINE5()
1871 error = put_user(me->pdeath_signal, (int __user *)arg2); in SYSCALL_DEFINE5()
1877 if (arg2 < 0 || arg2 > 1) { in SYSCALL_DEFINE5()
1881 set_dumpable(me->mm, arg2); in SYSCALL_DEFINE5()
1886 error = SET_UNALIGN_CTL(me, arg2); in SYSCALL_DEFINE5()
1889 error = GET_UNALIGN_CTL(me, arg2); in SYSCALL_DEFINE5()
1892 error = SET_FPEMU_CTL(me, arg2); in SYSCALL_DEFINE5()
[all …]
/linux-3.4.99/security/
Dcommoncap.c825 int cap_task_prctl(int option, unsigned long arg2, unsigned long arg3, in cap_task_prctl() argument
838 if (!cap_valid(arg2)) in cap_task_prctl()
840 error = !!cap_raised(new->cap_bset, arg2); in cap_task_prctl()
844 error = cap_prctl_drop(new, arg2); in cap_task_prctl()
871 & (new->securebits ^ arg2)) /*[1]*/ in cap_task_prctl()
872 || ((new->securebits & SECURE_ALL_LOCKS & ~arg2)) /*[2]*/ in cap_task_prctl()
873 || (arg2 & ~(SECURE_ALL_LOCKS | SECURE_ALL_BITS)) /*[3]*/ in cap_task_prctl()
887 new->securebits = arg2; in cap_task_prctl()
901 if (arg2 > 1) /* Note, we rely on arg2 being unsigned here */ in cap_task_prctl()
906 if (arg2) in cap_task_prctl()
/linux-3.4.99/arch/ia64/include/asm/
Dparavirt_privop.h342 #define PARAVIRT_BR2(op, type, arg1, arg2) \ argument
344 register unsigned long __##arg2 asm ("r9") = arg2; \
350 : PARAVIRT_OP(op), "0"(__##arg1), "1"(__##arg2) \
394 unsigned long arg2) \
396 PARAVIRT_BR2(op, type, arg1, arg2); \
/linux-3.4.99/arch/ia64/kernel/
Dsal.c359 u64 arg2, u64 arg3, u64 arg4, u64 arg5, u64 arg6, u64 arg7) in ia64_sal_oemcall() argument
363 SAL_CALL(*isrvp, oemfunc, arg1, arg2, arg3, arg4, arg5, arg6, arg7); in ia64_sal_oemcall()
370 u64 arg2, u64 arg3, u64 arg4, u64 arg5, u64 arg6, 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
180 esi_params[2] = arg2; in ia64_esi_call_phys()
/linux-3.4.99/arch/sparc/kernel/
Dsun4m_smp.c181 unsigned long arg2; member
193 unsigned long arg2, unsigned long arg3, in smp4m_cross_call() argument
204 ccall_info.arg2 = arg2; in smp4m_cross_call()
255 ccall_info.func(ccall_info.arg1, ccall_info.arg2, ccall_info.arg3, in smp4m_cross_call_irq()
/linux-3.4.99/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ctx.c67 NXWR32(adapter, NX_ARG2_CRB_OFFSET, cmd->req.arg2); in netxen_issue_cmd()
87 if (cmd->rsp.arg2) in netxen_issue_cmd()
88 cmd->rsp.arg2 = NXRD32(adapter, NX_ARG2_CRB_OFFSET); in netxen_issue_cmd()
114 adapter->mdump.md_template_size = cmd.rsp.arg2; in netxen_get_minidump_template_size()
146 cmd.req.arg2 = MSD(md_template_addr); in netxen_get_minidump_template()
150 if ((cmd.rsp.cmd == NX_RCODE_SUCCESS) && (size == cmd.rsp.arg2)) { in netxen_get_minidump_template()
155 cmd.rsp.cmd, size, cmd.rsp.arg2); in netxen_get_minidump_template()
253 cmd.req.arg2 = mtu; in nx_fw_cmd_set_mtu()
274 cmd.req.arg2 = duplex; in nx_fw_cmd_set_gbe_port()
373 cmd.req.arg2 = (u32)(phys_addr & 0xffffffff); in nx_fw_cmd_create_rx_ctx()
[all …]
/linux-3.4.99/arch/parisc/include/asm/
Dunistd.h950 #define _syscall2(type,name,type1,arg1,type2,arg2) \ argument
951 type name(type1 arg1, type2 arg2) \
953 return K_INLINE_SYSCALL(name, 2, arg1, arg2); \
956 #define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \ argument
957 type name(type1 arg1, type2 arg2, type3 arg3) \
959 return K_INLINE_SYSCALL(name, 3, arg1, arg2, arg3); \
962 #define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ argument
963 type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4) \
965 return K_INLINE_SYSCALL(name, 4, arg1, arg2, arg3, arg4); \
969 #define _syscall5(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4,type5,arg5) \ argument
[all …]

12345