Searched refs:trim_index (Results 1 – 1 of 1) sorted by relevance
284 int trim_index = 0; in vnode_trim_list() local349 extents[trim_index].offset = (uint64_t) io_blockno * (u_int64_t) blocksize; in vnode_trim_list()350 extents[trim_index].length = io_bytecount; in vnode_trim_list()352 trim_index++; in vnode_trim_list()354 if (trim_index == MAX_BATCH_TO_TRIM) { in vnode_trim_list()356 cs_unmap.extentsCount = trim_index; in vnode_trim_list()359 unmap.extentsCount = trim_index; in vnode_trim_list()365 trim_index = 0; in vnode_trim_list()373 if (trim_index) { in vnode_trim_list()375 cs_unmap.extentsCount = trim_index; in vnode_trim_list()[all …]