Lines Matching refs:state
950 dc->state = D_PREP;
1071 if (dc->state == D_DONE)
1120 if (!dc->bio_ref && dc->state == D_SUBMIT) {
1121 dc->state = D_DONE;
1217 dc->state = D_SUBMIT;
1256 if (dc->state != D_PREP)
1312 if (dc->state == D_PARTIAL)
1313 dc->state = D_SUBMIT;
1327 dc->state = D_SUBMIT;
1329 dc->state = D_PARTIAL;
1406 if (dc->state == D_DONE || dc->di.len == 1) {
1482 if (prev_dc && prev_dc->state == D_PREP &&
1494 if (next_dc && next_dc->state == D_PREP &&
1576 if (dc->state != D_PREP)
1646 f2fs_bug_on(sbi, dc->state != D_PREP);
1694 f2fs_bug_on(sbi, dc->state != D_PREP);
1717 f2fs_bug_on(sbi, dc->state != D_DONE);
1749 if (iter->state == D_DONE && !iter->ref) {
1808 if (dc->state == D_PREP)
1820 if (dc->state == D_PREP) {
3174 if (dc->state != D_PREP) {
3532 /* update device state for fsync */
3535 /* update device state for checkpoint */