| /linux/fs/nfs/ |
| H A D | direct.c | 72 static void nfs_direct_write_complete(struct nfs_direct_req *dreq); 75 static inline void get_dreq(struct nfs_direct_req *dreq) in get_dreq() argument 77 atomic_inc(&dreq->io_count); in get_dreq() 80 static inline int put_dreq(struct nfs_direct_req *dreq) in put_dreq() argument 82 return atomic_dec_and_test(&dreq->io_count); in put_dreq() 86 nfs_direct_handle_truncated(struct nfs_direct_req *dreq, in nfs_direct_handle_truncated() argument 93 if (dreq->max_count >= dreq_len) { in nfs_direct_handle_truncated() 94 dreq->max_count = dreq_len; in nfs_direct_handle_truncated() 95 if (dreq->count > dreq_len) in nfs_direct_handle_truncated() 96 dreq->count = dreq_len; in nfs_direct_handle_truncated() [all …]
|
| H A D | cache_lib.c | 68 void nfs_cache_defer_req_put(struct nfs_cache_defer_req *dreq) in nfs_cache_defer_req_put() argument 70 if (refcount_dec_and_test(&dreq->count)) in nfs_cache_defer_req_put() 71 kfree(dreq); in nfs_cache_defer_req_put() 76 struct nfs_cache_defer_req *dreq; in nfs_dns_cache_revisit() local 78 dreq = container_of(d, struct nfs_cache_defer_req, deferred_req); in nfs_dns_cache_revisit() 80 complete(&dreq->completion); in nfs_dns_cache_revisit() 81 nfs_cache_defer_req_put(dreq); in nfs_dns_cache_revisit() 86 struct nfs_cache_defer_req *dreq; in nfs_dns_cache_defer() local 88 dreq = container_of(req, struct nfs_cache_defer_req, req); in nfs_dns_cache_defer() 89 dreq->deferred_req.revisit = nfs_dns_cache_revisit; in nfs_dns_cache_defer() [all …]
|
| H A D | cache_lib.h | 24 extern void nfs_cache_defer_req_put(struct nfs_cache_defer_req *dreq); 25 extern int nfs_cache_wait_for_upcall(struct nfs_cache_defer_req *dreq);
|
| H A D | write.c | 843 cinfo->dreq = NULL; in nfs_init_cinfo_from_inode() 849 struct nfs_direct_req *dreq) in nfs_init_cinfo() argument 851 if (dreq) in nfs_init_cinfo() 852 nfs_init_cinfo_from_dreq(cinfo, dreq); in nfs_init_cinfo() 978 if ((ret == max) && !cinfo->dreq) in nfs_scan_commit_list() 1722 data->dreq = cinfo->dreq; in nfs_init_commit() 1858 nfs_init_cinfo(&cinfo, data->inode, data->dreq); in nfs_commit_release_pages()
|
| H A D | internal.h | 638 struct nfs_direct_req *dreq); 740 struct nfs_direct_req *dreq); 741 extern ssize_t nfs_dreq_bytes_left(struct nfs_direct_req *dreq, loff_t offset); 864 if (folio && !cinfo->dreq) { in nfs_folio_mark_unstable()
|
| H A D | nfstrace.h | 1684 const struct nfs_direct_req *dreq 1687 TP_ARGS(dreq), 1700 const struct inode *inode = dreq->inode; 1707 __entry->offset = dreq->io_start; 1708 __entry->count = dreq->count; 1709 __entry->error = dreq->error; 1710 __entry->flags = dreq->flags; 1728 const struct nfs_direct_req *dreq \ 1730 TP_ARGS(dreq))
|
| H A D | nfs4proc.c | 5825 if (hdr->ds_clp != NULL || hdr->dreq != NULL) in nfs4_write_need_cache_consistency_data()
|
| /linux/net/dccp/ |
| H A D | minisocks.c | |
| H A D | options.c | |
| H A D | output.c | |
| H A D | ipv4.c | |
| H A D | ipv6.c | |
| H A D | feat.c | |
| H A D | dccp.h | |
| /linux/net/sunrpc/ |
| H A D | cache.c | 603 static void __unhash_deferred_req(struct cache_deferred_req *dreq) in __unhash_deferred_req() argument 605 hlist_del_init(&dreq->hash); in __unhash_deferred_req() 606 if (!list_empty(&dreq->recent)) { in __unhash_deferred_req() 607 list_del_init(&dreq->recent); in __unhash_deferred_req() 612 static void __hash_deferred_req(struct cache_deferred_req *dreq, struct cache_head *item) in __hash_deferred_req() argument 616 INIT_LIST_HEAD(&dreq->recent); in __hash_deferred_req() 617 hlist_add_head(&dreq->hash, &cache_defer_hash[hash]); in __hash_deferred_req() 620 static void setup_deferral(struct cache_deferred_req *dreq, in setup_deferral() argument 625 dreq->item = item; in setup_deferral() 629 __hash_deferred_req(dreq, item); in setup_deferral() [all …]
|
| H A D | svc_xprt.c | 1247 static void svc_revisit(struct cache_deferred_req *dreq, int too_many) in svc_revisit() argument 1250 container_of(dreq, struct svc_deferred_req, handle); in svc_revisit()
|
| /linux/drivers/s390/block/ |
| H A D | dasd_diag.c | 168 struct dasd_diag_req *dreq; in dasd_start_diag() local 179 dreq = cqr->data; in dasd_start_diag() 184 private->iob.block_count = dreq->block_count; in dasd_start_diag() 186 private->iob.bio_list = dreq->bio; in dasd_start_diag() 513 struct dasd_diag_req *dreq; in dasd_diag_build_cp() local 546 cqr = dasd_smalloc_request(DASD_DIAG_MAGIC, 0, struct_size(dreq, bio, count), in dasd_diag_build_cp() 551 dreq = (struct dasd_diag_req *) cqr->data; in dasd_diag_build_cp() 552 dreq->block_count = count; in dasd_diag_build_cp() 553 dbio = dreq->bio; in dasd_diag_build_cp()
|
| /linux/drivers/dma/ |
| H A D | bcm2835-dma.c | 72 unsigned int dreq; member 642 if (c->dreq != 0) in bcm2835_dma_prep_slave_sg() 643 info |= BCM2835_DMA_PER_MAP(c->dreq); in bcm2835_dma_prep_slave_sg() 716 if (c->dreq != 0) in bcm2835_dma_prep_dma_cyclic() 717 info |= BCM2835_DMA_PER_MAP(c->dreq); in bcm2835_dma_prep_dma_cyclic() 856 to_bcm2835_dma_chan(chan)->dreq = spec->args[0]; in bcm2835_dma_xlate()
|
| /linux/Documentation/devicetree/bindings/dma/ |
| H A D | st_fdma.txt | 51 -bit 2-0: Holdoff value, dreq will be masked for
|
| /linux/drivers/infiniband/core/ |
| H A D | cm_trace.h | 183 DEFINE_CM_SEND_EVENT(dreq);
|
| /linux/include/linux/ |
| H A D | nfs_xdr.h | 1671 struct nfs_direct_req *dreq; member 1716 struct nfs_direct_req *dreq; /* O_DIRECT request */ member 1728 struct nfs_direct_req *dreq; /* O_DIRECT request */ member
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_nix.c | 6424 struct nix_mcast_grp_destroy_req dreq = { 0 }; in rvu_nix_mcast_flr_free_entries() local 6450 dreq.hdr.pcifunc = elem->pcifunc; in rvu_nix_mcast_flr_free_entries() 6451 dreq.mcast_grp_idx = elem->mcast_grp_idx; in rvu_nix_mcast_flr_free_entries() 6452 dreq.is_af = 1; in rvu_nix_mcast_flr_free_entries() 6453 rvu_mbox_handler_nix_mcast_grp_destroy(rvu, &dreq, NULL); in rvu_nix_mcast_flr_free_entries() 6604 struct nix_mcast_grp_destroy_req dreq = { 0 }; in rvu_mbox_handler_nix_mcast_grp_update() local 6642 dreq.hdr.pcifunc = elem->pcifunc; in rvu_mbox_handler_nix_mcast_grp_update() 6643 dreq.mcast_grp_idx = elem->mcast_grp_idx; in rvu_mbox_handler_nix_mcast_grp_update() 6644 dreq.is_af = 1; in rvu_mbox_handler_nix_mcast_grp_update() 6645 rvu_mbox_handler_nix_mcast_grp_destroy(rvu, &dreq, NULL); in rvu_mbox_handler_nix_mcast_grp_update()
|