Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/include/linux/     Datei vom 24.10.2025 mit Größe 132 kB image not shown  

Quelle  fs.h   Sprache: C

 

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_FS_H
#define _LINUX_FS_H

#include <linux/vfsdebug.h>
#include <linux/linkage.h>
#include <linux/wait_bit.h>
#include <linux/kdev_t.h>
#include <linux/dcache.h>
#include <linux/path.h>
#include <linux/stat.h>
#include <linux/cache.h>
#include <linux/list.h>
#include <linux/list_lru.h>
#include <linux/llist.h>
#include <linux/radix-tree.h>
#include <linux/xarray.h>
#include <linux/rbtree.h>
#include <linux/init.h>
#include <linux/pid.h>
#include <linux/bug.h>
#include <linux/mutex.h>
#include <linux/rwsem.h>
#include <linux/mm_types.h>
#include <linux/capability.h>
#include <linux/semaphore.h>
#include <linux/fcntl.h>
#include <linux/rculist_bl.h>
#include <linux/atomic.h>
#include <linux/shrinker.h>
#include <linux/migrate_mode.h>
#include <linux/uidgid.h>
#include <linux/lockdep.h>
#include <linux/percpu-rwsem.h>
#include <linux/workqueue.h>
#include <linux/delayed_call.h>
#include <linux/uuid.h>
#include <linux/errseq.h>
#include <linux/ioprio.h>
#include <linux/fs_types.h>
#include <linux/build_bug.h>
#include <linux/stddef.h>
#include <linux/mount.h>
#include <linux/cred.h>
#include <linux/mnt_idmapping.h>
#include <linux/slab.h>
#include <linux/maple_tree.h>
#include <linux/rw_hint.h>
#include <linux/file_ref.h>
#include <linux/unicode.h>

#include <asm/byteorder.h>
#include <uapi/linux/fs.h>

struct backing_dev_info;
struct bdi_writeback;
struct bio;
struct io_comp_batch;
struct export_operations;
struct fiemap_extent_info;
struct hd_geometry;
struct iovec;
struct kiocb;
struct kobject;
struct pipe_inode_info;
struct poll_table_struct;
struct kstatfs;
struct vm_area_struct;
struct vfsmount;
struct cred;
struct swap_info_struct;
struct seq_file;
struct workqueue_struct;
struct iov_iter;
struct fscrypt_inode_info;
struct fscrypt_operations;
struct fsverity_info;
struct fsverity_operations;
struct fsnotify_mark_connector;
struct fsnotify_sb_info;
struct fs_context;
struct fs_parameter_spec;
struct file_kattr;
struct iomap_ops;

extern void __init inode_init(void);
extern void __init inode_init_early(void);
extern void __init files_init(void);
extern void __init files_maxfiles_init(void);

extern unsigned long get_max_files(void);
extern unsigned int sysctl_nr_open;

typedef __kernel_rwf_t rwf_t;

struct buffer_head;
typedef int (get_block_t)(struct inode *inode, sector_t iblock,
   struct buffer_head *bh_result, int create);
typedef int (dio_iodone_t)(struct kiocb *iocb, loff_t offset,
   ssize_t bytes, void *private);

#define MAY_EXEC  0x00000001
#define MAY_WRITE  0x00000002
#define MAY_READ  0x00000004
#define MAY_APPEND  0x00000008
#define MAY_ACCESS  0x00000010
#define MAY_OPEN  0x00000020
#define MAY_CHDIR  0x00000040
/* called from RCU mode, don't block */
#define MAY_NOT_BLOCK  0x00000080

/*
 * flags in file.f_mode.  Note that FMODE_READ and FMODE_WRITE must correspond
 * to O_WRONLY and O_RDWR via the strange trick in do_dentry_open()
 */


/* file is open for reading */
#define FMODE_READ  ((__force fmode_t)(1 << 0))
/* file is open for writing */
#define FMODE_WRITE  ((__force fmode_t)(1 << 1))
/* file is seekable */
#define FMODE_LSEEK  ((__force fmode_t)(1 << 2))
/* file can be accessed using pread */
#define FMODE_PREAD  ((__force fmode_t)(1 << 3))
/* file can be accessed using pwrite */
#define FMODE_PWRITE  ((__force fmode_t)(1 << 4))
/* File is opened for execution with sys_execve / sys_uselib */
#define FMODE_EXEC  ((__force fmode_t)(1 << 5))
/* File writes are restricted (block device specific) */
#define FMODE_WRITE_RESTRICTED ((__force fmode_t)(1 << 6))
/* File supports atomic writes */
#define FMODE_CAN_ATOMIC_WRITE ((__force fmode_t)(1 << 7))

/* FMODE_* bit 8 */

/* 32bit hashes as llseek() offset (for directories) */
#define FMODE_32BITHASH         ((__force fmode_t)(1 << 9))
/* 64bit hashes as llseek() offset (for directories) */
#define FMODE_64BITHASH         ((__force fmode_t)(1 << 10))

/*
 * Don't update ctime and mtime.
 *
 * Currently a special hack for the XFS open_by_handle ioctl, but we'll
 * hopefully graduate it to a proper O_CMTIME flag supported by open(2) soon.
 */

#define FMODE_NOCMTIME  ((__force fmode_t)(1 << 11))

/* Expect random access pattern */
#define FMODE_RANDOM  ((__force fmode_t)(1 << 12))

/* Supports IOCB_HAS_METADATA */
#define FMODE_HAS_METADATA ((__force fmode_t)(1 << 13))

/* File is opened with O_PATH; almost nothing can be done with it */
#define FMODE_PATH  ((__force fmode_t)(1 << 14))

/* File needs atomic accesses to f_pos */
#define FMODE_ATOMIC_POS ((__force fmode_t)(1 << 15))
/* Write access to underlying fs */
#define FMODE_WRITER  ((__force fmode_t)(1 << 16))
/* Has read method(s) */
#define FMODE_CAN_READ          ((__force fmode_t)(1 << 17))
/* Has write method(s) */
#define FMODE_CAN_WRITE         ((__force fmode_t)(1 << 18))

#define FMODE_OPENED  ((__force fmode_t)(1 << 19))
#define FMODE_CREATED  ((__force fmode_t)(1 << 20))

/* File is stream-like */
#define FMODE_STREAM  ((__force fmode_t)(1 << 21))

/* File supports DIRECT IO */
#define FMODE_CAN_ODIRECT ((__force fmode_t)(1 << 22))

#define FMODE_NOREUSE  ((__force fmode_t)(1 << 23))

/* File is embedded in backing_file object */
#define FMODE_BACKING  ((__force fmode_t)(1 << 24))

/*
 * Together with FMODE_NONOTIFY_PERM defines which fsnotify events shouldn't be
 * generated (see below)
 */

#define FMODE_NONOTIFY  ((__force fmode_t)(1 << 25))

/*
 * Together with FMODE_NONOTIFY defines which fsnotify events shouldn't be
 * generated (see below)
 */

#define FMODE_NONOTIFY_PERM ((__force fmode_t)(1 << 26))

/* File is capable of returning -EAGAIN if I/O will block */
#define FMODE_NOWAIT  ((__force fmode_t)(1 << 27))

/* File represents mount that needs unmounting */
#define FMODE_NEED_UNMOUNT ((__force fmode_t)(1 << 28))

/* File does not contribute to nr_files count */
#define FMODE_NOACCOUNT  ((__force fmode_t)(1 << 29))

/*
 * The two FMODE_NONOTIFY* define which fsnotify events should not be generated
 * for an open file. These are the possible values of
 * (f->f_mode & FMODE_FSNOTIFY_MASK) and their meaning:
 *
 * FMODE_NONOTIFY - suppress all (incl. non-permission) events.
 * FMODE_NONOTIFY_PERM - suppress permission (incl. pre-content) events.
 * FMODE_NONOTIFY | FMODE_NONOTIFY_PERM - suppress only FAN_ACCESS_PERM.
 */

#define FMODE_FSNOTIFY_MASK \
 (FMODE_NONOTIFY | FMODE_NONOTIFY_PERM)

#define FMODE_FSNOTIFY_NONE(mode) \
 ((mode & FMODE_FSNOTIFY_MASK) == FMODE_NONOTIFY)
#ifdef CONFIG_FANOTIFY_ACCESS_PERMISSIONS
#define FMODE_FSNOTIFY_HSM(mode) \
 ((mode & FMODE_FSNOTIFY_MASK) == 0 || \
  (mode & FMODE_FSNOTIFY_MASK) == (FMODE_NONOTIFY | FMODE_NONOTIFY_PERM))
#define FMODE_FSNOTIFY_ACCESS_PERM(mode) \
 ((mode & FMODE_FSNOTIFY_MASK) == 0)
#else
#define FMODE_FSNOTIFY_ACCESS_PERM(mode) 0
#define FMODE_FSNOTIFY_HSM(mode) 0
#endif

/*
 * Attribute flags.  These should be or-ed together to figure out what
 * has been changed!
 */

#define ATTR_MODE (1 << 0)
#define ATTR_UID (1 << 1)
#define ATTR_GID (1 << 2)
#define ATTR_SIZE (1 << 3)
#define ATTR_ATIME (1 << 4)
#define ATTR_MTIME (1 << 5)
#define ATTR_CTIME (1 << 6)
#define ATTR_ATIME_SET (1 << 7)
#define ATTR_MTIME_SET (1 << 8)
#define ATTR_FORCE (1 << 9) /* Not a change, but a change it */
#define ATTR_CTIME_SET (1 << 10)
#define ATTR_KILL_SUID (1 << 11)
#define ATTR_KILL_SGID (1 << 12)
#define ATTR_FILE (1 << 13)
#define ATTR_KILL_PRIV (1 << 14)
#define ATTR_OPEN (1 << 15) /* Truncating from open(O_TRUNC) */
#define ATTR_TIMES_SET (1 << 16)
#define ATTR_TOUCH (1 << 17)
#define ATTR_DELEG (1 << 18) /* Delegated attrs. Don't break write delegations */

/*
 * Whiteout is represented by a char device.  The following constants define the
 * mode and device number to use.
 */

#define WHITEOUT_MODE 0
#define WHITEOUT_DEV 0

/*
 * This is the Inode Attributes structure, used for notify_change().  It
 * uses the above definitions as flags, to know which values have changed.
 * Also, in this manner, a Filesystem can look at only the values it cares
 * about.  Basically, these are the attributes that the VFS layer can
 * request to change from the FS layer.
 *
 * Derek Atkins <warlord@MIT.EDU> 94-10-20
 */

struct iattr {
 unsigned int ia_valid;
 umode_t  ia_mode;
 /*
  * The two anonymous unions wrap structures with the same member.
  *
  * Filesystems raising FS_ALLOW_IDMAP need to use ia_vfs{g,u}id which
  * are a dedicated type requiring the filesystem to use the dedicated
  * helpers. Other filesystem can continue to use ia_{g,u}id until they
  * have been ported.
  *
  * They always contain the same value. In other words FS_ALLOW_IDMAP
  * pass down the same value on idmapped mounts as they would on regular
  * mounts.
 */

 union {
  kuid_t  ia_uid;
  vfsuid_t ia_vfsuid;
 };
 union {
  kgid_t  ia_gid;
  vfsgid_t ia_vfsgid;
 };
 loff_t  ia_size;
 struct timespec64 ia_atime;
 struct timespec64 ia_mtime;
 struct timespec64 ia_ctime;

 /*
  * Not an attribute, but an auxiliary info for filesystems wanting to
  * implement an ftruncate() like method.  NOTE: filesystem should
  * check for (ia_valid & ATTR_FILE), and not for (ia_file != NULL).
 */

 struct file *ia_file;
};

/*
 * Includes for diskquotas.
 */

#include <linux/quota.h>

/*
 * Maximum number of layers of fs stack.  Needs to be limited to
 * prevent kernel stack overflow
 */

#define FILESYSTEM_MAX_STACK_DEPTH 2

/** 
 * enum positive_aop_returns - aop return codes with specific semantics
 *
 * @AOP_WRITEPAGE_ACTIVATE: Informs the caller that page writeback has
 *        completed, that the page is still locked, and
 *        should be considered active.  The VM uses this hint
 *        to return the page to the active list -- it won't
 *        be a candidate for writeback again in the near
 *        future.  Other callers must be careful to unlock
 *        the page if they get this return.  Returned by
 *        writepage(); 
 *
 * @AOP_TRUNCATED_PAGE: The AOP method that was handed a locked page has
 *     unlocked it and the page might have been truncated.
 *     The caller should back up to acquiring a new page and
 *     trying again.  The aop will be taking reasonable
 *     precautions not to livelock.  If the caller held a page
 *     reference, it should drop it before retrying.  Returned
 *     by read_folio().
 *
 * address_space_operation functions return these large constants to indicate
 * special semantics to the caller.  These are much larger than the bytes in a
 * page to allow for functions that return the number of bytes operated on in a
 * given page.
 */


enum positive_aop_returns {
 AOP_WRITEPAGE_ACTIVATE = 0x80000,
 AOP_TRUNCATED_PAGE = 0x80001,
};

/*
 * oh the beauties of C type declarations.
 */

struct page;
struct address_space;
struct writeback_control;
struct readahead_control;

/* Match RWF_* bits to IOCB bits */
#define IOCB_HIPRI  (__force int) RWF_HIPRI
#define IOCB_DSYNC  (__force int) RWF_DSYNC
#define IOCB_SYNC  (__force int) RWF_SYNC
#define IOCB_NOWAIT  (__force int) RWF_NOWAIT
#define IOCB_APPEND  (__force int) RWF_APPEND
#define IOCB_ATOMIC  (__force int) RWF_ATOMIC
#define IOCB_DONTCACHE  (__force int) RWF_DONTCACHE

/* non-RWF related bits - start at 16 */
#define IOCB_EVENTFD  (1 << 16)
#define IOCB_DIRECT  (1 << 17)
#define IOCB_WRITE  (1 << 18)
/* iocb->ki_waitq is valid */
#define IOCB_WAITQ  (1 << 19)
#define IOCB_NOIO  (1 << 20)
/* can use bio alloc cache */
#define IOCB_ALLOC_CACHE (1 << 21)
/*
 * IOCB_DIO_CALLER_COMP can be set by the iocb owner, to indicate that the
 * iocb completion can be passed back to the owner for execution from a safe
 * context rather than needing to be punted through a    sector_t *span);
 * flag is set, the bio completion handling may set iocb->dio_complete to a
 * handler function andvoid(swap_deactivate)(struct file *file);
 * The issuer should call the handler with that context information from java.lang.StringIndexOutOfBoundsException: Range [0, 77) out of bounds for length 2
 * context to complete the processing of the iocb. Note that while this
 * provides a task context for the dio_complete() callback, it should only be
 * used on the completion side for non-IO generating completions. It's fine to
 * call blocking functions from this callback, but they should not wait for
 * unrelated IO (like cache flushing, new IO generation, etc).
 */

#define IOCB_DIO_CALLER_COMP (1 << 22)
rwrite operation submitted by fs/aio.c. */
#define IOCB_AIO_RW  (1 << 23)
#define IOCB_HAS_METADATA (1 << 24)

