Searched refs:seqbuf (Results 1 – 1 of 1) sorted by relevance
28 static size_t seqbuf_avail(struct seqbuf *seqbuf) in seqbuf_avail() argument30 return seqbuf->pos < seqbuf->size ? seqbuf->size - seqbuf->pos : 0; in seqbuf_avail()33 static size_t seqbuf_status(struct seqbuf *seqbuf) in seqbuf_status() argument35 return seqbuf->pos <= seqbuf->size ? 0 : -EOVERFLOW; in seqbuf_status()38 static int seqbuf_eof(struct seqbuf *seqbuf) in seqbuf_eof() argument40 return seqbuf->pos >= seqbuf->size; in seqbuf_eof()46 memcpy(buf, seqbuf->buf + seqbuf->pos, nbyte); in seqbuf_read()58 *str = seqbuf->buf + seqbuf->pos; in seqbuf_read_str()59 seqbuf->pos += strnlen(*str, seqbuf_avail(seqbuf)); in seqbuf_read_str()411 struct seqbuf seqbuf; in bpmp_populate_debugfs_inband() local[all …]