/kernel/linux/linux-5.10/fs/nfs/ |
D | direct.c | 102 static void nfs_direct_write_complete(struct nfs_direct_req *dreq); 105 static inline void get_dreq(struct nfs_direct_req *dreq) in get_dreq() argument 107 atomic_inc(&dreq->io_count); in get_dreq() 110 static inline int put_dreq(struct nfs_direct_req *dreq) in put_dreq() argument 112 return atomic_dec_and_test(&dreq->io_count); in put_dreq() 116 nfs_direct_handle_truncated(struct nfs_direct_req *dreq, in nfs_direct_handle_truncated() argument 123 if (dreq->max_count >= dreq_len) { in nfs_direct_handle_truncated() 124 dreq->max_count = dreq_len; in nfs_direct_handle_truncated() 125 if (dreq->count > dreq_len) in nfs_direct_handle_truncated() 126 dreq->count = dreq_len; in nfs_direct_handle_truncated() [all …]
|
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 …]
|
D | dns_resolve.c | 284 struct nfs_cache_defer_req *dreq) in do_cache_lookup() argument 290 ret = cache_check(cd, &(*item)->h, &dreq->req); in do_cache_lookup() 326 struct nfs_cache_defer_req *dreq; in do_cache_lookup_wait() local 329 dreq = nfs_cache_defer_req_alloc(); in do_cache_lookup_wait() 330 if (!dreq) in do_cache_lookup_wait() 332 ret = do_cache_lookup(cd, key, item, dreq); in do_cache_lookup_wait() 334 ret = nfs_cache_wait_for_upcall(dreq); in do_cache_lookup_wait() 338 nfs_cache_defer_req_put(dreq); in do_cache_lookup_wait()
|
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);
|
D | write.c | 911 cinfo->dreq = NULL; in nfs_init_cinfo_from_inode() 917 struct nfs_direct_req *dreq) in nfs_init_cinfo() argument 919 if (dreq) in nfs_init_cinfo() 920 nfs_init_cinfo_from_dreq(cinfo, dreq); in nfs_init_cinfo() 1039 if ((ret == max) && !cinfo->dreq) in nfs_scan_commit_list() 1740 data->dreq = cinfo->dreq; in nfs_init_commit() 1765 if (!cinfo->dreq) in nfs_retry_commit() 1870 nfs_init_cinfo(&cinfo, data->inode, data->dreq); in nfs_commit_release_pages()
|
D | internal.h | 535 struct nfs_direct_req *dreq); 607 struct nfs_direct_req *dreq); 608 extern ssize_t nfs_dreq_bytes_left(struct nfs_direct_req *dreq); 716 if (!cinfo->dreq) { in nfs_mark_page_unstable()
|
D | pagelist.c | 70 hdr->dreq = desc->pg_dreq; in nfs_pgheader_init() 1370 desc->pg_dreq = hdr->dreq; in nfs_pageio_resend()
|
/kernel/linux/linux-5.10/net/dccp/ |
D | minisocks.c | 90 struct dccp_request_sock *dreq = dccp_rsk(req); in dccp_create_openreq_child() local 99 newdp->dccps_service = dreq->dreq_service; in dccp_create_openreq_child() 100 newdp->dccps_timestamp_echo = dreq->dreq_timestamp_echo; in dccp_create_openreq_child() 101 newdp->dccps_timestamp_time = dreq->dreq_timestamp_time; in dccp_create_openreq_child() 116 newdp->dccps_iss = dreq->dreq_iss; in dccp_create_openreq_child() 117 newdp->dccps_gss = dreq->dreq_gss; in dccp_create_openreq_child() 119 newdp->dccps_isr = dreq->dreq_isr; in dccp_create_openreq_child() 120 newdp->dccps_gsr = dreq->dreq_gsr; in dccp_create_openreq_child() 125 if (dccp_feat_activate_values(newsk, &dreq->dreq_featneg)) { in dccp_create_openreq_child() 146 struct dccp_request_sock *dreq = dccp_rsk(req); in dccp_check_req() local [all …]
|
D | options.c | 48 int dccp_parse_options(struct sock *sk, struct dccp_request_sock *dreq, in dccp_parse_options() argument 99 if (dreq != NULL && (opt >= DCCPO_MIN_RX_CCID_SPECIFIC || in dccp_parse_options() 125 rc = dccp_feat_parse_options(sk, dreq, mandatory, opt, in dccp_parse_options() 144 if (dreq != NULL) { in dccp_parse_options() 145 dreq->dreq_timestamp_echo = ntohl(opt_val); in dccp_parse_options() 146 dreq->dreq_timestamp_time = dccp_timestamp(); in dccp_parse_options() 353 struct dccp_request_sock *dreq, in dccp_insert_option_timestamp_echo() argument 360 if (dreq != NULL) { in dccp_insert_option_timestamp_echo() 361 elapsed_time = dccp_timestamp() - dreq->dreq_timestamp_time; in dccp_insert_option_timestamp_echo() 362 tstamp_echo = htonl(dreq->dreq_timestamp_echo); in dccp_insert_option_timestamp_echo() [all …]
|
D | output.c | 394 struct dccp_request_sock *dreq; in dccp_make_response() local 413 dreq = dccp_rsk(req); in dccp_make_response() 415 dccp_inc_seqno(&dreq->dreq_gss); in dccp_make_response() 417 DCCP_SKB_CB(skb)->dccpd_seq = dreq->dreq_gss; in dccp_make_response() 420 if (dccp_feat_server_ccid_dependencies(dreq)) in dccp_make_response() 423 if (dccp_insert_options_rsk(dreq, skb)) in dccp_make_response() 435 dccp_hdr_set_seq(dh, dreq->dreq_gss); in dccp_make_response() 436 dccp_hdr_set_ack(dccp_hdr_ack_bits(skb), dreq->dreq_gsr); in dccp_make_response() 437 dccp_hdr_response(skb)->dccph_resp_service = dreq->dreq_service; in dccp_make_response()
|
D | ipv4.c | 581 struct dccp_request_sock *dreq; in dccp_v4_conn_request() local 612 dreq = dccp_rsk(req); in dccp_v4_conn_request() 613 if (dccp_parse_options(sk, dreq, skb)) in dccp_v4_conn_request() 633 dreq->dreq_isr = dcb->dccpd_seq; in dccp_v4_conn_request() 634 dreq->dreq_gsr = dreq->dreq_isr; in dccp_v4_conn_request() 635 dreq->dreq_iss = dccp_v4_init_sequence(skb); in dccp_v4_conn_request() 636 dreq->dreq_gss = dreq->dreq_iss; in dccp_v4_conn_request() 637 dreq->dreq_service = service; in dccp_v4_conn_request()
|
D | ipv6.c | 310 struct dccp_request_sock *dreq; in dccp_v6_conn_request() local 348 dreq = dccp_rsk(req); in dccp_v6_conn_request() 349 if (dccp_parse_options(sk, dreq, skb)) in dccp_v6_conn_request() 381 dreq->dreq_isr = dcb->dccpd_seq; in dccp_v6_conn_request() 382 dreq->dreq_gsr = dreq->dreq_isr; in dccp_v6_conn_request() 383 dreq->dreq_iss = dccp_v6_init_sequence(skb); in dccp_v6_conn_request() 384 dreq->dreq_gss = dreq->dreq_iss; in dccp_v6_conn_request() 385 dreq->dreq_service = service; in dccp_v6_conn_request()
|
D | feat.c | 633 int dccp_feat_insert_opts(struct dccp_sock *dp, struct dccp_request_sock *dreq, in dccp_feat_insert_opts() argument 636 struct list_head *fn = dreq ? &dreq->dreq_featneg : &dp->dccps_featneg; in dccp_feat_insert_opts() 1002 int dccp_feat_server_ccid_dependencies(struct dccp_request_sock *dreq) in dccp_feat_server_ccid_dependencies() argument 1004 struct list_head *fn = &dreq->dreq_featneg; in dccp_feat_server_ccid_dependencies() 1398 int dccp_feat_parse_options(struct sock *sk, struct dccp_request_sock *dreq, in dccp_feat_parse_options() argument 1402 struct list_head *fn = dreq ? &dreq->dreq_featneg : &dp->dccps_featneg; in dccp_feat_parse_options()
|
D | dccp.h | 461 int dccp_feat_server_ccid_dependencies(struct dccp_request_sock *dreq);
|
/kernel/linux/linux-5.10/drivers/crypto/marvell/cesa/ |
D | tdma.c | 37 void mv_cesa_dma_step(struct mv_cesa_req *dreq) in mv_cesa_dma_step() argument 39 struct mv_cesa_engine *engine = dreq->engine; in mv_cesa_dma_step() 51 writel_relaxed(dreq->chain.first->cur_dma, in mv_cesa_dma_step() 58 void mv_cesa_dma_cleanup(struct mv_cesa_req *dreq) in mv_cesa_dma_cleanup() argument 62 for (tdma = dreq->chain.first; tdma;) { in mv_cesa_dma_cleanup() 75 dreq->chain.first = NULL; in mv_cesa_dma_cleanup() 76 dreq->chain.last = NULL; in mv_cesa_dma_cleanup() 79 void mv_cesa_dma_prepare(struct mv_cesa_req *dreq, in mv_cesa_dma_prepare() argument 84 for (tdma = dreq->chain.first; tdma; tdma = tdma->next) { in mv_cesa_dma_prepare() 97 struct mv_cesa_req *dreq) in mv_cesa_tdma_chain() argument [all …]
|
D | cesa.h | 822 void mv_cesa_dma_step(struct mv_cesa_req *dreq); 824 static inline int mv_cesa_dma_process(struct mv_cesa_req *dreq, in mv_cesa_dma_process() argument 836 void mv_cesa_dma_prepare(struct mv_cesa_req *dreq, 838 void mv_cesa_dma_cleanup(struct mv_cesa_req *dreq); 840 struct mv_cesa_req *dreq);
|
/kernel/linux/linux-5.10/net/sunrpc/ |
D | cache.c | 583 static void __unhash_deferred_req(struct cache_deferred_req *dreq) in __unhash_deferred_req() argument 585 hlist_del_init(&dreq->hash); in __unhash_deferred_req() 586 if (!list_empty(&dreq->recent)) { in __unhash_deferred_req() 587 list_del_init(&dreq->recent); in __unhash_deferred_req() 592 static void __hash_deferred_req(struct cache_deferred_req *dreq, struct cache_head *item) in __hash_deferred_req() argument 596 INIT_LIST_HEAD(&dreq->recent); in __hash_deferred_req() 597 hlist_add_head(&dreq->hash, &cache_defer_hash[hash]); in __hash_deferred_req() 600 static void setup_deferral(struct cache_deferred_req *dreq, in setup_deferral() argument 605 dreq->item = item; in setup_deferral() 609 __hash_deferred_req(dreq, item); in setup_deferral() [all …]
|
D | svc_xprt.c | 1138 static void svc_revisit(struct cache_deferred_req *dreq, int too_many) in svc_revisit() argument 1141 container_of(dreq, struct svc_deferred_req, handle); in svc_revisit()
|
/kernel/linux/linux-5.10/drivers/s390/block/ |
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()
|
/kernel/linux/linux-5.10/drivers/dma/ |
D | bcm2835-dma.c | 72 unsigned int dreq; member 659 if (c->dreq != 0) in bcm2835_dma_prep_slave_sg() 660 info |= BCM2835_DMA_PER_MAP(c->dreq); in bcm2835_dma_prep_slave_sg() 733 if (c->dreq != 0) in bcm2835_dma_prep_dma_cyclic() 734 info |= BCM2835_DMA_PER_MAP(c->dreq); in bcm2835_dma_prep_dma_cyclic() 873 to_bcm2835_dma_chan(chan)->dreq = spec->args[0]; in bcm2835_dma_xlate()
|
/kernel/linux/linux-5.10/fs/nilfs2/ |
D | btree.c | 1738 union nilfs_bmap_ptr_req *dreq, in nilfs_btree_prepare_convert_and_insert() argument 1752 dreq->bpr_ptr = nilfs_btree_find_target_v(btree, NULL, key); in nilfs_btree_prepare_convert_and_insert() 1760 ret = nilfs_bmap_prepare_alloc_ptr(btree, dreq, dat); in nilfs_btree_prepare_convert_and_insert() 1767 nreq->bpr_ptr = dreq->bpr_ptr + 1; in nilfs_btree_prepare_convert_and_insert() 1787 nilfs_bmap_abort_alloc_ptr(btree, dreq, dat); in nilfs_btree_prepare_convert_and_insert() 1798 union nilfs_bmap_ptr_req *dreq, in nilfs_btree_commit_convert_and_insert() argument 1818 nilfs_bmap_commit_alloc_ptr(btree, dreq, dat); in nilfs_btree_commit_convert_and_insert() 1825 nilfs_btree_node_insert(node, n, key, dreq->bpr_ptr, ncblk); in nilfs_btree_commit_convert_and_insert() 1840 nilfs_bmap_commit_alloc_ptr(btree, dreq, dat); in nilfs_btree_commit_convert_and_insert() 1847 nilfs_btree_node_insert(node, n, key, dreq->bpr_ptr, in nilfs_btree_commit_convert_and_insert() [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/dma/ |
D | st_fdma.txt | 51 -bit 2-0: Holdoff value, dreq will be masked for
|
/kernel/linux/linux-5.10/include/linux/ |
D | dccp.h | 180 extern int dccp_parse_options(struct sock *sk, struct dccp_request_sock *dreq,
|
D | nfs_xdr.h | 1600 struct nfs_direct_req *dreq; member 1641 struct nfs_direct_req *dreq; /* O_DIRECT request */ member 1653 struct nfs_direct_req *dreq; /* O_DIRECT request */ member
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | cm_trace.h | 183 DEFINE_CM_SEND_EVENT(dreq);
|