Lines Matching refs:proc_file
30 struct file *proc_file;
293 else count = read_proc(hppfs->proc_file, buf, count, ppos, 1);
302 struct file *proc_file = data->proc_file;
305 write = proc_file->f_path.dentry->d_inode->i_fop->write;
306 return (*write)(proc_file, buf, len, ppos);
343 struct file *proc_file,
363 while ((n = read_proc(proc_file, data->contents,
454 data->proc_file = dentry_open(dget(proc_dentry), mntget(proc_mnt),
456 err = PTR_ERR(data->proc_file);
457 if (IS_ERR(data->proc_file))
474 data->proc_file,
511 data->proc_file = dentry_open(dget(proc_dentry), mntget(proc_mnt),
513 err = PTR_ERR(data->proc_file);
514 if (IS_ERR(data->proc_file))
529 struct file *proc_file = data->proc_file;
533 llseek = proc_file->f_path.dentry->d_inode->i_fop->llseek;
535 ret = (*llseek)(proc_file, off, where);
572 struct file *proc_file = data->proc_file;
581 readdir = proc_file->f_path.dentry->d_inode->i_fop->readdir;
583 proc_file->f_pos = file->f_pos;
584 err = (*readdir)(proc_file, &dirent, hppfs_filldir);
585 file->f_pos = proc_file->f_pos;