Home
last modified time | relevance | path

Searched refs:alloc_mode (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/fs/jffs2/
Dwrite.c61 uint32_t datalen, int alloc_mode) in jffs2_write_dnode() argument
100 if ((alloc_mode!=ALLOC_GC) && (je32_to_cpu(ri->version) < f->highest_version)) { in jffs2_write_dnode()
110 (alloc_mode==ALLOC_GC)?0:f->inocache->ino); in jffs2_write_dnode()
128 if (!retried && alloc_mode != ALLOC_NORETRY) { in jffs2_write_dnode()
140 if (alloc_mode == ALLOC_GC) { in jffs2_write_dnode()
149 alloc_mode, JFFS2_SUMMARY_INODE_SIZE); in jffs2_write_dnode()
207 uint32_t namelen, int alloc_mode) in jffs2_write_dirent() argument
258 if ((alloc_mode!=ALLOC_GC) && (je32_to_cpu(rd->version) < f->highest_version)) { in jffs2_write_dirent()
269 (alloc_mode==ALLOC_GC)?0:je32_to_cpu(rd->pino)); in jffs2_write_dirent()
292 if (alloc_mode == ALLOC_GC) { in jffs2_write_dirent()
[all …]
Dnodelist.h400 uint32_t datalen, int alloc_mode);
403 uint32_t namelen, int alloc_mode);
/linux-4.1.27/fs/f2fs/
Dgc.c150 if (p->alloc_mode == SSR) { in select_policy()
172 if (p->alloc_mode == SSR) in get_max_cost()
236 if (p->alloc_mode == SSR) in get_gc_cost()
255 unsigned int *result, int gc_type, int type, char alloc_mode) in get_victim_by_default() argument
264 p.alloc_mode = alloc_mode; in get_victim_by_default()
270 if (p.alloc_mode == LFS && gc_type == FG_GC) { in get_victim_by_default()
317 if (p.alloc_mode == LFS) { in get_victim_by_default()
Dsegment.h147 int alloc_mode; /* LFS or SSR */ member
/linux-4.1.27/include/trace/events/
Df2fs.h524 __field(int, alloc_mode)
537 __entry->alloc_mode = p->alloc_mode;
551 show_alloc_mode(__entry->alloc_mode),