Home
last modified time | relevance | path

Searched refs:next_dc (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/f2fs/
H A Dsegment.c978 struct discard_cmd *cur_dc, *next_dc; in f2fs_check_discard_tree() local
986 next_dc = rb_entry(next, struct discard_cmd, rb_node); in f2fs_check_discard_tree()
988 if (cur_dc->di.lstart + cur_dc->di.len > next_dc->di.lstart) { in f2fs_check_discard_tree()
992 next_dc->di.lstart, next_dc->di.len); in f2fs_check_discard_tree()
1457 struct discard_cmd *prev_dc = NULL, *next_dc = NULL; in __update_discard_tree_range() local
1466 &prev_dc, &next_dc, &insert_p, &insert_parent); in __update_discard_tree_range()
1472 di.len = next_dc ? next_dc->di.lstart - lstart : len; in __update_discard_tree_range()
1489 if (!next_dc || next_dc->di.lstart > end) in __update_discard_tree_range()
1492 di.len = next_dc->di.lstart - di.lstart; in __update_discard_tree_range()
1511 if (next_dc && next_dc->state == D_PREP && in __update_discard_tree_range()
[all …]