Searched refs:patt_buf (Results 1 – 1 of 1) sorted by relevance
640 struct pattern_buf *patt_buf = file->f_inode->i_private; in pattern_write() local650 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() local669 if (copy_to_user(u_buff, patt_buf->buf + *off, to_read)) in pattern_read()