Lines Matching refs:host_file
384 struct file *host_file; in coda_readdir() local
389 host_file = cfi->cfi_container; in coda_readdir()
391 if (!host_file->f_op) in coda_readdir()
394 if (host_file->f_op->readdir) { in coda_readdir()
399 struct inode *host_inode = file_inode(host_file); in coda_readdir()
402 host_file->f_pos = coda_file->f_pos; in coda_readdir()
406 ret = host_file->f_op->readdir(host_file, buf, filldir); in coda_readdir()
407 file_accessed(host_file); in coda_readdir()
410 coda_file->f_pos = host_file->f_pos; in coda_readdir()
412 } else if (host_file->f_op->iterate) { in coda_readdir()
413 struct inode *host_inode = file_inode(host_file); in coda_readdir()
419 ret = host_file->f_op->iterate(host_file, ctx); in coda_readdir()
420 file_accessed(host_file); in coda_readdir()
457 struct file *host_file; in coda_venus_readdir() local
468 host_file = cfi->cfi_container; in coda_venus_readdir()
492 ret = kernel_read(host_file, coda_file->f_pos - 2, (char *)vdir, in coda_venus_readdir()