seq_buf_to_user
extern int seq_buf_to_user(struct seq_buf *s, char __user *ubuf,
ret = seq_buf_to_user(&s->seq, ubuf, s->readpos, cnt);