Lines Matching refs:safe
903 * rare that this path is taken, it is perfectly safe to force
4783 * yet recorded as 'safe' (i.e. in metadata on disk) then
4787 * 'safe' as the earliest block which might not have been copied
4793 * write to, and first_device_address on the 'safe' position.
4794 * If this 'next' write position is after the 'safe' position,
4795 * we must update the metadata to increase the 'safe' position.
4799 * less than current safe position.
4803 * so next can be after 'safe', but not by more than offset_diff
4814 sector_t next, safe, last;
4853 /* 'safe' is the last device address that we might read from
4856 safe = last_dev_address(conf->reshape_safe - 1,
4859 if (next + conf->offset_diff < safe)
4873 /* 'safe' is the earliest device address that we might
4876 safe = first_dev_address(conf->reshape_safe, &conf->prev);
4878 /* Need to update metadata if 'next' might be beyond 'safe'
4881 if (next > safe + conf->offset_diff)