Lines Matching +full:implementation +full:- +full:defined

1 xdrgen - Linux Kernel XDR code generator
4 ------------
6 SunRPC programs are typically specified using a language defined by
7 RFC 4506. In fact, all IETF-published NFS specifications provide a
15 This RPC-level code is code that handles input directly from the
23 of the user space TI-RPC library and libc. Furthermore, the dialect
26 The Linux kernel's implementation of SunRPC-based protocols hand-roll
27 their XDR implementation. There are two main reasons for this:
30 kernel's RPC implementation and its API are significantly
33 2. rpcgen-generated code is believed to be less efficient than code
34 that is hand-written.
40 In addition, the current hand-written code in the Linux kernel is
44 In order to accrue the benefits of machine-generated XDR code in the
46 the kernel's SunRPC implementation rather than libtirpc.
52 ------------
56 - python3
57 - python3-lark
58 - python3-jinja2
62 - pip install 'lark[interegular]'
66 ------------------
68 When adding a new protocol implementation to the kernel, the XDR
76 ---------
79 header files containing an implementation of XDR encoding and
89 The files are ready to use for a server-side protocol implementation,
93 that appear directly in front of the public per-procedure APIs. For
94 deeper introspection, specifying the "--annotate" flag will insert
99 is tagged with a GPLv2-only license.
108 ------------
136 - Unused functions are discarded (ie, not added to the executable)
138 - Aggressive function inlining removes unnecessary stack frames
140 - Single-arm switch statements are replaced by a single conditional
147 -------
154 ------ ----------
159 is more efficient to avoid the byte-swap when encoding or decoding
160 on little-endian machines. Such is often the case with error status
168 non-byte-swapped value of that field.
171 ------ -------
177 automatically-generated functions might conflict or interfere with
178 the hand-rolled function. To avoid editing the generated source code
191 defined "static __maybe_unused", subsequent compilation
196 ------ ------
211 ------ ------
235 -----------
239 Generate client-side procedure functions
245 * @pages -- use xdr_read/write_pages() for the specified opaque
247 * @skip -- do not decode, but rather skip, the specified argument
253 Properly support line-by-line pass-through via the "%" decorator
258 Add a command-line option to insert trace_printk call sites in the