Lines Matching refs:fd_file

92                 fd->fd_offset = fd->fd_file->f_dentry->d_inode->i_size;  in presto_reserve_record()
431 if (logfd->fd_file) { in izo_log_close()
432 rc = filp_close(logfd->fd_file, 0); in izo_log_close()
433 logfd->fd_file = NULL; in izo_log_close()
545 offset = fd->fd_file->f_dentry->d_inode->i_size; in presto_kml_offset()
572 offset = fd->fd_file->f_dentry->d_inode->i_size; in presto_kml_dispatch()
846 filp_close(fset->fset_kml.fd_file, NULL); in presto_finish_kml_truncate()
847 fset->fset_kml.fd_file = f; in presto_finish_kml_truncate()
974 rc = presto_write_record(fd->fd_file, &offset, buf, size, in presto_log()
1009 rc = presto_fread(fd->fd_file, (char *)&data, sizeof(data), in presto_last_record()
1026 rc = presto_fread(fd->fd_file, (char *)&suffix, sizeof(suffix), &zeroes); in presto_last_record()
1048 loff_t tail = logfd->fd_file->f_dentry->d_inode->i_size; in izo_kml_last_recno()
1081 fset->fset_kml.fd_file = NULL; in izo_log_open()
1107 if (logfd->fd_file) { in izo_init_kml_file()
1121 logfd->fd_file = f; in izo_init_kml_file()
1125 logfd->fd_file = NULL; in izo_init_kml_file()
1146 if (logfd->fd_file != NULL) { in izo_init_last_rcvd_file()
1160 logfd->fd_file = f; in izo_init_last_rcvd_file()
1184 if (logfd->fd_file) { in izo_init_lml_file()
1198 logfd->fd_file = f; in izo_init_lml_file()
1265 len = presto_fread(fset->fset_kml.fd_file, buf, toread, in presto_copy_kml_tail()
1370 struct inode *inode = fset->fset_lml.fd_file->f_dentry->d_inode; in presto_truncate_lml_tail()
1388 lml_tail = fset->fset_lml.fd_file->f_dentry->d_inode->i_size; in presto_truncate_lml_tail()
1405 rc = presto_fread(fset->fset_lml.fd_file, (char *)&prefix, in presto_truncate_lml_tail()
1430 rc = izo_do_truncate(fset, fset->fset_lml.fd_file->f_dentry, in presto_truncate_lml_tail()
1474 rc = presto_fread(fset->fset_lml.fd_file, (char *)&record, in presto_clear_lml_close()
1488 rc = presto_fwrite(fset->fset_lml.fd_file, (char *)(&record), in presto_clear_lml_close()
2266 struct file *file = fset->fset_lml.fd_file; in presto_complete_lml()