| /linux/fs/jffs2/ |
| H A 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 …]
|
| H A D | nodelist.h | 400 uint32_t datalen, int alloc_mode); 403 uint32_t namelen, int alloc_mode);
|
| /linux/fs/f2fs/ |
| H A D | gc.c | 284 if (p->alloc_mode == SSR || p->alloc_mode == AT_SSR) { in select_policy() 308 (p->gc_mode != GC_AT && p->alloc_mode != AT_SSR) && in select_policy() 327 if (p->alloc_mode == SSR) in get_max_cost() 329 else if (p->alloc_mode == AT_SSR) in get_max_cost() 394 if (p->alloc_mode == SSR) in get_gc_cost() 402 /* alloc_mode == LFS */ in get_gc_cost() 691 else if (p->alloc_mode == AT_SSR) in lookup_victim_by_age() 771 int gc_type, int type, char alloc_mode, in f2fs_get_victim() argument 787 p.alloc_mode in f2fs_get_victim() [all...] |
| H A D | super.c | 349 fsparam_enum("alloc_mode", Opt_alloc, f2fs_param_alloc_mode), 1042 F2FS_CTX_INFO(ctx).alloc_mode = result.uint_32; in f2fs_parse_param() 1782 F2FS_OPTION(sbi).alloc_mode = F2FS_CTX_INFO(ctx).alloc_mode; in f2fs_apply_options() 2539 if (F2FS_OPTION(sbi).alloc_mode == ALLOC_MODE_DEFAULT) in f2fs_show_options() 2540 seq_printf(seq, ",alloc_mode=%s", "default"); in f2fs_show_options() 2541 else if (F2FS_OPTION(sbi).alloc_mode == ALLOC_MODE_REUSE) in f2fs_show_options() 2542 seq_printf(seq, ",alloc_mode=%s", "reuse"); in f2fs_show_options() 2618 F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_REUSE; in default_options() 2620 F2FS_OPTION(sbi).alloc_mode in default_options() [all...] |
| H A D | segment.c | 3139 if (F2FS_OPTION(sbi).alloc_mode == ALLOC_MODE_REUSE) in __next_free_blkoff() 3250 int alloc_mode, unsigned long long age); in f2fs_reinit_atgc_curseg() 3253 int target_type, int alloc_mode, in f2fs_reinit_atgc_curseg() 3261 if (get_ssr_segment(sbi, type, alloc_mode, age)) { in f2fs_reinit_atgc_curseg() 3376 int alloc_mode, unsigned long long age) in need_new_seg() 3388 alloc_mode, age, false)) { in need_new_seg() 3416 alloc_mode, age, false)) { in f2fs_allocate_segment_for_resize() 3195 get_atssr_segment(struct f2fs_sb_info * sbi,int type,int target_type,int alloc_mode,unsigned long long age) get_atssr_segment() argument 3318 get_ssr_segment(struct f2fs_sb_info * sbi,int type,int alloc_mode,unsigned long long age) get_ssr_segment() argument
|
| H A D | segment.h | 136 * In the victim_sel_policy->alloc_mode, there are three block allocation modes. 174 int alloc_mode; /* LFS or SSR */ 158 int alloc_mode; /* LFS or SSR */ global() member
|
| H A D | f2fs.h | 245 int alloc_mode; /* segment allocation policy */ 4421 int gc_type, int type, char alloc_mode, 242 int alloc_mode; /* segment allocation policy */ global() member
|
| /linux/include/trace/events/ |
| H A D | f2fs.h | 842 __field(int, alloc_mode) 856 __entry->alloc_mode = p->alloc_mode; 872 show_alloc_mode(__entry->alloc_mode),
|
| /linux/Documentation/filesystems/ |
| H A D | f2fs.rst | 265 alloc_mode=%s Adjust block allocation policy, which supports "reuse"
|