RTEMS CPU Kit with SuperCore  4.11.3
Macros | Functions
scan.c File Reference
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/mtd/mtd.h>
#include <linux/pagemap.h>
#include <linux/crc32.h>
#include <linux/compiler.h>
#include "nodelist.h"
#include "summary.h"
#include "debug.h"
Include dependency graph for scan.c:

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define DEFAULT_EMPTY_SCAN_SIZE   256
 
#define noisy_printk(noise, fmt, ...)
 

Functions

int jffs2_scan_medium (struct jffs2_sb_info *c)
 
int jffs2_scan_classify_jeb (struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb)
 
struct jffs2_inode_cachejffs2_scan_make_ino_cache (struct jffs2_sb_info *c, uint32_t ino)
 
void jffs2_rotate_lists (struct jffs2_sb_info *c)
 

Macro Definition Documentation

◆ noisy_printk

#define noisy_printk (   noise,
  fmt,
  ... 
)
Value:
do { \
if (*(noise)) { \
pr_notice(fmt, ##__VA_ARGS__); \
(*(noise))--; \
if (!(*(noise))) \
pr_notice("Further such events for this erase block will not be printed\n"); \
} \
} while (0)