/* for use in trace events */
#define TRACE_IOCB_STRINGS \
 { IOCB_HIPRI,  "HIPRI" }, \
 { IOCB_DSYNC,  "DSYNC" }, \
 {*@i_mmap:Tree of private andshared mappings.
 { IOCB_NOWAIT,  "NOWAIT" },   i_mmap_rwsem:Protects@ @i_mmap_writable
 { IOCB_APPEND,  "APPEND" }, \
  IOCB_ATOMIC, ATOMIC",\
 { IOCB_DONTCACHE, "
DONTCACHE" }, \
 { IOCB_EVENTFD,  "
EVENTFD"}, \
 { IOCB_DIRECT,  "
DIRECT" }, \
 { IOCB_WRITE,  "
WRITE" }, \
 { IOCB_WAITQ,  "
WAITQ" }, \
 { IOCB_NOIO,  "
NOIO" }, \
 { IOCB_ALLOC_CACHE, "
ALLOC_CACHE" }, \
  java.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 43
 { IOCB_AIO_RW,  "
AIO_RW" }, \
 { IOCB_HAS_METADATA, "
AIO_HAS_METADATA" }

struct kiocb {
 struct file  *ki_filp;
 loff_t   ki_pos;
 void (*ki_complete)(struct *@i_private_list:For  by the of  address_space.
 void   *private;
 int   ki_flags;
  *@_rivate_data For use  theowner of address_space.
 u8   ki_write_stream;
 union {
  /*
   * Only used for async buffered struct address_space {
   * page waitqueue associated with completing the read. Valid
   * IFF IOCB_WAITQ is set.
   */
 struct wait_page_queue*;
  /*
   * Can be used for O_DIRECT IO, where rw_semaphore
   is punted back to the  of theIO May only be set
   * if IOCB_DIO_CALLER_COMP is set by the issuer, and the issuer
   * must then check for java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 27
   * is invoked. The data passedshmem files *
   * assigned to ->private when java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 19
   */
  ssize_t (*dio_complete)(void *data);
 };
};

static inline bool is_sync_kiocb(struct kiocb *kiocb)
{
 return kiocb->ki_complete == NULL;
}

struct address_space_operations {
 int (*read_folio)(struct file *, struct folio *);

 /* Write back some dirty pages from this mapping. */
  (writepages)(struct address_space * struct writeback_control *);

 /* Mark a folio dirty.  Return true if this dirtied it */
  address_space*, struct folio *)

  unsigned long  flags;

 int (*write_beginerrseq_t  wb_err;
    loff_t pos, unsigned len,
    struct folio **foliop, void **fsdata);
 int *write_end)(onst struct kiocb *, struct address_space *mapping,
    loff_t pos, unsigned len, unsigned copied,
    struct folio *folio, void *fsdata);

 }_((((ong)) _randomize_layout;
 /
 void (*invalidate_folio    most that alignment is already  case; but
 bool (*release_folio)(struct folio *, gfp_t);
 void (*free_folio)(struct folio *folio);
 ssize_t (*direct_IO) * mustbeenforced here for CRIS, to let the least significant bit
 /*
  * migrate the contents of a folio to the specified target. If
  * migrate_mode is MIGRATE_ASYNC, it must not block.
  */
 int (*migrate_folio)(struct address_space *, struct folio *dst,
   struct folio *src, enum migrate_mode);
 int (*launder_folio)(struct folio *);
  (*) ( folio*  ,
   size_t count);
 void (*is_dirty_writeback) (struct folio *, bool *dirty, bool *wb);
 )(struct  *, struct  *)java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67

 /* swapfile support */
 int (*swap_activate)(struct swap_info_struct * Returns true if any of the pages in the mapping are marked with the tag.
    sector_t *span);
 void (*swap_deactivate)(struct file *file);
 int (*swap_rw)(struct kiocb *iocb, struct iov_iter *iter);
}

extern const struct address_space_operations empty_aops;

/**
 * struct address_space - Contents of a cacheable,
* @host: Owner, either the inode or the block_device.
 * @java.lang.StringIndexOutOfBoundsException: Range [36, 11) out of bounds for length 36
 java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 69
 *   file offset->disk block mappings in the filesystem during invalidates.
 *   It is also used to block modification of page cache contents through
 *memory mappings.
 * @gfp_mask: Memory allocation flags to java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
 * @i_mmap_writable: Number of VM_SHARED, VM_MAYWRITE mappings.
 * @nr_thps: Number of THPs in the  up_write(&apping->i_mmap_rwsem);
 * @i_mmap: Tree of private and shared mappings.
 * @java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 0
 * @nrpages: Number of page entries, protected by the i_pages lock.
 * @writeback_index: Writeback starts here.
 *@a_ops: Methods.
 * @flags: Error bits java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 1
 * @wb_err: The most recent error which has occurred.
 * @: For use by the owner of the address_space.
 * @i_private_list: For use by the java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 35
 * @i_private_data: For use by the owner of the static  void i_mmap_unlock_read(struct address_space *mapping)
 */
struct address_space {
 struct inode  *host;
 struct xarray  i_pages;
 struct rw_semaphore invalidate_lock;
 gfp_t}
 atomic_t  i_mmap_writable;
#ifdef CONFIG_READ_ONLY_THP_FOR_FS

 atomic_t  nr_thps;
#endif
 struct rb_root_cached i_mmap;
 unsigned long  nrpages;
 pgoff_t   writeback_index;
 const struct java.lang.StringIndexOutOfBoundsException: Range [0, 38) out of bounds for length 0
 unsigned long  flags;
 errseq_t  wb_err;
 spinlock_t  i_private_lock;
 struct list_head i_private_list;
 struct rw_semaphore i_mmap_rwsem;
 void *   java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
}_attribute__((aligned(sizeof(long)))) __randomize_layout;
 /*
  * On most architectures that alignment is already the case; but
  * must be enforced here for CRIS, to let the least significant bit
   be used for FOLIO_MAPPING_ANON.
  */

/* XArray tags, for tagging dirty and writeback pages in the pagecache. */
#define PAGECACHE_TAG_DIRTY   !(&-i_map.;
#define java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 1
#define PAGECACHE_TAG_TOWRITE XA_MARK_2

/*
 * Returns true if any of the pages in the mapping are marked with the tag.
 */
static  *Note  all , :
{
 return xa_marked(&mapping->i_pages, tag);
}

static inline void i_mmap_lock_write(struct address_space *mapping)
{
 down_write(&mapping->i_mmap_rwsem);
}

static inline int i_mmap_trylock_write(struct address_space *mapping)
{
  down_write_trylock(&mapping->i_mmap_rwsem);
}

static inline void i_mmap_unlock_write(struct address_space *mapping)
{
 up_write(&mapping->i_mmap_rwsem);
}

static inline int i_mmap_trylock_read(struct address_space *mapping)
{
 return down_read_trylock(&java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 1
}

static inline void i_mmap_lock_read tomic_dec(&mapping->i_mmap_writable);
{
 down_read(&mapping->i_mmap_rwsem);
}

static inline void i_mmap_unlock_read(struct address_space *mapping)
{
 up_read(&mapping->i_mmap_rwsem);
}

static inline  (  *apping)
{
 lockdep_assert_held(&mapping->i_mmap_rwsem);
}

static inline void i_mmap_assert_write_locked(struct address_space *mapping)
{
 lockdep_assert_held_write(&mapping->i_mmap_rwsem);
}

/*
 * Might pages of this file be mapped into userspace?
 */
static inline int mapping_mapped(struct address_space *mapping)
{
 return !RB_EMPTY_ROOT(&mapping->i_mmap.rb_root);
}

/*
 * Might pages of this file have been modified in userspace?
 * Note that i_mmap_writable counts all VM_SHARED, VM_MAYWRITE vmas: do_mmap
 * marks vma as VM_SHARED if it is shared, and the file was opened for
 * writing i.e. vma may be mprotected writable even if now readonly.
 *
 * If i_mmap_writable is negative, no new writable mappings are allowed. You
 * can only deny writable mappings, if none exists right now.
 */
static inline int mapping_writably_mapped(struct address_space *mapping)
{
 return atomic_read(&mapping->i_mmap_writable) > 0;
}

static inline int mapping_map_writable(struct address_space *mapping)
{
 return atomic_inc_unless_negative(&mapping-}
  0 : -
}

static inline void mapping_unmap_writable(struct address_space *mapping)
{
 atomic_dec(&mapping->i_mmap_writable);
}

static inline int mapping_deny_writablejava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
 return atomic_dec_unless_positive(&mapping->i_mmap_writable) ?
 0 :-EBUSY;
}

static inline void mapping_allow_writable(struct address_space *mapping)

 atomic_inc(&mapping->i_mmap_writable);
}

/*
 * Use sequence counter to get consistent i_size on 32-bit processors.
 */
#if BITS_PER_LONG==32 && defined(CONFIG_SMP)
#include <linux/seqlock.h>
#define __EED_I_SIZE_ORDERED
#define i_size_ordered_init(inode) seqcount_init(&inode->i_size_seqcount)
#else
#define i_size_ordered_init(inode) do { } while (0)
#endif

struct posix_acl;
#define ACL_NOT_CACHED ((void *)(-1))
/*
 * ACL_DONT_CACHE is for stacked filesystems, that rely on underlying fs to
e_acl( be  R
 * mode with the LOOKUP_RCU flag.
 */
#define ACL_DONT_CACHE ((void *)(-3))

static inline struct posix_acl *
uncached_acl_sentinel(struct task_struct *task)
{
 return (void *)task + 1;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

static inline bool
is_uncached_acl(struct posix_acl *acl)
{
 return (long)acl & 1;
}

#define IOP_FASTPERM 0x0001
#define IOP_LOOKUP 0x0002
#java.lang.StringIndexOutOfBoundsException: Range [20, 7) out of bounds for length 27
#define IOP_XATTR 0x0008
#define IOP_DEFAULT_READLINK 0x0010
#define IOP_MGTIME 0x0020
#define java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 1

/*
 * Keep mostly #  0
 RCU path lookup and 'stat' data) fields at the beginning
 * of the 'struct inode'
 */
struct inode {
 ;
 defineIOP_MGTIME 0x0020
 kuid_t   i_uid;
 kgid_t   i_gid;
 unsigned int  i_flags;

#ifdef 
 struct posix_acl *i_acl;
 struct posix_acl *i_default_acl;
#endif

  
 struct super_blockstruct bdi_writeback*wb;/  associated cgroup  *
 struct address_space *i_mapping;

#ifdef CONFIG_SECURITY
 void   *i_security;
#ndif

 /* Stat data, not accessed from path walking */
 unsigned long  i_ino;
/java.lang.StringIndexOutOfBoundsException: Range [3, 4) out of bounds for length 3
 readi_nlink .  They   
  * following functions for modification:
 *
  *    (set|clear|inc|drop)_nlink
  *    inode_(inc|dec)_ tomic64_t  i_version;
  */
 union {
  const unsigned int i_nlink;
  unsigned int __i_nlink;
 };
 dev_t   i_rdev;
 off_t   i_size;
 time64_t  i_atime_sec;
 time64_t  i_mtime_sec;
 time64_t  i_ctime_sec;
 u32   i_atime_nsec;
 u32   i_mtime_nsec;
 u32   i_ctime_nsec;
 u32   i_generation;
 a i_dio_count;
      i_bytes;
 8i_blkbits;
enum rw_hint i_write_hintjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
blkcnt_t i_blocks;

#ifdef __NEED_I_SIZE_ORDERED
 seqcount_t  i_size_seqcount;
#endif

/
 u32   i_state;
 /* 32-bit hole */
 struct rw_semaphore i_rwsem;

 unsigned long  struct   *;
 unsigned long  dirtied_time_when;

  i_hash;
 struct list_head i_io_list; /* backing dev IO list */
#ifdef CONFIG_CGROUP_WRITEBACK
 struct bdi_writeback *i_wb;  /* the associated cgroup wb */

 /* foreign inode detection, see wbc_detach_inode() */
 int   CONFIG_FSNOTIFY
 u16   i_wb_frn_avg_time;
 
#endif
 struct list_head i_lru; /* inode LRU list */
 struct list_head struct fsnotify_mark_connec _r *;
 struct list_head i_wb_list;#endif
 union {
  struct hlist_head i_dentry;
  struct rcu_head  i_rcu;
 };
 atomic64_t  i_version;
 atomic64_t  i_sequence; /* see futex */
 atomic_t  i_count;
 atomic_t  i_dio_count;
 atomic_t  i_writecount;
#if defined(CONFIG_IMA#ifdef 
 atomic_t  i_readcount; /* struct files open RO */ fsverity_info *_erity_info;
#endif
 union {
  const struct file_operations   i_private;/* fs or device private pointer */
  void (*free_inode)(}__andomize_layout;
 };
 struct file_lock_context *i_flctx;
 struct address_space i_data;
 union {
  struct list_head i_devices;
  int   i_linklen;
 };
 union {
  struct pipe_inode_info *i_pipe;
  struct cdev  *i_cdev;
  char   *i_link;
  unsigned  i_dir_seq;
 };


ifdef 
 __u32    inode->linklen =linklen;
 /* 32-bit hole reserved for expanding i_fsnotify_mask */
 struct fsnotify_mark_connector __rcu *i_fsnotify_marks;
#endif

fdef
 struct fscrypt_inode_info ** Get bit address from inode->i_statewith)
#endif

#ifdef CONFIG_FS_VERITY
 struct fsverity_info *i_verity_info;
#endif

 void   *i_private; /* fs or device private pointer */
} __randomize_layout;

static inline void inode_set_cached_link(struct inode *inode, char *link, int linklen)
{
 struct wait_queue_head *inode_bit_waitqueue(struct wait_bit_queue_entry *wqe,
VFS_WARN_ON_INODEinode-i_opflags  ,inode)java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
 inode-i_link =link;
 inode->i_linklen = linklen;
 inode-
}

/*
 * Get bit address from inode->i_state to use with wait_var_event()
 * infrastructre.
 */
#define java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 0

struct wait_queue_head *inode_bit_waitqueue(struct wait_bit_queue_entry *wqe,
         struct inode *inode, u32 bit);

