Home
last modified time | relevance | path

Searched refs:sparseFileSupport (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/contrib/zstd/programs/
H A Dfileio.c304 …U32 sparseFileSupport; /* 0: no sparse allowed; 1: auto (file yes, stdout no); 2: force sparse */ member
374 ret->sparseFileSupport = ZSTD_SPARSE_DEFAULT; in FIO_createPreferences()
446 void FIO_setSparseWrite(FIO_prefs_t* const prefs, unsigned sparse) { prefs->sparseFileSupport = spa… in FIO_setSparseWrite()
658 if (prefs->sparseFileSupport == 1) { in FIO_openDstFile()
659 prefs->sparseFileSupport = 0; in FIO_openDstFile()
671 if (prefs->sparseFileSupport == 1) { in FIO_openDstFile()
672 prefs->sparseFileSupport = ZSTD_SPARSE_DEFAULT; in FIO_openDstFile()
1819 DISPLAY("%s", INDEX(sparseOptions, prefs->sparseFileSupport)); in FIO_displayCompressionParameters()
2070 if (!prefs->sparseFileSupport) { /* normal write */ in FIO_fwriteSparse()
2139 assert(prefs->sparseFileSupport > 0); /* storedSkips>0 implies sparse support is enabled */ in FIO_fwriteSparseEnd()