linux/fs/qnx6/qnx6.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * QNX6 file system, Linux implementation.
 *
 * Version : 1.0.0
 *
 * History :
 *
 * 01-02-2012 by Kai Bankett ([email protected]) : first release.
 * 16-02-2012 page map extension by Al Viro
 *
 */

#ifdef pr_fmt
#undef pr_fmt
#endif

#define pr_fmt(fmt)

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

__fs16;
__fs32;
__fs64;

#include <linux/qnx6_fs.h>

struct qnx6_sb_info {};

struct qnx6_inode_info {};

extern struct inode *qnx6_iget(struct super_block *sb, unsigned ino);
extern struct dentry *qnx6_lookup(struct inode *dir, struct dentry *dentry,
					unsigned int flags);

#ifdef CONFIG_QNX6FS_DEBUG
extern void qnx6_superblock_debug(struct qnx6_super_block *,
						struct super_block *);
#endif

extern const struct inode_operations qnx6_dir_inode_operations;
extern const struct file_operations qnx6_dir_operations;

static inline struct qnx6_sb_info *QNX6_SB(struct super_block *sb)
{}

static inline struct qnx6_inode_info *QNX6_I(struct inode *inode)
{}

#define clear_opt(o, opt)
#define set_opt(o, opt)
#define test_opt(sb, opt)
enum {};

static inline __u64 fs64_to_cpu(struct qnx6_sb_info *sbi, __fs64 n)
{}

static inline __fs64 cpu_to_fs64(struct qnx6_sb_info *sbi, __u64 n)
{}

static inline __u32 fs32_to_cpu(struct qnx6_sb_info *sbi, __fs32 n)
{}

static inline __fs32 cpu_to_fs32(struct qnx6_sb_info *sbi, __u32 n)
{}

static inline __u16 fs16_to_cpu(struct qnx6_sb_info *sbi, __fs16 n)
{}

static inline __fs16 cpu_to_fs16(struct qnx6_sb_info *sbi, __u16 n)
{}

extern struct qnx6_super_block *qnx6_mmi_fill_super(struct super_block *s,
						    int silent);

static inline void qnx6_put_page(struct page *page)
{}

extern unsigned qnx6_find_entry(int len, struct inode *dir, const char *name,
				struct page **res_page);