Home
last modified time | relevance | path

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

/linux/fs/jffs2/
A 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 …]
A Dnodelist.h400 uint32_t datalen, int alloc_mode);
403 uint32_t namelen, int alloc_mode);
/linux/fs/f2fs/
A Dgc.c279 if (p->alloc_mode == SSR) { in select_policy()
284 } else if (p->alloc_mode == AT_SSR) { in select_policy()
326 if (p->alloc_mode == SSR) in get_max_cost()
328 else if (p->alloc_mode == AT_SSR) in get_max_cost()
397 if (p->alloc_mode == SSR) in get_gc_cost()
698 else if (p->alloc_mode == AT_SSR) in lookup_victim_by_age()
778 int gc_type, int type, char alloc_mode, in f2fs_get_victim() argument
793 p.alloc_mode = alloc_mode; in f2fs_get_victim()
844 if (p.alloc_mode == LFS && gc_type == FG_GC) { in f2fs_get_victim()
890 if (p.alloc_mode == LFS) { in f2fs_get_victim()
[all …]
A Dsuper.c1001 F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_DEFAULT; in parse_options()
1003 F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_REUSE; in parse_options()
2061 if (F2FS_OPTION(sbi).alloc_mode == ALLOC_MODE_DEFAULT) in f2fs_show_options()
2063 else if (F2FS_OPTION(sbi).alloc_mode == ALLOC_MODE_REUSE) in f2fs_show_options()
2126 F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_REUSE; in default_options()
2128 F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_DEFAULT; in default_options()
A Dsegment.c2853 if (F2FS_OPTION(sbi).alloc_mode == ALLOC_MODE_REUSE) in __get_next_segno()
2955 int alloc_mode, unsigned long long age);
2958 int target_type, int alloc_mode, in get_atssr_segment() argument
2966 if (get_ssr_segment(sbi, type, alloc_mode, age)) { in get_atssr_segment()
3082 int alloc_mode, unsigned long long age) in get_ssr_segment() argument
3094 alloc_mode, age, false)) { in get_ssr_segment()
3122 alloc_mode, age, false)) { in get_ssr_segment()
A Dsegment.h177 int alloc_mode; /* LFS or SSR */ member
A Df2fs.h172 int alloc_mode; /* segment allocation policy */ member
3923 int gc_type, int type, char alloc_mode,
/linux/include/trace/events/
A Df2fs.h791 __field(int, alloc_mode)
805 __entry->alloc_mode = p->alloc_mode;
821 show_alloc_mode(__entry->alloc_mode),
/linux/Documentation/filesystems/
A Df2fs.rst243 alloc_mode=%s Adjust block allocation policy, which supports "reuse"

Completed in 57 milliseconds