Lines Matching refs:prev_dc
1207 struct discard_cmd *prev_dc = NULL, *next_dc = NULL; in __update_discard_tree_range() local
1218 (struct rb_entry **)&prev_dc, in __update_discard_tree_range()
1222 prev_dc = dc; in __update_discard_tree_range()
1224 if (!prev_dc) { in __update_discard_tree_range()
1236 if (prev_dc) { in __update_discard_tree_range()
1237 di.lstart = prev_dc->lstart + prev_dc->len; in __update_discard_tree_range()
1253 if (prev_dc && prev_dc->state == D_PREP && in __update_discard_tree_range()
1254 prev_dc->bdev == bdev && in __update_discard_tree_range()
1255 __is_discard_back_mergeable(&di, &prev_dc->di, in __update_discard_tree_range()
1257 prev_dc->di.len += di.len; in __update_discard_tree_range()
1259 __relocate_discard_cmd(dcc, prev_dc); in __update_discard_tree_range()
1260 di = prev_dc->di; in __update_discard_tree_range()
1261 tdc = prev_dc; in __update_discard_tree_range()
1284 prev_dc = next_dc; in __update_discard_tree_range()
1285 if (!prev_dc) in __update_discard_tree_range()
1288 node = rb_next(&prev_dc->rb_node); in __update_discard_tree_range()
1315 struct discard_cmd *prev_dc = NULL, *next_dc = NULL; in __issue_discard_cmd_orderly() local
1326 (struct rb_entry **)&prev_dc, in __issue_discard_cmd_orderly()
2579 struct discard_cmd *prev_dc = NULL, *next_dc = NULL; in __issue_discard_cmd_range() local
2596 (struct rb_entry **)&prev_dc, in __issue_discard_cmd_range()