Searched refs:alloc_mode (Results 1 - 8 of 8) sorted by relevance
/linux-master/fs/jffs2/ |
H A D | write.c | 61 uint32_t datalen, int alloc_mode) 100 if ((alloc_mode!=ALLOC_GC) && (je32_to_cpu(ri->version) < f->highest_version)) { 110 (alloc_mode==ALLOC_GC)?0:f->inocache->ino); 128 if (!retried && alloc_mode != ALLOC_NORETRY) { 140 if (alloc_mode == ALLOC_GC) { 149 alloc_mode, JFFS2_SUMMARY_INODE_SIZE); 207 uint32_t namelen, int alloc_mode) 258 if ((alloc_mode!=ALLOC_GC) && (je32_to_cpu(rd->version) < f->highest_version)) { 269 (alloc_mode==ALLOC_GC)?0:je32_to_cpu(rd->pino)); 292 if (alloc_mode 59 jffs2_write_dnode(struct jffs2_sb_info *c, struct jffs2_inode_info *f, struct jffs2_raw_inode *ri, const unsigned char *data, uint32_t datalen, int alloc_mode) argument 205 jffs2_write_dirent(struct jffs2_sb_info *c, struct jffs2_inode_info *f, struct jffs2_raw_dirent *rd, const unsigned char *name, uint32_t namelen, int alloc_mode) argument [all...] |
H A D | nodelist.h | 400 uint32_t datalen, int alloc_mode); 403 uint32_t namelen, int alloc_mode);
|
/linux-master/fs/f2fs/ |
H A D | gc.c | 250 if (p->alloc_mode == SSR) { 255 } else if (p->alloc_mode == AT_SSR) { 279 (p->gc_mode != GC_AT && p->alloc_mode != AT_SSR) && 297 if (p->alloc_mode == SSR) 299 else if (p->alloc_mode == AT_SSR) 368 if (p->alloc_mode == SSR) 371 /* alloc_mode == LFS */ 664 else if (p->alloc_mode == AT_SSR) 744 int gc_type, int type, char alloc_mode, 759 p.alloc_mode 743 f2fs_get_victim(struct f2fs_sb_info *sbi, unsigned int *result, int gc_type, int type, char alloc_mode, unsigned long long age) argument [all...] |
H A D | super.c | 238 {Opt_alloc, "alloc_mode=%s"}, 994 F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_DEFAULT; 996 F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_REUSE; 2054 if (F2FS_OPTION(sbi).alloc_mode == ALLOC_MODE_DEFAULT) 2055 seq_printf(seq, ",alloc_mode=%s", "default"); 2056 else if (F2FS_OPTION(sbi).alloc_mode == ALLOC_MODE_REUSE) 2057 seq_printf(seq, ",alloc_mode=%s", "reuse"); 2119 F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_REUSE; 2121 F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_DEFAULT;
|
H A D | segment.c | 2806 if (F2FS_OPTION(sbi).alloc_mode == ALLOC_MODE_REUSE) 2908 int alloc_mode, unsigned long long age); 2911 int target_type, int alloc_mode, 2919 if (get_ssr_segment(sbi, type, alloc_mode, age)) { 3014 int alloc_mode, unsigned long long age) 3025 if (!f2fs_get_victim(sbi, &segno, BG_GC, seg_type, alloc_mode, age)) { 3052 if (!f2fs_get_victim(sbi, &segno, BG_GC, i, alloc_mode, age)) { 2910 get_atssr_segment(struct f2fs_sb_info *sbi, int type, int target_type, int alloc_mode, unsigned long long age) argument 3013 get_ssr_segment(struct f2fs_sb_info *sbi, int type, int alloc_mode, unsigned long long age) argument
|
H A D | segment.h | 139 * In the victim_sel_policy->alloc_mode, there are three block allocation modes. 177 int alloc_mode; /* LFS or SSR */ member in struct:victim_sel_policy
|
H A D | f2fs.h | 167 int alloc_mode; /* segment allocation policy */ member in struct:f2fs_mount_info 3886 int gc_type, int type, char alloc_mode,
|
/linux-master/include/trace/events/ |
H A D | f2fs.h | 790 __field(int, alloc_mode) 804 __entry->alloc_mode = p->alloc_mode; 820 show_alloc_mode(__entry->alloc_mode),
|
Completed in 244 milliseconds