RTEMS CPU Kit with SuperCore
|
#include <linux/kernel.h>
#include <linux/mtd/mtd.h>
#include <linux/compiler.h>
#include <linux/sched.h>
#include "nodelist.h"
#include "debug.h"
Macros | |
#define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
Functions | |
int | jffs2_reserve_space (struct jffs2_sb_info *c, uint32_t minsize, uint32_t *len, int prio, uint32_t sumsize) |
int | jffs2_reserve_space_gc (struct jffs2_sb_info *c, uint32_t minsize, uint32_t *len, uint32_t sumsize) |
struct jffs2_raw_node_ref * | jffs2_add_physical_node_ref (struct jffs2_sb_info *c, uint32_t ofs, uint32_t len, struct jffs2_inode_cache *ic) |
jffs2_add_physical_node_ref - add a physical node reference to the list : superblock info : new node reference to add : length of this physical node More... | |
void | jffs2_complete_reservation (struct jffs2_sb_info *c) |
void | jffs2_mark_node_obsolete (struct jffs2_sb_info *c, struct jffs2_raw_node_ref *ref) |
int | jffs2_thread_should_wake (struct jffs2_sb_info *c) |
struct jffs2_raw_node_ref* jffs2_add_physical_node_ref | ( | struct jffs2_sb_info * | c, |
uint32_t | ofs, | ||
uint32_t | len, | ||
struct jffs2_inode_cache * | ic | ||
) |
jffs2_add_physical_node_ref - add a physical node reference to the list : superblock info : new node reference to add : length of this physical node
Should only be used to report nodes for which space has been allocated by jffs2_reserve_space.
Must be called with the alloc_sem held.