Lines Matching full:maxlen
57 * function may not return @maxlen even if there is enough space in the
62 * @maxlen: the number of bytes we want to write
67 int membuff_putraw(struct membuff *mb, int maxlen, bool update, char **data);
79 * @maxlen: maximum number of bytes to get
85 int membuff_getraw(struct membuff *mb, int maxlen, bool update, char **data);
117 * Copies any available data (up to @maxlen bytes) to @buff and removes it
122 * @maxlen: maximum number of bytes to read
125 int membuff_get(struct membuff *mb, char *buff, int maxlen);
188 * Reads a line of text of up to 'maxlen' characters from a membuff and puts
194 * @maxlen: Maximum line length (excluding terminator)
198 int membuff_readline(struct membuff *mb, char *str, int maxlen, int minch);