Searched refs:alloc_mode (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/fs/jffs2/ |
D | write.c | 61 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 …]
|
D | nodelist.h | 400 uint32_t datalen, int alloc_mode); 403 uint32_t namelen, int alloc_mode);
|
/Linux-v5.4/fs/f2fs/ |
D | gc.c | 183 if (p->alloc_mode == SSR) { in select_policy() 213 if (p->alloc_mode == SSR) in get_max_cost() 277 if (p->alloc_mode == SSR) in get_gc_cost() 308 unsigned int *result, int gc_type, int type, char alloc_mode) in get_victim_by_default() argument 320 p.alloc_mode = alloc_mode; in get_victim_by_default() 336 if (__is_large_section(sbi) && p.alloc_mode == LFS) { in get_victim_by_default() 353 if (p.alloc_mode == LFS && gc_type == FG_GC) { in get_victim_by_default() 402 p.alloc_mode != SSR)) in get_victim_by_default() 428 if (p.alloc_mode == LFS) { in get_victim_by_default()
|
D | super.c | 745 F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_DEFAULT; in parse_options() 748 F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_REUSE; in parse_options() 1443 if (F2FS_OPTION(sbi).alloc_mode == ALLOC_MODE_DEFAULT) in f2fs_show_options() 1445 else if (F2FS_OPTION(sbi).alloc_mode == ALLOC_MODE_REUSE) in f2fs_show_options() 1466 F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_DEFAULT; in default_options() 3172 F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_REUSE; in f2fs_tuning_parameters()
|
D | segment.h | 167 int alloc_mode; /* LFS or SSR */ member
|
D | f2fs.h | 137 int alloc_mode; /* segment allocation policy */ member
|
D | segment.c | 2487 if (F2FS_OPTION(sbi).alloc_mode == ALLOC_MODE_REUSE) in __get_next_segno()
|
/Linux-v5.4/include/trace/events/ |
D | f2fs.h | 747 __field(int, alloc_mode) 761 __entry->alloc_mode = p->alloc_mode; 777 show_alloc_mode(__entry->alloc_mode),
|
/Linux-v5.4/Documentation/filesystems/ |
D | f2fs.txt | 209 alloc_mode=%s Adjust block allocation policy, which supports "reuse"
|