Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/programs/
H A Dfileio_types.h37 …int sparseFileSupport; /* 0: no sparse allowed; 1: auto (file yes, stdout no); 2: force sparse */ member
H A Dfileio_asyncio.c46 if (!prefs->sparseFileSupport) { /* normal write */ in AIO_fwriteSparse()
115 assert(prefs->sparseFileSupport > 0); /* storedSkips>0 implies sparse support is enabled */ in AIO_fwriteSparseEnd()
H A Dfileio.c285 ret->sparseFileSupport = ZSTD_SPARSE_DEFAULT; in FIO_createPreferences()
359 void FIO_setSparseWrite(FIO_prefs_t* const prefs, int sparse) { prefs->sparseFileSupport = sparse; } in FIO_setSparseWrite()
592 if (prefs->sparseFileSupport == 1) { in FIO_openDstFile()
593 prefs->sparseFileSupport = 0; in FIO_openDstFile()
606 if (prefs->sparseFileSupport == 1) { in FIO_openDstFile()
607 prefs->sparseFileSupport = ZSTD_SPARSE_DEFAULT; in FIO_openDstFile()
609 prefs->sparseFileSupport = 0; in FIO_openDstFile()
2118 DISPLAY("%s", INDEX(sparseOptions, prefs->sparseFileSupport)); in FIO_displayCompressionParameters()