Lines Matching refs:safe
878 * rare that this path is taken, it is perfectly safe to force
4395 * yet recorded as 'safe' (i.e. in metadata on disk) then
4399 * 'safe' as the earliest block which might not have been copied
4405 * write to, and first_device_address on the 'safe' position.
4406 * If this 'next' write position is after the 'safe' position,
4407 * we must update the metadata to increase the 'safe' position.
4411 * less than current safe position.
4415 * so next can be after 'safe', but not by more than offset_diff
4426 sector_t next, safe, last;
4465 /* 'safe' is the last device address that we might read from
4468 safe = last_dev_address(conf->reshape_safe - 1,
4471 if (next + conf->offset_diff < safe)
4485 /* 'safe' is the earliest device address that we might
4488 safe = first_dev_address(conf->reshape_safe, &conf->prev);
4490 /* Need to update metadata if 'next' might be beyond 'safe'
4493 if (next > safe + conf->offset_diff)