Lines Matching refs:df
479 static int read_single_page_timeouts(struct data_file *df, struct file *f, in read_single_page_timeouts() argument
484 struct mount_info *mi = df->df_mount_info; in read_single_page_timeouts()
539 struct data_file *df = get_incfs_data_file(f); in read_single_page() local
545 if (!df) { in read_single_page()
553 block_index = (offset + df->df_mapped_offset) / in read_single_page()
555 size = df->df_size; in read_single_page()
568 read_result = read_single_page_timeouts(df, f, block_index, in read_single_page()
687 static void handle_file_completed(struct file *f, struct data_file *df) in handle_file_completed() argument
690 struct mount_info *mi = df->df_mount_info; in handle_file_completed()
697 bfc = df->df_backing_file_context; in handle_file_completed()
713 file_id_str = file_id_to_str(df->df_id); in handle_file_completed()
718 df->df_mount_info->mi_incomplete_dir, in handle_file_completed()
728 vfs_fsync(df->df_backing_file_context->bc_file, 0); in handle_file_completed()
748 struct data_file *df = get_incfs_data_file(f); in ioctl_fill_blocks() local
756 if (!df) in ioctl_fill_blocks()
792 error = incfs_process_new_hash_block(df, &fill_block, in ioctl_fill_blocks()
795 error = incfs_process_new_data_block(df, &fill_block, in ioctl_fill_blocks()
806 handle_file_completed(f, df); in ioctl_fill_blocks()
826 struct data_file *df = get_incfs_data_file(f); in ioctl_read_file_signature() local
828 if (!df) in ioctl_read_file_signature()
842 read_result = incfs_read_file_signature(df, in ioctl_read_file_signature()
870 struct data_file *df = get_incfs_data_file(f); in ioctl_get_filled_blocks() local
874 if (!df || !fd) in ioctl_get_filled_blocks()
883 error = incfs_get_filled_blocks(df, fd, &args); in ioctl_get_filled_blocks()
895 struct data_file *df = get_incfs_data_file(f); in ioctl_get_block_count() local
897 if (!df) in ioctl_get_block_count()
900 args.total_data_blocks_out = df->df_data_block_count; in ioctl_get_block_count()
901 args.filled_data_blocks_out = atomic_read(&df->df_data_blocks_written); in ioctl_get_block_count()
902 args.total_hash_blocks_out = df->df_total_block_count - in ioctl_get_block_count()
903 df->df_data_block_count; in ioctl_get_block_count()
904 args.filled_hash_blocks_out = atomic_read(&df->df_hash_blocks_written); in ioctl_get_block_count()