Home
last modified time | relevance | path

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

/fs/9p/
Dcache.h45 extern int __v9fs_fscache_release_page(struct page *page, gfp_t gfp);
58 gfp_t gfp) in v9fs_fscache_release_page() argument
60 return __v9fs_fscache_release_page(page, gfp); in v9fs_fscache_release_page()
118 gfp_t gfp) { in v9fs_fscache_release_page() argument
Dvfs_addr.c137 static int v9fs_release_page(struct page *page, gfp_t gfp) in v9fs_release_page() argument
141 return v9fs_fscache_release_page(page, gfp); in v9fs_release_page()
Dcache.c280 int __v9fs_fscache_release_page(struct page *page, gfp_t gfp) in __v9fs_fscache_release_page() argument
287 return fscache_maybe_release_page(v9inode->fscache, page, gfp); in __v9fs_fscache_release_page()
/fs/fscache/
Dpage.c65 gfp_t gfp) in __fscache_maybe_release_page() argument
70 _enter("%p,%p,%x", cookie, page, gfp); in __fscache_maybe_release_page()
125 if (!(gfp & __GFP_DIRECT_RECLAIM) || !(gfp & __GFP_FS)) { in __fscache_maybe_release_page()
135 gfp &= ~__GFP_DIRECT_RECLAIM; in __fscache_maybe_release_page()
414 gfp_t gfp) in __fscache_read_or_alloc_page() argument
479 ret = object->cache->ops->allocate_page(op, page, gfp); in __fscache_read_or_alloc_page()
485 ret = object->cache->ops->read_or_alloc_page(op, page, gfp); in __fscache_read_or_alloc_page()
544 gfp_t gfp) in __fscache_read_or_alloc_pages() argument
606 op, pages, nr_pages, gfp); in __fscache_read_or_alloc_pages()
611 op, pages, nr_pages, gfp); in __fscache_read_or_alloc_pages()
[all …]
/fs/ceph/
Dcache.h69 static inline int ceph_release_fscache_page(struct page *page, gfp_t gfp) in ceph_release_fscache_page() argument
73 return fscache_maybe_release_page(ci->fscache, page, gfp); in ceph_release_fscache_page()
161 static inline int ceph_release_fscache_page(struct page *page, gfp_t gfp) in ceph_release_fscache_page() argument
/fs/
Dmpage.c179 gfp_t gfp) in do_mpage_readpage() argument
317 min_t(int, nr_pages, BIO_MAX_PAGES), gfp); in do_mpage_readpage()
400 gfp_t gfp = mapping_gfp_constraint(mapping, GFP_KERNEL); in mpage_readpages() local
411 gfp)) { in mpage_readpages()
416 get_block, gfp); in mpage_readpages()
436 gfp_t gfp = mapping_gfp_constraint(page->mapping, GFP_KERNEL); in mpage_readpage() local
441 &map_bh, &first_logical_block, get_block, gfp); in mpage_readpage()
Dposix_acl.c483 __posix_acl_create(struct posix_acl **acl, gfp_t gfp, umode_t *mode_p) in __posix_acl_create() argument
485 struct posix_acl *clone = posix_acl_clone(*acl, gfp); in __posix_acl_create()
501 __posix_acl_chmod(struct posix_acl **acl, gfp_t gfp, umode_t mode) in __posix_acl_chmod() argument
503 struct posix_acl *clone = posix_acl_clone(*acl, gfp); in __posix_acl_chmod()
Dbuffer.c993 pgoff_t index, int size, int sizebits, gfp_t gfp) in grow_dev_page() argument
1002 gfp_mask = mapping_gfp_constraint(inode->i_mapping, ~__GFP_FS) | gfp; in grow_dev_page()
1060 grow_buffers(struct block_device *bdev, sector_t block, int size, gfp_t gfp) in grow_buffers() argument
1087 return grow_dev_page(bdev, block, index, size, sizebits, gfp); in grow_buffers()
1092 unsigned size, gfp_t gfp) in __getblk_slow() argument
1114 ret = grow_buffers(bdev, block, size, gfp); in __getblk_slow()
1391 unsigned size, gfp_t gfp) in __getblk_gfp() argument
1397 bh = __getblk_slow(bdev, block, size, gfp); in __getblk_gfp()
1429 unsigned size, gfp_t gfp) in __bread_gfp() argument
1431 struct buffer_head *bh = __getblk_gfp(bdev, block, size, gfp); in __bread_gfp()
Dseq_file.c30 gfp_t gfp = GFP_KERNEL; in seq_buf_alloc() local
42 gfp |= __GFP_NORETRY | __GFP_NOWARN; in seq_buf_alloc()
43 buf = kmalloc(size, gfp); in seq_buf_alloc()
/fs/ramfs/
Dfile-nommu.c73 gfp_t gfp = mapping_gfp_mask(inode->i_mapping); in ramfs_nommu_expand_for_mapping() local
88 pages = alloc_pages(gfp, order); in ramfs_nommu_expand_for_mapping()
112 gfp); in ramfs_nommu_expand_for_mapping()
/fs/cifs/
Dfscache.h51 extern int cifs_fscache_release_page(struct page *page, gfp_t gfp);
118 static inline int cifs_fscache_release_page(struct page *page, gfp_t gfp) in cifs_fscache_release_page() argument
Dfscache.c128 int cifs_fscache_release_page(struct page *page, gfp_t gfp) in cifs_fscache_release_page() argument
136 if (!fscache_maybe_release_page(cifsi->fscache, page, gfp)) in cifs_fscache_release_page()
Dfile.c3444 gfp_t gfp = mapping_gfp_constraint(mapping, GFP_KERNEL); in readpages_get_pages() local
3457 page->index, gfp); in readpages_get_pages()
3483 if (add_to_page_cache_locked(page, mapping, page->index, gfp)) { in readpages_get_pages()
3817 static int cifs_release_page(struct page *page, gfp_t gfp) in cifs_release_page() argument
3822 return cifs_fscache_release_page(page, gfp); in cifs_release_page()
/fs/squashfs/
Dfile_direct.c59 gfp_t gfp = mapping_gfp_constraint(mapping, GFP_KERNEL); in actor_from_page_cache() local
73 cur_page->index, gfp)) in actor_from_page_cache()
/fs/cachefiles/
Drdwr.c400 gfp_t gfp) in cachefiles_read_or_alloc_page() argument
686 gfp_t gfp) in cachefiles_read_or_alloc_pages() argument
800 gfp_t gfp) in cachefiles_allocate_page() argument
838 gfp_t gfp) in cachefiles_allocate_pages() argument
/fs/nfs/
Dfscache.c260 int nfs_fscache_release_page(struct page *page, gfp_t gfp) in nfs_fscache_release_page() argument
269 if (!fscache_maybe_release_page(cookie, page, gfp)) in nfs_fscache_release_page()
Dfile.c469 static int nfs_release_page(struct page *page, gfp_t gfp) in nfs_release_page() argument
487 if (gfpflags_allow_blocking(gfp) && in nfs_release_page()
499 return nfs_fscache_release_page(page, gfp); in nfs_release_page()
Dfscache.h193 static inline int nfs_fscache_release_page(struct page *page, gfp_t gfp) in nfs_fscache_release_page() argument
/fs/ext4/
Dmballoc.c819 static int ext4_mb_init_cache(struct page *page, char *incore, gfp_t gfp) in ext4_mb_init_cache() argument
852 bh = kzalloc(i, gfp); in ext4_mb_init_cache()
987 ext4_group_t group, struct ext4_buddy *e4b, gfp_t gfp) in ext4_mb_get_buddy_page_lock() argument
1006 page = find_or_create_page(inode->i_mapping, pnum, gfp); in ext4_mb_get_buddy_page_lock()
1020 page = find_or_create_page(inode->i_mapping, pnum, gfp); in ext4_mb_get_buddy_page_lock()
1046 int ext4_mb_init_group(struct super_block *sb, ext4_group_t group, gfp_t gfp) in ext4_mb_init_group() argument
1066 ret = ext4_mb_get_buddy_page_lock(sb, group, &e4b, gfp); in ext4_mb_init_group()
1076 ret = ext4_mb_init_cache(page, NULL, gfp); in ext4_mb_init_group()
1095 ret = ext4_mb_init_cache(page, e4b.bd_bitmap, gfp); in ext4_mb_init_group()
1114 struct ext4_buddy *e4b, gfp_t gfp) in ext4_mb_load_buddy_gfp() argument
[all …]
/fs/afs/
Drxrpc.c338 int afs_make_call(struct in_addr *addr, struct afs_call *call, gfp_t gfp, in afs_make_call() argument
372 (unsigned long) call, gfp); in afs_make_call()
/fs/exofs/
Dinode.c946 static int exofs_releasepage(struct page *page, gfp_t gfp) in exofs_releasepage() argument