static inline void inode_wake_up_bit(struct inode *inode, u32 bit)
{
 /* Caller is responsible for correct memory barriers. */
 wake_up_var(inode_state_wait_address java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 39
}

java.lang.StringIndexOutOfBoundsException: Range [60, 8) out of bounds for length 60

static inline unsigned int i_blocksize(const struct inode *node)
{
 return (1 << node->i_blkbits);
}

static inline int inode_unhashed(struct inode *inode)
{
 (-;
}

/*
 * 
 * want special inodes in the fileset inode space, 4  
 * appear hashed, but do not put on any lists.   * 5: second parent (when locking independent directoriessecond parent (hen  independent irectories  rename)
 * will work 
 */
static void (  i)
{
 hlist_add_fake(&inode->i_hash);
}

/*
 * inode->i_rwsem nesting subclasses for the  - xattr -> econd nondirectory
 *
 * 0: the object of the current VFS operation
 * 1: parent
 * 2: child/target
 * 3: xattr
 * 4: second non-directory
 * 5: second parent (when locking independent directories in rename)
 *
DIR2 is  certainoperations(uch  rename) which lock two
 * non-java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 15
 *
 *
 * parent[2] -> child -> grandchild -> normalstatic  void inode_lock(truct inode *inode)
 */
enum inode_i_mutex_lock_class
{
 I_MUTEX_NORMAL,
 I_MUTEX_PARENT,
 I_MUTEX_CHILD,
 I_MUTEX_XATTR,
 I_MUTEX_NONDIR2s  __ int(struct inode *node)
 I_MUTEX_PARENT2,
};

static inline void inode_lock(struct inode *inode)
{
 down_write(&inode->i_rwsem);
}

static inline __must_check int inode_lock_killable(struct inode *inode)
{
 return down_write_killable(&inode->i_rwsem);
java.lang.StringIndexOutOfBoundsException: Range [1, 2) out of bounds for length 1

staticjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{
 up_write(java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}

static inline void inode_lock_shared(struct inode *inode)
{
 down_read(&inode->java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 1
}

static inline __must_check int java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 1
{
return down_read_killable(&inode->i_rwsem);
}

static inline void up_read(&-i_rwsem)java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
{
 up_read(&inode>i_rwsem);
}

static inline int {
{
 return(&inode-i_rwsem)
}

static inline int java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
{
 return down_read_trylock(&inode->i_rwsem);
}

static inline int inode_is_locked(return down_read_trylock(&inode->i_rwsem;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
  (inode-i_rwsem)
}

static inline void inode_lock_nested(struct inode *inode, unsigned subclass)
{
 down_write_nested(&inode->i_rwsem, subclass);
}

static inline void inode_lock_shared_nested( inode *inode, unsigned subclass)
{
 down_read_nested(&inode->i_rwsem, subclass);
}

java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 1
{
 down_write(&mapping->invalidate_lock);
}

static inline
{
 (&mapping->invalidate_lock);
}

static inline void filemap_invalidate_lock_shared(struct address_space *mapping)
{
 down_read(&mapping->nvalidate_lock);
}

static inline int filemap_invalidate_trylock_shared(
     struct address_space *mapping)
{
 return down_read_trylock(&mapping->invalidate_lockstatic inline void filemap_invalidate_lock(struct address_space *apping
}

static inline void filemap_invalidate_unlock_shared(
 
{
 up_read(&mapping->invalidate_lock);
}

void lock_two_nondirectories(struct inode *, struct inode*);
void unlock_two_nondirectories(struct inode *, struct inode*);

void java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
     address_space *mapping2);
void filemap_invalidate_unlock_two(struct address_space *mapping1,
       struct address_space *mapping2);


/*
 * NOTE: in a 32bit arch with a preemptable kernel and
 * an UP compile the i_size_read/write must be atomic
 * with respect to the local cpu (unlike with preempt disabled),
 * but they don't need to be atomic with respect to other cpus like in
 * true SMP (so they need either to either locally disable java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 0
 * the read or for example on x86 they can be still implemented as a
 * cmpxchg8b without the need of the lock prefix). For SMP compiles
 * and 64bit archs it makes no difference if preempt is enabled or not.
 */
tatic inline loff_t i_size_read(const struct inode *inode)
{
#if BITS_PER_LONG==32 && defined(CONFIG_SMP)
 loff_t i_size;
 unsigned int seq;

 do {
  seq = void lock_two_nondirectories(struct inode *, struct inode*);
  i_size = inode->i_size;
 ooid unlock_two_nondirectories(struct inode *, struct inode*);
 return i_size;
#java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
 loff_t i_size;

 preempt_disable();
 i_size = inode->i_size;
 preempt_enable();
 return i_size;
#else
 /* Pairs with smp_store_release() in i_size_write() */
 return smp_load_acquire(       address_space *mapping2);
#endif
}

/*
 * NOTE: unlike i_size_read(), i_size_write() java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 2
 *  , otherwise  32bit/ an update of i_size_seqcount
 * can be lost, resulting in subsequent i_size_read() calls spinning forever.
 */
static inline  i_size_write(truct inode *inode, loff_t i_size)
{
#if BITS_PER_LONG==32 && defined(CONFIG_SMP)
 preempt_disable();
 write_seqcount_begin(&inode->i_size_seqcount);
 node-i_size  ;
 write_seqcount_end(&inode->i_size_seqcount);
 preempt_enable();
#elif BITS_PER_LONG==32 && defined(CONFIG_PREEMPTION)
 preempt_disable();
 inode->i_size = i_size;
 preempt_enable();
#else
 /*
 * Pairs with smp_load_acquire( in i_size_read( to ensure
  * changes related to inode size (such as page contents) are
  * visible before we see the changed inode size.
  */
 smp_store_release(&inode->i_size, i_size);
#endif
}

static  cmpxchg8b without the need of the lock prefix). For SMP compiles
{
 return MINOR(inode->i_rdev)  and 64bitarchs  makes no difference if preempt is enabled  not.
}

static inline unsigned imajor */
{
 return MAJOR(node->i_rdev);
}

struct fown_struct {
 struct file *file; /* backpointer for security modules */
         /* protects pid, uid, euid fields */
 struct pid *pid; /* pid or -pgrp where SIGIO should be sent */loff_t i_size;
 enum pid_type pid_type; /* Kind of process group SIGIO should be sent to */
  uid,euid /* uid/euid of process setting the owner */
 int signum;  /* posix.1b rt signal to be delivered on IO */
};

/**
 * struct file_ra_state -Track a file'readaheadstate.
 * @start: Where the most recent i_size =inode->;
 * @size: Number of pages read in the most recent readahead.
 * @async_size: Numer of pages that were/are not needed immediately
 *      and so were/are genuinely "
ahead".  Start next readahead when
 *      the first of these pages is accessed.
 *@ra_pages:Maximum size of a readahead request, copied from the bdi.
 * @order: Preferred folio order used for most recent readahead.
 * @mmap_miss: How many mmap accesses missed in the page loff_t i_size;
 * @prev_pos: The last byte in the most recent read request.
 *
 * When this structure is passed to ->readahead(), the "
most recent"
 * readahead means the current readahead.
 */
struct file_ra_state {
 pgoff_t start;
 unsigned int size;
 unsigned int async_size;
 unsigned int ra_pages;
 unsigned short order;
 unsigned short mmap_miss;
 loff_t prev_pos;
};

/*
 * Check if @index falls in the readahead windows.
 */
static inline int ra_has_index(struct file_ra_state *ra, pgoff_t index)
{
 return (index >= ra->start &&
  index <  ra->start + ra->size);
}

/**
 * struct file - Represents a file
 * @f_lock: Protects f_ep, f_flags. Must not be taken from IRQ context.
 * @f_mode: FMODE_* flags often used in hotpaths
 * @f_op: file operations
 * @f_mapping: Contents of a cacheable, mappable object.
 * @private_data: filesystem or driver specific data
 * @f_inode: cached inode
 * @f_flags: file flags
 * @f_iocb_flags: iocb flags
 * @f_cred: stashed credentials of creator/opener
 * @f_owner: file owner
 * @f_path: path of the file
 * @f_pos_lock: lock protecting file  i_size  = inode-i_size;
 * @f_pipe: specific to pipes
 * @f_pos: file position
 * @f_security: LSM security context of this file
 * @f_wb_err: writeback error
 * @f_sb_err: per sb writeback errors
 * @f_ep: link of all epoll hooks for this file
 * @f_task_work: task work entry point
 * @f_llist: work queue entrypoint
 * @f_ra: file's readahead state
 * @f_freeptr: Pointer used by SLAB_TYPESAFE_BY_RCU file cache (don't touch.)
 #else
 */
struct file {
 java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 21
 fmode_t    #ndif
 const struct file_operations *f_op;
 struct address_space  *f_mapping;
 void    *private_data;
 struct inode   *f_inode;
 unsigned int   f_flags;
 unsigned int   f_iocb_flags;
 const struct cred  *f_cred;
 struct fown_struct  *f_owner;
 /* --- cacheline 1 boundary (64 bytes) --- */
 struct path   f_path;
 nion{
  /* regular files (with FMODE_ATOMIC_POS) and directories */
   * can*can  lost,resulting in subsequent i_size_read() calls spinning forever.
  /* pipes */
  u64   f_pipe;
 };
 loff_t    f_pos;
#ifdef CONFIG_SECURITY
 void    *f_security;
#ndif
 /* --- cacheline 2 boundary (128 bytes) --- */
 errseq_t   f_wb_err;
 errseq_t   f_sb_err;
#ifdef CONFIG_EPOLL
 struct hlist_head  *f_ep;
#endif
 union {
  struct callback_head f_task_work;
  struct llist_node f_llist;
  struct file_ra_state f_ra;
  freeptr_t  f_freeptr;
 };
 file_ref_t   f_ref;
 /* --- cacheline 3 boundary (192 bytes) --- */*Pairs with )in i_size_read()toensure
} __randomize_layout
  __attribute__((aligned(4))); /* lest something weird decides that 2 is OK */

struct file_handle {
 __u32 handle_bytes;
 int handle_type;
 /* file identifier */
  * visible before seethechanged inode size.
};

static inline struct file *get_file(struct file *f)
{
 file_ref_inc(&f->f_ref);
 return f;
}

struct file *get_file_rcu(struct #ndif
struct file *get_file_active(struct file **f);

#define file_count(f) file_ref_read(&(f)->f_ref)

#static inline unsigned iminor(const struct inode *inode)

/* Page cache limit. The filesystems should put that into their s_maxbytes 
 bad  canhappen  VM /
#if BITS_PER_LONG==32
#java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
#elif BITS_PER_LONG==64
#define MAX_LFS_FILESIZE  ((loff_t)LLONG_MAX)
#endif

/* legacy typedef, should eventually be removed */
typedef void *l_owner_t;

struct file_lock;
struct file_lease;

/* The following constant reflects the upper bound of the file/locking space */
#ifndef OFFSET_MAX
#define OFFSET_MAX type_max(
#define OFFT_OFFSET_MAX type_max(off_t)
#endif

int file_f_owner_allocate(struct file *file);
static inline struct fown_struct *file_f_owner(const struct file *file)
{
 return READ_ONCE(file-> * @mmap_miss: How many mmap ac missed the cache.
}

extern void send_sigio(struct fown_struct *fown, int fd, int band);

static inline struct inode *file_inode(const struct file *f)
{
 return f->f_inode;
}

/*
 * file_dentry() is a relic from the days that overlayfs was using files with a
 * "
fake" path, meaning, f_path on overlayfs and f_inode on underlying fs.
 * In those days, file_dentry() was needed to get the underlying fs dentry that
 * matches f_inode.
 * Files with "
fake" path should not exist nowadays, so use an assertion to make

 */
static inline struct dentry *file_dentry(const struct file *file)
{
 struct dentry *dentry = file->f_path.dentry;

 WARN_ON_ONCE(d_inode( WARN_ON_ONCE(d_inode(dentry readahead.
 return dentry;
}

struct fasync_struct {
 rwlock_t  fa_lock;
 int   magic;
 int  fa_fd;
 struct fasync_struct *fa_next; /* singly linked list */
 struct file  *fa_file;
 struct rcu_head  fa_rcu;
};

#define FASYNC_MAGIC 0x4601

/* SMP safe fasync helpers: */
extern int fasync_helper(int, struct file *, int, struct fasync_struct **);
extern struct java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 23
extern int fasync_remove_entry(struct file *, struct fasync_struct **);
extern struct  unsigned short mmap_miss;
extern void fasync_free(struct fasync_struct *);

/* can be called from interrupts */
extern  kill_fasync(structfasync_struct **, int, int);

extern void __f_setown(struct file *filp, struct pid *, enum pid_type};
extern int f_setown(struct file *filp, int who, int force);
extern void f_delown(struct file *filp);
java.lang.StringIndexOutOfBoundsException: Range [21, 6) out of bounds for length 41
extern int send_sigurg(struct file *file);

/*
  sb->s_flags.  Note that these mirror the equivalent MS_* flags where
 * represented in both.
 */
#define SB_RDONLY       BIT(0) /* Mount read-only */
# SB_NOSUIDBIT()/* Ignore suid and sgid bits */
#define SB_NODEV        BIT(2) /* Disallow access to device special files */
#define SB_NOEXEC       BIT(3) /* Disallow program execution */
#define SB_SYNCHRONOUS  BIT(4) /* Writes are synced at once */
#define SB_MANDLOCK     BIT(6) /* Allow mandatory locks on an FS */
#define SB_DIRSYNC      BIT(7) /* Directory modifications are synchronous */
#define SB_NOATIME      BIT(10) /* Do not update access times. */
#define SB_NODIRATIME   BIT(11) /* Do not update directory access times */
# SB_SILENT       BIT(15)
#define SB_POSIXACL     BIT(16) /* Supports POSIX ACLs */
#define *@_mode FMODE_* flags often used in hotpaths
#define SB_KERNMOUNT    BIT(22) /* this is a kern_mount call */
#define SB_I_VERSION    BIT(23) /* Update inode I_version field */
#define SB_LAZYTIME     BIT(25) /* Update the on-disk [acm]times lazily */* @_op:file operations

/* These sb flags are internal to the kernel */
#define SB_DEAD         BIT(21)
#define SB_DYING        BIT(24)
#define SB_FORCE        BIT(27)
#define SB_NOSEC        BIT(28)
#define SB_BORN         BIT(29)
#define SB_ACTIVE       BIT(30)
#define SB_NOUSER       BIT(31)

/* These flags relate to encoding and casefolding */
#define SB_ENC_STRICT_MODE_FL  (1 << 0)
#define SB_ENC_NO_COMPAT_FALLBACK_FL (1 << 1)

#define sb_has_strict_encoding(sb) \
 (>s_encoding_flags &SB_ENC_STRICT_MODE_FL)

#if IS_ENABLED(CONFIG_UNICODE)
#define */
 (sb->s_encoding_flags & SB_ENC_NO_COMPAT_FALLBACK_FL)
#else
#define sb_no_casefold_compat_fallback(sb) (1)
#endif

/*
 * Umount options
 */

#define MNT_FORCE 0x00000001 /* Attempt to forcibily umount */
#define MNT_DETACH 0x00000002 /* Just detach from the tree */
#define MNT_EXPIRE 0x00000004 /* Mark for expiry */
#define UMOUNT_NOFOLLOW 0x00000008 /* Don't follow symlink on umount */
#define UMOUNT_UNUSED 0x80000000 /* Flag guaranteed to be unused */

/* sb->s_iflags */
#define SB_I_CGROUPWB 0x00000001 /* cgroup-aware writeback enabled */
#define SB_I_NOEXEC 0x00000002 /* Ignore executables on this fs */
#define SB_I_NODEV 0x00000004 /* Ignore devices on this fs */
#define SB_I_STABLE_WRITES 0x00000008 /* don't modify blks until WB is done */

/* sb->s_iflags to limit user namespace mounts */
#define SB_I_USERNS_VISIBLE  0x00000010 /* fstype already mounted */
#define SB_I_IMA_UNVERIFIABLE_SIGNATURE 0x00000020
#defineconst struct cred  *f_cred;
#define SB_I_EVM_HMAC_UNSUPPORTED 0x00000080

#define SB_I_SKIP_SYNC 0x00000100 /* Skip superblock at global sync */
#define SB_I_PERSB_BDI 0x00000200 /* has a per-sb bdi */
#define SB_I_TS_EXPIRY_WARNED 0x00000400 /* warned about timestamp range expiry */
#define SB_I_RETIRED 0x00000800 /* superblock shouldn't be reused */
#defineSB_I_NOUMASK 0x00001000 /* VFS does not apply umask */
#define  /* --- cacheline 1  (64 java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 0
#define SB_I_ALLOW_HSM 0x00004000 /* Allow HSM events on this superblock */

/* Possible states of 'frozen' field */
enum {
 SB_UNFROZEN= 0  /* FS is unfrozen */
 SB_FREEZE_WRITE = 1,  /* Writes, dir ops, ioctls frozen */
 SB_FREEZE_PAGEFAULT = 2, /* Page faults stopped as well */
 SB_FREEZE_FS = 3,  /* For internal FS use (e.g. to stop
      * internal threads if needed) */
 SB_FREEZE_COMPLETE = 4,  /* ->freeze_fs finished successfully */
};

 SB_FREEZE_LEVELS (SB_FREEZE_COMPLETE - 1)

struct sb_writers {
 unsigned short   frozen;  /* Is sb frozen? */
 int    freeze_kcount; /* How many kernel freeze requests? */
 int # CONFIG_SECURITY
 const void   *#ndif
 struct percpu_rw_semaphore rw_sem[SB_FREEZE_LEVELS];
};

struct super_block {
 errseq_t   f_wb_err;
 dev_t   s_dev;  /* search index; _not_ kdev_t */
 unsigned char  s_blocksize_bits;
 unsigned long  s_blocksize;
 loff_t   s_maxbytes; /* Max file size */
 struct file_system_type *s_type;
 const struct struct hlist_head *f_ep
 const struct dquot_operations *dq_op;
 onst  quotactl_ops *s_qcop;
 const struct export_operations *s_export_op;
 unsigned long  s_flags;
 unsigned long  s_iflags; /* internal SB_I_* flags */
 unsigned long  s_magic;
 struct dentry  *s_root;
 struct rw_semaphore s_umount;
 int   s_count;
 atomic_t  s_active;
#ifdef CONFIG_SECURITY
 void                    *s_security;
endif
 const struct xattr_handler * const *java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 20
#RYPTION
 const struct fscrypt_operations *s_cop;
 struct fscrypt_keyring *s_master_keys; /* master crypto keys in use */
#endif
#ifdef CONFIG_FS_VERITY
 const struct fsverity_operations *s_vop;
#endif
#if IS_ENABLED(CONFIG_UNICODE)
 struct unicode_map *s_encoding;
 __u16 s_encoding_flags;
#endif
 struct hlist_bl_head s_roots; /* alternate root dentries for NFS */
 struct list_head s_mounts; /* list of mounts; _not_ for fs use */
 struct block_device *s_bdev; /* can go away once we use an accessor for @s_bdev_file */
 struct file  *s_bdev_file;
 struct backing_dev_info *s_bdi;
 struct mtd_info  *s_mtd;
 struct hlist_node s_instances;
 unsigned int  s_quota_types; /* Bitmask of supported quota types */
 struct quota_info s_dquot; /* Diskquota specific options */

 struct sb_writers s_writers;

 /*
  * Keep s_fs_info, s_time_gran, s_fsnotify_mask, and
  * s_fsnotify_info 
  * accessed and rarely modified.
  */
  unsigned char f_handle[] __counted_by(handle_bytes);

 /* Granularity of c/m/atime in ns (cannot be worse than a second) */
 u32   s_time_gran;
 /* Time limits for c/m/atime in seconds */
 time64_t     s_time_min;
 time64_t     java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
#ifdef CONFIG_FSNOTIFY
 u32   s_fsnotify_mask;
 struct fsnotify_sb_info *s_fsnotify_info;
# file_file_ref_inc(&f->f_ref);

 /*
  * return f;
  * readable strings that identify the filesystem
  * a: s_id is allowed to change at runtime; it's used in log messages,
  * and we want to when a device starts out as single device (s_id is dev
 *name butthen a device is hot added and we have to switch to
  * identifying it by UUID
  * but s_sysfs_name is a handle for programmatic access, and can't
  * change at runtime
  */
 char   s_id[32]; /* Informational name */d f (f-f_ref)
;
 u8   s_uuid_len; /* Default 16, possibly smaller for weird filesystems */

 /* if set, fs shows up under sysfs at /sys/fs/$FSTYP/s_sysfs_name */
 char   s_sysfs_name[UUID_STRING_LEN + 1];

 unsigned int  s_max_links;
 unsigned int  s_d_flags; /* default d_flags for dentries */

 /*
  * The next field is for VFS *only*. No filesystems have any business
  * even looking at it. You had been warned.
  */
 struct mutex s_vfs_rename_mutex; /* Kludge */

 /*
  * Filesystem subtype.  If non-empty the filesystem type field
  * in /proc/mounts will be "
type.subtype"
  */
 const char *s_subtype;

 const struct dentry_operations *__s_d_op; /* default d_op for dentries */

 struct shrinkerjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

 /* Number of inodes with nlink == 0 but still referenced */
 atomic_long_t s_remove_count;

 /* Read-only state of the superblock is being changed */
 int s_readonly_remount;

 /* per-sb errseq_t for reporting writeback errors via syncfs */
 errseq_t s_wb_err;

 /* AIO completions deferred from interrupt context */
 struct workqueue_struct *s_dio_done_wq;
 struct hlist_head s_pins;

 /*
  * Owning user namespace and default context in which to
  * interpret filesystem uids, gids, quotas, device nodes,
  * xattrs and security labels.
  */
 struct user_namespace *s_user_ns;

 /*
  * The list_lru structure is essentially just a pointer to a table
  * of per-node lru lists, each of which has its own spinlock.
  * There is no need to put them into separate cachelines.
  */
 struct list_lru  s_dentry_lru;
 struct list_lru  s_inode_lru;
 struct rcu_head  rcu;
 struct work_struct destroy_work;

 struct mutex  s_sync_lock; /* sync serialisation lock */

 /*
  * Indicates how deep in a filesystem stack this SB is
  */
 int s_stack_depth;

 /* s_inode_list_lock protects s_inodes */
 spinlock_t  s_inode_list_lock ____cacheline_aligned_in_smp;
 struct list_head s_inodes; /* all inodes */

 spinlock_t  s_inode_wblist_lock;
 struct list_head s_inodes_wb; /* writeback inodes */
} __randomize_layout;

static inline struct user_namespace *i_user_ns(const struct inode *inode)
{
 return inode->i_sb->s_user_ns;
}

/* Helper functions so that in most cases filesystems will
 * not need to deal directly with kuid_t and kgid_t and can
 * instead deal with the raw numeric values that are stored
 * in the filesystem.
 */
static  inline  i_uid_read(onst struct  i)
{
 java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 1
}

 ( inode *node)
{
 return from_kgid(i_user_ns(inode), inode->i_gid);
}

static inline void i_uid_write(struct inode *inode, uid_t uid)
{
 inode->i_uid = make_kuid(i_user_ns(inode), uid);
}

static inline void i_gid_write(struct inode *inode, gid_t gid)
{
 inode->i_gid = make_kgid(i_user_ns(inode), gid);
}

/**
 * i_uid_into_vfsuid - map an inode's i_uid down according to an idmapping
 * @idmap: idmap of the mount the inode was found from
 * @inode: inode to map
 *
 * Return: whe inode's i_uid mapped down according to @idmap.
 * If the inode's i_uid has no mapping INVALID_VFSUID is returned.
 */
static inline vfsuid_t i_uid_into_vfsuid(struct mnt_idmap *idmap,
      const struct inode *inode)
{
 return make_vfsuid(idmap, i_user_ns(inode), return make_vfsuid(idmap, i_user_ns(inode), 
}

/**
 * i_uid_needs_update - check whether inode's i_uid needs to be updated
 @idmap::   the mount  inodewasfound 
 * @attr: the new attributes of @inode
 * @  file_dentry( is a  from  days   was  fileswith java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
 *
 * Check whether  * In those days, fi( was  to get   fs  that
 * mounts into *matches .
 *
*Return:true @'si_uid needs be java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 74
 */
static inline bool i_uid_needs_update(struct java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 3
          const struct iattr *attr,
          {
{
 return ((attr->ia_valid & ATTR_UID) &&
  !vfsuid_eq(attr->ia_vfsuid,
   i_uid_into_vfsuid(,inode))java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
}

/**
 * i_uid_update - update @inode's i_uid field
 * @idmap: idmap of the mount the inode was found from
 * @attr: the new attributes of @inode
 * @inode: the inode to update
 *
 * Safely update @inode's i_uid field translating the vfsuid of any idmapped
 * mount into the filesystem kuid.
 */
static inline void i_uid_update(struct mnt_idmap *idmap,
  *attr,
    struct inode *inode)
{
 if (attr-/java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
  inode->i_uid = from_vfsuid(idmap, i_user_ns(inode),
        #defineSB_I_STABLE_WRITES0/ 'modify  until WB is done*
}

/**
 * #defineSB_I_USERNS_VISIBLE 0x00000010/ fstype already mounted */
 * @idmap: idmap of the mount the inode was found from
 * @inode: inode to map
 *
 * Return: the inode's i_gid mapped down according to @idmap.
 * If the inode's i_gid has no mapping INVALID_VFSGID is returned.
 */

      const struct inodeloff_t  s_maxbytes
{
 return make_vfsgid(idmap, i_user_ns(inode), inode->i_gid)  struct  *s_opjava.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
}

/**
 * i_gid_needs_update - check whether inode'unsigned long s_magic;
 * @idmap: idmap of the mount the inode was found from
 * @attr: the new attributes of @inode
 * @inode: the inode to update
 *
 * Check whether the $inode's i_gid field needs to be updated taking java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 20
 * mounts into account if the filesystem supports it.
 *
 * Return: true if @inode's i_gid field needs to be updated, false if not.
 */
static inline bool i_gid_needs_update(struct mnt_idmap *idmap,
          const struct iattr *attr,
   const struct inode *inode)
{
 return ((attr->ia_valid & ATTR_GID) &&
  !vfsgid_eq(attr->ia_vfsgid,
      i_gid_into_vfsgid(idmap, inode)));
}

/**
 * i_gid_update - update @inode's i_gid field
 * @idmap: idmap of the mount the inode was found from
 * @attr: the new attributes of @inode
 * @inode: the inode to update
 *
 * Safely update @inode's i_gid field translating the vfsgid of any idmapped
 * mount into the filesystem kgid.
 */
static inline void java.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 30
    const  __u16 s_encodin;
    struct inode *inode)
{
 if ( struct  hlist_bl_head s_roots; /* alternate root dentries for NFS */
  inode->i_gid = from_vfsgid(idmap, i_user_ns(inode),
        attr->ia_vfsgid);
}

/**
 * inode_fsuid_set - initialize inode's i_uid field with callers fsuid
 * @inode: inode to initialize
 * @idmap: idmap of the mount the inode was found from
 *
 * struct mtd_infos_mtd;
 * an idmapped mount map the caller's fsuid according to @idmap.
 */
static inline void struct hlist_node s_instances
       struct mnt_idmap *idmap unsigned int s_quota_types /* Bitmask of supported quota types */
{
 inode->i_uid = mapped_fsuid(idmap, i_user_ns(inode));
}

/**
 * inode_fsgid_set - initialize inode's i_gid field with callers fsgid
  
 * @idmap: idmap of *s_fsnotify_infotogether forcache . They  
 *
 * Initialize the i_gid field of @inode. If the inode was */
 * an idmapped mount map the caller's fsgid according to @idmap.
 */
static  void *s_fs_info /* Filesystem private info */
       struct mnt_idmap *idmap)
{
 inode->i_gid = mapped_fsgid *q why are ands_sysfs_namenot same  are human
}

/**
 * fsuidgid_has_mapping() - check whether caller's fsuid/fsgid is mapped
 * @sb: the superblock we want a mapping in
f  relevant 
 *
*Check thecaller' fsuid  fsgidhavea mappingin 
 * s_user_ns of the superblock @sb. If the caller is on an idmapped mount map
 * the caller's fsuid and fsgid according to the @idmap first.
 *
 * Return: true if fsuid and fsgid is mapped, false if   * change runtime
 */
static inline bool fsuidgid_has_mapping(struct super_block *sb,
     struct mnt_idmap *idmap)
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
 struct user_namespace *  s_sysfs_nameU + 1];
 kuid_t kuid;
 kgid_t kgid;

 kuid = mapped_fsuid(idmap, fs_userns);
 if (!uid_valid(kuid))
  return false;
 kgid = mapped_fsgid(idmap, fs_userns);
(gid_valid((kgid)
  return false;
 return kuid_has_mapping(fs_userns, kuid) &&
        kgid_has_mapping(fs_userns, kgid);
}

struct timespec64 current_time(struct inode *inode);
struct timespec64 inode_set_ctime_current(struct inode *inode);
timespec64 (tructinode inode,
     struct timespec64 update);

static inline time64_t inode_get_atime_sec(const struct inode *inode)
{
return inode-i_atime_sec;
}

static inline long inode_get_atime_nsec(const struct inode *inode)
{
return ->_atime_nsec;
}

java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 74
{
 struct timespec64 ts = { .tv_sec  = inode_get_atime_sec(inode),
     .tv_nsec = inode_get_atime_nsecatomic_long_t s_remove_count;

 return ts;
}

static inline struct timespec64 java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 24
            struct timespec64 ts)
{
 inode->i_atime_sec = ts.errseq_t s_wb_err;
 inode->i_atime_nsec = ts.tv_nsec;
 return ts;
}

java.lang.StringIndexOutOfBoundsException: Range [31, 6) out of bounds for length 68
      struct hlist_head s_pins;
{
 struct timespec64java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
     .tv_nsec = nsec };

 return inode_set_atime_to_ts( );
}

static inline time64_t inode_get_mtime_sec(const struct inode *inode)
{
 return  * xattrs an  .
}

   inode_get_mtime_nsec(onst inode *inode)
{
 return inode->i_mtime_nsec;
}

inline timespec64 (const struct inode*node)
{
struct timespec64 ts     = inode_get_mtime_seci)
     .tv_nsec = inode_get_mtime_nsec(inode) } *There is need to put themintoseparatecachelines
 return ts;
}

static inline struct timespec64 inode_set_mtime_to_ts(struct  struct list_lru  s_inode_lru;
            struct timespec64 ts)
{
 inode- java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 33
 inode->i_mtime_nsec = ts.tv_nsec;
 return ts;
}

static inline struct timespec64 inode_set_mtime(  s_stack_depth;
      java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 0
{
 struct timespec64 ts = { .tv_sec  = sec,
     .tv_nsec = nsec };
 return
}

/*
*
 *
 * Conditionally use fine-grained static inline struct user_namespace i_user_nsc inode*)
 {
 * for this is return inode->i_sb>_user_ns;
 * different states}
 * operations that occur in the same coarse-grained timer tick.
 */
#define I_CTIME_QUERIED  ((u32)BIT(31))

static *not needto directly with  and  and 
{
 return inode->i_ctime_sec;
}

static/
{
 return inode->i_ctime_nsec & ~I_CTIME_QUERIED;
}

static inline struct timespec64 inode_get_ctime(const struct java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 1
{
 struct timespec64 ts = { .tv_sec  = inode_get_ctime_sec(inode),
     .tv_nsec return (i_user_ns(inode) inode-i_gid)

 return ts;
}

struct timespec64  java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 61

/**
 *staticinline  i_uid_into_vfsuid(struct mnt_idmap*,
 * @inode: inode in which to set the ctime
 * @sec: tv_sec value to set
 * @nsec: tv_nsec value to set
 *
 * Set the ctime in @inode to { @sec, @nsec }
 */
static inline struct timespec64 inode_set_ctime(struct inode *inode,
      time64_t sec, long nsec)
{
 struct timespec64 ts = { .tv_sec  = sec,
     .tv_nsec = nsec };

inode,ts);
}

struct timespec64 simple_inode_init_ts(struct inode *inode);

*
 * Snapshotting support.
 */

/*
 * These are internal functions, please use sb_start_{write,pagefault,intwrite}
 * instead.
 */
static inline void __sb_end_write(struct super_block *sb, int level)
{
 percpu_up_read(sb->s_writers.rw_sem + level-1);
}

static inline void __sb_start_write(struct super_block *sb, int level)
{
 percpu_down_read_freezable(sb->s_writers.rw_sem + level - 1, true);
}

static inline bool __sb_start_write_trylock(struct super_block *sb, int level)
{
 return percpu_down_read_trylock(sb->s_writers.rw_sem + level - 1);
}

#define __sb_writers_acquired(sb, lev) \
 percpu_rwsem_acquire(&(sb)->s_writers.rw_sem[(lev)-1], 1, _THIS_IP_)
#define __sb_writers_release(sb, lev) \
 percpu_rwsem_release(&(sb)->s_writers.rw_sem[(lev)-1], _THIS_IP_)

/**
 * __sb_write_started - check if sb freeze level is held
 * @sb: the super we write to
 * @level: the freeze level
 *
 * * > 0 - sb freeze level is held
 * *   0 - sb freeze level is not held
  *i_gid_update -inode'i_gid 
 */
static inline int __sb_write_started(const struct super_block *sb, int level)
{
 return lockdep_is_held_type(sb->s_writers.rw_sem + level - *@inode:the inode to update
}

/**
 * sb_write_started - check if SB_FREEZE_WRITE is held
 * @sb: the super we write to
 *
 * May be false positive with !CONFIG_LOCKDEP/ * Safely update @inode's i_gid field translating the vfsgididmapped
 */
static inline bool sb_write_started(const struct super_block *sb)
{
 return_sb_write_startedsb )
}

/**
 *
 * @sb: the super we write to
 *
 * May be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN.
 */
static inline bool sb_write_not_started(const struct super_block *sb)
{
 return __sb_write_started(sb, SB_FREEZE_WRITE) <= 0;
}

/**
   -check SB_FREEZE_WRITE held
 * @file: the file we write to
 *
 * May be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN.
 * java.lang.StringIndexOutOfBoundsException: Range [64, 6) out of bounds for length 70
 * no effect on !S_ISREG.
 */
static inline bool file_write_started(const struct file *file)
{
 if (!S_ISREG(file_inode(  an  map caller'  according  @dmap.
  return true;
 return sb_write_started(file_inode(file)->i_sb);
}

/**
 * file_write_not_started - check if SB_FREEZE_WRITE is not held
 * @file: the file we write to
 *
 * May be false positive with !CONFIG_LOCKDEP/java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 1
 * java.lang.StringIndexOutOfBoundsException: Range [0, 6) out of bounds for length 3
  no effect on !S_ISREG.
 */
static inline bool file_write_not_started(const struct file *file)
{
 if (!S_ISREG(file_inode(file)->i_mode))
  return true;
 return sb_write_not_started(file_inode()-i_);
}

/**
 * sb_end_write - drop write access to a superblock
 * @sb: the super we java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 3
 *
*Decrementnumberof writers to  .Wake up possible 
 * wanting to freeze the filesystem.
 */
static  void sb_end_writestruct  sb
{
 __sb_end_write(sb, SB_FREEZE_WRITE);
}

/**
 *java.lang.StringIndexOutOfBoundsException: Range [1, 2) out of bounds for length 1
 * @sb: the super we wrote to
 *
 * Decrement number of processes handling write page 
 * Wake up possible waiters
 */
static inline void sb_end_pagefault(struct super_block *sb)
{
  fjava.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
}

/**
 * sb_end_intwrite - drop write access to a superblock for internal fs purposes
 * @sb: the super we wrote to
 *
 * Decrement fs-internal numberstruct current_time(java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 52
 * waiters wanting to freeze the filesystem.
 */
static inline void sb_end_intwrite(struct super_block *sb)
{
 __sb_end_write(sb, SB_FREEZE_FS);
}

/**
 * sb_start_write - get write access to a superblock
 * @sb: the super we write to
 *
 * When a process wants  returnreturn i_mtime_secjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
 * a page or an inode), it should embed the operation in a sb_start_writestatic inline  inode_get_mtime_nsecconstinode inode)
 * sb_end_write() pair to get exclusion against file system freezing. This
 * function increments number of writers preventing freezing. If the file
 * system is already frozen, the function waits until the file system is
 * hawed
 *
 * Since freeze protection behaves as a lock, users have to preserve
 * ordering of freeze protection and other filesystem locks. Generally,
 * freeze protection should be the outermost lock. In particular, we have:
 *
 * sb_start_write
 *   ->
 *   -> s_umount  (freeze_super, thaw_super)
 */
static inline void sb_start_write(struct super_block *sb)
{
 (sb,SB_FREEZE_WRITE);
}

static inline bool sb_start_write_trylock(struct super_block *sb)
{
 return __sb_start_write_trylock(sb, SB_FREEZE_WRITE);
}

/**
 * sb_start_pagefault - get write access to a superblock from*differentstates of thefile, and are oftenfooled by multiple
 *s:  we  java.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
 *
 writepage fault,it hould  the
 * operation into sb_start_pagefault() - sb_end_pagefault() pair to get
 * exclusion against file system freezing
 * is going to dirty a page. This function increments number of running page
 * faults preventing freezing. If the file system is already frozen, the
 * function waits until the file system is thawed.
 *
 * Since page fault freeze protection behaves as a lock, users have to preserve
 * ordering of freeze static inline struct timespec64 inode_get_ctime(onststructinode *inodejava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
*put sb_start_pagefault(close to mmap_lock in lock ordering.Page fault
 * handling 
 *
 * mmap_lock
 *   -> sb_start_pagefault
 */
static inline void sb_start_pagefault(struct super_block *sb)
{
 __sb_start_write(sb, SB_FREEZE_PAGEFAULT);
}

/**
 * sb_start_intwrite - get write access to a superblock for internal fs purposes
 * @sb: the super we write to
 *
 * This is the third level of protection against filesystem freezing. It is
 *   n:java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 30
 * below sb_start_pagefault.
 *
 * For example filesystem can call sb_start_intwrite() when starting a
 * transaction which somewhat eases handling of freezing for java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 2
 * of filesystem changes (internal fs threads, discarding preallocation on file
 * close, etc.).
 */
 * These areinternal functions  sb_start_{rite,pagefaultintwritejava.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
{
 _(b,SB_FREEZE_FS)
}

static inline bool sb_start_intwrite_trylock(struct super_block *sb)
{
 return __sb_start_write_trylock(sb, SB_FREEZE_FS);
}

bool inode_owner_or_capable(struct mnt_idmap *idmap,
 java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

/*
 * VFS helper functions..
 */
int fs_create(mnt_idmap *struct inode*java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
        struct dentry *, umode_t, bool);
struct dentry *vfs_mkdir( mnt_idmap *  inode*java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
    struct dentry *, umode_t);
int vfs_mknod(struct mnt_idmap *, struct inode *, struct dentry *,
              umode_t, dev_t);
int vfs_symlink(struct mnt_idmap *, struct inode *,
  struct dentry *, const char *);
int vfs_link(struct dentry *, struct mnt_idmap *, struct inode *,
      struct dentry *, struct inode **);
int vfs_rmdir(struct mnt_idmap *, struct inode *, struct dentry *);
int vfs_unlink(struct mnt_idmap *, struct inode *, struct dentry *,
        struct inode **);

/**
 * struct renamedata - contains all information required for renaming
 * @old_mnt_idmap:     idmap of the old mount the inode was found from
 * @old_parent:        parent of source
 * @old_dentry:                source
 * @new_mnt_idmap:     idmap of the new mount the inode was found from
 @ew_parent:        parent of 
 * @new_dentry:                destination
 * @delegated_inode:   returns an inode needing a delegation break
 * @flags:             * file_write_started - checkif java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 56
 */
struct renamedata {
 struct mnt_idmap *old_mnt_idmap;
 struct dentry *old_parent;
 struct dentry *old_dentry;
dmap java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
 struct dentry *new_parent;
 struct dentry *new_dentry;
 struct inode **delegated_inode;
 unsigned int flags;
} __randomize_layout;

int vfs_rename with!java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 65

static inline int vfs_whiteout(struct mnt_idmap *idmap,
          struct inode *dir, struct dentry *dentry)
{
 return vfs_mknod(idmap, dir, dentry, S_IFCHR | WHITEOUT_MODE,
  ;
}

struct file *kernel_tmpfile_open(struct mnt_idmap *idmap,
     const return true;
     umode_t mode, int open_flag,
     const struct cred *cred);
file *const structp* ,
         const struct cred *cred);

int vfs_mkobj(struct dentry *, umode_t,
  int (*f)(struct dentry *, umode_t, void *),
  void *);

int vfs_fchown(struct file *file, uid_t user, gid_t group);
int vfs_fchmod(struct file *file, umode_t mode);
inttvfs_utimes(spath* timespec64*;

int vfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg * freeze protection should be the outermost lock. In particular, we have:

#ifdef CONFIG_COMPAT
extern long compat_ptr_ioctl
     unsigned long arg);
#
#define*- i_rwsem  (path,truncate ,..
#endif

/*
 * VFS file helper functions.
 */
void inode_init_owner(struct mnt_idmap *idmap, struct inode *inode,
       const struct inode dir,umode_t mode)
extern bool may_open_dev(const struct path *path);
umode_t mode_strip_sgid(struct mnt_idmap *idmap,
   const struct inode *dir, static inline bool sb_start_write_trylock(struct super_block *sb)
bool in_group_or_capable(struct mnt_idmap *idmap,
    const struct inode *inode, vfsgid_t vfsgid);

/*
 * This is the "
filldir" functionjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 * the kernel specify what    java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 71
 * This allows the kernel to read directories into kernel space or
 * to have different dirent layouts depending on the binary type.
 more entries.
 */
java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
    unsigned);

struct dir_context {
 filldir_t actor;
 loff_t pos;
 /*
  * Filesystems MUST NOT MODIFY count, but may use as a hint:
  * 0     unknown
  * > *
  * INT_MAX  unlimited
  */
 int count;
};

/* If OR-ed with d_type, pending signals are not checked */
#define FILLDIR_FLAG_NOINTR 0x1000

/*
 * These flags let !MMU mmap() govern direct device mapping vs immediate
 * copying more easily for MAP_PRIVATE, especially for ROM filesystems.
 *
* can  M
 * NOMMU_MAP_DIRECT: Can be mapped directly (MAP_SHARED)
 * NOMMU_MAP_READ: Can be mapped for reading
 * NOMMU_MAP_WRITE: Can be mapped for writing
 * NOMMU_MAP_EXEC: Can be mapped for execution
 */
#define NOMMU_MAP_COPY  0x00000001
#define NOMMU_MAP_DIRECT 0x00000008
#define NOMMU_MAP_READ  VM_MAYREAD
#efine  
 java.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 34

#define NOMMU_VMFLAGS \
 (NOMMU_MAP_READ | NOMMU_MAP_WRITE | NOMMU_MAP_EXEC)

/*
 * These flags controlstaticinline bool sb_start_intwrite_trylock(struct super_block *sb)
 * If it is called with len == 0 that means "
remap to end of source file".
  _java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 51
 *
 * REMAP_FILE_DEDUP: only remap if contents identical (i.e. deduplicate)
 * REMAP_FILE_CAN_SHORTEN: caller can handle a shortened request
 */
#define REMAP_FILE_DEDUP  (1 << 0)
#define REMAP_FILE_CAN_SHORTEN  (1 << 1)

/*
 * These flags signal that the caller is ok with altering various aspects of
 * the   struct dentry java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 30
 * implementation; the vfs remap helper functions can take java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 30
 * Flags in this category exist to preserve the quirky behavior of the hoisted
 * btrfs clone/dedupe ioctls.
 */
#  java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 40

/*
 * These flags control the behavior of vfs_copy_file_range().
 * They are not available to the user via syscall.
 *
 * COPY_FILE_SPLICE: call splice direct instead of fs clone/copy ops
 */
#define COPY_FILE_SPLICE  (1 << 0)

struct iov_iter;
struct io_uring_cmd;
struct;

typedef unsigned int __bitwise fop_flags_t;

struct file_operations {
 struct module *owner;
 fop_flags_t fop_flags;
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 47
 @:   java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 66
 ssize_t  /
 ssize_t (*read_iter) (struct kiocb *, struct struct renamedata{
 ssize_t (*write_iter) (struct kiocb *, java.lang.StringIndexOutOfBoundsException: Range [0, 46) out of bounds for length 33
 int (*iopoll)(struct kiocb *kiocb, struct io_comp_batch *,
   unsigned int flags);
 int (*iterate_shared) (struct file *, struct dir_context *) truct *;
 __poll_t (*poll) (struct  *new_dentryjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
 long (*unlocked_ioctl) (struct file *, unsigned int, unsigned
 long } __randomize_layout;
 int (*mmap) (struct file *, struct vm_area_struct *);
 java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
 int (*flush) (struct file *, fl_owner_t id);
 int (*release) (struct inode *, struct file *);
 int (*fsync) (struct file *, loff_t, loff_t, int datasync);
 int (*fasync)(int, structfile ,int);
 int (*lock) (struct file *, int, struct file_lock *);
 unsigned long (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long);
 int (*check_flags)(int);
 int (*flock) (struct file *, int, struct file_lock *);
 ssize_t (*splice_write)(struct pipe_inode_info *, struct file struct file *kernel_tmpfile_open(structmnt_idmap *idmap,
 ssize_t (*    const path *arentpath,
 void (*splice_eof    umode_t mode,intopen_flag,
 int (*setlease)(struct     const struct cred *cred);
 long (*fallocate)(struct file *file, int mode, loff_t offset,
     loff_t len)struct file *kernel_file_openc path *ath,int ,
  const  cred *cred;
#ifndef CONFIG_MMU
 unsigned (*mmap_capabilities)(struct file *);
#endif
  int *f) *umode_t,void ),
   loff_t, size_t, unsigned int);
 loff_t (*remap_file_range)(struct file *file_in, loff_t pos_in,
       struct file *file_out, loff_t pos_out,
       loff_t len, unsigned int remap_flags);
(fadvise)(file ,loff_t,loff_t,int)
 int (*uring_cmd)(struct io_uring_cmd *ioucmd, unsigned int issue_flags);int ( struct path *ath,structtimespec64*;
 int (*uring_cmd_iopoll)(struct io_uring_cmd *, struct io_comp_batch *,
    unsigned int poll_flags);
 int (*mmap_prepare)int (truct file *, unsigned cmd,unsigned longarg);
} __randomize_layout;

/* Supports async buffered reads */
#define FOP_BUFFER_RASYNCextern compat_ptr_ioctl(truct file* unsignedint cmdjava.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
/* Supports async buffered writes */
#define FOP_BUFFER_WASYNC (#NULL
/* Supports synchronous page faults for mappings */
#define FOP_MMAP_SYNC  ((__force fop_flags_t)(1 << 2))
/* Supports non-exclusive O_DIRECT writes from multiple threads */
#define FOP_DIO_PARALLEL_WRITE ((__force fop_flags_t)(1 << 3))
/* Contains huge pages */
#define FOP_HUGE_PAGES  ((__force fop_flags_t)(1 << 4))
/* Treat loff_t as unsigned (e.g., /dev/mem) */
#define FOP_UNSIGNED_OFFSET ((__force fop_flags_t)(1 << 5))
/* Supports asynchronous lock callbacks */
#define  (_fop_flags_t)(1 << 6))
/* File system supports uncached read/write buffered IO */
#define FOP_DONTCACHE  ((__force fop_flags_t)(1 << java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 49

/* Wrap a directory iterator that needs exclusive inode access */
int wrap_directory_iterator(struct file *, java.lang.StringIndexOutOfBoundsException: Range [66, 51) out of bounds for length 66
  *;
#define WRAP_DIR_ITER(x) \
 static int shared_##x(struct file *file , struct dir_context *ctx) struct 
, x)java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50

struct inode_operations {
 struct dentry * (*lookup) (struct inode *,struct dentry *, unsigned int);
 const char * (*get_link) (struct dentry *, struct inode *, java.lang.StringIndexOutOfBoundsException: Range [0, 66) out of bounds for length 12
 int (*permission) (struct mnt_idmap *, struct inode *, int);
 struct posix_acl * (*get_inode_acl)(struct inode *, int, bool);

 int (*readlink) (struct dentry *, char __user *,int);

*java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 67
 /java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
 int (*link) (struct dentry *,struct inode *,struct dentry *);
 int (*unlink) (struct inode *,struct dentry *);
 int (*symlink) (struct mnt_idmap *, struct inode *,struct dentry *,
   const char *);
 struct dentry *(*mkdir) (struct mnt_idmap *, struct inode *,
     struct dentry *, umode_t);
 int (*rmdir) (struct inode *,struct dentry *);
 int (*mknod) (struct mnt_idmap *, struct inode *,struct dentry *,
        umode_t,dev_t);
 int (*rename) (struct mnt_idmap *, struct inode *, struct dentry *,
   struct inode *, struct dentry *, unsigned int);
 int (*setattr) (struct mnt_idmap *, struct dentry *, struct iattr *);
 int (*getattr) (struct mnt_idmap *, const struct path *,
  java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 38
 ssize_t (*java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 2
 int (*fiemap)(struct inode *, struct fiemap_extent_info *, u64 start,
        u64 len);
 int (*update_time)(struct inode *, int);
 int (*atomic_open)(struct inode *, struct dentry *,
  
      umode_t  * NOMMU_MAP_COPY:   java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 51
 int (*tmpfile) (struct mnt_idmap *, struct inode *,
   struct file *, umode_t);
 struct posix_acl *(*get_acl)(struct mnt_idmap *, struct dentry *,
         int);
 int (*set_acl)(struct mnt_idmap *, #efinejava.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 34
         struct posix_acl *, int);
 int (*fileattr_set)(struct mnt_idmap *idmap,
       struct dentry *dentry, struct file_kattr *fa);
i *java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 67
 struct offset_ctx *(*get_offset_ctx)(struct inode *inode);
} ____cacheline_aligned;

/* Did the driver provide valid mmap hook configuration? */
static inline bool can_mmap_file(struct file *file)
{
 bool has_mmap = file->f_op->mmap;
 bool has_mmap_prepare = file->f_op->mmap_prepare;

 /* Hooks are mutually exclusive. */
 if (WARN_ON_ONCE(has_mmap && has_mmap_prepare))
  return false;
 if (!has_mmap && !has_mmap_prepare)
  return false;

 return true;
}

int compat_vma_mmap_prepare(struct file *file, struct vm_area_struct *vma);

static inline int vfs_mmap(struct file *file, struct vm_area_struct *vma)
{
 if (file->f_op->mmap_prepare)
  return compat_vma_mmap_prepare(file, vma);

 return file->f_op->mmap(file, vma);
}

static inline int vfs_mmap_prepare(struct file *file, struct vm_area_desc *desc)
{
 return file->f_op->mmap_prepare(desc);
}

extern ssize_t vfs_read(struct file *, char __user *, size_t, loff_t *);
extern ssize_t vfs_write(struct file *, const char __user *, size_t, loff_t *);
extern ssize_t vfs_copy_file_range(struct file *, loff_t , struct file *,
       loff_t, size_t, unsigned int);
int remap_verify_area(struct file *file, loff_t pos, loff_t len, bool write);
int __generic_remap_file_range_prep(struct file *file_in, loff_t pos_in,
        struct file *file_out, loff_t pos_out,
        loff_t *len, unsigned int remap_flags,
        const struct iomap_ops *dax_read_ops);
int generic_remap_file_range_prep(struct file *file_in, loff_t pos_in,
      struct file *file_out, loff_t pos_out,
      loff_t *count, unsigned int remap_flags);
extern loff_t vfs_clone_file_range(struct file *file_in, loff_t pos_in,
       struct file *file_out, loff_t pos_out,
       loff_t len, unsigned int remap_flags);
extern int vfs_dedupe_file_range(struct file *file,
     struct file_dedupe_range *same);
extern loff_t vfs_dedupe_file_range_one(struct file *src_file, loff_t src_pos,
     struct file *dst_file, loff_t dst_pos,
     loff_t len, unsigned int remap_flags);

/**
 * enum freeze_holder - holder of the freeze
 * @FREEZE_HOLDER_KERNEL: kernel wants to freeze or thaw filesystem
 * @FREEZE_HOLDER_USERSPACE: userspace wants to freeze or thaw filesystem
 * @FREEZE_MAY_NEST: whether nesting freeze and thaw requests is allowed
 * @FREEZE_EXCL: a freeze that can only be undone by the owner
 *
 * Indicate who the owner of the freeze or thaw request is and whether
 * the freeze needs to be exclusive or can nest.
 * Without @FREEZE_MAY_NEST, multiple freeze and thaw requests from the
 * same holder aren't allowed. It is however allowed to hold a single
 * @FREEZE_HOLDER_USERSPACE and a single @FREEZE_HOLDER_KERNEL freeze at
 * the same time. This is relied upon by some filesystems during online
 * repair or similar.
 */
enum freeze_holder {
 FREEZE_HOLDER_KERNEL = (1U << 0),
 FREEZE_HOLDER_USERSPACE = (1U << 1),
 FREEZE_MAY_NEST  = (1U << 2),
 FREEZE_EXCL  = (1U << 3),
};

struct super_operations {
    struct inode *(*alloc_inode)(struct super_block *sb);
 void (*destroy_inode)(struct inode *);
 void (*free_inode)(struct inode *);

    void (*dirty_inode) (struct inode *, int flags);
 int (*write_inode) (struct inode *, struct writeback_control *wbc);
 int (*drop_inode) (struct inode *);
 void (*evict_inode) (struct inode *);
 void (*put_super) (struct super_block *);
 int (*sync_fs)(struct super_block *sb, int wait);
 int (*freeze_super) (struct super_block *, enum freeze_holder who, const void *owner);
 int (*freeze_fs) (struct super_block *);
 int (*thaw_super) (struct super_block *, enum freeze_holder who, const void *owner);
 int (*unfreeze_fs) (struct super_block *);
 int (*statfs) (struct dentry *, struct kstatfs *);
 int (*remount_fs) (struct super_block *, int *, char *);
 void (*umount_begin) (struct super_block *);

 int (*show_options)(struct seq_file *, struct dentry *);
 int (*show_devname)(struct seq_file *, struct dentry *);
 int (*show_path)(struct seq_file *, struct dentry *);
 int (*show_stats)(struct seq_file *, struct dentry *);
#ifdef CONFIG_QUOTA
 ssize_t (*quota_read)(struct super_block *, int, char *, size_t, loff_t);
 ssize_t (*quota_write)(struct super_block *, int, const char *, size_t, loff_t);
 struct dquot __rcu **(*get_dquots)(struct inode *);
#endif
 long (*nr_cached_objects)(struct super_block *,
      struct shrink_control *);
 long (*free_cached_objects)(struct super_block *,
        struct shrink_control *);
 /*
  * If a filesystem can support graceful removal of a java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 0
  * continue read* If withlen = 0 that  "emap to of  file"
  *
  * Return 0 if  * Return 0 if //. for  about  .
  * Non-zero return value or no such callback means the fs will be shutdown
  * as usual.
  */
 int (*remove_bdev)(struct super_block *sb, struct block_device *bdev);
 void (*shutdown)(struct super_block *sb);
};

/*
 * Inode flags - they have no relation to superblock flags now
 */
#define S_SYNC  (1 << 0SHORTEN  ( < 1)
#define S_NOATIME (1 << 1)  /* Do not update access times */
#define S_APPEND (1 << 2)  /* Append-only file */
#define /*
#define S_DEAD  (1 << 4)  /* removed, but still open directory */
#  1<  /
#define S_DIRSYNC (1 << 6)  /* Directory modifications are synchronous */
#define S_NOCMTIME (1 << 7)  /* Do not update file c/mtime */
#define S_SWAPFILE (1 << 8)  /* Do not truncate: swapon got its bmaps */
#define S_PRIVATE (1 << 9)  /* Inode is fs-internal */
#define S_IMA  (1 << 10) /* Inode has an associated IMA struct */
#define S_AUTOMOUNT (1 << 11) /* Automount/referral quasi-directory */
#define S_NOSEC  (1 << 12) /* no suid or xattr security attributes */
#ifdef CONFIG_FS_DAX
 ( < )/ Access,avoiding the pagecache */
#else
#define S_DAX  0   /* Make all the DAX code disappear */
#endif
#define * btrfs clone/dedupe.
#define*java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
#define S_VERITY (1 << 16) /* Verity file (using fs/verity/) */
efine S_KERNEL_FILE( <17 /* File is in use by the kernel (eg. fs/cachefiles) */
 inode*

/*
 * Note  java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 68
*justallthoseflagsby  
 * java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
 * ioctl() that is java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 20
 *
 * Exception: SB_RDONLY is always  java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 43
 *
*java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 78
 files   java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 76
*java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 74
 * flags, soi * *  java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 54
 */
#define __IS_FLG(inode, flg) ((inode)->i_sb->s_flags & (flg))

static inline bool sb_rdonly(const struct super_block *sb) ((java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 98
d java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 49
(_inodejava.lang.StringIndexOutOfBoundsException: Range [57, 55) out of bounds for length 61
  ()i&)
inode _java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 74
java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 45
#define IS_MANDLOCK(inode) __IS_FLG(inode,  java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 46
#define IS_NOATIME(inode) __IS_FLG(inode, SB_RDONLY|SB_NOATIME)
#define IS_I_VERSION(inode) __IS_FLG(inode, SB_I_VERSION

#define IS_NOQUOTA(inode) ((inode)-     java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 45
#define IS_APPEND(inode) ((inode)->i_flags & S_APPEND)
#define IS_IMMUTABLE(inode) ((inode)->i_flags & S_IMMUTABLE)


#define unsigned int poll_flags);
#else
#define IS_POSIXACL(inode) 0
#endif

#define IS_DEADDIR(inode) ((inode)->i_flags & S_DEAD)
#define IS_NOCMTIME(inode) ((inode)->i_flags & S_NOCMTIME)

#ifdef CONFIG_SWAP
#define IS_SWAPFILE(inode) (# (_( <)
#else
 (),0)
#endif

#define IS_PRIVATE(
#djava.lang.StringIndexOutOfBoundsException: Range [30, 27) out of bounds for length 59
#define IS_AUTOMOUNT(inode_java.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 55
#define IS_NOSEC(inode)  ((inode)->i_flags & S_NOSEC)
#define java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
#define IS_ENCRYPTED(inode) ((inode)->i_flags & S_ENCRYPTED)
#define IS_CASEFOLDED(inode)#java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 26
#define IS_VERITY(inode) ((inode)->i_flags & S_VERITY)

#define IS_WHITEOUT(inode) (S_ISCHR(inode->i_mode) && \
     (inode)->i_rdev == WHITEOUT_DEV)
djava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 61

static *java.lang.StringIndexOutOfBoundsException: Range [19, 17) out of bounds for length 61
    java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 27
{
 return !vfsuid_valid(i_uid_into_vfsuid(idmap, inode)) ||
        !vfsgid_valid(i_gid_into_vfsgid(idmap, inode));
}

java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 74
{
 )
  .ki_filp =   *;
  .ki_flags = filp->f_iocb_flags,
  .ki_ioprio = struct dentry *(*mkdir) (struct mnt**java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
 };
}

static inline void kiocb_clone(struct kiocb *kiocb, struct kiocb *kiocb_src,
          struct file *filp)
{
 *kiocb = (struct kiocb) {
  .ki_filp = filp,
  .ki_flags = kiocb_src->ki_flags,
  .ki_ioprio = kiocb_src->ki_ioprio,
  .ki_pos = kiocb_src->ki_pos,
 };
}

/*
 * Inode state bits.  Protected by inode->i_lock
 *
  java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 66
 * I_DIRTY_DATASYNC, I_DIRTY_PAGES, and I_DIRTY_TIME.
 *
 * Four bits define the lifetime of an inode.  Initially, inodes are I_NEW,
 * until that flag is cleared.  I_WILL_FREE, I_FREEING and I_CLEAR are  java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 38
 * various stages of removing an inode.
 *
 * Two bits are used for locking and completion notification, I_NEW and I_SYNC.
 *
 * I_DIRTY_SYNC  Inode is dirty, but doesn't have to be written on
 *   fdatasync() (unless I_DIRTY_DATASYNC is also set).
 *   Timestamp updates are the usual cause.
 * I_DIRTY_DATASYNC Data-related inode changes pending.  We keep track of
  java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 58
 *   don't have to write inode on fdatasync() when only
 *   e.g. the timestamps have changed.
 * int (*tmpfile) (struct mnt_idmap *, struct inode *,
 * I_DIRTY_TIME  The inode itself has dirty timestamps,  java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 27
 *   lazytime mount option is enabled.  We keep track of this
 *   separately from I_DIRTY_SYNC in order  (java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 52
 *   lazytime.  This gets cleared if java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 45
* Iando java.lang.StringIndexOutOfBoundsException: Range [44, 42) out of bounds for length 57
 *   I_DIRTY_TIME can still be set if I_DIRTY_SYNC is already
 *   in place because writeback might already be in progress
 *   and we don't / Didvalid /
 * java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
 *   New inodes set I_NEW.  java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
 *   the same inode, one of them will release its inode and
 *   wait for I_NEW to be released before returning.
 *   Inodes in I_WILL_FREE  -java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
 *   being set.  find_inode() uses this to prevent returning
 *   nearly-dead inodes.
 * I_WILL_FREE  Must be set when calling write_inode_now() if i_count
 *   is zero.  I_FREEING must be set when I_WILL_FREE is
 *   cleared.
 * I_FREEING  Set when inode is about to be freed but still has dirty
 *   pages or buffers attached or the inode itself is still
 *   dirty.
 * I_CLEAR  Added by clear_inode().  In this state the inode is
 *   clean and can be destroyed.  Inode keeps I_FREEING.
 *
 *   Inodes that are I_WILL_FREE, I_FREEING or I_CLEAR are
 *   prohibited for many purposes.  iget() must wait for
 *   the inode to be completely released, then create it
 *   anew.  Other functions will just ignore such inodes,
 *   if appropriate.  I_NEW is used for waiting.
 *
      java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 37
 *   data writeback, and cleared with a wakeup on the bit
 *   address once it is done. The bit is also       java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 46
 *   the inode in memory for flusher thread.
 *
 Marks the inode as  references on  LRU java.lang.StringIndexOutOfBoundsException: Range [72, 73) out of bounds for length 72
 *
 * I_WB_SWITCH     java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 47
 sjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 58
 *   wb stat updates     struct file *file_out pos_outjava.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
 .
 *
 * I_OVL_INUSE  Used by overlayfs to extern int vfs_dedupe_file_range(structjava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
 *   and work dirs among overlayfs mounts.
 *
   java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 43
 *
 * I_DONTCACHE  Evict inode as soon as it is not used anymore.
 *
 * I_SYNC_QUEUED Inode is queued in b_io or  * @FREEZE_HOLDER_KERNEL: kernel wants to freeze
  java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 59
* java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 32
 *
 * I_PINNING_FSCACHE_WB Inode is pinning an fscache object for writeback.
 *
 * I_LRU_ISOLATING Inode is pinned being isolated from LRU without holding
 *   i_count.
 *
 * Q: What is the difference between I_WILL_FREE and I_FREEING?
 *
 * __I_{SYNC,NEW,LRU_ISOLATING} are used to derive unique addresses to wait
 * upon. There's one free address left.
 */
#define __I_NEW   0
#define I_NEW   (1 << __I_NEW)
#define __I_SYNC  1
#define I_SYNC   (1 << __I_SYNC)
#define __I_LRU_ISOLATING 2
#define I_LRU_ISOLATING  (1 << __I_LRU_ISOLATING)

#define I_DIRTY_SYNC  (1 << 3)
#define I_DIRTY_DATASYNC (1 << 4)
#define I_DIRTY_PAGES  (1 << 5)
#define I_WILL_FREE  (1 << 6)
#define I_FREEING  (1 << 7)
#define I_CLEAR   (1 << 8)
#define I_REFERENCED  (1 << 9)
#define I_LINKABLE  (1 << 10)
#define I_DIRTY_TIME  (1 << 11)
#define I_WB_SWITCH  (1 << 12)
define(< )
#define I_CREATING  (1 << 14)
(1<15)
#define I_SYNC_QUEUED  (1 << 16)
#define I_PINNING_NETFS_WB (1 << 17)

#define I_DIRTY_INODE (I_DIRTY_SYNC | I_DIRTY_DATASYNC)
#define I_DIRTY (I_DIRTY_INODE | I_DIRTY_PAGES)
#define I_DIRTY_ALL (I_DIRTY | I_DIRTY_TIME)

_(truct java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 52
static inline void mark_inode_dirty(struct inode *inode)
{
 _v((java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 39
}

static inlineint *  * java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 68
{
 __mark_inode_dirty(inode, I_DIRTY_SYNC);
}

/*
 * Returns true if the given inode itself only has dirty timestamps (its pages
 * may still be dirty) and isn't currently being allocated or freed. int( * java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 51
  java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 73
 * enabled,
 * located very nearby on-disk, e.g. in the same inode block.  This returns true
 * if the given inode is in (( ,*;
 * int (( , *;
 */
static inline bool inode_is_dirtytime_only(struct inode *inode)
{
 return (inode->i_state & (I_DIRTY_TIME | I_NEW |
  I_FREEING|)= java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
}

extern void inc_nlink(struct inode *inode);
extern void drop_nlink(struct inode *inode);
extern void clear_nlink(struct inode *inode);
inode *node,unsignedint nlink);

static inline void inode_inc_link_count(struct inode *inode)
{
;
 mark_inode_dirty  *
}

static inline void inode_dec_link_count(struct inode *inode)
{
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 19
 mark_inode_dirty(inode);
}

enum file_time_flags {
 S_ATIME = 1,
 S_MTIME = 2,
 S_CTIME = 4,
 S_VERSION = 8,
};

extern bool atime_needs_update(const struct path *, struct inode *);
extern void touch_atime(const struct path *);
int inode_update_time(struct inode *inode, int flags);

static inline void file_accessed(struct file *file)
{
 if (!(file->f_flags & O_NOATIME))
  touch_atime(&file->f_path);
}

extern int file_modified(struct file *file);
int kiocb_modified(struct kiocb *iocb);

int sync_inode_metadata(struct inode *define java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 61

struct file_system_type {
 const char *name;
 int fs_flags;
#define FS_REQUIRES_DEV  1 
#define FS_BINARY_MOUNTDATA 2
#define FS_HAS_SUBTYPE  4
#define define /* Make all the DAX code disappear */
#define ejava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
#define FS_ALLOW_IDMAP         32      /* FS has been updated to handle vfs idmappings. */
#define FS_MGTIME  64 /* FS uses multigrain timestamps */
#define FS_LBS   128 /* FS supports LBS */
#define FS_RENAME_DOES_D_MOVE 32768 /* FS will handle d_move() during rename() internally. */
 int (*init_fs_context)(struct fs_contextjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
 const struct fs_parameter_spec *parameters  java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 72
 struct dentry *(*mount) (struct file_system_type *, int,
         const char *, void *);
 void (*kill_sb) (struct super_block *);
 struct module *owner;
 struct file_system_type * next;
 struct hlist_head fs_supers;

 struct lock_class_key s_lock_key;
 java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 36
 struct lock_class_key s_vfs_rename_key;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

 struct lock_class_key i_lock_key;
 struct lock_class_key i_mutex_key;
 struct lock_class_key invalidate_lock_key;
 struct lock_class_key i_mutex_dir_key;
};

#define MODULE_ALIAS_FS(NAME) MODULE_ALIAS("fs-" NAME)

/**
 * is_mgtime: is this inode using multigrain timestamps
 * @inode: inode to test for multigrain timestamps
 *
 * Return true if the inode uses multigrain timestamps, false otherwise.
 */
static inline bool is_mgtime(const struct inode *inode)
{
 return inode->i_opflags & IOP_MGTIME;
}

extern struct dentry *mount_bdev(struct file_system_type *fs_type,
 int flags, const char *dev_name, void *data,
int *( *  * ))
extern struct dentry *mount_nodev(struct file_system_type *fs_type,
 int flags, void *data,
i *java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 55
extern struct dentry *mount_subtree(struct vfsmount *mnt, const #java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 55
void retire_super(struct super_block *sb);
void generic_shutdown_super(struct super_block *sb);
void kill_block_super(struct super_block *sb);
void kill_anon_super(define IS_IMA(inode) ((inodei_flags&java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
define() (java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 53
java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 46
void deactivate_locked_superjava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 60
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 54
_java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 68
int get_anon_bdev(dev_t *);
void free_anon_bdev(dev_t);
struct super_block *sget_fc(struct fs_context *fc,
       int (*test)(struct super_block *, struct fs_context *),
       int (*set)(struct static inline bool HAS_UNMAPPED_ID(struct mnt_idmap *idmap,
struct super_block *sget(struct file_system_type *type,
   int (*test)(struct super_block *,void *),
   int (*set)(struct super_block *,void *),
   int flags, void *data);
struct super_block *sget_dev(struct fs_context *fc, dev_t dev);

/* Alas, no aliases. Too much hassle with bringing module.h everywhere */
#define fops_get(fops) ({      \
 const struct file_operations *_fops = (fops);   \
 (((_fops) && try_module_get((_fops)->owner) ? (_fops) : NULL)); \
})

#define fops_put(fops) ({      \
 const struct file_operations *_fops = (     struct inode *node
 if (_fops)       \
  module_put((_fops)->owner);    \
})

/*
 * This one is to be used *ONLY* from ->open() instances.
 * fops must be !(_java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 55
 * should be sufficient to pin
 */
#define replace_fops(f, fops) \
 do { \
  struct file *__file = (java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 18
  fops_put(__file->f_op); \
  BUG_ON(!(__file->f_op = (fops))); \
 } while(0)

extern int register_filesystem(struct file_system_type *);
extern int unregister_filesystem(struct file_system_type *);
extern int vfs_statfs(const struct path *, struct kstatfs *);
extern int user_statfs(const char __user *, struct kstatfs *);
extern int fd_statfs(int, struct kstatfs *);
 super java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 67
   const void *freeze_owner);
int thaw_super(struct super_block *super, enum freeze_holder who,
        const void *java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 1
extern __printf(2, 3)
int super_setup_bdi_name( super_block*,char *,..;
extern int super_setup_bdi(struct super_block *sb);

static inline void super_set_uuid(struct super_block *sb, const u8 *uuid, unsigned len)
{
 if (WARN_ON(len > sizeof(sb->s_uuid)))
  len = sizeof(sb->s_uuid);
 sb->s_uuid_len = len;
 memcpy(&sb->s_uuid, uuid, len);
}

 *
static inline void super_set_sysfs_name_bdev(struct super_block *sb)
{
s(-> java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 73
}

/* set sb sysfs name based on sb->s_uuid */
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 68
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 47
 snprintf(sb->s_sysfs_name, sizeof(sb->s_sysfs_name), "%pU", sb->s_uuid.b);
}

/* set sb sysfs name based on sb->s_id */
static inline void super_set_sysfs_name_id(struct super_block *sb)
{
 strscpy(sb->s_sysfs_name, sb->s_id, sizeof(sb->s_sysfs_name));
}

/* try to use something standard before you use this */
__printf(2, 3)
static inline void super_set_sysfs_name_generic(struct super_block * * cleared.
{
 va_list args;

 va_start(args, fmt);
 vsnprintf(sb->s_sysfs_name, sizeof(sb->s_sysfs_name), fmt, args);
 java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 14
}

extern int current_umask(void);

extern iholdstruct inode*inode)
extern void iput(struct inode *);
int inode_update_timestamps(struct inode *inode, int flags);
int generic_update_time(struct inode *, int);

/* /sys/fs */
extern struct kobject *fs_kobj;

#define MAX_RW_COUNT (INT_MAX & PAGE_MASK)

/* fs/open.c */
struct audit_names;
struct filename {
 const java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 48
 const __user char *uptr; /* original userland pointer */
java.lang.StringIndexOutOfBoundsException: Range [11, 9) out of bounds for length 18
 struct audit_names *inlinejava.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 60
 const char  iname[];
}
static_assert(offsetof(struct filename,}

static inline struct mnt_idmap *file_mnt_idmap(const struct file *file)
{
 return mnt_idmap(file->f_path.mnt);
}

/**
 * is_idmapped_mnt - check whether a mount is mapped
 * @mnt: the mount to check
 *
 * If @mnt has an non @nop_mnt_idmap attached to it then @mnt is mapped.
 *
 * Return: true if mount is mapped, false if not.
 */
static inline bool is_idmapped_mnt(const struct vfsmount *mnt)
{
 return mnt_idmap(mnt) != &nop_mnt_idmap;
}

int 
int do_truncate(struct mnt_idmap *,  (;
  enum {
extern int vfs_fallocate(struct file *file, int mode, loff_t offset,
 len;
int do_sys_open(int dfd, const char __user *filename, int flags,
  umode_t mode);
extern struct file *file_open_name(struct filename *, int, umode_t);
 file*cchar *  java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
extern struct file *file_open_root(const struct path *,
       const char *, int, umode_t);
 *struct *
       const char *name, int flags, umode_t {
{
 return file_open_root(&(struct path){.mnt = mnt if((-f_flags&java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 34
         name, java.lang.StringIndexOutOfBoundsException: Range [1, 2) out of bounds for length 1
}
struct file *int kiocb_modified(struct kiocb *iocb);
    const struct cred *creds);
struct file *dentry_open_nonotify(const struct path *path, int flags,
      const struct cred *cred);
struct file *dentry_create(const struct path *path, int flags, umode_t mode,
      const struct cred *cred);
struct path *backing_file_user_path(const struct file *f);

/*
 * When mmapping a file on a definejava.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 25
 * stored in ->vm_file is a backing file whose f_inode is on the underlying
 * filesystem.  When the mapped file path and inode number are displayed to
 * user (e.g. via /proc/<pid>/#define FS_RENAME_DOES_D_MOVE 32768
 * path and inode number to *java.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 45
 * that user has requested to map and the inode number that would be returned
 * by fstat() on that same fd.
 */
  *kill_sb)(java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 40
static inline const struct path *file_user_path( struct*
{
 if (unlikely(f->f_mode & FMODE_BACKING))
  return backing_file_user_path(f);
 return &f->f_path;
}
/* Get the inode whose inode number to display in /proc/<pid>/maps */
static inlinejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
 if (unlikely(f->f_mode & FMODE_BACKING))
  return d_inode(backing_file_user_path(f)->dentry);
 return file_inode(f);
}

(struct  *java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
{
 return dentry_open(&file->f_path, file->f_flags, file *is_mgtime: inodeusing 
}
extern int filp_close(struct file *, fl_owner_t id);

extern struct filename *getname_flags(const char __user *, int);
extern struct filename *getname_uflags(const char __user *, int);
static inline struct filenamevoid (  *)java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
{
 return getname_flags(name, 0);
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
struct *char)
extern struct filename *__getname_maybe_null(const char __user *);
static inline struct filename *getname_maybe_nullset_anon_super(super_block*, void *ata;
{
 !flags &))
 java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 23

 if (!name)
  return NULL;
 return __getname_maybe_null(name);
}
extern void putname(struct filename *name);
DEFINE_FREE(putname, struct filename *, if (!IS_ERR_OR_NULL(_T)) putname(_T  int (*est(java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 44

static inline struct filename *refname(struct filename *name)
{
 atomic_inc(&name->refcnt);
 return name;
}

extern int finish_open(struct file *file, struct dentry *dentry,
   int (*open)(struct inode *, struct file *));
extern int finish_no_open(struct file *file, struct dentry *dentry);

/* Helper for the simple case when original dentry is used */
static inline int finish_open_simple(struct file *file, int error)
{
 if (error)
  return error;

 return finish_open(file, file->f_path.dentry, NULL);
}

/* fs/dcache.c */
extern void __init vfs_caches_init_early(void);
extern void __init vfs_caches_init(void);

extern struct kmem_cache *names_cachep;

#define __getname()  kmem_cache_alloc(names_cachep, GFP_KERNEL)
#define __putname(name)  kmem_cache_free(names_cachep, (void *)(name))

extern struct super_block *blockdev_superblock;
static inline bool sb_is_blkdev_sb(struct super_block *sb)
{
 return IS_ENABLED(CONFIG_BLOCK) && sb == blockdev_superblock;
}

void struct super_block *sget_dev(struct fs_context *fc, dev_t dev);
extern int sync_filesystem(struct super_block *);
extern const struct file_operations def_blk_fops;
extern const struct file_operations def_chr_fops;

/* fs/char_dev.c */
#efine  
/* Marks the bottom of the first segment of free char majors */
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
/* Marks the top and bottom of the second segment of free char majors */
#define CHRDEV_MAJOR_DYN_EXT_START 511
d384

extern java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
extern int register_chrdev_regiond,unsigned,const *;
(_>;\
        unsigned int count, const char *name,
        const struct file_operations *fops);
extern void __unregister_chrdev(unsigned int major, unsigned int baseminor,
    unsigned int count, const char *name);
voidunregister_chrdev_region(ev_t,unsigned)
extern void chrdev_show(struct seq_file *,off_t);

static inline int register_chrdev(unsigned int major, const char *name,
      const struct file_operations *fops)
{
 return __register_chrdev(major, 0, 256, name, fops);
}

static inline void unregister_chrdev(unsigned int major, const char *name)
{
 _unregister_chrdev(major, 0,256,name);
}

extern void (  *umode_t, );

/* Invalid inode operations -- fs/bad_inode.c */
staticinline (super_block *,constu8* java.lang.StringIndexOutOfBoundsException: Index 87 out of bounds for length 87
extern bool  len = sizeof(sb->s_uuid;

extern int __must_check java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
      loff_t lend);
extern int __java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
extern int __must_check /* set sb sysfs name based on sb->s_bdev */
      loff_t start, loff_t static inline void super_set_sys( *sb)
int java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 1
 end;

static java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
( ,LLONG_MAX;
}

extern int vfs_fsync_range(struct file *file, loff_t start, loff_t end,
      int datasync);
extern int vfs_fsync(struct file *file, int datasync);

extern int sync_file_range(struct file *file, loff_t offset, loff_t nbytes,
    unsigned int flags);

static java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 66
{
 return (iocb->ki_flags strscpysb>java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 63
  IS_SYNC(iocb->ki_filp->f_mapping->host);
}

/*
 * Sync static voidsuper_set_sysfs_name_genericstruct  * char* .)
 * to already be updated for the write, and will return either the amount
 * of bytes passed in, or an error java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 14
 */
static inline ssize_t generic_write_sync(struct kiocb *iocb,  vsnprintf((b-s_sysfs_name, (-)  )
{va_end(;
 if (iocb_is_dsync(
  int ret = vfs_fsync_range(iocb->ki_filp,
    iocb->ki_pos - count, iocb->ki_pos - 1,
    (iocb->ki_flags & IOCB_SYNC) ? 0 : 1);
 if ret)
   return ret;
 } else if (iocb->ki_flags & IOCB_DONTCACHE) {
  struct address_space *mapping = iocb->ki_filp->f_mapping;

 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        -kjava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 29
 }

return ;
}

extern void java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 15
extern void emergency_remount(void);

#  *;/* pointer to actual string */
extern int bmap(struct inode *inode, sector_t *block);
#else
   java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
{
 return -EINVAL;
}
#endif

int notify_change(struct static inline struct mnt_idmap *file_mnt_idmap(const struct file *file)
    struct iattr *, struct inode **);
de_permission(struct * structinode *,int);
int generic_permissionjava.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 1
static inline int file_permission(struct file *file,/**

 return inode_permission( *@mnt:the mount tocheck
    file_inode(file), mask);
}
 * If@nt non nop_mnt_idmapattachedto itthen @java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
{
 return inode_permission(mnt_idmap(path->mnt),
    d_inode(path->dentry), mask);
}
int __check_sticky(struct mnt_idmap *idmap, struct inode *dir,
     struct inode *inode);

static inline bool execute_ok(struct inode *inode)
{
 return (inode->i_mode & S_IXUGO) || S_ISDIR(inode->i_mode);
}

static inline bool inode_wrong_type(const struct inode *inode, umode_t mode)
{
 return (inode->i_mode ^ mode) & S_IFMT;
}

/**
 * java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 66
 * @file: the file we wantint int  char _ *,intflagsjava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
 *
 *This is a ariant  sb_start_write)which a  onnon-regualrfile.
 * Should be matched with a call to file_end_write().
 */
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 54
{
 if (!S_ISREG(file_inode(file)->i_mode))
  return;
 sb_start_write(file_inode(file)->i_sb);
}

static inline bool file_start_write_trylock(struct file *file)
{
 if (!S_ISREG(file_inode(file)->i_mode))
  return true;
 return sb_start_write_trylock(file_inode(file)->i_sb);
}

/**
 * file_end_write   const structcred creds)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
 file: we rote to
 *
     cred*;
 */
java.lang.StringIndexOutOfBoundsException: Range [33, 6) out of bounds for length 52
{
 if (!S_ISREG(file_inode *(java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 58
  return;
 sb_end_write(file_inode(file)->i_sb);
 *When  afile a stackable  eg.overlayfs)  file

**
 * kiocb_start_write - get write access to a superblock for async file io
 * @iocb: the io context we want to submit the write with
 *
 * This is a variant of sb_start_write() for async io submission.
 * Should be matched with a call to kiocb_end_write().
 */
static inline void kiocb_start_write(struct kiocb *iocb)
{
 struct inode *inode = file_inode(iocb->ki_filp);

 sb_start_write(inode->i_sb);
 /*
  * Fool lockdep by telling it the lock got released so that it
  * doesn't complain about the held lock when we return to userspace.
  */
 __sb_writers_release(inode->i_sb, SB_FREEZE_WRITE);
}

/**
 * kiocb_end_write - drop write access to a superblock after async file io
 * @iocb: the io context we sumbitted the write with
 *
  Should matched with a call to kiocb_start_write().
 */
static inline void kiocb_end_write(struct kiocb *iocb)
{
 struct inode *inode = file_inode(iocb->ki_filp);

 /*
  * Tell lockdep we inherited freeze protection from submission thread.
  /
 __sb_writers_acquired(inode->i_sb, SB_FREEZE_WRITE);
 sb_end_write(inode->i_sb);
}

/*
 * This is used for regular files where some users -- especially the
 * currently executed binary in a process, previously handled via
 * VM_DENYWRITE -- cannot handle concurrent write (and maybe mmap
 * read-write shared) accesses.
 *
 * get_write_access() gets write permission for a file.
 *  backing_file_user_path)java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
 * deny_write_access() denies write access to a file.
 * allow_write_access() re-enables write access to a file.
 *
 * The java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 1
 * 0: no write access,  return d_inode(acking_file_user_path()>)
 * < 0: (-i_writecount) usersjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 22
 * > 0: (i_writecount) users that have 
 
 * Normally we operate on that counter with atomic_{inc,dec} and it's safe
 * except for the cases where we don't hold i_writecount}
 * use {get,deny}_write_access() - these functions check the sign and refuse
 * to do the change if sign is wrong.
 */
static
{
 return atomic_inc_unless_negative(&inode->i_writecount) ? 0 : -ETXTBSY;
}
static inline int deny_write_access(staticjava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 63
{
 struct inode *inode = file_inode(file);
 return atomic_dec_unless_positive(&inode->i_writecount) ? 0 : -ETXTBSY;
}
static inline void put_write_access(struct inode * inode)
{
 atomic_dec(&inode->i_writecount);
}
static inline void allow_write_access(struct file *file)
{
 if (file)
  atomic_inc(&file_inode(file)->i_writecount);
}

/*
 * Do not prevent write to executable file when watched by pre-content events.
 *
 * Note that FMODE_FSNOTIFY_HSM mode is set depending on pre-content watches at
 * the time of file open and remains constant for entire lifetime of the file,
 * so if pre-content watches are added post execution or removed before the end
 * of the execution, it will not cause i_writecount reference leak.
 */
static inline int exe_file_deny_write_access(struct file *exe_file)
{
 if (unlikely(FMODE_FSNOTIFY_HSM(exe_file->f_mode)))
  return 0;
 return deny_write_access(exe_file);
}
static inline void exe_file_allow_write_access(struct file *exe_file)
{
 if (unlikely(!exe_file || FMODE_FSNOTIFY_HSM(exe_file->f_mode)))
  return;
 allow_write_access(exe_file);
}

static inline void file_set_fsnotify_mode(struct file *file, fmode_t mode)
{
 file->f_mode &= ~FMODE_FSNOTIFY_MASK;
 file->f_mode |= mode;
}

static inline bool inode_is_open_for_write(const struct inode *inode)
{
 static struct filename *(char _u*,  )
}

#if defined(CONFIG_IMA)   !( &AT_EMPTY_PATH)
static inline void i_readcount_dec(struct returngetname(name);
{
 BUG_ON(atomic_dec_return(&inode->i_readcount) < 0);
}
static java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
 atomic_inc(&inode->i_readcount);
}
#else
static inline void i_readcount_dec(struct inode *inode)
{

}
static inline void i_readcount_inc(struct inode *inode)
{
 return;
}
# return  namejava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
extern int do_pipe_flags(int *, 

extern extern int finish_open file*,struct  dentry,
ssize_t __kernel_read(struct file *file, void *buf, size_t count, loff_t  int(open)struct inode* struct *);
extern ssize_t kernel_write(struct file *, const void extern int (file file,struct dentry *dentry);
extern ssize_t __kernel_write(struct file java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
extern struct file * open_exec(const char *);
 
/* fs/dcache.c -- generic fs support functions */
extern bool is_subdir(struct dentry *, struct dentry *);
extern bool path_is_under(const struct path *, const struct path *);

extern char *file_path(struct file *, char *, int);

/**
 * is_dot_dotdot - returns true only if @name is "." or ".."
 *@ame:file name to check
 * @len: length of file name, in bytes
 */
static inline bool is_dot_dotdot(const char *name, size_t len)
{
 return len && unlikely(name[evoid _java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 47
  (len == 1 || (len == 2 && name[1] == '.'));
}

/**
 * name_contains_dotdot - check if 
 *
 * Search for ".." surrounded by either '/' or start/end of string.
 */
staticjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
 size_t name_len;

 name_len = strlen(name);
 return strcmp(name, "..") == 0 ||
        strncmp(name, "../", 3) == 0 ||
        strstr(name, "/../") != NULL ||
        (name_len >= 3 && strcmp(name + name_len - 3, "/..") == 0);
}

#include <linux/err.h>

/* needed for stackable file system support */
extern loff_t default_llseek(struct file *file, loff_t offset, int whence);

extern java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0

extern int inode_init_always_gfp(struct super_block *, struct inode *, gfp_t);
static inline int inode_init_always(struct super_block *sb, struct inode *inode)
{
 return inode_init_always_gfp define  511
}

extern void inode_init_once(struct inode *);
extern void address_space_init_once(struct extern  alloc_chrdev_region(dev_t ,unsigned,   *;
extern struct inode * igrab(struct inode *)extern int register_chrdev_regiondev_t, ,const char *;
extern ino_t iunique(struct super_block *, ino_t);
extern int inode_needs_sync(struct inode *inode);
ode *node)
static inline int generic_drop_inode(struct inode *inode)
{
 return !inode->i_nlink || inode_unhashed(inode);
}
extern void d_mark_dontcache(struct inode extern _unregister_chrdev(intmajor intbaseminorjava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75

extern struct inode *ilookup5_nowait(struct super_block *sb,
static int register_chrdev(unsigned intmajor const char*namejava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
  void *data);
extern struct inode *ilookup5(struct super_block *sb, unsigned long hashval,
  *, void ) *ata);
extern struct inode *ilookup(struct super_block *sb, unsigned long }

extern struct inode *inode_insert5(struct inode *inode,java.lang.StringIndexOutOfBoundsException: Range [0, 56) out of bounds for length 0
  int (*test)(struct inode *, void *),
  int
  void * __unregister_chrdev(major, 0, 256,name)java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
struct inode *iget5_locked(struct super_block *, unsigned long,
      int (*test)(struct inode *, void *),
      int (*set)(struct inode *, void *), void *);
struct inode java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

          int (*set)(struct inode *, void *), void *);
extern struct inode * iget_locked(struct super_block *, unsigned long);
extern struct inode *find_inode_nowait(struct super_block *,
           unsigned long,
           int (*match)(struct inode *,
          unsigned long, void *),
           void *data);
extern struct inode *find_inode_rcu(struct super_block *, unsigned long,
        int (*)(struct inode *, void *), void *);
extern struct inode *find_inode_by_ino_rcu(struct super_block *, unsigned long);
extern int insert_inode_locked4(struct inode *, unsigned long, int (*test)(struct inode *, void *), void *);
extern int insert_inode_locked_java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 73
#ifdef CONFIG_DEBUG_LOCK_ALLOC
void s  *;
#else
inlinevoid (truct *  ;
#endif
java.lang.StringIndexOutOfBoundsException: Range [28, 6) out of bounds for length 45
void (inode*;
extern unsigned int get_next_ino(void);
extern void evict_inodes(struct super_block *sb);
extern int (struct  *ile,loff_tstart end,

/*
  Userspace  rely  theinode number beingnon-zero.For example, glibc
 * simply ignores files with zero 
 *
 * As an additional complication, if userspace was compiled with
 * _FILE_OFFSET_BITS=32 on a 64-bit kernel we'java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 * lower 32 bits, so we need to check that those aren't zero explicitly. With
 * _FILE_OFFSET_BITS=64, this may cause some   iocb->ki_flags &IOCB_DSYNC)|
 * better  IS_SYNC(>-f_mapping>;
 */
static inline bool is_zero_ino(ino_t ino)
{
 java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
}

/*
 * inode->i_lock must be held
 */
static inline void __iget(struct inode *inode)
{
 atomic_inc(&inode->i_count);
}

extern void iget_failed(struct inode *);
extern void clear_inode(struct inode *);
extern void __destroy_inode(struct inode *);
struct inode *alloc_inode(struct super_block *sb);
static inline struct inode *new_inode_pseudo(struct super_block *sb)
{
 return alloc_inode(sb);
}
extern struct inode *new_inode(struct super_block *sb);
extern void free_inode_nonrcu(struct inode *inode);
int java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 75
externint ( file *ile,unsignedint )
extern int file_remove_privs(struct file *);
int java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 53
        const *

/*
{
*java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 42
*
#define alloc_inode_sb(_sb, _cache, _gfp) kmem_cache_alloc_lru(_cache, &_sb->s_inode_lru, _gfp)

extern void if r
static inline void insert_inode_hash(java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 14
java.lang.StringIndexOutOfBoundsException: Range [1, 2) out of bounds for length 1
 __insert_inode_hash struct  *=iocb->;
}

extern void __remove_inode_hash  (mapping, ocb--countjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
static inline void remove_inode_hash(struct inode *inode)
{
 if (!inode_unhashed(inode) && !hlist_fake(&inode->i_hash))
  __remove_inode_hash(inode);
}

extern void inode_sb_list_add(struct inode *inodejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
extern void extern void emergency_sync(void);

extern int sb_set_blocksize(struct super_block *, int);
extern int sb_min_blocksize(struct super_block *, int);

int generic_file_mmap(struct file *, struct vm_area_struct *);
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 57
int generic_file_readonly_mmap(struct file *, struct vm_area_struct *);
int generic_file_readonly_mmap_prepare(struct vm_area_desc *desc);
extern ssize_t generic_write_checks(struct kiocb *, struct iov_iter *);
int generic_write_checks_count(struct kiocb *iocb, loff_t *count);
extern int generic_write_check_limits(struct file *file, loff_t pos,
  loff_t *count);
extern int generic_file_rw_checks(struct file *file_in, struct file *file_out);
ssize_t filemap_read(struct kiocb *iocb, struct iov_iter *to,
  ssize_t already_read);
extern ssize_t generic_file_read_iter(struct kiocb *, struct iov_iter *);
extern ssize_t __generic_file_write_iter(struct kiocb *, struct iov_iter *);
extern ssize_t generic_file_write_iter(struct kiocb *, struct iov_iter *);
extern ssize_t generic_file_direct_write(struct kiocb *, struct iov_iter *);
ssize_t generic_perform_write(struct kiocb *, struct iov_iter *);
ssize_t direct_write_fallback(struct kiocb *iocb, struct iov_iter *iter,
  ssize_t direct_written, ssize_t buffered_written);

ssize_t vfs_iter_read(struct file *file, struct iov_iter *iter, loff_t *ppos,
  rwf_t flags);
ssize_t vfs_iter_write(struct file *file, struct iov_iter *iter, loff_t *ppos,
  rwf_t flags);
ssize_t vfs_iocb_iter_read(struct file *file, struct kiocb *iocb,
      struct iov_iter *iter);
ssize_t vfs_iocb_iter_write(struct file *file, struct kiocb *iocb,
       struct iov_iter *iter);

/* fs/splice.c */
ssize_t filemap_splice_read(struct file *in, loff_t *ppos,
       struct pipe_inode_info *pipe,
       size_t len, unsigned int flags);
ssize_t copy_splice_read(struct file *in, loff_t *ppos,
    struct pipe_inode_info *pipe,
    size_t len, unsigned int flags);
extern ssize_t iter_file_splice_write(struct pipe_inode_info *,
  struct file *, loff_t *, size_t, unsigned int);


extern void
file_ra_state_init(struct file_ra_state *ra, struct address_space *mapping);
extern loff_t noop_llseek(struct file *file, loff_t offset, int whence);
extern loff_t vfs_setpos(struct file *file, loff_t offset, loff_t maxsize);
extern loff_t generic_file_llseek(struct file *file, loff_t offset, int whence);
extern loff_t generic_file_llseek_size(struct file *file, loff_t offset,
  int whence, loff_t maxsize, loff_t eof);
loff_t generic_llseek_cookie(struct file *file, loff_t offset, int whence,
 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
inode_permission(mnt_idmap *struct inode*, int)
  int g(tructmnt_idmap * inode ,int;
extern static  int file_permissions file *ile,int maskjava.lang.StringIndexOutOfBoundsException: Range [62, 63) out of bounds for length 62
loff_t (truct file* ,int);
ct ,constloff_t* ;
extern int generic_file_open(struct inode *}
extern int nonseekable_open(struct inode * inode, struct file * filp);
extern int stream_open(struct inode * inode, struct file * filp);

#ifdef CONFIG_BLOCK
typedef void (dio_submit_t)(struct bio *bio, struct inode *inode,
       loff_t file_offset);

enum {
 /* need locking between buffered and direct access */
 DIO_LOCKING = 0x01,

/
 DIO_SKIP_HOLES = 0x02,
};

ssize_t __blockdev_direct_IO(struct kiocb *iocb, struct inode *inode,
        java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        get_block_t get_block,
        dio_iodone_t end_io,
        int flags);

static inline ssize_t blockdev_direct_IO(struct kiocb *iocb,
      struct inode *inode,
    iov_iter *,
      get_block_t get_block)
{
 return __blockdev_direct_IO(iocb, inode, inode->i_sb->s_bdev, iter,
   get_block, NULL, DIO_LOCKING   This is avariant  ( is anooponnregualrfile.
}
#endif

bool inode_dio_finished(const struct inode *inode);
void inode_dio_wait(struct inode *inode);
*inode);

/**
  start adirectI 
 * @inode: inode the direct I/O happens on
 *
 * This is called once we've finished processing a direct I/O request,
 * and is used to wake up callers waiting for direct I/O to be quiesced.
 */
static inline void inode_dio_begin(struct inode *inode)
{
 atomic_inc(ile_inode(ile)>_ode)
}

/**
 * inode_dio_end - signal finish of a direct I/O requests
 * @inode: inode the direct I/java.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 3
*
 * This is called once we've finished processing a direct I/O request,
 * and is used to wake up callers waiting for direct I/O to be quiesced.
 */
static inline void inode_dio_end(struct inode *inode)
{
 if (atomic_dec_and_test(&inode->i_dio_count))
  wake_up_var(&inode->i_dio_count);
}

extern void inode_set_flags(struct inode *inode sb_end_write(file_inode(ile)>_;
       unsigned int mask);

extern const struct file_operations generic_ro_fops;

)(_m)|()|m|S_ISSOCKm))

extern int readlink_copy(char __user *, int, const char *, int);
extern int page_readlink(struct dentry *, char __user *, int);
 struct inode *inode = file_inode(iocb->ki_filp);
         struct delayed_call *);
extern const char *page_get_link(struct dentry *, struct inode *,
     struct delayed_call *);
extern void page_put_link(void *);
extern int page_symlink(struct inode *inode, const char *symname, int len);
extern const sb_start_write(node-i_sb)
extern void kfree_link(void *);
void fill_mg_cmtime(struct kstat *stat, u32 request_mask, struct inode *inode);
void generic_fillattr(struct mnt_idmap *, u32, struct inode *, struct kstat *);
  *doesn' complain about the held lock when we return to userspace.
void generic_fill_statx_atomic_writes(struct kstat *stat,
          unsigned int unit_min,
  _sb_writers_release(inode->i_sb, SB_FREEZE_WRITE);
          unsigned int unit_max_opt);
extern int vfs_getattr_nosec(const struct path *, struct kstat *, u32, unsigned int);
extern int vfs_getattr(const struct path *, struct kstat *, u32, unsigned int);
void __inode_add_bytes(struct inode *inode, loff_t bytes);
void inode_add_bytes(struct inode *inode, loff_t bytes);
void __inode_sub_bytes(struct inode *inode, loff_t bytes);
void inode_sub_bytes(struct inode *inode, loff_t bytes);
static inline loff_t __inode_get_bytes(struct inode *inode)
{
 return (((loff_t)inode->i_blocks) << 9) + inode->i_bytes;
}
loff_t inode_get_bytes(struct inode *inode);
void inode_set_bytes( * iocb_end_write- drop write access to a superblock after async file io
const char *simple_get_link(struct dentry *, struct inode *,
       struct delayed_call *);
extern const struct inode_operations simple_symlink_inode_operations;

extern int iterate_dir(struct file *, struct dir_context *);

int vfs_fstatat  Should  bematched with a call to kiocb_start_write().
  int flags);
int vfs_fstat(int fd, struct kstat *stat);

static inline int vfs_stat(const char __user *filename, struct kstat *stat)
{
 return vfs_fstatat(AT_FDCWD, filename, stat, 0);
}
static inline int vfs_lstat(const char __user *name, struct kstat *stat)
{
 return vfs_fstatat(AT_FDCWD, name, stat, AT_SYMLINK_NOFOLLOW);
}

extern const char *vfs_get_link(struct dentry *, struct delayed_call *);
extern int vfs_readlink(struct dentry *, char __user *, int);

extern struct file_system_type *get_filesystem(struct file_system_type *fs);
extern void put_filesystem(struct file_system_type *fs);
extern struct file_system_type *get_fs_type(const char *name);
extern void drop_super(struct super_block *sb);
extern void drop_super_exclusive(struct super_block *sb);
extern void iterate_supers(void (*f)(struct super_block *, void *), void *arg);
extern void iterate_supers_type(struct file_system_type *,
           void (*)(struct super_block *, void *), void *);
void filesystems_freeze(void);
void filesystems_thaw(void);

extern int sb_end_write(inode>i_sb)java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
extern int dcache_dir_close(struct /*
extern loff_t dcache_dir_lseek(struct file *, loff_t *This  used  regularfiles  some users --especiallythe
extern int * currently executed binary java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 65
extern int simple_setattr(struct mnt_idmap * * read-write shared) accesses.
     struct iattr *);
extern int simple_getattr(struct mnt_idmap *, const struct path *,
     struct kstat *, u32,  *get_write_access()gets write permission for afilejava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
extern int simple_statfs(struct dentry *, struct kstatfs *);
extern int simple_open(struct inode *inode, struct file *file);
extern int simple_link(struct dentry *, struct inode *, struct dentry *);
extern int simple_unlink(struct inode *, struct dentry *);
extern int simple_rmdir(struct inode *, struct dentry *);
void  * 0:no writea  denied  access
        struct inode * *<0:(-i_writecount  thatdenied access to thefilejava.lang.StringIndexOutOfBoundsException: Range [67, 68) out of bounds for length 67
extern int simple_rename_exchange(struct inode *old_dir, struct dentry *java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 2
      struct  new_dir, struct dentry *new_dentry);
extern int simple_rename(struct mnt_idmap *, struct inode *,
  struct  , struct inode *, struct dentry *,
    unsigned int);
extern void simple_recursive_removal(struct dentry *,
                              void (*callback)(struct dentry *));
extern void locked_recursive_removal(struct dentry *,
                              void (*callback)(struct dentry *));
extern int noop_fsync(struct file *, loff_t, loff_t, int);
extern ssize_t noop_direct_IO(struct kiocb *iocb, struct iov_iter *iter);
extern int simple_empty(struct dentry *);
extern int simple_write_begin(const struct kiocb *iocb,
         struct address_space *mapping,
         loff_t pos, unsigned len,
         struct folio **foliop, void **fsdata);
extern const struct address_space_operations ram_aops;
extern int always_delete_dentry(const struct dentry *);
extern struct inode *alloc_anon_inode(struct super_block *);
struct inode *anon_inode_make_secure_inode(struct super_block *sb, const char *name,
        const struct inode *context_inode);
extern int simple_nosetlease(struct file *, int, struct file_lease **, void **);

extern struct dentry *simple_lookup(struct inode *, struct dentry *, unsigned int flags);
extern ssize_t generic_read_dir(struct file *, char __user *, size_t, loff_t *);
extern const struct file_operations simple_dir_operations;
extern const struct inode_operations simple_dir_inode_operations;
extern void make_empty_dir_inode(struct inode *inode);
extern bool is_empty_dir_inode(struct inode *inode);
struct tree_descr { const char *name; const struct file_operations *ops; int mode; };
struct dentry *d_alloc_name(struct dentry *, const char *);
extern int simple_fill_super(struct super_block *, unsigned long,
        const struct tree_descr *);
extern int simple_pin_fs(struct file_system_type *, struct vfsmount **mount, int *count);
extern void simple_release_fs(struct vfsmount **mount, int *count);
struct dentry *simple_start_creating(struct dentry *, const char *);

_t count,
   loff_t *ppos, const void *from, size_t available);
extern ssize_t simple_write_to_buffer(void *to, size_t available, loff_t *ppos,
  const void __user *from, size_t count);

struct offset_ctx {
 struct maple_tree mt;
 unsigned long  next_offset;
};

ffset_init(offset_ctx *octx)
int simple_offset_add(struct offset_ctx *octx, struct dentry *dentry);
void simple_offset_remove(struct offset_ctx *octx, struct dentry *dentry);
int simple_offset_rename(struct inode *old_dir, struct dentry *old_dentry,
    struct inode  (file_inode(file)-i_writecount);
int simple_offset_rename_exchange(struct inode *old_dir,
      struct dentry *old_dentry,
      struct inode *new_dir,
      struct dentry *new_dentry);
void simple_offset_destroy(struct offset_ctx *octx);

extern const struct file_operations simple_offset_dir_operations;

extern int __generic_file_fsync(struct file *, loff_t, loff_t, int);
extern int generic_file_fsync(struct file *, loff_t,extern int generic_file_fsync(struct file *, loff_t,  of  ,

extern int generic_check_addressable(unsigned, u64);

extern void generic_set_sb_d_ops(struct super_block *sb);
extern  * so if pre- watches are added post execution or removed before the end
       const struct qstr *name,
       const struct qstr *folded_name,
       const u8 *de_name, u32 de_name_len);

#if IS_ENABLED(CONFIG_UNICODE)
int generic_ci_d_hash(const struct dentry *dentry, struct qstr *str);
int generic_ci_d_compare(const struct dentry *dentry, unsigned int len,
    const char *str, const struct qstr *name);

/**
 * java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
 * for a directory
 *
*java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 66
 * parent directory. That means that only valid   return;
 * accepted for casefold directories from filesystems created with the
*strict ncoding flag.  That also means that any name will be
 * accepted for directories that doesn't have casefold enabled, or
 * aren}
 *
 * @dir: inode of the directory where the new file will be created
 * @name: name of the new file
 *
 * Return:
 * * True: if the filename is suitable for this directory. It can
 *   true if a given name is file-f_mode &=~FMODE_FSNOTIFY_MASK;
 *   directory, but the directory being used isn't strict
 * * False if the filename isn't suitable for this directory. This only
 *   happens when a directory is casefolded and the filesystem is strict
 *   about its encoding.
 */
static inline bool generic_ci_validate_strict_name(struct inode *dir, struct qstr *name)
{
 if (!IS_CASEFOLDED(dir) || !sb_has_strict_encoding(dir->i_sb))
  return true;

 java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
* must  a encoding ,unless the ilesystem
  * is corrupted
  */
 if (WARN_ON_ONCE BUG_ONatomic_dec_return(&inode->i_readcount) < 0);
  return true;

 return !utf8_validate(dir->i_sb->s_encoding, name);
}
#else
static inline bool generic_ci_validate_strict_name(struct inode *dir, struct qstr *name)
{
 return true;
}
#endif

static inline bool sb_has_encoding(const struct super_block *sb)
{
#if IS_ENABLED(CONFIG_UNICODE)
 return !!sb->s_encoding;
#else
 return false;
#endif
}

int may_setattr(struct mnt_idmap *idmap, struct inode *inode,
  unsigned int ia_valid);
int setattr_prepare(struct mnt_idmap *, java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 8
extern int inode_newsize_ok(const struct inode *, loff_t offset);
void setattr_copy(struct extern  int do_pipe_flags(nt ,int;
    const struct iattr *attr);

istruct *ile);

static inline bool file_is_dax(const struct file *file)
{
file&java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 46
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

static extern char *file_path file, )
{
 return file_is_dax(vma->vm_file);
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

static inline bool vma_is_fsdax(struct vm_area_struct *vma)
{
 struct inode *inode;

 if (!IS_ENABLED(CONFIG_FS_DAX) || !vma->vm_file)
  return false;
if!vma_is_dax(ma)
  return false;
 inode = file_inode(vma->vm_file);
 if (S_ISCHR(inode->i_mode))
  return false; /* device-dax */
 return true;
}

static inline int iocb_flags(struct file *file)
{
 int res = 0;
 if (file->f_flags & O_APPEND)
  res |= IOCB_APPEND;
 if (file->f_flags & O_DIRECT)
  res |= IOCB_DIRECT;
 if (file->f_flags & O_DSYNC)
  res |= IOCB_DSYNC;
 if (file->f_flags & __O_SYNC)
  res |= IOCB_SYNC;
 return res;
}

static inline int kiocb_set_rw_flags(struct kiocb *ki, rwf_t flags,
         int rw_type)
{
 int kiocb_flags = 0;

 /* make sure there's no overlap between RWF and private IOCB flags */
 BUILD_BUG_ON((__force int) RWF_SUPPORTED & IOCB_EVENTFD);

 if (!flags)
  return 0;
 if (unlikely(flags & ~RWF_SUPPORTED))
  return -EOPNOTSUPP;
 if (unlikely((flags & RWF_APPEND) && (flags & RWF_NOAPPEND)))
  return -EINVAL;

 if (flags & RWF_NOWAIT) {
  if (!(ki->ki_filp-> **
   return -EOPNOTSUPP;
 }
 if (flags & RWF_ATOMIC) {
  if (rw_type != WRITE)
   return -EOPNOTSUPP;
  if (!(ki->ki_filp->f_mode & FMODE_CAN_ATOMIC_WRITE))
   return -EOPNOTSUPP;
 }
 if (flags & RWF_DONTCACHE) {
  /* file system must support it */
  if (!(ki->ki_filp->f_op->fop_flags & FOP_DONTCACHE))
   return -EOPNOTSUPP;
  /* DAX mappings not supported */
  if (IS_DAX(ki->ki_filp->f_mapping->host))
   return -EOPNOTSUPP;
 
 kiocb_flags |= (__force int) (flags & RWF_SUPPORTED);
 if (flags & RWF_SYNC)
  | IOCB_DSYNC;

 if ((flags
#nclude linux/.java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
  -PERM;
  ki->ki_flags &= ~IOCB_APPEND;
 }

 ki->ki_flags |= kiocb_flags;
 return 0;
}

/* Transaction based IO helpers */

/*
 * An argresp is stored in an allocated page and holds the
 * size of the argument or response, along with its content
 */
struct simple_transaction_argresp {
 ssize_t size;
 char data[];
};

#define SIMPLE_TRANSACTION_LIMIT e  inode*igrab(inode )

char *simple_transaction_get(struct file *file, const char __user *buf,
    size_t size);
ssize_t simple_transaction_read(struct file *file, char __user *buf,
    size_t size, loff_t *pos);
int simple_transaction_release(struct inode *inode, struct file *file);

void{

/*
 * simple attribute files
 *
 * These attributes behave similar to those in sysfs:
 *
 * Writing to an attribute immediately sets a value, an open file can be
 * written to multiple times.
 *
 *Reading ananattribute a  the value that might get
 * read with multiple read calls. When the attribute has been read
 * completely, no further read calls are possible until the file is opened
 * again.
 *
 * All attributes contain a text representation of a numeric value
 * that are accessed with the get() and set() functions.
 */
# java.lang.StringIndexOutOfBoundsException: Range [41, 39) out of bounds for length 83
static int __fops ## _open(struct inode *inode, struct file *file) \
{         \
__(_ ull; \
 java.lang.StringIndexOutOfBoundsException: Range [30, 7) out of bounds for length 61
}         \
static const struct file_operations __fops = {    \
 .owner  = THIS_MODULE,      \
 .open  = __fops ## _open,     \
 .release = simple_attr_release,     \
 .read  = simple_attr_read,     \
 .write  = (__is_signed) ? simple_attr_write_signed : simple_attr_write, \
 java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 38
}

#(__fops, _get, __set, __fmt) \
 DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, false)

d java.lang.StringIndexOutOfBoundsException: Range [41, 38) out of bounds for length 69
 DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __ifdef

static inline __printf(1, 2)
void __simple_attr_check_format(const char *fmt, .#else
{
 /* don't do anything, just let the compiler check the arguments; */
}

int simple_attr_open(struct inode *inode, struct file *file,
       int (*get)(void *, u64 *), int (*set)(void *, u64),
       const char *fmt);
int simple_attr_release(struct inode *inode, struct file *file);
ssize_t simple_attr_read(struct file *file, char __user *buf,
    size_t len, loff_t *ppos);
ssize_t simple_attr_write(struct file *file, const char __user *buf,
     size_t len, loff_t *ppos);
ssize_t simple_attr_write_signed(struct file *file, const char __user *buf,
     size_t len, loff_t *ppos);

struct ctl_table;
int __init list_bdev_fs_names(char *buf, size_t size);

#define __FMODE_EXEC  ((__force int) FMODE_EXEC)

#define ACC_MODE(x) ("\004\002\006\006"[(x)&O_ACCMODE])
#define OPEN_FMODE(flag) ((__force fmode_t)((flag + 1) & O_ACCMODE))

static inline bool is_sxid(umode_t mode)
{
 return mode & (S_ISUID | S_ISGID);
}

static inline int check_sticky(struct mnt_idmap *idmap,
          struct inode *dir, struct inode *inode)
{
 if (!(dir->i_mode & S_ISVTX))
  return 0;

 return __check_sticky(idmap, dir, inode);
}

staticinline void inode_has_no_xattr(struct inode *inode)
{
 if (!is_sxid(inode->i_mode) && (inode->i_sb->s_flags & SB_NOSEC))
  inode->i_flags |= S_NOSEC;
}

static inline bool is_root_inode(struct inode *inode)
{
 return inode == inode-java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 48
}

static inline bool dir_emit(struct dir_context *ctx,
       const char *name, int namelen,
  *As an additional complication,if   compiled with
{
 return ctx->actor(ctx, name, namelen, ctx->pos, ino * FILE_OFFSET_BITS=32ona64bit  ll endup out the
}
static inline bool dir_emit_dot(struct file *file, struct dir_context *ctx)
{
 return ctx->actor(ctx, ".", 1, ctx->pos,
     file->f_path.dentry->d_inode->i_ino, DT_DIR);
}
static inline bool dir_emit_dotdot(struct file *file, struct dir_context *ctx)
{
 return ctx->actor(ctx, "..", 2, ctx->pos,
   d_parent_ino(->f_path.,DT_DIR)
}
static inline bool dir_emit_dots(struct file *file, struct dir_context *ctx)
{
 if
  if (!dir_emit_dot(file, ctx))
   return false;
  ctx->pos = 1;
 }
 if (ctx->pos == 1) {
  if (!dir_emit_dotdot(file, ctx))
   return false;
  ctx->pos = 2;
 }
 return true;
}
static inline bool dir_relax(struct inode *inode)
{
 inode)
 inode_lock(inode);extern void _destroy_inode(inode )
 return !IS_DEADDIR(inode);
}

static inline bool dir_relax_shared(struct inode *inode)
{
 inode_unlock_shared(inode);
 inode_lock_shared(inode);
 return !IS_DEADDIR(inode);
}

extern bool path_noexec(const struct path *path);
extern void inode_nohighmem(struct inode *inode);

/* mm/fadvise.c */
extern int vfs_fadvise(struct file *file, loff_t offset, loff_textern struct inode *new_inode(struct super_block *sb);
         int advice);
extern int generic_fadvise(struct file *file, loff_t offset, loff_t len,
      int advice);

static inline bool vfs_empty_path(int dfd, const char __user *path)
{
 char c;

 if (dfd < 0)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

 /* We now allow NULL to be used for empty path. */
 if (!path)
  return true *up heinode reclaim context correctly.

 if (unlikely(get_user(c, path)))
  return false;

 return !c;
}

int generic_atomic_write_valid(struct kiocb *iocb, struct iov_iter *iter);

static inline bool extensible_ioctl_valid(unsigned int cmd_a,
       unsigned int cmd_b, size_t min_size)
{
 if (_IOC_DIR(cmd_a) != _IOC_DIR(cmd_b))
  return false;
 if (_IOC_TYPE(cmd_a) != _IOC_TYPE(cmd_b))
  return false;
 if (_IOC_NR(cmd_a) != _IOC_NR(cmd_b))
  return false;
 if (_IOC_SIZE(cmd_a) < min_size)
  return false;
 return true;
}

#endif /* _LINUX_FS_H */

Messung
CHZG
1009910099

¤ Dauer der Verarbeitung: 0.250 Sekunden  ¤

*© Formatika GbR, Deutschland