linux/include/uapi/linux/romfs_fs.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef __LINUX_ROMFS_FS_H
#define __LINUX_ROMFS_FS_H

#include <linux/types.h>
#include <linux/fs.h>

/* The basic structures of the romfs filesystem */

#define ROMBSIZE
#define ROMBSBITS
#define ROMBMASK
#define ROMFS_MAGIC

#define ROMFS_MAXFN

#define __mkw(h,l)
#define __mkl(h,l)
#define __mk4(a,b,c,d)
#define ROMSB_WORD0
#define ROMSB_WORD1

/* On-disk "super block" */

struct romfs_super_block {};

/* On disk inode */

struct romfs_inode {};

#define ROMFH_TYPE
#define ROMFH_HRD
#define ROMFH_DIR
#define ROMFH_REG
#define ROMFH_SYM
#define ROMFH_BLK
#define ROMFH_CHR
#define ROMFH_SCK
#define ROMFH_FIF
#define ROMFH_EXEC

/* Alignment */

#define ROMFH_SIZE
#define ROMFH_PAD
#define ROMFH_MASK

#endif