#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/mtd/mtd.h>
#include <linux/crc32.h>
#include <linux/mtd/nand.h>
#include <linux/jiffies.h>
#include <linux/sched.h>
#include <linux/writeback.h>
#include "nodelist.h"
Go to the source code of this file.
|
int | jffs2_flush_wbuf_gc (struct jffs2_sb_info *c, uint32_t ino) |
|
int | jffs2_flush_wbuf_pad (struct jffs2_sb_info *c) |
|
int | jffs2_flash_writev (struct jffs2_sb_info *c, const struct kvec *invecs, unsigned long count, loff_t to, size_t *retlen, uint32_t ino) |
|
int | jffs2_flash_write (struct jffs2_sb_info *c, loff_t ofs, size_t len, size_t *retlen, const u_char *buf) |
|
int | jffs2_flash_read (struct jffs2_sb_info *c, loff_t ofs, size_t len, size_t *retlen, u_char *buf) |
|
int | jffs2_check_oob_empty (struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, int mode) |
|
int | jffs2_check_nand_cleanmarker (struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) |
|
int | jffs2_write_nand_cleanmarker (struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) |
|
int | jffs2_write_nand_badblock (struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_offset) |
|
void | jffs2_dirty_trigger (struct jffs2_sb_info *c) |
|
int | jffs2_nand_flash_setup (struct jffs2_sb_info *c) |
|
void | jffs2_nand_flash_cleanup (struct jffs2_sb_info *c) |
|
int | jffs2_dataflash_setup (struct jffs2_sb_info *c) |
|
void | jffs2_dataflash_cleanup (struct jffs2_sb_info *c) |
|
int | jffs2_nor_wbuf_flash_setup (struct jffs2_sb_info *c) |
|
void | jffs2_nor_wbuf_flash_cleanup (struct jffs2_sb_info *c) |
|
int | jffs2_ubivol_setup (struct jffs2_sb_info *c) |
|
void | jffs2_ubivol_cleanup (struct jffs2_sb_info *c) |
|
#define jffs2_verify_write |
( |
|
c, |
|
|
|
b, |
|
|
|
o |
|
) |
| (0) |
#define MAX_ERASE_FAILURES 2 |
#define NR_OOB_SCAN_PAGES 4 |
#define PAGE_DIV |
( |
|
x | ) |
( ((unsigned long)(x) / (unsigned long)(c->wbuf_pagesize)) * (unsigned long)(c->wbuf_pagesize) ) |
#define PAGE_MOD |
( |
|
x | ) |
( (unsigned long)(x) % (unsigned long)(c->wbuf_pagesize) ) |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
#define REFILE_NOTEMPTY 0 |