Lines Matching defs:string
13 #include <linux/string.h>
99 xdr_encode_string(__be32 *p, const char *string)
101 return xdr_encode_array(p, string, strlen(string));
121 * xdr_terminate_string - '\0'-terminate a string residing in an xdr_buf
122 * @buf: XDR buffer where string resides
123 * @len: length of string, in bytes
2299 * xdr_stream_decode_string - Decode variable length string
2301 * @str: location to store string
2305 * On success, returns length of NUL-terminated string stored in *@str
2326 * xdr_stream_decode_string_dup - Decode and duplicate variable length string
2328 * @str: location to store pointer to string
2329 * @maxlen: maximum acceptable string length
2333 * On success, returns length of NUL-terminated string stored in *@ptr
2335 * %-EMSGSIZE if the size of the string would exceed @maxlen