Searched refs:buf_len (Results 1 – 1 of 1) sorted by relevance
28 static int buffer_read(char *buf, offset_t buf_len, char *out, in buffer_read() argument34 if (off >= buf_len) { in buffer_read()39 if (off + len > buf_len) { in buffer_read()40 memset(out + (buf_len - off), 0, len - (buf_len - off)); in buffer_read()41 len = buf_len - off; in buffer_read()44 assert(off < buf_len); in buffer_read()45 assert(off + len <= buf_len); in buffer_read()