Home
last modified time | relevance | path

Searched refs:err_ptr (Results 1 – 22 of 22) sorted by relevance

/arch/powerpc/lib/
Dchecksum_wrappers.c27 int len, __wsum sum, int *err_ptr) in csum_and_copy_from_user() argument
33 *err_ptr = 0; in csum_and_copy_from_user()
41 *err_ptr = -EFAULT; in csum_and_copy_from_user()
47 len, sum, err_ptr, NULL); in csum_and_copy_from_user()
49 if (unlikely(*err_ptr)) { in csum_and_copy_from_user()
54 *err_ptr = -EFAULT; in csum_and_copy_from_user()
56 *err_ptr = 0; in csum_and_copy_from_user()
68 __wsum sum, int *err_ptr) in csum_and_copy_to_user() argument
74 *err_ptr = 0; in csum_and_copy_to_user()
82 *err_ptr = -EFAULT; in csum_and_copy_to_user()
[all …]
/arch/mips/include/asm/
Dchecksum.h38 int len, __wsum sum, int *err_ptr);
41 int len, __wsum sum, int *err_ptr);
43 int len, __wsum sum, int *err_ptr);
50 __wsum sum, int *err_ptr) in csum_partial_copy_from_user() argument
55 len, sum, err_ptr); in csum_partial_copy_from_user()
58 len, sum, err_ptr); in csum_partial_copy_from_user()
64 int len, __wsum sum, int *err_ptr) in csum_and_copy_from_user() argument
68 err_ptr); in csum_and_copy_from_user()
70 *err_ptr = -EFAULT; in csum_and_copy_from_user()
81 __wsum sum, int *err_ptr) in csum_and_copy_to_user() argument
[all …]
/arch/x86/um/asm/
Dchecksum_32.h44 int len, __wsum sum, int *err_ptr) in csum_and_copy_to_user() argument
48 *err_ptr = -EFAULT; in csum_and_copy_to_user()
56 *err_ptr = -EFAULT; in csum_and_copy_to_user()
Dchecksum.h48 int len, __wsum sum, int *err_ptr) in csum_partial_copy_from_user() argument
51 *err_ptr = -EFAULT; in csum_partial_copy_from_user()
/arch/sh/include/asm/
Dchecksum_32.h56 int len, __wsum sum, int *err_ptr) in csum_partial_copy_from_user() argument
59 len, sum, err_ptr, NULL); in csum_partial_copy_from_user()
201 int *err_ptr) in csum_and_copy_to_user() argument
205 dst, len, sum, NULL, err_ptr); in csum_and_copy_to_user()
208 *err_ptr = -EFAULT; in csum_and_copy_to_user()
/arch/x86/include/asm/
Dchecksum_32.h49 int *err_ptr) in csum_partial_copy_from_user() argument
56 len, sum, err_ptr, NULL); in csum_partial_copy_from_user()
179 int *err_ptr) in csum_and_copy_to_user() argument
187 len, sum, NULL, err_ptr); in csum_and_copy_to_user()
193 *err_ptr = -EFAULT; in csum_and_copy_to_user()
/arch/mn10300/lib/
Dchecksum.c72 int *err_ptr) in csum_partial_copy_from_user() argument
79 *err_ptr = -EFAULT; in csum_partial_copy_from_user()
88 int *err_ptr) in csum_and_copy_to_user() argument
95 *err_ptr = -EFAULT; in csum_and_copy_to_user()
/arch/xtensa/include/asm/
Dchecksum.h59 int len, __wsum sum, int *err_ptr) in csum_partial_copy_from_user() argument
62 len, sum, err_ptr, NULL); in csum_partial_copy_from_user()
244 __wsum sum, int *err_ptr) in csum_and_copy_to_user() argument
247 return csum_partial_copy_generic(src,dst,len,sum,NULL,err_ptr); in csum_and_copy_to_user()
250 *err_ptr = -EFAULT; in csum_and_copy_to_user()
/arch/score/lib/
Dchecksum_copy.c41 int *err_ptr) in csum_partial_copy_from_user() argument
48 *err_ptr = -EFAULT; in csum_partial_copy_from_user()
/arch/m32r/lib/
Dcsum_partial_copy.c46 int len, __wsum sum, int *err_ptr) in csum_partial_copy_from_user() argument
53 *err_ptr = -EFAULT; in csum_partial_copy_from_user()
/arch/mn10300/include/asm/
Dchecksum.h19 int *err_ptr);
76 __wsum sum, int *err_ptr);
/arch/avr32/include/asm/
Dchecksum.h52 int len, __wsum sum, int *err_ptr) in csum_partial_copy_from_user() argument
55 sum, err_ptr, NULL); in csum_partial_copy_from_user()
/arch/score/include/asm/
Dchecksum.h36 __wsum sum, int *err_ptr) in csum_and_copy_to_user() argument
40 *err_ptr = -EFAULT; in csum_and_copy_to_user()
/arch/s390/include/asm/
Dchecksum.h52 int *err_ptr) in csum_partial_copy_from_user() argument
55 *err_ptr = -EFAULT; in csum_partial_copy_from_user()
/arch/parisc/include/asm/
Dchecksum.h194 int *err_ptr) in csum_and_copy_to_user() argument
200 *err_ptr = -EFAULT; in csum_and_copy_to_user()
/arch/arm/lib/
Dcsumpartialcopyuser.S89 ldr r5, [sp, #9*4] @ *err_ptr
91 ldr r5, [sp, #8*4] @ *err_ptr
/arch/parisc/lib/
Dchecksum.c137 __wsum sum, int *err_ptr) in csum_partial_copy_from_user() argument
144 *err_ptr = -EFAULT; in csum_partial_copy_from_user()
/arch/powerpc/include/asm/
Dchecksum.h31 int len, __wsum sum, int *err_ptr);
34 int len, __wsum sum, int *err_ptr);
/arch/m32r/include/asm/
Dchecksum.h51 int *err_ptr);
/arch/arm/include/asm/
Dchecksum.h40 csum_partial_copy_from_user(const void __user *src, void *dst, int len, __wsum sum, int *err_ptr);
/arch/arm/xen/
Denlighten.c65 int *err_ptr, pgprot_t prot, in xen_remap_domain_gfn_array() argument
69 return xen_xlate_remap_gfn_array(vma, addr, gfn, nr, err_ptr, in xen_remap_domain_gfn_array()
/arch/x86/xen/
Dmmu.c2804 int *err_ptr, pgprot_t prot, in do_remap_gfn() argument
2819 return xen_xlate_remap_gfn_array(vma, addr, gfn, nr, err_ptr, in do_remap_gfn()
2830 rmd.contiguous = !err_ptr; in do_remap_gfn()
2858 if (err_ptr) { in do_remap_gfn()
2860 err_ptr[i] = 0; in do_remap_gfn()
2863 if (!err_ptr) in do_remap_gfn()
2865 err_ptr[i] = err; in do_remap_gfn()
2875 if (err_ptr) in do_remap_gfn()
2876 err_ptr += batch; in do_remap_gfn()
2899 int *err_ptr, pgprot_t prot, in xen_remap_domain_gfn_array() argument
[all …]