Lines Matching refs:sick
26 * and the "sick" field tells us if that piece was found to need repairs.
27 * Therefore we can conclude that for a given sick flag value:
29 * - checked && sick => metadata needs repair
30 * - checked && !sick => metadata is ok
31 * - !checked && sick => errors have been observed during normal operation,
33 * - !checked && !sick => has not been examined since mount
96 /* Don't propagate sick status to ag health summary during inactivation */
171 * xfs_*_mark_sick: Set the sick flags and do not set checked flags.
175 * xfs_*_mark_corrupt: Set the sick and checked flags simultaneously.
179 * xfs_*_mark_healthy: Clear the sick flags and set the checked flags.
182 * xfs_*_measure_sickness: Return the sick and check status in the provided
189 void xfs_fs_measure_sickness(struct xfs_mount *mp, unsigned int *sick,
195 void xfs_rt_measure_sickness(struct xfs_mount *mp, unsigned int *sick,
203 void xfs_ag_measure_sickness(struct xfs_perag *pag, unsigned int *sick,
209 void xfs_inode_measure_sickness(struct xfs_inode *ip, unsigned int *sick,
223 unsigned int sick, checked;
225 xfs_fs_measure_sickness(mp, &sick, &checked);
226 return sick & mask;
232 unsigned int sick, checked;
234 xfs_rt_measure_sickness(mp, &sick, &checked);
235 return sick & mask;
241 unsigned int sick, checked;
243 xfs_ag_measure_sickness(pag, &sick, &checked);
244 return sick & mask;
250 unsigned int sick, checked;
252 xfs_inode_measure_sickness(ip, &sick, &checked);
253 return sick & mask;