Lines Matching refs:size_total
973 unsigned int offset, unsigned int size, unsigned int size_total) in __copy_xstate_to_kernel() argument
975 if (offset < size_total) { in __copy_xstate_to_kernel()
976 unsigned int copy = min(size, size_total - offset); in __copy_xstate_to_kernel()
989 …o_kernel(void *kbuf, struct xregs_state *xsave, unsigned int offset_start, unsigned int size_total) in copy_xstate_to_kernel() argument
1014 __copy_xstate_to_kernel(kbuf, &header, offset, size, size_total); in copy_xstate_to_kernel()
1027 if (offset + size > size_total) in copy_xstate_to_kernel()
1030 __copy_xstate_to_kernel(kbuf, src, offset, size, size_total); in copy_xstate_to_kernel()
1038 __copy_xstate_to_kernel(kbuf, &xsave->i387.mxcsr, offset, size, size_total); in copy_xstate_to_kernel()
1047 __copy_xstate_to_kernel(kbuf, xstate_fx_sw_bytes, offset, size, size_total); in copy_xstate_to_kernel()
1053 …id __user *ubuf, const void *data, unsigned int offset, unsigned int size, unsigned int size_total) in __copy_xstate_to_user() argument
1058 if (offset < size_total) { in __copy_xstate_to_user()
1059 unsigned int copy = min(size, size_total - offset); in __copy_xstate_to_user()
1073 …r(void __user *ubuf, struct xregs_state *xsave, unsigned int offset_start, unsigned int size_total) in copy_xstate_to_user() argument
1098 ret = __copy_xstate_to_user(ubuf, &header, offset, size, size_total); in copy_xstate_to_user()
1113 if (offset + size > size_total) in copy_xstate_to_user()
1116 ret = __copy_xstate_to_user(ubuf, src, offset, size, size_total); in copy_xstate_to_user()
1126 __copy_xstate_to_user(ubuf, &xsave->i387.mxcsr, offset, size, size_total); in copy_xstate_to_user()
1135 ret = __copy_xstate_to_user(ubuf, xstate_fx_sw_bytes, offset, size, size_total); in copy_xstate_to_user()