Searched refs:cur_length (Results 1 – 4 of 4) sorted by relevance
239 uint32_t cur_length = 0; in dpcd_access_helper() local289 cur_length = DEFAULT_AUX_MAX_DATA_SIZE; in dpcd_access_helper()291 cur_length = length; in dpcd_access_helper()298 cur_length); in dpcd_access_helper()304 cur_length); in dpcd_access_helper()310 length -= cur_length; in dpcd_access_helper()311 offset += cur_length; in dpcd_access_helper()
1491 int64_t cur_length; in nvme_co_truncate() local1499 cur_length = nvme_co_getlength(bs); in nvme_co_truncate()1500 if (offset != cur_length && exact) { in nvme_co_truncate()1503 } else if (offset > cur_length) { in nvme_co_truncate()
2144 int64_t cur_length; in iscsi_co_truncate() local2164 cur_length = iscsi_co_getlength(bs); in iscsi_co_truncate()2165 if (offset != cur_length && exact) { in iscsi_co_truncate()2168 } else if (offset > cur_length) { in iscsi_co_truncate()
2679 int64_t cur_length = raw_getlength(bs); in raw_co_truncate() local2681 if (offset != cur_length && exact) { in raw_co_truncate()2684 } else if (offset > cur_length) { in raw_co_truncate()