Lines Matching defs:buf
315 static ssize_t pde_read(struct proc_dir_entry *pde, struct file *file, char __user *buf, size_t count, loff_t *ppos)
321 return read(file, buf, count, ppos);
325 static ssize_t proc_reg_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
331 return pde_read(pde, file, buf, count, ppos);
333 rv = pde_read(pde, file, buf, count, ppos);
339 static ssize_t pde_write(struct proc_dir_entry *pde, struct file *file, const char __user *buf, size_t count, loff_t *ppos)
345 return write(file, buf, count, ppos);
349 static ssize_t proc_reg_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos)
355 return pde_write(pde, file, buf, count, ppos);
357 rv = pde_write(pde, file, buf, count, ppos);