Lines Matching refs:proc_file
31 struct file *proc_file; member
280 else count = read_proc(hppfs->proc_file, buf, count, ppos, 1); in hppfs_read()
289 struct file *proc_file = data->proc_file; in hppfs_write() local
292 write = file_inode(proc_file)->i_fop->write; in hppfs_write()
293 return (*write)(proc_file, buf, len, ppos); in hppfs_write()
330 struct file *proc_file, in hppfs_get_data() argument
350 while ((n = read_proc(proc_file, data->contents, in hppfs_get_data()
440 data->proc_file = dentry_open(&path, file_mode(file->f_mode), cred); in hppfs_open()
441 err = PTR_ERR(data->proc_file); in hppfs_open()
442 if (IS_ERR(data->proc_file)) in hppfs_open()
459 data->proc_file, in hppfs_open()
495 data->proc_file = dentry_open(&path, file_mode(file->f_mode), cred); in hppfs_dir_open()
496 err = PTR_ERR(data->proc_file); in hppfs_dir_open()
497 if (IS_ERR(data->proc_file)) in hppfs_dir_open()
512 struct file *proc_file = data->proc_file; in hppfs_llseek() local
516 llseek = file_inode(proc_file)->i_fop->llseek; in hppfs_llseek()
518 ret = (*llseek)(proc_file, off, where); in hppfs_llseek()
529 struct file *proc_file = data->proc_file; in hppfs_release() local
530 if (proc_file) in hppfs_release()
531 fput(proc_file); in hppfs_release()
567 struct file *proc_file = data->proc_file; in hppfs_readdir() local
574 proc_file->f_pos = ctx->pos; in hppfs_readdir()
575 err = iterate_dir(proc_file, &d.ctx); in hppfs_readdir()