Searched refs:trim_index (Results 1 – 1 of 1) sorted by relevance
296 int trim_index = 0; in vnode_trim_list() local361 extents[trim_index].offset = (uint64_t) io_blockno * (u_int64_t) blocksize; in vnode_trim_list()362 extents[trim_index].length = io_bytecount; in vnode_trim_list()364 trim_index++; in vnode_trim_list()366 if (trim_index == MAX_BATCH_TO_TRIM) { in vnode_trim_list()368 cs_unmap.extentsCount = trim_index; in vnode_trim_list()371 unmap.extentsCount = trim_index; in vnode_trim_list()377 trim_index = 0; in vnode_trim_list()385 if (trim_index) { in vnode_trim_list()387 cs_unmap.extentsCount = trim_index; in vnode_trim_list()[all …]