summaryrefslogtreecommitdiff
path: root/net/sunrpc/xdr.c
AgeCommit message (Expand)AuthorFilesLines
2021-06-14sunrpc: Avoid a KASAN slab-out-of-bounds bug in xdr_set_page_base()Anna Schumaker1-4/+3
2020-12-17Merge tag 'nfs-for-5.11-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-302/+515
2020-12-14SUNRPC: When expanding the buffer, we may need grow the sparse pagesTrond Myklebust1-2/+33
2020-12-14SUNRPC: Cleanup - constify a number of xdr_buf helpersTrond Myklebust1-29/+24
2020-12-14SUNRPC: Clean up open coded setting of the xdr_stream 'nwords' fieldTrond Myklebust1-13/+16
2020-12-14SUNRPC: _copy_to/from_pages() now check for zero lengthTrond Myklebust1-4/+2
2020-12-14SUNRPC: Cleanup xdr_shrink_bufhead()Trond Myklebust1-77/+87
2020-12-14SUNRPC: Fix xdr_expand_hole()Trond Myklebust1-95/+179
2020-12-14SUNRPC: Fixes for xdr_align_data()Trond Myklebust1-42/+132
2020-12-14SUNRPC: _shift_data_left/right_pages should check the shift lengthTrond Myklebust1-0/+12
2020-12-02SUNRPC: Fix open coded xdr_stream_remaining()Trond Myklebust1-2/+2
2020-12-02SUNRPC: Fix up xdr_set_page()Trond Myklebust1-9/+12
2020-12-02SUNRPC: Clean up the handling of page padding in rpc_prepare_reply_pages()Trond Myklebust1-3/+0
2020-12-02SUNRPC: Fix up xdr_read_pages() to take arbitrary object lengthsTrond Myklebust1-26/+15
2020-12-02SUNRPC: Clean up helpers xdr_set_iov() and xdr_set_page_base()Trond Myklebust1-17/+19
2020-12-02SUNRPC: Fix up typo in xdr_init_decode()Trond Myklebust1-1/+1
2020-12-02SUNRPC: Fix up open coded kmemdup_nul()Trond Myklebust1-3/+1
2020-11-30NFSD: Replace the internals of the READ_BUF() macroChuck Lever1-0/+45
2020-11-30SUNRPC: Add xdr_set_scratch_page() and xdr_reset_scratch_buffer()Chuck Lever1-24/+4
2020-11-30SUNRPC: Adjust synopsis of xdr_buf_subsegment()Chuck Lever1-3/+2
2020-10-22Merge tag 'nfsd-5.10' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-1/+46
2020-10-07SUNRPC: Add an xdr_align_data() functionAnna Schumaker1-0/+121
2020-10-07SUNRPC: Add the ability to expand holes in data pagesAnna Schumaker1-0/+69
2020-10-07SUNRPC: Split out _shift_data_right_tail()Anna Schumaker1-27/+41
2020-10-07SUNRPC: Split out xdr_realign_pages() from xdr_align_pages()Anna Schumaker1-7/+14
2020-10-07SUNRPC: Implement a xdr_page_pos() functionAnna Schumaker1-0/+13
2020-10-07SUNRPC: Split out a function for setting current pageAnna Schumaker1-4/+9
2020-09-26SUNRPC/NFSD: Implement xdr_reserve_space_vec()Anna Schumaker1-0/+45
2020-09-26net: sunrpc: delete repeated wordsRandy Dunlap1-1/+1
2020-06-26SUNRPC: Properly set the @subbuf parameter of xdr_buf_subsegment()Chuck Lever1-0/+4
2020-04-27SUNRPC: Revert 241b1f419f0e ("SUNRPC: Remove xdr_buf_trim()")Chuck Lever1-0/+41
2020-03-16SUNRPC: Remove xdr_buf_read_mic()Chuck Lever1-55/+0
2020-01-15SUNRPC: constify copied structureJulia Lawall1-1/+1
2019-11-18SUNRPC: Fix another issue with MIC buffer spaceChuck Lever1-6/+5
2019-09-20SUNRPC: Rename xdr_buf_read_netobj to xdr_buf_read_micBenjamin Coddington1-22/+30
2019-09-20SUNRPC: Fix buffer handling of GSS MIC without slackBenjamin Coddington1-9/+18
2019-08-20SUNRPC: Inline xdr_commit_encodeChuck Lever1-1/+1
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-02-14NFS: Account for XDR pad of buf->pagesChuck Lever1-0/+2
2019-02-14SUNRPC: Introduce rpc_prepare_reply_pages()Chuck Lever1-0/+9
2019-02-14SUNRPC: Remove xdr_buf_trim()Chuck Lever1-41/+0
2019-02-13SUNRPC: Add trace event that reports reply page vector alignmentChuck Lever1-6/+27
2019-02-13SUNRPC: Add XDR overflow trace eventChuck Lever1-7/+17
2019-02-13SUNRPC: Add xdr_stream::rqst fieldChuck Lever1-3/+9
2018-11-08SUNRPC: drop pointless static qualifier in xdr_get_next_encode_buffer()YueHaibing1-1/+1
2018-11-05sunrpc: correct the computation for page_ptr when truncatingFrank Sorenson1-3/+2
2018-09-30SUNRPC: Add a bvec array to struct xdr_buf for use with iovec_iter()Trond Myklebust1-0/+34
2018-04-10SUNRPC: Add helpers for decoding opaque and string typesTrond Myklebust1-0/+82
2017-04-25sunrpc: Fix xdr_init_decode_pages() documenting commentChuck Lever1-1/+1
2017-02-22SUNRPC: Add a helper function xdr_stream_decode_string_dup()Trond Myklebust1-0/+34