Home
last modified time | relevance | path

Searched refs:host_file (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/fs/coda/
Dfile.c36 struct file *host_file; in coda_file_read() local
40 host_file = cfi->cfi_container; in coda_file_read()
42 if (!host_file->f_op || !host_file->f_op->read) in coda_file_read()
45 return host_file->f_op->read(host_file, buf, count, ppos); in coda_file_read()
53 struct file *host_file; in coda_file_write() local
58 host_file = cfi->cfi_container; in coda_file_write()
60 if (!host_file->f_op || !host_file->f_op->write) in coda_file_write()
65 ret = host_file->f_op->write(host_file, buf, count, ppos); in coda_file_write()
67 coda_inode->i_size = host_file->f_dentry->d_inode->i_size; in coda_file_write()
80 struct file *host_file; in coda_file_mmap() local
[all …]
Ddir.c494 struct file *host_file; in coda_readdir() local
499 host_file = cfi->cfi_container; in coda_readdir()
503 down(&host_file->f_dentry->d_inode->i_sem); in coda_readdir()
504 host_file->f_pos = coda_file->f_pos; in coda_readdir()
506 if ( !host_file->f_op->readdir ) { in coda_readdir()
508 ret = coda_venus_readdir(host_file, filldir, dirent, coda_dentry); in coda_readdir()
514 if (!IS_DEADDIR(host_file->f_dentry->d_inode)) in coda_readdir()
515 ret = host_file->f_op->readdir(host_file, filldir, dirent); in coda_readdir()
518 coda_file->f_pos = host_file->f_pos; in coda_readdir()
519 up(&host_file->f_dentry->d_inode->i_sem); in coda_readdir()