linux/fs/overlayfs/ovl_entry.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 *
 * Copyright (C) 2011 Novell Inc.
 * Copyright (C) 2016 Red Hat, Inc.
 */

struct ovl_config {};

struct ovl_sb {};

struct ovl_layer {};

struct ovl_path {};

struct ovl_entry {};

/* private information held for overlayfs's superblock */
struct ovl_fs {};

/* Number of lower layers, not including data-only layers */
static inline unsigned int ovl_numlowerlayer(struct ovl_fs *ofs)
{}

static inline struct vfsmount *ovl_upper_mnt(struct ovl_fs *ofs)
{}

static inline struct mnt_idmap *ovl_upper_mnt_idmap(struct ovl_fs *ofs)
{}

extern struct file_system_type ovl_fs_type;

static inline struct ovl_fs *OVL_FS(struct super_block *sb)
{}

static inline bool ovl_should_sync(struct ovl_fs *ofs)
{}

static inline unsigned int ovl_numlower(struct ovl_entry *oe)
{}

static inline struct ovl_path *ovl_lowerstack(struct ovl_entry *oe)
{}

static inline struct ovl_path *ovl_lowerpath(struct ovl_entry *oe)
{}

static inline struct ovl_path *ovl_lowerdata(struct ovl_entry *oe)
{}

/* May return NULL if lazy lookup of lowerdata is needed */
static inline struct dentry *ovl_lowerdata_dentry(struct ovl_entry *oe)
{}

/* private information held for every overlayfs dentry */
static inline unsigned long *OVL_E_FLAGS(struct dentry *dentry)
{}

struct ovl_inode {};

static inline struct ovl_inode *OVL_I(struct inode *inode)
{}

static inline struct ovl_entry *OVL_I_E(struct inode *inode)
{}

static inline struct ovl_entry *OVL_E(struct dentry *dentry)
{}

static inline struct dentry *ovl_upperdentry_dereference(struct ovl_inode *oi)
{}