Searched refs:trim_index (Results 1 – 1 of 1) sorted by relevance
295 int trim_index = 0; in vnode_trim_list() local360 extents[trim_index].offset = (uint64_t) io_blockno * (u_int64_t) blocksize; in vnode_trim_list()361 extents[trim_index].length = io_bytecount; in vnode_trim_list()363 trim_index++; in vnode_trim_list()365 if (trim_index == MAX_BATCH_TO_TRIM) { in vnode_trim_list()367 cs_unmap.extentsCount = trim_index; in vnode_trim_list()370 unmap.extentsCount = trim_index; in vnode_trim_list()376 trim_index = 0; in vnode_trim_list()384 if (trim_index) { in vnode_trim_list()386 cs_unmap.extentsCount = trim_index; in vnode_trim_list()[all …]