Blame view
fs/qnx4/qnx4.h
1.22 KB
b24413180 License cleanup: ... |
1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
964f53696 fs/qnx4: sanitize... |
2 3 4 5 6 7 8 9 10 11 12 13 |
#include <linux/fs.h> #include <linux/qnx4_fs.h> #define QNX4_DEBUG 0 #if QNX4_DEBUG #define QNX4DEBUG(X) printk X #else #define QNX4DEBUG(X) (void) 0 #endif struct qnx4_sb_info { |
964f53696 fs/qnx4: sanitize... |
14 15 16 17 18 19 20 21 22 23 24 |
unsigned int Version; /* may be useful */ struct qnx4_inode_entry *BitMap; /* useful */ }; struct qnx4_inode_info { struct qnx4_inode_entry raw; loff_t mmu_private; struct inode vfs_inode; }; extern struct inode *qnx4_iget(struct super_block *, unsigned long); |
00cd8dd3b stop passing name... |
25 |
extern struct dentry *qnx4_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags); |
964f53696 fs/qnx4: sanitize... |
26 27 |
extern unsigned long qnx4_count_free_blocks(struct super_block *sb); extern unsigned long qnx4_block_map(struct inode *inode, long iblock); |
964f53696 fs/qnx4: sanitize... |
28 |
extern const struct inode_operations qnx4_dir_inode_operations; |
964f53696 fs/qnx4: sanitize... |
29 30 |
extern const struct file_operations qnx4_dir_operations; extern int qnx4_is_free(struct super_block *sb, long block); |
964f53696 fs/qnx4: sanitize... |
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
static inline struct qnx4_sb_info *qnx4_sb(struct super_block *sb) { return sb->s_fs_info; } static inline struct qnx4_inode_info *qnx4_i(struct inode *inode) { return container_of(inode, struct qnx4_inode_info, vfs_inode); } static inline struct qnx4_inode_entry *qnx4_raw_inode(struct inode *inode) { return &qnx4_i(inode)->raw; } |