Searched refs:SGP_WRITE (Results 1 - 2 of 2) sorted by relevance

/linux-master/include/linux/
H A Dshmem_fs.h140 SGP_WRITE, /* may exceed i_size, may allocate !Uptodate page */ enumerator in enum:sgp_type
141 SGP_FALLOC, /* like SGP_WRITE, but make existing page Uptodate */
/linux-master/mm/
H A Dshmem.c1925 if (sgp == SGP_WRITE)
2009 if (sgp == SGP_WRITE)
2088 if (sgp == SGP_WRITE)
2091 * Let SGP_FALLOC use the SGP_WRITE optimization on a new folio.
2094 sgp = SGP_WRITE;
2097 * Let SGP_WRITE caller clear ends if write does not fill folio;
2101 if (sgp != SGP_WRITE && !folio_test_uptodate(folio)) {
2744 ret = shmem_get_folio(inode, index, &folio, SGP_WRITE);
3531 error = shmem_get_folio(inode, 0, &folio, SGP_WRITE);

Completed in 124 milliseconds