/kernel/linux/linux-6.6/net/sunrpc/xprtrdma/ |
H A D | svc_rdma_rw.c | 701 * %-EINVAL: there were not enough rq_pages to finish 731 sg_set_page(sg, rqstp->rq_pages[info->ri_pageno], in svc_rdma_build_read_segment() 744 &rqstp->rq_pages[info->ri_pageno + 1] > rqstp->rq_page_end) in svc_rdma_build_read_segment() 796 * Take a page at a time from rqstp->rq_pages and copy the inline 824 dst = page_address(rqstp->rq_pages[info->ri_pageno]); in svc_rdma_copy_inline_range() 895 buf->head[0].iov_base = page_address(info->ri_rqst->rq_pages[0]); in svc_rdma_read_multiple_chunks() 897 buf->pages = &info->ri_rqst->rq_pages[1]; in svc_rdma_read_multiple_chunks() 950 buf->pages = &info->ri_rqst->rq_pages[0]; in svc_rdma_read_data_item() 1088 buf->head[0].iov_base = page_address(info->ri_rqst->rq_pages[0]); in svc_rdma_read_special() 1090 buf->pages = &info->ri_rqst->rq_pages[ in svc_rdma_read_special() [all...] |
H A D | svc_rdma_recvfrom.c | 53 * free pages (rq_pages) that will contain the incoming RPC message. 63 * RDMA Reads using pages in svc_rqst::rq_pages, which are 87 * from rqstp::rq_pages into ctxt::pages. The consumed elements of 88 * the rq_pages array are set to NULL and refilled with the first 793 /* Prevent svc_xprt_release() from releasing pages in rq_pages in svc_rdma_recvfrom() 796 rqstp->rq_respages = rqstp->rq_pages; in svc_rdma_recvfrom()
|
/kernel/linux/linux-5.10/net/sunrpc/ |
H A D | svcsock.c | 248 * pages in @rqstp's rq_pages array until the last page of the message 267 bvec[i].bv_page = rqstp->rq_pages[i]; in svc_tcp_read_msg() 271 rqstp->rq_respages = &rqstp->rq_pages[i]; in svc_tcp_read_msg() 511 rqstp->rq_respages = rqstp->rq_pages+1; in svc_udp_recvfrom() 514 rqstp->rq_respages = rqstp->rq_pages + 1 + in svc_udp_recvfrom() 820 if (rqstp->rq_pages[i] != NULL) in svc_tcp_restore_pages() 821 put_page(rqstp->rq_pages[i]); in svc_tcp_restore_pages() 823 rqstp->rq_pages[i] = svsk->sk_pages[i]; in svc_tcp_restore_pages() 826 rqstp->rq_arg.head[0].iov_base = page_address(rqstp->rq_pages[0]); in svc_tcp_restore_pages() 839 svsk->sk_pages[i] = rqstp->rq_pages[ in svc_tcp_save_pages() [all...] |
H A D | svc_xprt.c | 658 while (rqstp->rq_pages[i] == NULL) { in svc_alloc_arg() 668 rqstp->rq_pages[i] = p; in svc_alloc_arg() 670 rqstp->rq_page_end = &rqstp->rq_pages[i]; in svc_alloc_arg() 671 rqstp->rq_pages[i++] = NULL; /* this might be seen in nfs_read_actor */ in svc_alloc_arg() 675 arg->head[0].iov_base = page_address(rqstp->rq_pages[0]); in svc_alloc_arg() 677 arg->pages = rqstp->rq_pages + 1; in svc_alloc_arg() 1233 rqstp->rq_respages = rqstp->rq_pages; in svc_deferred_recv()
|
H A D | svc.c | 584 rqstp->rq_pages[arghi++] = p; in svc_init_buffer() 598 for (i = 0; i < ARRAY_SIZE(rqstp->rq_pages); i++) in svc_release_buffer() 599 if (rqstp->rq_pages[i]) in svc_release_buffer() 600 put_page(rqstp->rq_pages[i]); in svc_release_buffer()
|
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/ |
H A D | svc_rdma_recvfrom.c | 53 * free pages (rq_pages) that will contain the incoming RPC message. 63 * RDMA Reads using pages in svc_rqst::rq_pages, which are 87 * from rqstp::rq_pages into ctxt::pages. The consumed elements of 88 * the rq_pages array are set to NULL and refilled with the first 701 put_page(rqstp->rq_pages[page_no]); in rdma_read_complete() 702 rqstp->rq_pages[page_no] = head->rc_pages[page_no]; in rdma_read_complete() 707 rqstp->rq_arg.pages = &rqstp->rq_pages[head->rc_hdr_count]; in rdma_read_complete() 711 rqstp->rq_respages = &rqstp->rq_pages[page_no]; in rdma_read_complete() 830 /* Prevent svc_xprt_release from releasing pages in rq_pages in svc_rdma_recvfrom() 833 rqstp->rq_respages = rqstp->rq_pages; in svc_rdma_recvfrom() [all...] |
H A D | svc_rdma_rw.c | 652 rqstp->rq_pages[info->ri_pageno]; in svc_rdma_build_read_segment() 656 sg_set_page(sg, rqstp->rq_pages[info->ri_pageno], in svc_rdma_build_read_segment() 669 &rqstp->rq_pages[info->ri_pageno + 1] > rqstp->rq_page_end) in svc_rdma_build_read_segment() 823 rqstp->rq_pages[i] = NULL; in svc_rdma_save_io_pages()
|
/kernel/linux/linux-5.10/include/uapi/rdma/ |
H A D | i40iw-abi.h | 86 __u16 rq_pages; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/ |
H A D | i40iw-abi.h | 57 __u16 rq_pages; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/ |
H A D | i40iw-abi.h | 45 __u16 rq_pages; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/rdma/ |
H A D | i40iw-abi.h | 57 __u16 rq_pages; member
|
/kernel/linux/linux-6.6/include/uapi/rdma/ |
H A D | irdma-abi.h | 82 __u16 rq_pages; member
|
/kernel/linux/linux-6.6/net/sunrpc/ |
H A D | svcsock.c | 298 * pages in @rqstp's rq_pages array until the last page of the message 315 bvec_set_page(&bvec[i], rqstp->rq_pages[i], PAGE_SIZE, 0); in svc_tcp_read_msg() 316 rqstp->rq_respages = &rqstp->rq_pages[i]; in svc_tcp_read_msg() 642 rqstp->rq_respages = rqstp->rq_pages+1; in svc_udp_recvfrom() 645 rqstp->rq_respages = rqstp->rq_pages + 1 + in svc_udp_recvfrom() 958 if (rqstp->rq_pages[i] != NULL) in svc_tcp_restore_pages() 959 put_page(rqstp->rq_pages[i]); in svc_tcp_restore_pages() 961 rqstp->rq_pages[i] = svsk->sk_pages[i]; in svc_tcp_restore_pages() 964 rqstp->rq_arg.head[0].iov_base = page_address(rqstp->rq_pages[0]); in svc_tcp_restore_pages() 977 svsk->sk_pages[i] = rqstp->rq_pages[ in svc_tcp_save_pages() [all...] |
H A D | svc.c | 617 rqstp->rq_pages); in svc_init_buffer() 629 for (i = 0; i < ARRAY_SIZE(rqstp->rq_pages); i++) in svc_release_buffer() 630 if (rqstp->rq_pages[i]) in svc_release_buffer() 631 put_page(rqstp->rq_pages[i]); in svc_release_buffer() 852 * svc_rqst_replace_page - Replace one page in rq_pages[] 856 * When replacing a page in rq_pages, batch the release of the 865 struct page **begin = rqstp->rq_pages; in svc_rqst_replace_page() 866 struct page **end = &rqstp->rq_pages[RPCSVC_MAXPAGES]; in svc_rqst_replace_page()
|
H A D | svc_xprt.c | 670 rqstp->rq_pages); in svc_alloc_arg() 683 rqstp->rq_page_end = &rqstp->rq_pages[pages]; in svc_alloc_arg() 684 rqstp->rq_pages[pages] = NULL; /* this might be seen in nfsd_splice_actor() */ in svc_alloc_arg() 687 arg->head[0].iov_base = page_address(rqstp->rq_pages[0]); in svc_alloc_arg() 689 arg->pages = rqstp->rq_pages + 1; in svc_alloc_arg() 1245 rqstp->rq_respages = rqstp->rq_pages; in svc_deferred_recv()
|
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | cifsencrypt.c | 78 /* now hash over the rq_pages array */ in __cifs_calc_signature() 85 kaddr = (char *) kmap(rqst->rq_pages[i]) + offset; in __cifs_calc_signature() 91 kunmap(rqst->rq_pages[i]); in __cifs_calc_signature() 95 kunmap(rqst->rq_pages[i]); in __cifs_calc_signature()
|
H A D | smb2ops.c | 4246 sg_set_page(sg++, rqst[i].rq_pages[j], len, off); in smb2_get_aead_req() 4374 if (rqst[i].rq_pages) { in smb3_free_compound_rqst() 4376 put_page(rqst[i].rq_pages[j]); in smb3_free_compound_rqst() 4377 kfree(rqst[i].rq_pages); in smb3_free_compound_rqst() 4413 new_rq[i].rq_pages = pages; in smb3_init_transform_rq() 4436 dst = (char *) kmap(new_rq[i].rq_pages[j]) + offset; in smb3_init_transform_rq() 4437 src = (char *) kmap(old_rq[i - 1].rq_pages[j]) + offset; in smb3_init_transform_rq() 4440 kunmap(new_rq[i].rq_pages[j]); in smb3_init_transform_rq() 4441 kunmap(old_rq[i - 1].rq_pages[j]); in smb3_init_transform_rq() 4485 rqst.rq_pages in decrypt_raw_data() [all...] |
H A D | transport.c | 402 bvec.bv_page = rqst[j].rq_pages[i]; in __smb_send_rqst()
|
H A D | cifsglob.h | 194 struct page **rq_pages; /* pointer to array of page ptrs */ member
|
H A D | smb2pdu.c | 3940 rqst.rq_pages = rdata->pages; in smb2_readv_callback() 4342 rqst.rq_pages = wdata->pages; in smb2_async_writev()
|
H A D | smbdirect.c | 2124 info, rqst->rq_pages[i], in smbd_send()
|
/kernel/linux/linux-5.10/include/linux/sunrpc/ |
H A D | svc.h | 251 struct page *rq_pages[RPCSVC_MAXPAGES + 1]; member 252 struct page * *rq_respages; /* points into rq_pages */
|
/kernel/linux/linux-6.6/include/linux/sunrpc/ |
H A D | svc.h | 211 struct page *rq_pages[RPCSVC_MAXPAGES + 1]; member 212 struct page * *rq_respages; /* points into rq_pages */
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/ |
H A D | i40iw_verbs.c | 1433 total = req->sq_pages + req->rq_pages + req->cq_pages; in i40iw_handle_q_mem() 1456 ret = i40iw_check_mem_contiguous(&arr[req->sq_pages], req->rq_pages, pg_size); in i40iw_handle_q_mem() 1791 use_pbles = ((req.sq_pages + req.rq_pages) > 2); in i40iw_reg_user_mr()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/ |
H A D | verbs.c | 2481 total = req->sq_pages + req->rq_pages; in irdma_handle_q_mem() 2490 req->rq_pages, in irdma_handle_q_mem() 2943 total = req.sq_pages + req.rq_pages + 1; in irdma_reg_user_mr_type_qp() 2947 total = req.sq_pages + req.rq_pages; in irdma_reg_user_mr_type_qp()
|