Home
last modified time | relevance | path

Searched refs:patt_buf (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/sound/drivers/
Dpcmtest.c640 struct pattern_buf *patt_buf = file->f_inode->i_private; in pattern_write() local
650 if (copy_from_user(patt_buf->buf + *off, u_buff, to_write)) in pattern_write()
653 patt_buf->len = *off + to_write; in pattern_write()
661 struct pattern_buf *patt_buf = file->f_inode->i_private; in pattern_read() local
669 if (copy_to_user(u_buff, patt_buf->buf + *off, to_read)) in pattern_read()