Searched refs:SGP_READ (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/include/linux/ |
D | shmem_fs.h | 86 SGP_READ, /* don't exceed i_size, don't allocate page */ enumerator
|
/Linux-v5.4/mm/ |
D | shmem.c | 877 shmem_getpage(inode, start - 1, &page, SGP_READ); in shmem_undo_range() 892 shmem_getpage(inode, end, &page, SGP_READ); in shmem_undo_range() 1786 if (sgp != SGP_READ) in shmem_getpage_gfp() 1792 if (page || sgp == SGP_READ) { in shmem_getpage_gfp() 2528 enum sgp_type sgp = SGP_READ; in shmem_file_read_iter() 3169 error = shmem_getpage(inode, 0, &page, SGP_READ); in shmem_get_link()
|