Lines Matching refs:size_total
961 unsigned int offset, unsigned int size, unsigned int size_total) in __copy_xstate_to_kernel() argument
963 if (offset < size_total) { in __copy_xstate_to_kernel()
964 unsigned int copy = min(size, size_total - offset); in __copy_xstate_to_kernel()
977 …o_kernel(void *kbuf, struct xregs_state *xsave, unsigned int offset_start, unsigned int size_total) in copy_xstate_to_kernel() argument
1002 __copy_xstate_to_kernel(kbuf, &header, offset, size, size_total); in copy_xstate_to_kernel()
1015 if (offset + size > size_total) in copy_xstate_to_kernel()
1018 __copy_xstate_to_kernel(kbuf, src, offset, size, size_total); in copy_xstate_to_kernel()
1026 __copy_xstate_to_kernel(kbuf, &xsave->i387.mxcsr, offset, size, size_total); in copy_xstate_to_kernel()
1035 __copy_xstate_to_kernel(kbuf, xstate_fx_sw_bytes, offset, size, size_total); in copy_xstate_to_kernel()
1041 …id __user *ubuf, const void *data, unsigned int offset, unsigned int size, unsigned int size_total) in __copy_xstate_to_user() argument
1046 if (offset < size_total) { in __copy_xstate_to_user()
1047 unsigned int copy = min(size, size_total - offset); in __copy_xstate_to_user()
1061 …r(void __user *ubuf, struct xregs_state *xsave, unsigned int offset_start, unsigned int size_total) in copy_xstate_to_user() argument
1086 ret = __copy_xstate_to_user(ubuf, &header, offset, size, size_total); in copy_xstate_to_user()
1101 if (offset + size > size_total) in copy_xstate_to_user()
1104 ret = __copy_xstate_to_user(ubuf, src, offset, size, size_total); in copy_xstate_to_user()
1114 __copy_xstate_to_user(ubuf, &xsave->i387.mxcsr, offset, size, size_total); in copy_xstate_to_user()
1123 ret = __copy_xstate_to_user(ubuf, xstate_fx_sw_bytes, offset, size, size_total); in copy_xstate_to_user()