⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fatfs_syms.c

📁 elinux jffs初始版本 具体了解JFFS的文件系统!
💻 C
字号:
/* * linux/fs/fat/fatfs_syms.c * * Exported kernel symbols for the low-level FAT-based fs support. * */#define ASC_LINUX_VERSION(V, P, S)	(((V) * 65536) + ((P) * 256) + (S))#include <linux/version.h>#include <linux/config.h>#include <linux/module.h>#include <linux/mm.h>#include <linux/msdos_fs.h>#include "msbuffer.h"extern struct file_operations fat_dir_operations;#if LINUX_VERSION_CODE >= ASC_LINUX_VERSION(2,1,0)#define X(sym) EXPORT_SYMBOL(sym);#define X_PUNCT ;#else#define X_PUNCT ,static struct symbol_table fat_syms = {#include <linux/symtab_begin.h>#endifX(fat_add_cluster) X_PUNCTX(fat_bmap) X_PUNCTX(fat_brelse) X_PUNCTX(fat_cache_inval_inode) X_PUNCTX(fat_esc2uni) X_PUNCTX(fat_date_unix2dos) X_PUNCTX(fat_dir_operations) X_PUNCTX(fat_file_read) X_PUNCTX(fat_file_write) X_PUNCTX(fat_fs_panic) X_PUNCTX(fat_get_entry) X_PUNCTX(fat_lock_creation) X_PUNCTX(fat_mark_buffer_dirty) X_PUNCTX(fat_mmap) X_PUNCTX(fat_notify_change) X_PUNCTX(fat_parent_ino) X_PUNCTX(fat_put_inode) X_PUNCTX(fat_put_super) X_PUNCTX(fat_read_inode) X_PUNCTX(fat_read_super) X_PUNCTX(fat_readdirx) X_PUNCTX(fat_readdir) X_PUNCTX(fat_scan) X_PUNCTX(fat_smap) X_PUNCTX(fat_statfs) X_PUNCTX(fat_truncate) X_PUNCTX(fat_uni2esc) X_PUNCTX(fat_unlock_creation) X_PUNCTX(fat_write_inode) X_PUNCT#if LINUX_VERSION_CODE < ASC_LINUX_VERSION(2,1,0)#include <linux/symtab_end.h>};                                           #endifint init_fat_fs(void){#if LINUX_VERSION_CODE >= ASC_LINUX_VERSION(2,1,0)	return 0;#else	return register_symtab(&fat_syms);#endif}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -