Searched refs:trim_index (Results 1 – 1 of 1) sorted by relevance
291 int trim_index = 0; in vnode_trim_list() local356 extents[trim_index].offset = (uint64_t) io_blockno * (u_int64_t) blocksize; in vnode_trim_list()357 extents[trim_index].length = io_bytecount; in vnode_trim_list()359 trim_index++; in vnode_trim_list()361 if (trim_index == MAX_BATCH_TO_TRIM) { in vnode_trim_list()363 cs_unmap.extentsCount = trim_index; in vnode_trim_list()366 unmap.extentsCount = trim_index; in vnode_trim_list()372 trim_index = 0; in vnode_trim_list()380 if (trim_index) { in vnode_trim_list()382 cs_unmap.extentsCount = trim_index; in vnode_trim_list()[all …]