Lines Matching refs:fp
57 static int ipath_diag_open(struct inode *in, struct file *fp);
58 static int ipath_diag_release(struct inode *in, struct file *fp);
59 static ssize_t ipath_diag_read(struct file *fp, char __user *data,
61 static ssize_t ipath_diag_write(struct file *fp, const char __user *data,
73 static ssize_t ipath_diagpkt_write(struct file *fp,
281 static int ipath_diag_open(struct inode *in, struct file *fp) in ipath_diag_open() argument
302 fp->private_data = dd; in ipath_diag_open()
324 static ssize_t ipath_diagpkt_write(struct file *fp, in ipath_diagpkt_write() argument
479 static int ipath_diag_release(struct inode *in, struct file *fp) in ipath_diag_release() argument
483 fp->private_data = NULL; in ipath_diag_release()
488 static ssize_t ipath_diag_read(struct file *fp, char __user *data, in ipath_diag_read() argument
491 struct ipath_devdata *dd = fp->private_data; in ipath_diag_read()
520 static ssize_t ipath_diag_write(struct file *fp, const char __user *data, in ipath_diag_write() argument
523 struct ipath_devdata *dd = fp->private_data; in ipath_diag_write()