/fs/crypto/ |
D | crypto.c | 98 struct fscrypt_ctx *fscrypt_get_ctx(const struct inode *inode, gfp_t gfp_flags) in fscrypt_get_ctx() argument 124 ctx = kmem_cache_zalloc(fscrypt_ctx_cachep, gfp_flags); in fscrypt_get_ctx() 139 unsigned int offs, gfp_t gfp_flags) in fscrypt_do_page_crypto() argument 164 req = skcipher_request_alloc(tfm, gfp_flags); in fscrypt_do_page_crypto() 196 gfp_t gfp_flags) in fscrypt_alloc_bounce_page() argument 198 ctx->w.bounce_page = mempool_alloc(fscrypt_bounce_page_pool, gfp_flags); in fscrypt_alloc_bounce_page() 240 u64 lblk_num, gfp_t gfp_flags) in fscrypt_encrypt_page() argument 253 gfp_flags); in fscrypt_encrypt_page() 262 ctx = fscrypt_get_ctx(inode, gfp_flags); in fscrypt_encrypt_page() 267 ciphertext_page = fscrypt_alloc_bounce_page(ctx, gfp_flags); in fscrypt_encrypt_page() [all …]
|
D | fscrypt_private.h | 104 gfp_t gfp_flags); 106 gfp_t gfp_flags);
|
/fs/nfs/filelayout/ |
D | filelayoutdev.c | 64 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()
|
D | filelayout.c | 576 gfp_t gfp_flags) in filelayout_check_layout() argument 606 lo->plh_lc_cred, gfp_flags); in filelayout_check_layout() 661 gfp_t gfp_flags) in filelayout_decode_layout() argument 672 scratch = alloc_page(gfp_flags); in filelayout_decode_layout() 714 gfp_flags); in filelayout_decode_layout() 721 fl->fh_array[i] = kmalloc(sizeof(struct nfs_fh), gfp_flags); in filelayout_decode_layout() 773 gfp_t gfp_flags) in filelayout_alloc_commit_info() argument 796 gfp_flags); in filelayout_alloc_commit_info() 830 gfp_t gfp_flags) in filelayout_alloc_lseg() argument 837 fl = kzalloc(sizeof(*fl), gfp_flags); in filelayout_alloc_lseg() [all …]
|
D | filelayout.h | 113 struct pnfs_device *pdev, gfp_t gfp_flags);
|
/fs/nfs/objlayout/ |
D | objio_osd.c | 89 gfp_t gfp_flags) in objio_alloc_deviceid_node() argument 99 deviceaddr = kzalloc(sizeof(*deviceaddr), gfp_flags); in objio_alloc_deviceid_node() 143 ode = kzalloc(sizeof(*ode), gfp_flags); in objio_alloc_deviceid_node() 174 static int __alloc_objio_seg(unsigned numdevs, gfp_t gfp_flags, in __alloc_objio_seg() argument 194 lseg = kzalloc(lseg_size, gfp_flags); in __alloc_objio_seg() 214 gfp_t gfp_flags) in objio_alloc_lseg() argument 228 err = __alloc_objio_seg(layout.olo_num_comps, gfp_flags, &objio_seg); in objio_alloc_lseg() 253 pnfslay->plh_lc_cred, gfp_flags); in objio_alloc_lseg() 296 loff_t offset, size_t count, void *rpcdata, gfp_t gfp_flags, in objio_alloc_io_state() argument 307 aos = kzalloc(sizeof(*aos), gfp_flags); in objio_alloc_io_state()
|
D | objlayout.h | 114 gfp_t gfp_flags); 156 extern struct pnfs_layout_hdr *objlayout_alloc_layout_hdr(struct inode *, gfp_t gfp_flags); 162 gfp_t gfp_flags);
|
D | objlayout.c | 51 objlayout_alloc_layout_hdr(struct inode *inode, gfp_t gfp_flags) in objlayout_alloc_layout_hdr() argument 55 objlay = kzalloc(sizeof(struct objlayout), gfp_flags); in objlayout_alloc_layout_hdr() 84 gfp_t gfp_flags) in objlayout_alloc_lseg() argument 99 scratch = alloc_page(gfp_flags); in objlayout_alloc_lseg() 106 status = objio_alloc_lseg(&lseg, pnfslay, &lgr->range, &stream, gfp_flags); in objlayout_alloc_lseg()
|
/fs/nfs/ |
D | pnfs.h | 127 struct pnfs_layout_hdr * (*alloc_layout_hdr) (struct inode *inode, gfp_t gfp_flags); 130 … (*alloc_lseg) (struct pnfs_layout_hdr *layoutid, struct nfs4_layoutget_res *lgr, gfp_t gfp_flags); 173 gfp_t gfp_flags); 232 …fs_layout_segment* nfs4_proc_layoutget(struct nfs4_layoutget *lgp, long *timeout, gfp_t gfp_flags); 295 gfp_t gfp_flags); 362 gfp_t gfp_flags); 370 gfp_t gfp_flags); 734 int pnfs_report_layoutstat(struct inode *inode, gfp_t gfp_flags); 737 pnfs_report_layoutstat(struct inode *inode, gfp_t gfp_flags) in pnfs_report_layoutstat() argument
|
D | pnfs_dev.c | 98 struct rpc_cred *cred, gfp_t gfp_flags) in nfs4_get_device_info() argument 119 pdev = kzalloc(sizeof(*pdev), gfp_flags); in nfs4_get_device_info() 123 pages = kcalloc(max_pages, sizeof(struct page *), gfp_flags); in nfs4_get_device_info() 128 pages[i] = alloc_page(gfp_flags); in nfs4_get_device_info() 151 gfp_flags); in nfs4_get_device_info()
|
D | pnfs_nfs.c | 489 nfs4_pnfs_remotestr(struct list_head *dsaddrs, gfp_t gfp_flags) in nfs4_pnfs_remotestr() argument 501 remotestr = kzalloc(len, gfp_flags); in nfs4_pnfs_remotestr() 538 nfs4_pnfs_ds_add(struct list_head *dsaddrs, gfp_t gfp_flags) in nfs4_pnfs_ds_add() argument 548 ds = kzalloc(sizeof(*ds), gfp_flags); in nfs4_pnfs_ds_add() 553 remotestr = nfs4_pnfs_remotestr(dsaddrs, gfp_flags); in nfs4_pnfs_ds_add() 790 nfs4_decode_mp_ds_addr(struct net *net, struct xdr_stream *xdr, gfp_t gfp_flags) in nfs4_decode_mp_ds_addr() argument 814 netid = kmalloc(nlen+1, gfp_flags); in nfs4_decode_mp_ds_addr() 837 buf = kmalloc(rlen + 1, gfp_flags); in nfs4_decode_mp_ds_addr() 863 da = kzalloc(sizeof(*da), gfp_flags); in nfs4_decode_mp_ds_addr() 910 da->da_remotestr = kzalloc(len, gfp_flags); in nfs4_decode_mp_ds_addr()
|
D | pnfs.c | 252 pnfs_alloc_layout_hdr(struct inode *ino, gfp_t gfp_flags) in pnfs_alloc_layout_hdr() argument 255 return ld->alloc_layout_hdr(ino, gfp_flags); in pnfs_alloc_layout_hdr() 891 long *timeout, gfp_t gfp_flags) in send_layoutget() argument 905 lgp = kzalloc(sizeof(*lgp), gfp_flags); in send_layoutget() 926 lgp->gfp_flags = gfp_flags; in send_layoutget() 929 return nfs4_proc_layoutget(lgp, timeout, gfp_flags); in send_layoutget() 1371 gfp_t gfp_flags) in alloc_init_layout_hdr() argument 1375 lo = pnfs_alloc_layout_hdr(ino, gfp_flags); in alloc_init_layout_hdr() 1391 gfp_t gfp_flags) in pnfs_find_alloc_layout() argument 1403 new = alloc_init_layout_hdr(ino, ctx, gfp_flags); in pnfs_find_alloc_layout() [all …]
|
D | pagelist.c | 33 gfp_t gfp_flags) in nfs_pgarray_set() argument 39 p->pagevec = kcalloc(pagecount, sizeof(struct page *), gfp_flags); in nfs_pgarray_set() 683 gfp_t gfp_flags = GFP_KERNEL; in nfs_pageio_init() local 704 gfp_flags = GFP_NOIO; in nfs_pageio_init() 706 sizeof(struct nfs_pgio_mirror), gfp_flags); in nfs_pageio_init() 760 gfp_t gfp_flags = GFP_KERNEL; in nfs_generic_pgio() local 764 gfp_flags = GFP_NOIO; in nfs_generic_pgio() 765 if (!nfs_pgarray_set(&hdr->page_array, pagecount, gfp_flags)) { in nfs_generic_pgio()
|
D | nfs4state.c | 477 gfp_t gfp_flags) in nfs4_alloc_state_owner() argument 481 sp = kzalloc(sizeof(*sp), gfp_flags); in nfs4_alloc_state_owner() 555 gfp_t gfp_flags) in nfs4_get_state_owner() argument 565 new = nfs4_alloc_state_owner(server, cred, gfp_flags); in nfs4_get_state_owner() 569 if (ida_pre_get(&server->openowner_id, gfp_flags) == 0) in nfs4_get_state_owner()
|
/fs/nfs/flexfilelayout/ |
D | flexfilelayoutdev.c | 40 gfp_t gfp_flags) in nfs4_ff_alloc_deviceid_node() argument 55 scratch = alloc_page(gfp_flags); in nfs4_ff_alloc_deviceid_node() 59 new_ds = kzalloc(sizeof(struct nfs4_ff_layout_ds), gfp_flags); in nfs4_ff_alloc_deviceid_node() 81 &stream, gfp_flags); in nfs4_ff_alloc_deviceid_node() 100 gfp_flags); in nfs4_ff_alloc_deviceid_node() 140 new_ds->ds = nfs4_pnfs_ds_add(&dsaddrs, gfp_flags); in nfs4_ff_alloc_deviceid_node() 277 gfp_t gfp_flags) in ff_layout_track_ds_error() argument 287 dserr = kmalloc(sizeof(*dserr), gfp_flags); in ff_layout_track_ds_error()
|
D | flexfilelayout.c | 35 ff_layout_alloc_layout_hdr(struct inode *inode, gfp_t gfp_flags) in ff_layout_alloc_layout_hdr() argument 39 ffl = kzalloc(sizeof(*ffl), gfp_flags); in ff_layout_alloc_layout_hdr() 206 static struct nfs4_ff_layout_mirror *ff_layout_alloc_mirror(gfp_t gfp_flags) in ff_layout_alloc_mirror() argument 210 mirror = kzalloc(sizeof(*mirror), gfp_flags); in ff_layout_alloc_mirror() 371 gfp_t gfp_flags) in ff_layout_alloc_lseg() argument 384 scratch = alloc_page(gfp_flags); in ff_layout_alloc_lseg() 408 fls = kzalloc(sizeof(*fls), gfp_flags); in ff_layout_alloc_lseg() 415 sizeof(fls->mirror_array[0]), gfp_flags); in ff_layout_alloc_lseg() 438 fls->mirror_array[i] = ff_layout_alloc_mirror(gfp_flags); in ff_layout_alloc_lseg() 453 gfp_flags); in ff_layout_alloc_lseg() [all …]
|
D | flexfilelayout.h | 176 gfp_t gfp_flags); 182 gfp_t gfp_flags);
|
/fs/afs/ |
D | file.c | 24 static int afs_releasepage(struct page *page, gfp_t gfp_flags); 356 static int afs_releasepage(struct page *page, gfp_t gfp_flags) in afs_releasepage() argument 363 gfp_flags); in afs_releasepage() 368 if (!fscache_maybe_release_page(vnode->cache, page, gfp_flags)) { in afs_releasepage()
|
/fs/nfs/blocklayout/ |
D | blocklayout.c | 453 gfp_t gfp_flags, bool is_scsi_layout) in __bl_alloc_layout_hdr() argument 458 bl = kzalloc(sizeof(*bl), gfp_flags); in __bl_alloc_layout_hdr() 471 gfp_t gfp_flags) in bl_alloc_layout_hdr() argument 473 return __bl_alloc_layout_hdr(inode, gfp_flags, false); in bl_alloc_layout_hdr() 477 gfp_t gfp_flags) in sl_alloc_layout_hdr() argument 479 return __bl_alloc_layout_hdr(inode, gfp_flags, true); in sl_alloc_layout_hdr()
|
/fs/ |
D | mpage.c | 107 gfp_t gfp_flags) in mpage_alloc() argument 112 gfp_flags &= GFP_KERNEL; in mpage_alloc() 113 bio = bio_alloc(gfp_flags, nr_vecs); in mpage_alloc() 117 bio = bio_alloc(gfp_flags, nr_vecs); in mpage_alloc()
|
D | buffer.c | 3381 struct buffer_head *alloc_buffer_head(gfp_t gfp_flags) in alloc_buffer_head() argument 3383 struct buffer_head *ret = kmem_cache_zalloc(bh_cachep, gfp_flags); in alloc_buffer_head()
|
/fs/ext4/ |
D | page-io.c | 469 gfp_t gfp_flags = GFP_NOFS; in ext4_bio_write_page() local 473 page->index, gfp_flags); in ext4_bio_write_page() 481 gfp_flags |= __GFP_NOFAIL; in ext4_bio_write_page()
|
/fs/btrfs/ |
D | compression.c | 98 u64 first_byte, gfp_t gfp_flags) in compressed_bio_alloc() argument 100 return btrfs_bio_alloc(bdev, first_byte >> 9, BIO_MAX_PAGES, gfp_flags); in compressed_bio_alloc()
|
D | extent_io.h | 443 gfp_t gfp_flags);
|
/fs/f2fs/ |
D | data.c | 1582 gfp_t gfp_flags = GFP_NOFS; in encrypt_one_page() local 1592 PAGE_SIZE, 0, fio->page->index, gfp_flags); in encrypt_one_page() 1600 gfp_flags |= __GFP_NOFAIL; in encrypt_one_page()
|