1XDR_COMMIT_ENCODE(9)           Linux Networking           XDR_COMMIT_ENCODE(9)
2
3
4

NAME

6       xdr_commit_encode - Ensure all data is written to buffer
7

SYNOPSIS

9       void xdr_commit_encode(struct xdr_stream * xdr);
10

ARGUMENTS

12       xdr
13           pointer to xdr_stream
14

DESCRIPTION

16       We handle encoding across page boundaries by giving the caller a
17       temporary location to write to, then later copying the data into place;
18       xdr_commit_encode does that copying.
19
20       Normally the caller doesn't need to call this directly, as the
21       following xdr_reserve_space will do it. But an explicit call may be
22       required at the end of encoding, or any other time when the xdr_buf
23       data might be read.
24
26Kernel Hackers Manual 3.10         June 2019              XDR_COMMIT_ENCODE(9)
Impressum