Searched refs:dreq (Results 1 – 11 of 11) sorted by relevance
/fs/nfs/ |
D | direct.c | 98 static void nfs_direct_write_complete(struct nfs_direct_req *dreq, struct inode *inode); 101 static inline void get_dreq(struct nfs_direct_req *dreq) in get_dreq() argument 103 atomic_inc(&dreq->io_count); in get_dreq() 106 static inline int put_dreq(struct nfs_direct_req *dreq) in put_dreq() argument 108 return atomic_dec_and_test(&dreq->io_count); in put_dreq() 120 nfs_direct_select_verf(struct nfs_direct_req *dreq, in nfs_direct_select_verf() argument 124 struct nfs_writeverf *verfp = &dreq->verf; in nfs_direct_select_verf() 129 if (ds_idx >= 0 && ds_idx < dreq->ds_cinfo.nbuckets) in nfs_direct_select_verf() 130 verfp = &dreq->ds_cinfo.buckets[ds_idx].direct_verf; in nfs_direct_select_verf() 146 static void nfs_direct_set_hdr_verf(struct nfs_direct_req *dreq, in nfs_direct_set_hdr_verf() argument [all …]
|
D | cache_lib.c | 67 void nfs_cache_defer_req_put(struct nfs_cache_defer_req *dreq) in nfs_cache_defer_req_put() argument 69 if (atomic_dec_and_test(&dreq->count)) in nfs_cache_defer_req_put() 70 kfree(dreq); in nfs_cache_defer_req_put() 75 struct nfs_cache_defer_req *dreq; in nfs_dns_cache_revisit() local 77 dreq = container_of(d, struct nfs_cache_defer_req, deferred_req); in nfs_dns_cache_revisit() 79 complete_all(&dreq->completion); in nfs_dns_cache_revisit() 80 nfs_cache_defer_req_put(dreq); in nfs_dns_cache_revisit() 85 struct nfs_cache_defer_req *dreq; in nfs_dns_cache_defer() local 87 dreq = container_of(req, struct nfs_cache_defer_req, req); in nfs_dns_cache_defer() 88 dreq->deferred_req.revisit = nfs_dns_cache_revisit; in nfs_dns_cache_defer() [all …]
|
D | dns_resolve.c | 273 struct nfs_cache_defer_req *dreq) in do_cache_lookup() argument 279 ret = cache_check(cd, &(*item)->h, &dreq->req); in do_cache_lookup() 315 struct nfs_cache_defer_req *dreq; in do_cache_lookup_wait() local 318 dreq = nfs_cache_defer_req_alloc(); in do_cache_lookup_wait() 319 if (!dreq) in do_cache_lookup_wait() 321 ret = do_cache_lookup(cd, key, item, dreq); in do_cache_lookup_wait() 323 ret = nfs_cache_wait_for_upcall(dreq); in do_cache_lookup_wait() 327 nfs_cache_defer_req_put(dreq); in do_cache_lookup_wait()
|
D | cache_lib.h | 23 extern void nfs_cache_defer_req_put(struct nfs_cache_defer_req *dreq); 24 extern int nfs_cache_wait_for_upcall(struct nfs_cache_defer_req *dreq);
|
D | write.c | 780 if (!cinfo->dreq) { in nfs_request_add_commit_list() 818 cinfo->dreq = NULL; in nfs_init_cinfo_from_inode() 824 struct nfs_direct_req *dreq) in nfs_init_cinfo() argument 826 if (dreq) in nfs_init_cinfo() 827 nfs_init_cinfo_from_dreq(cinfo, dreq); in nfs_init_cinfo() 933 if ((ret == max) && !cinfo->dreq) in nfs_scan_commit_list() 1539 data->dreq = cinfo->dreq; in nfs_init_commit() 1562 if (!cinfo->dreq) { in nfs_retry_commit() 1654 nfs_init_cinfo(&cinfo, data->inode, data->dreq); in nfs_commit_release_pages()
|
D | internal.h | 459 struct nfs_direct_req *dreq); 479 struct nfs_direct_req *dreq); 484 extern ssize_t nfs_dreq_bytes_left(struct nfs_direct_req *dreq);
|
D | pagelist.c | 54 hdr->dreq = desc->pg_dreq; in nfs_pgheader_init() 1026 desc->pg_dreq = hdr->dreq; in nfs_pageio_resend()
|
D | nfs4proc.c | 4230 if (hdr->ds_clp != NULL || hdr->dreq != NULL) in nfs4_write_need_cache_consistency_data()
|
/fs/nilfs2/ |
D | btree.c | 1672 union nilfs_bmap_ptr_req *dreq, in nilfs_btree_prepare_convert_and_insert() argument 1686 dreq->bpr_ptr = nilfs_btree_find_target_v(btree, NULL, key); in nilfs_btree_prepare_convert_and_insert() 1690 ret = nilfs_bmap_prepare_alloc_ptr(btree, dreq, dat); in nilfs_btree_prepare_convert_and_insert() 1697 nreq->bpr_ptr = dreq->bpr_ptr + 1; in nilfs_btree_prepare_convert_and_insert() 1717 nilfs_bmap_abort_alloc_ptr(btree, dreq, dat); in nilfs_btree_prepare_convert_and_insert() 1728 union nilfs_bmap_ptr_req *dreq, in nilfs_btree_commit_convert_and_insert() argument 1748 nilfs_bmap_commit_alloc_ptr(btree, dreq, dat); in nilfs_btree_commit_convert_and_insert() 1755 nilfs_btree_node_insert(node, n, key, dreq->bpr_ptr, ncblk); in nilfs_btree_commit_convert_and_insert() 1770 nilfs_bmap_commit_alloc_ptr(btree, dreq, dat); in nilfs_btree_commit_convert_and_insert() 1777 nilfs_btree_node_insert(node, n, key, dreq->bpr_ptr, in nilfs_btree_commit_convert_and_insert() [all …]
|
/fs/nfs/filelayout/ |
D | filelayout.c | 1075 if (!cinfo->dreq) { in filelayout_mark_request_commit() 1160 if ((ret == max) && !cinfo->dreq) in transfer_commit_list()
|
/fs/nfs/blocklayout/ |
D | blocklayout.c | 236 const bool is_dio = (header->dreq != NULL); in bl_read_pagelist()
|