1*4b132aacSChuck Lever{# SPDX-License-Identifier: GPL-2.0 #} 2*4b132aacSChuck Lever 3*4b132aacSChuck Lever{% if annotate %} 4*4b132aacSChuck Lever/* enum {{ name }} */ 5*4b132aacSChuck Lever{% endif %} 6*4b132aacSChuck Lever{% if name in public_apis %} 7*4b132aacSChuck Leverbool 8*4b132aacSChuck Lever{% else %} 9*4b132aacSChuck Leverstatic bool __maybe_unused 10*4b132aacSChuck Lever{% endif %} 11*4b132aacSChuck Leverxdrgen_encode_{{ name }}(struct xdr_stream *xdr, enum {{ name }} value) 12*4b132aacSChuck Lever{ 13*4b132aacSChuck Lever return xdr_stream_encode_u32(xdr, value) == XDR_UNIT; 14*4b132aacSChuck Lever} 15