Home
last modified time | relevance | path

Searched refs:gfp_flags (Results 1 – 25 of 30) sorted by relevance

12

/fs/crypto/
Dcrypto.c52 struct page *fscrypt_alloc_bounce_page(gfp_t gfp_flags) in fscrypt_alloc_bounce_page() argument
54 return mempool_alloc(fscrypt_bounce_page_pool, gfp_flags); in fscrypt_alloc_bounce_page()
93 unsigned int offs, gfp_t gfp_flags) in fscrypt_crypt_block() argument
110 req = skcipher_request_alloc(tfm, gfp_flags); in fscrypt_crypt_block()
158 gfp_t gfp_flags) in fscrypt_encrypt_pagecache_blocks() argument
176 ciphertext_page = fscrypt_alloc_bounce_page(gfp_flags); in fscrypt_encrypt_pagecache_blocks()
183 blocksize, i, gfp_flags); in fscrypt_encrypt_pagecache_blocks()
214 u64 lblk_num, gfp_t gfp_flags) in fscrypt_encrypt_block_inplace() argument
217 len, offs, gfp_flags); in fscrypt_encrypt_block_inplace()
Dfscrypt_private.h258 gfp_t gfp_flags);
259 extern struct page *fscrypt_alloc_bounce_page(gfp_t gfp_flags);
/fs/nfs/filelayout/
Dfilelayout.c539 gfp_t gfp_flags) in filelayout_check_deviceid() argument
551 lo->plh_lc_cred, gfp_flags); in filelayout_check_deviceid()
601 gfp_t gfp_flags) in filelayout_check_layout() argument
652 gfp_t gfp_flags) in filelayout_decode_layout() argument
663 scratch = alloc_page(gfp_flags); in filelayout_decode_layout()
705 gfp_flags); in filelayout_decode_layout()
712 fl->fh_array[i] = kmalloc(sizeof(struct nfs_fh), gfp_flags); in filelayout_decode_layout()
765 gfp_t gfp_flags) in filelayout_alloc_commit_info() argument
788 gfp_flags); in filelayout_alloc_commit_info()
822 gfp_t gfp_flags) in filelayout_alloc_lseg() argument
[all …]
Dfilelayoutdev.c64 gfp_t gfp_flags) in nfs4_fl_alloc_deviceid_node() argument
80 scratch = alloc_page(gfp_flags); in nfs4_fl_alloc_deviceid_node()
102 stripe_indices = kcalloc(cnt, sizeof(u8), gfp_flags); in nfs4_fl_alloc_deviceid_node()
141 gfp_flags); in nfs4_fl_alloc_deviceid_node()
164 &stream, gfp_flags); in nfs4_fl_alloc_deviceid_node()
174 dsaddr->ds_list[i] = nfs4_pnfs_ds_add(&dsaddrs, gfp_flags); in nfs4_fl_alloc_deviceid_node()
Dfilelayout.h114 struct pnfs_device *pdev, gfp_t gfp_flags);
/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c43 gfp_t gfp_flags) in nfs4_ff_alloc_deviceid_node() argument
58 scratch = alloc_page(gfp_flags); in nfs4_ff_alloc_deviceid_node()
62 new_ds = kzalloc(sizeof(struct nfs4_ff_layout_ds), gfp_flags); in nfs4_ff_alloc_deviceid_node()
84 &stream, gfp_flags); in nfs4_ff_alloc_deviceid_node()
104 gfp_flags); in nfs4_ff_alloc_deviceid_node()
150 new_ds->ds = nfs4_pnfs_ds_add(&dsaddrs, gfp_flags); in nfs4_ff_alloc_deviceid_node()
253 gfp_t gfp_flags) in ff_layout_track_ds_error() argument
263 dserr = kmalloc(sizeof(*dserr), gfp_flags); in ff_layout_track_ds_error()
Dflexfilelayout.c45 ff_layout_alloc_layout_hdr(struct inode *inode, gfp_t gfp_flags) in ff_layout_alloc_layout_hdr() argument
49 ffl = kzalloc(sizeof(*ffl), gfp_flags); in ff_layout_alloc_layout_hdr()
216 static struct nfs4_ff_layout_mirror *ff_layout_alloc_mirror(gfp_t gfp_flags) in ff_layout_alloc_mirror() argument
220 mirror = kzalloc(sizeof(*mirror), gfp_flags); in ff_layout_alloc_mirror()
366 gfp_t gfp_flags) in ff_layout_alloc_lseg() argument
379 scratch = alloc_page(gfp_flags); in ff_layout_alloc_lseg()
403 fls = kzalloc(sizeof(*fls), gfp_flags); in ff_layout_alloc_lseg()
410 sizeof(fls->mirror_array[0]), gfp_flags); in ff_layout_alloc_lseg()
433 fls->mirror_array[i] = ff_layout_alloc_mirror(gfp_flags); in ff_layout_alloc_lseg()
467 gfp_flags); in ff_layout_alloc_lseg()
[all …]
Dflexfilelayout.h191 gfp_t gfp_flags);
197 gfp_t gfp_flags);
/fs/nfs/
Dpnfs_dev.c97 const struct cred *cred, gfp_t gfp_flags) in nfs4_get_device_info() argument
118 pdev = kzalloc(sizeof(*pdev), gfp_flags); in nfs4_get_device_info()
122 pages = kcalloc(max_pages, sizeof(struct page *), gfp_flags); in nfs4_get_device_info()
127 pages[i] = alloc_page(gfp_flags); in nfs4_get_device_info()
150 gfp_flags); in nfs4_get_device_info()
Dpnfs_nfs.c467 nfs4_pnfs_remotestr(struct list_head *dsaddrs, gfp_t gfp_flags) in nfs4_pnfs_remotestr() argument
479 remotestr = kzalloc(len, gfp_flags); in nfs4_pnfs_remotestr()
516 nfs4_pnfs_ds_add(struct list_head *dsaddrs, gfp_t gfp_flags) in nfs4_pnfs_ds_add() argument
526 ds = kzalloc(sizeof(*ds), gfp_flags); in nfs4_pnfs_ds_add()
531 remotestr = nfs4_pnfs_remotestr(dsaddrs, gfp_flags); in nfs4_pnfs_ds_add()
783 nfs4_decode_mp_ds_addr(struct net *net, struct xdr_stream *xdr, gfp_t gfp_flags) in nfs4_decode_mp_ds_addr() argument
807 netid = kmalloc(nlen+1, gfp_flags); in nfs4_decode_mp_ds_addr()
830 buf = kmalloc(rlen + 1, gfp_flags); in nfs4_decode_mp_ds_addr()
856 da = kzalloc(sizeof(*da), gfp_flags); in nfs4_decode_mp_ds_addr()
903 da->da_remotestr = kzalloc(len, gfp_flags); in nfs4_decode_mp_ds_addr()
Dpnfs.h134 struct pnfs_layout_hdr * (*alloc_layout_hdr) (struct inode *inode, gfp_t gfp_flags);
137 … (*alloc_lseg) (struct pnfs_layout_hdr *layoutid, struct nfs4_layoutget_res *lgr, gfp_t gfp_flags);
180 gfp_t gfp_flags);
309 gfp_t gfp_flags);
380 gfp_t gfp_flags);
387 gfp_t gfp_flags);
831 int pnfs_report_layoutstat(struct inode *inode, gfp_t gfp_flags);
834 pnfs_report_layoutstat(struct inode *inode, gfp_t gfp_flags) in pnfs_report_layoutstat() argument
Dpnfs.c259 pnfs_alloc_layout_hdr(struct inode *ino, gfp_t gfp_flags) in pnfs_alloc_layout_hdr() argument
262 return ld->alloc_layout_hdr(ino, gfp_flags); in pnfs_alloc_layout_hdr()
986 static struct page **nfs4_alloc_pages(size_t size, gfp_t gfp_flags) in nfs4_alloc_pages() argument
991 pages = kmalloc_array(size, sizeof(struct page *), gfp_flags); in nfs4_alloc_pages()
998 pages[i] = alloc_page(gfp_flags); in nfs4_alloc_pages()
1014 gfp_t gfp_flags) in pnfs_alloc_init_layoutget_args() argument
1023 lgp = kzalloc(sizeof(*lgp), gfp_flags); in pnfs_alloc_init_layoutget_args()
1033 lgp->args.layout.pages = nfs4_alloc_pages(max_pages, gfp_flags); in pnfs_alloc_init_layoutget_args()
1063 lgp->gfp_flags = gfp_flags; in pnfs_alloc_init_layoutget_args()
1647 gfp_t gfp_flags) in alloc_init_layout_hdr() argument
[all …]
Dnfs4state.c493 gfp_t gfp_flags) in nfs4_alloc_state_owner() argument
497 sp = kzalloc(sizeof(*sp), gfp_flags); in nfs4_alloc_state_owner()
501 gfp_flags); in nfs4_alloc_state_owner()
576 gfp_t gfp_flags) in nfs4_get_state_owner() argument
586 new = nfs4_alloc_state_owner(server, cred, gfp_flags); in nfs4_get_state_owner()
Dnfs42proc.c673 nfs42_alloc_layouterror_data(struct pnfs_layout_segment *lseg, gfp_t gfp_flags) in nfs42_alloc_layouterror_data() argument
678 data = kzalloc(sizeof(*data), gfp_flags); in nfs42_alloc_layouterror_data()
Dpagelist.c770 gfp_t gfp_flags = GFP_KERNEL; in nfs_generic_pgio() local
778 pg_array->pagevec = kcalloc(pagecount, sizeof(struct page *), gfp_flags); in nfs_generic_pgio()
Dwrite.c119 static struct nfs_io_completion *nfs_io_completion_alloc(gfp_t gfp_flags) in nfs_io_completion_alloc() argument
121 return kmalloc(sizeof(struct nfs_io_completion), gfp_flags); in nfs_io_completion_alloc()
/fs/afs/
Dfile.c23 static int afs_releasepage(struct page *page, gfp_t gfp_flags);
642 static int afs_releasepage(struct page *page, gfp_t gfp_flags) in afs_releasepage() argument
649 gfp_flags); in afs_releasepage()
654 if (!fscache_maybe_release_page(vnode->cache, page, gfp_flags)) { in afs_releasepage()
Ddir.c43 static int afs_dir_releasepage(struct page *page, gfp_t gfp_flags);
1991 static int afs_dir_releasepage(struct page *page, gfp_t gfp_flags) in afs_dir_releasepage() argument
/fs/nfs/blocklayout/
Dblocklayout.c483 gfp_t gfp_flags, bool is_scsi_layout) in __bl_alloc_layout_hdr() argument
488 bl = kzalloc(sizeof(*bl), gfp_flags); in __bl_alloc_layout_hdr()
501 gfp_t gfp_flags) in bl_alloc_layout_hdr() argument
503 return __bl_alloc_layout_hdr(inode, gfp_flags, false); in bl_alloc_layout_hdr()
507 gfp_t gfp_flags) in sl_alloc_layout_hdr() argument
509 return __bl_alloc_layout_hdr(inode, gfp_flags, true); in sl_alloc_layout_hdr()
/fs/
Dmpage.c109 gfp_t gfp_flags) in mpage_alloc() argument
114 gfp_flags &= GFP_KERNEL; in mpage_alloc()
115 bio = bio_alloc(gfp_flags, nr_vecs); in mpage_alloc()
119 bio = bio_alloc(gfp_flags, nr_vecs); in mpage_alloc()
/fs/ext4/
Dpage-io.c480 gfp_t gfp_flags = GFP_NOFS; in ext4_bio_write_page() local
485 0, gfp_flags); in ext4_bio_write_page()
493 gfp_flags |= __GFP_NOFAIL; in ext4_bio_write_page()
/fs/erofs/
Dzdata.c784 gfp_t gfp_flags = GFP_KERNEL; in z_erofs_decompress_pcluster() local
787 gfp_flags |= __GFP_NOFAIL; in z_erofs_decompress_pcluster()
790 gfp_flags); in z_erofs_decompress_pcluster()
/fs/fuse/
Dfuse_i.h918 gfp_t gfp_flags);
Ddev.c544 gfp_t gfp_flags) in fuse_simple_background() argument
550 req = fuse_request_alloc(gfp_flags); in fuse_simple_background()
/fs/f2fs/
Ddata.c2018 gfp_t gfp_flags = GFP_NOFS; in encrypt_one_page() local
2032 gfp_flags); in encrypt_one_page()
2038 gfp_flags |= __GFP_NOFAIL; in encrypt_one_page()

12