Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

int mxc_pf_fsync ( struct file *  filp,
struct dentry *  dentry,
int  datasync 
)

Post Filter driver fsync function. This function implements the Linux file_operations.fsync() API function.

The user must call fsync() before reading an output buffer. This call flushes the L1 and L2 caches

Parameters:
filp structure file *
dentry struct dentry *
datasync unused
Returns:
status POLLIN | POLLRDNORM

Definition at line 887 of file mxc_pf.c.

{
      flush_cache_all();
      outer_flush_all();
      return 0;
}


Generated by  Doxygen 1.6.0   Back to index