Lines Matching refs:lstart

950 		struct block_device *bdev, block_t lstart,  in __create_discard_cmd()  argument
964 dc->di.lstart = lstart; in __create_discard_cmd()
996 if (cur_dc->di.lstart + cur_dc->di.len > next_dc->di.lstart) { in f2fs_check_discard_tree()
999 cur_dc->di.lstart, cur_dc->di.len, in f2fs_check_discard_tree()
1000 next_dc->di.lstart, next_dc->di.len); in f2fs_check_discard_tree()
1019 if (blkaddr < dc->di.lstart) in __lookup_discard_cmd()
1021 else if (blkaddr >= dc->di.lstart + dc->di.len) in __lookup_discard_cmd()
1052 if (blkaddr < dc->di.lstart) in __lookup_discard_cmd_ret()
1054 else if (blkaddr >= dc->di.lstart + dc->di.len) in __lookup_discard_cmd_ret()
1065 if (parent && blkaddr > dc->di.lstart) in __lookup_discard_cmd_ret()
1070 if (parent && blkaddr < dc->di.lstart) in __lookup_discard_cmd_ret()
1124 dc->di.lstart, dc->di.start, dc->di.len, dc->error); in __remove_discard_cmd()
1219 struct block_device *bdev, block_t lstart,
1248 __check_sit_bitmap(sbi, dc->di.lstart, dc->di.lstart + dc->di.len); in __submit_zone_reset_cmd()
1272 block_t lstart, start, len, total_len; in __submit_discard_cmd() local
1305 lstart = dc->di.lstart; in __submit_discard_cmd()
1364 __check_sit_bitmap(sbi, lstart, lstart + len); in __submit_discard_cmd()
1375 lstart += len; in __submit_discard_cmd()
1383 __update_discard_tree_range(sbi, bdev, lstart, start, len); in __submit_discard_cmd()
1389 struct block_device *bdev, block_t lstart, in __insert_discard_cmd() argument
1403 if (lstart < dc->di.lstart) { in __insert_discard_cmd()
1405 } else if (lstart >= dc->di.lstart + dc->di.len) { in __insert_discard_cmd()
1414 dc = __create_discard_cmd(sbi, bdev, lstart, start, len); in __insert_discard_cmd()
1440 if (blkaddr > di.lstart) { in __punch_discard_cmd()
1441 dc->di.len = blkaddr - dc->di.lstart; in __punch_discard_cmd()
1447 if (blkaddr < di.lstart + di.len - 1) { in __punch_discard_cmd()
1450 di.start + blkaddr + 1 - di.lstart, in __punch_discard_cmd()
1451 di.lstart + di.len - 1 - blkaddr); in __punch_discard_cmd()
1453 dc->di.lstart++; in __punch_discard_cmd()
1463 struct block_device *bdev, block_t lstart, in __update_discard_tree_range() argument
1473 block_t end = lstart + len; in __update_discard_tree_range()
1475 dc = __lookup_discard_cmd_ret(&dcc->root, lstart, in __update_discard_tree_range()
1481 di.lstart = lstart; in __update_discard_tree_range()
1482 di.len = next_dc ? next_dc->di.lstart - lstart : len; in __update_discard_tree_range()
1493 di.lstart = prev_dc->di.lstart + prev_dc->di.len; in __update_discard_tree_range()
1494 if (di.lstart < lstart) in __update_discard_tree_range()
1495 di.lstart = lstart; in __update_discard_tree_range()
1496 if (di.lstart >= end) in __update_discard_tree_range()
1499 if (!next_dc || next_dc->di.lstart > end) in __update_discard_tree_range()
1500 di.len = end - di.lstart; in __update_discard_tree_range()
1502 di.len = next_dc->di.lstart - di.lstart; in __update_discard_tree_range()
1503 di.start = start + di.lstart - lstart; in __update_discard_tree_range()
1525 next_dc->di.lstart = di.lstart; in __update_discard_tree_range()
1537 di.lstart, di.start, di.len); in __update_discard_tree_range()
1611 dcc->next_pos = dc->di.lstart + dc->di.len; in __issue_discard_cmd_orderly()
1771 if (iter->di.lstart + iter->di.len <= start || in __wait_discard_cmd_range()
1772 end <= iter->di.lstart) in __wait_discard_cmd_range()
3311 while (dc && dc->di.lstart <= end) { in __issue_discard_cmd_range()
3326 start = dc->di.lstart + dc->di.len; in __issue_discard_cmd_range()