Home
last modified time | relevance | path

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

/openbmc/linux/fs/jffs2/
H 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 …]
H A Dnodelist.h400 uint32_t datalen, int alloc_mode);
403 uint32_t namelen, int alloc_mode);
/openbmc/linux/fs/f2fs/
H A Dgc.c250 if (p->alloc_mode == SSR) { in select_policy()
255 } else if (p->alloc_mode == AT_SSR) { in select_policy()
297 if (p->alloc_mode == SSR) in get_max_cost()
299 else if (p->alloc_mode == AT_SSR) in get_max_cost()
368 if (p->alloc_mode == SSR) in get_gc_cost()
664 else if (p->alloc_mode == AT_SSR) in lookup_victim_by_age()
744 int gc_type, int type, char alloc_mode, in f2fs_get_victim() argument
759 p.alloc_mode = alloc_mode; in f2fs_get_victim()
809 if (p.alloc_mode == LFS && gc_type == FG_GC) { in f2fs_get_victim()
855 if (p.alloc_mode == LFS) { in f2fs_get_victim()
[all …]
H A Dsuper.c977 F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_DEFAULT; in parse_options()
979 F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_REUSE; in parse_options()
2045 if (F2FS_OPTION(sbi).alloc_mode == ALLOC_MODE_DEFAULT) in f2fs_show_options()
2047 else if (F2FS_OPTION(sbi).alloc_mode == ALLOC_MODE_REUSE) in f2fs_show_options()
2110 F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_REUSE; in default_options()
2112 F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_DEFAULT; in default_options()
H A Dsegment.c2756 if (F2FS_OPTION(sbi).alloc_mode == ALLOC_MODE_REUSE) in __get_next_segno()
2856 int alloc_mode, unsigned long long age);
2859 int target_type, int alloc_mode, in get_atssr_segment() argument
2866 if (get_ssr_segment(sbi, type, alloc_mode, age)) { in get_atssr_segment()
2958 int alloc_mode, unsigned long long age) in get_ssr_segment() argument
2969 if (!f2fs_get_victim(sbi, &segno, BG_GC, seg_type, alloc_mode, age)) { in get_ssr_segment()
2996 if (!f2fs_get_victim(sbi, &segno, BG_GC, i, alloc_mode, age)) { in get_ssr_segment()
H A Dsegment.h178 int alloc_mode; /* LFS or SSR */ member
H A Df2fs.h164 int alloc_mode; /* segment allocation policy */ member
3883 int gc_type, int type, char alloc_mode,
/openbmc/linux/include/trace/events/
H A Df2fs.h773 __field(int, alloc_mode)
787 __entry->alloc_mode = p->alloc_mode;
803 show_alloc_mode(__entry->alloc_mode),
/openbmc/linux/Documentation/filesystems/
H A Df2fs.rst241 alloc_mode=%s Adjust block allocation policy, which supports "reuse"
/openbmc/openbmc/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/
H A D0004-ffmpeg-4.3.4-rpi_14.patch46893 +int av_rpi_zc_resolve_buffer(AVBufferRef * const buf, const int alloc_mode)
46900 + if (alloc_mode == ZC_RESOLVE_FAIL && !zbe->is_valid)
46903 + if (alloc_mode == ZC_RESOLVE_WAIT_VALID && !zbe->is_valid)
46920 + av_assert0(alloc_mode == ZC_RESOLVE_ALLOC || alloc_mode == ZC_RESOLVE_ALLOC_VALID);
46961 + if (alloc_mode == ZC_RESOLVE_ALLOC_VALID)