Searched refs:alloc_mode (Results 1 – 7 of 7) sorted by relevance
| /fs/jffs2/ |
| 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 …]
|
| A D | nodelist.h | 400 uint32_t datalen, int alloc_mode); 403 uint32_t namelen, int alloc_mode);
|
| /fs/f2fs/ |
| A D | gc.c | 283 if (p->alloc_mode == SSR || p->alloc_mode == AT_SSR) { in select_policy() 307 (p->gc_mode != GC_AT && p->alloc_mode != AT_SSR) && in select_policy() 325 if (p->alloc_mode == SSR) in get_max_cost() 327 else if (p->alloc_mode == AT_SSR) in get_max_cost() 392 if (p->alloc_mode == SSR) in get_gc_cost() 689 else if (p->alloc_mode == AT_SSR) in lookup_victim_by_age() 769 int gc_type, int type, char alloc_mode, in f2fs_get_victim() argument 785 p.alloc_mode = alloc_mode; in f2fs_get_victim() 843 if (p.alloc_mode == LFS && gc_type == FG_GC) { in f2fs_get_victim() 889 if (p.alloc_mode == LFS) { in f2fs_get_victim() [all …]
|
| A D | super.c | 941 F2FS_CTX_INFO(ctx).alloc_mode = result.uint_32; in f2fs_parse_param() 1641 F2FS_OPTION(sbi).alloc_mode = F2FS_CTX_INFO(ctx).alloc_mode; in f2fs_apply_options() 2378 if (F2FS_OPTION(sbi).alloc_mode == ALLOC_MODE_DEFAULT) in f2fs_show_options() 2380 else if (F2FS_OPTION(sbi).alloc_mode == ALLOC_MODE_REUSE) in f2fs_show_options() 2446 F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_REUSE; in default_options() 2448 F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_DEFAULT; in default_options()
|
| A D | segment.c | 2948 if (F2FS_OPTION(sbi).alloc_mode == ALLOC_MODE_REUSE) in __get_next_segno() 3058 int alloc_mode, unsigned long long age); 3061 int target_type, int alloc_mode, in get_atssr_segment() argument 3069 if (get_ssr_segment(sbi, type, alloc_mode, age)) { in get_atssr_segment() 3185 int alloc_mode, unsigned long long age) in get_ssr_segment() argument 3197 alloc_mode, age, false)) { in get_ssr_segment() 3225 alloc_mode, age, false)) { in get_ssr_segment()
|
| A D | segment.h | 149 int alloc_mode; /* LFS or SSR */ member
|
| A D | f2fs.h | 188 int alloc_mode; /* segment allocation policy */ member 4047 int gc_type, int type, char alloc_mode,
|
Completed in 49 milliseconds