Lines Matching refs:next_dc
1207 struct discard_cmd *prev_dc = NULL, *next_dc = NULL; in __update_discard_tree_range() local
1219 (struct rb_entry **)&next_dc, in __update_discard_tree_range()
1226 di.len = next_dc ? next_dc->lstart - lstart : len; in __update_discard_tree_range()
1243 if (!next_dc || next_dc->lstart > end) in __update_discard_tree_range()
1246 di.len = next_dc->lstart - di.lstart; in __update_discard_tree_range()
1265 if (next_dc && next_dc->state == D_PREP && in __update_discard_tree_range()
1266 next_dc->bdev == bdev && in __update_discard_tree_range()
1267 __is_discard_front_mergeable(&di, &next_dc->di, in __update_discard_tree_range()
1269 next_dc->di.lstart = di.lstart; in __update_discard_tree_range()
1270 next_dc->di.len += di.len; in __update_discard_tree_range()
1271 next_dc->di.start = di.start; in __update_discard_tree_range()
1273 __relocate_discard_cmd(dcc, next_dc); in __update_discard_tree_range()
1284 prev_dc = next_dc; in __update_discard_tree_range()
1289 next_dc = rb_entry_safe(node, struct discard_cmd, rb_node); in __update_discard_tree_range()
1315 struct discard_cmd *prev_dc = NULL, *next_dc = NULL; in __issue_discard_cmd_orderly() local
1327 (struct rb_entry **)&next_dc, in __issue_discard_cmd_orderly()
1330 dc = next_dc; in __issue_discard_cmd_orderly()
2579 struct discard_cmd *prev_dc = NULL, *next_dc = NULL; in __issue_discard_cmd_range() local
2597 (struct rb_entry **)&next_dc, in __issue_discard_cmd_range()
2600 dc = next_dc; in __issue_discard_cmd_range()