Searched refs:alloc_mode (Results  1 – 9 of 9) sorted by relevance
| /Linux-v5.10/fs/jffs2/ | 
| D | write.c | 61 					   uint32_t datalen, int alloc_mode)  in jffs2_write_dnode()  argument100 	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 …]
 
 | 
| D | nodelist.h | 400 					   uint32_t datalen, int alloc_mode);403 					     uint32_t namelen, int alloc_mode);
 
 | 
| /Linux-v5.10/fs/f2fs/ | 
| D | gc.c | 206 	if (p->alloc_mode == SSR) {  in select_policy()211 	} else if (p->alloc_mode == AT_SSR) {  in select_policy()
 235 			(p->gc_mode != GC_AT && p->alloc_mode != AT_SSR) &&  in select_policy()
 251 	if (p->alloc_mode == SSR)  in get_max_cost()
 253 	else if (p->alloc_mode == AT_SSR)  in get_max_cost()
 322 	if (p->alloc_mode == SSR)  in get_gc_cost()
 396 		if (p->alloc_mode == AT_SSR &&  in add_victim_entry()
 591 	else if (p->alloc_mode == AT_SSR)  in lookup_victim_by_age()
 624 			char alloc_mode, unsigned long long age)  in get_victim_by_default()  argument
 638 	p.alloc_mode = alloc_mode;  in get_victim_by_default()
 [all …]
 
 | 
| D | super.c | 812 				F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_DEFAULT;  in parse_options()814 				F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_REUSE;  in parse_options()
 1638 	if (F2FS_OPTION(sbi).alloc_mode == ALLOC_MODE_DEFAULT)  in f2fs_show_options()
 1640 	else if (F2FS_OPTION(sbi).alloc_mode == ALLOC_MODE_REUSE)  in f2fs_show_options()
 1668 	F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_DEFAULT;  in default_options()
 3447 		F2FS_OPTION(sbi).alloc_mode = ALLOC_MODE_REUSE;  in f2fs_tuning_parameters()
 
 | 
| D | segment.c | 2584 	if (F2FS_OPTION(sbi).alloc_mode == ALLOC_MODE_REUSE)  in __get_next_segno()2688 				int alloc_mode, unsigned long long age);
 2691 					int target_type, int alloc_mode,  in get_atssr_segment()  argument
 2698 	if (get_ssr_segment(sbi, type, alloc_mode, age)) {  in get_atssr_segment()
 2790 				int alloc_mode, unsigned long long age)  in get_ssr_segment()  argument
 2802 	if (!v_ops->get_victim(sbi, &segno, BG_GC, seg_type, alloc_mode, age)) {  in get_ssr_segment()
 2829 		if (!v_ops->get_victim(sbi, &segno, BG_GC, i, alloc_mode, age)) {  in get_ssr_segment()
 
 | 
| D | segment.h | 185 	int alloc_mode;			/* LFS or SSR */  member
 | 
| D | f2fs.h | 138 	int alloc_mode;			/* segment allocation policy */  member
 | 
| /Linux-v5.10/include/trace/events/ | 
| D | f2fs.h | 760 		__field(int,	alloc_mode)774 		__entry->alloc_mode	= p->alloc_mode;
 790 		show_alloc_mode(__entry->alloc_mode),
 
 | 
| /Linux-v5.10/Documentation/filesystems/ | 
| D | f2fs.rst | 217 alloc_mode=%s		 Adjust block allocation policy, which supports "reuse"
 |