Lines Matching refs:coda_file
53 static int coda_venus_readdir(struct file *coda_file, void *buf,
433 static int coda_readdir(struct file *coda_file, void *buf, filldir_t filldir)
439 cfi = CODA_FTOC(coda_file);
450 * position in sync between the coda_file and the host_file.
455 host_file->f_pos = coda_file->f_pos;
463 coda_file->f_pos = host_file->f_pos;
467 ret = coda_venus_readdir(coda_file, buf, filldir);
492 static int coda_venus_readdir(struct file *coda_file, void *buf,
508 cfi = CODA_FTOC(coda_file);
512 de = coda_file->f_path.dentry;
518 if (coda_file->f_pos == 0) {
523 coda_file->f_pos++;
525 if (coda_file->f_pos == 1) {
530 coda_file->f_pos++;
534 ret = kernel_read(host_file, coda_file->f_pos - 2, (char *)vdir,
577 coda_file->f_pos, ino, type);
584 coda_file->f_pos += vdir->d_reclen;