RTEMS CPU Kit with SuperCore  4.11.3
Data Structures | Functions
fs-rtems.c File Reference
#include <linux/kernel.h>
#include "nodelist.h"
#include <linux/pagemap.h>
#include <linux/crc32.h>
#include "compr.h"
#include <errno.h>
#include <string.h>
#include <assert.h>
#include <rtems/libio.h>
#include <rtems/libio_.h>
Include dependency graph for fs-rtems.c:

Data Structures

struct  rtems_jffs2_fs_info
 

Functions

 RTEMS_STATIC_ASSERT (DT_DIR==(S_IFDIR >> 12), DT_DIR)
 
 RTEMS_STATIC_ASSERT (DT_LNK==(S_IFLNK >> 12), DT_LNK)
 
 RTEMS_STATIC_ASSERT (DT_REG==(S_IFREG >> 12), DT_REG)
 
 RTEMS_STATIC_ASSERT (00400==S_IRUSR, S_IRUSR)
 
 RTEMS_STATIC_ASSERT (00200==S_IWUSR, S_IWUSR)
 
 RTEMS_STATIC_ASSERT (00100==S_IXUSR, S_IXUSR)
 
 RTEMS_STATIC_ASSERT (00040==S_IRGRP, S_IRGRP)
 
 RTEMS_STATIC_ASSERT (00020==S_IWGRP, S_IWGRP)
 
 RTEMS_STATIC_ASSERT (00010==S_IXGRP, S_IXGRP)
 
 RTEMS_STATIC_ASSERT (00004==S_IROTH, S_IROTH)
 
 RTEMS_STATIC_ASSERT (00002==S_IWOTH, S_IWOTH)
 
 RTEMS_STATIC_ASSERT (00001==S_IXOTH, S_IXOTH)
 
 RTEMS_STATIC_ASSERT (0140000==S_IFSOCK, S_IFSOCK)
 
 RTEMS_STATIC_ASSERT (0120000==S_IFLNK, S_IFLNK)
 
 RTEMS_STATIC_ASSERT (0100000==S_IFREG, S_IFREG)
 
 RTEMS_STATIC_ASSERT (0060000==S_IFBLK, S_IFBLK)
 
 RTEMS_STATIC_ASSERT (0040000==S_IFDIR, S_IFDIR)
 
 RTEMS_STATIC_ASSERT (0020000==S_IFCHR, S_IFCHR)
 
 RTEMS_STATIC_ASSERT (0010000==S_IFIFO, S_IFIFO)
 
 RTEMS_STATIC_ASSERT (0004000==S_ISUID, S_ISUID)
 
 RTEMS_STATIC_ASSERT (0002000==S_ISGID, S_ISGID)
 
 RTEMS_STATIC_ASSERT (0001000==S_ISVTX, S_ISVTX)
 
int rtems_jffs2_initialize (rtems_filesystem_mount_table_entry_t *mt_entry, const void *data)
 Initialization handler of the JFFS2 file system. More...
 
unsigned char * jffs2_gc_fetch_page (struct jffs2_sb_info *c, struct jffs2_inode_info *f, unsigned long offset, unsigned long *priv)
 
void jffs2_gc_release_page (struct jffs2_sb_info *c, unsigned char *ptr, unsigned long *priv)
 
struct _inodejffs2_iget (struct super_block *sb, cyg_uint32 ino)
 
void jffs2_iput (struct _inode *i)
 
struct _inodejffs2_new_inode (struct _inode *dir_i, int mode, struct jffs2_raw_inode *ri)
 
void jffs2_gc_release_inode (struct jffs2_sb_info *c, struct jffs2_inode_info *f)
 
struct jffs2_inode_infojffs2_gc_fetch_inode (struct jffs2_sb_info *c, int inum, int unlinked)