Lines Matching refs:sgp
88 struct page **pagep, enum sgp_type sgp, int *type);
342 * @sgp: check and recheck i_size? skip allocation?
344 static swp_entry_t *shmem_swp_alloc(struct shmem_inode_info *info, unsigned long index, enum sgp_type sgp)
351 if (sgp != SGP_WRITE &&
356 if (sgp == SGP_READ)
384 if (sgp != SGP_WRITE &&
1086 struct page **pagep, enum sgp_type sgp, int *type)
1113 if (sgp == SGP_QUICK)
1118 entry = shmem_swp_alloc(info, idx, sgp);
1140 entry = shmem_swp_alloc(info, idx, sgp);
1214 } else if (sgp == SGP_READ && !filepage) {
1260 entry = shmem_swp_alloc(info, idx, sgp);
1329 enum sgp_type sgp = nonblock? SGP_QUICK: SGP_CACHE;
1342 err = shmem_getpage(inode, pgoff, &page, sgp, NULL);