Searched refs:next_dc (Results 1 – 1 of 1) sorted by relevance
1207 struct discard_cmd *prev_dc = NULL, *next_dc = NULL; in __update_discard_tree_range() local1219 (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()[all …]