Searched refs:zerofrom (Results 1 – 2 of 2) sorted by relevance
1105 unsigned int zerofrom; in copy_xstate_to_kernel() local1143 zerofrom = offsetof(struct xregs_state, extended_state_area); in copy_xstate_to_kernel()1160 if (zerofrom < xstate_offsets[i]) in copy_xstate_to_kernel()1161 membuf_zero(&to, xstate_offsets[i] - zerofrom); in copy_xstate_to_kernel()1172 zerofrom = xstate_offsets[i] + xstate_sizes[i]; in copy_xstate_to_kernel()
2410 unsigned zerofrom, offset, len; in cont_expand_zero() local2417 zerofrom = curpos & ~PAGE_MASK; in cont_expand_zero()2418 if (zerofrom & (blocksize-1)) { in cont_expand_zero()2422 len = PAGE_SIZE - zerofrom; in cont_expand_zero()2428 zero_user(page, zerofrom, len); in cont_expand_zero()2446 zerofrom = curpos & ~PAGE_MASK; in cont_expand_zero()2448 if (offset <= zerofrom) { in cont_expand_zero()2451 if (zerofrom & (blocksize-1)) { in cont_expand_zero()2455 len = offset - zerofrom; in cont_expand_zero()2461 zero_user(page, zerofrom, len); in cont_expand_zero()[all …]