Lines Matching defs: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 */
169 * xfs_*_mark_sick: Set the sick flags and do not set checked flags.
173 * xfs_*_mark_corrupt: Set the sick and checked flags simultaneously.
177 * xfs_*_mark_healthy: Clear the sick flags and set the checked flags.
180 * xfs_*_measure_sickness: Return the sick and check status in the provided
187 void xfs_fs_measure_sickness(struct xfs_mount *mp, unsigned int *sick,
193 void xfs_rt_measure_sickness(struct xfs_mount *mp, unsigned int *sick,
201 void xfs_ag_measure_sickness(struct xfs_perag *pag, unsigned int *sick,
207 void xfs_inode_measure_sickness(struct xfs_inode *ip, unsigned int *sick,
221 unsigned int sick, checked;
223 xfs_fs_measure_sickness(mp, &sick, &checked);
224 return sick & mask;
230 unsigned int sick, checked;
232 xfs_rt_measure_sickness(mp, &sick, &checked);
233 return sick & mask;
239 unsigned int sick, checked;
241 xfs_ag_measure_sickness(pag, &sick, &checked);
242 return sick & mask;
248 unsigned int sick, checked;
250 xfs_inode_measure_sickness(ip, &sick, &checked);
251 return sick & mask;