cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

coda_int.h (611B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef _CODA_INT_
      3#define _CODA_INT_
      4
      5struct dentry;
      6struct file;
      7
      8extern struct file_system_type coda_fs_type;
      9extern unsigned long coda_timeout;
     10extern int coda_hard;
     11extern int coda_fake_statfs;
     12
     13void coda_destroy_inodecache(void);
     14int __init coda_init_inodecache(void);
     15int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync);
     16
     17#ifdef CONFIG_SYSCTL
     18void coda_sysctl_init(void);
     19void coda_sysctl_clean(void);
     20#else
     21static inline void coda_sysctl_init(void)
     22{
     23}
     24
     25static inline void coda_sysctl_clean(void)
     26{
     27}
     28#endif
     29#endif  /*  _CODA_INT_  */
     30
     31