Home
last modified time | relevance | path

Searched refs:block_state (Results 1 – 12 of 12) sorted by relevance

/external/u-boot/fs/yaffs2/
Dyaffs_verify.c58 if (bi->block_state >= YAFFS_NUMBER_OF_BLOCK_STATES) in yaffs_verify_blk()
61 n, bi->block_state); in yaffs_verify_blk()
63 switch (bi->block_state) { in yaffs_verify_blk()
69 n, block_state_name[bi->block_state]); in yaffs_verify_blk()
100 if (bi->block_state != YAFFS_BLOCK_STATE_COLLECTING && in yaffs_verify_collected_blk()
101 bi->block_state != YAFFS_BLOCK_STATE_EMPTY) { in yaffs_verify_collected_blk()
104 n, bi->block_state); in yaffs_verify_collected_blk()
123 if (bi->block_state < YAFFS_NUMBER_OF_BLOCK_STATES) in yaffs_verify_blocks()
124 state_count[bi->block_state]++; in yaffs_verify_blocks()
Dyaffs_yaffs2.c56 if (b->block_state == YAFFS_BLOCK_STATE_FULL && in yaffs_calc_oldest_dirty_seq()
176 if (bi->block_state == YAFFS_BLOCK_STATE_FULL) { in yaffs2_find_refresh_block()
987 bi->block_state = YAFFS_BLOCK_STATE_EMPTY; in yaffs2_scan_chunk()
990 if (bi->block_state == YAFFS_BLOCK_STATE_NEEDS_SCAN || in yaffs2_scan_chunk()
991 bi->block_state == YAFFS_BLOCK_STATE_ALLOCATING) { in yaffs2_scan_chunk()
998 bi->block_state = in yaffs2_scan_chunk()
1395 bi->block_state = state; in yaffs2_scan_backwards()
1399 bi->block_state = YAFFS_BLOCK_STATE_CHECKPOINT; in yaffs2_scan_backwards()
1401 bi->block_state = YAFFS_BLOCK_STATE_DEAD; in yaffs2_scan_backwards()
1405 blk, bi->block_state, seq_number); in yaffs2_scan_backwards()
[all …]
Dyaffs_checkptrw.c39 if (bi->block_state == YAFFS_BLOCK_STATE_CHECKPOINT) { in yaffs_checkpt_erase()
48 bi->block_state = YAFFS_BLOCK_STATE_EMPTY; in yaffs_checkpt_erase()
54 bi->block_state = YAFFS_BLOCK_STATE_DEAD; in yaffs_checkpt_erase()
82 if (bi->block_state == YAFFS_BLOCK_STATE_EMPTY) { in yaffs2_checkpt_find_erased_block()
226 bi->block_state = YAFFS_BLOCK_STATE_CHECKPOINT; in yaffs2_checkpt_flush_buffer()
375 if (bi && bi->block_state == YAFFS_BLOCK_STATE_EMPTY) in yaffs_checkpt_close()
376 bi->block_state = YAFFS_BLOCK_STATE_CHECKPOINT; in yaffs_checkpt_close()
Dyaffs_yaffs1.c58 bi->block_state = state; in yaffs1_scan()
62 bi->block_state = state = YAFFS_BLOCK_STATE_DEAD; in yaffs1_scan()
86 state = bi->block_state; in yaffs1_scan()
366 bi->block_state = state; in yaffs1_scan()
371 bi->block_state == YAFFS_BLOCK_STATE_FULL) in yaffs1_scan()
Dyaffs_guts.c398 if (bi->block_state == YAFFS_BLOCK_STATE_EMPTY) { in yaffs_find_alloc_block()
399 bi->block_state = YAFFS_BLOCK_STATE_ALLOCATING; in yaffs_find_alloc_block()
454 bi->block_state = YAFFS_BLOCK_STATE_FULL; in yaffs_alloc_chunk()
493 if (bi->block_state == YAFFS_BLOCK_STATE_ALLOCATING) { in yaffs_skip_rest_of_block()
494 bi->block_state = YAFFS_BLOCK_STATE_FULL; in yaffs_skip_rest_of_block()
639 bi->block_state = YAFFS_BLOCK_STATE_DEAD; in yaffs_retire_block()
2317 block_no, bi->block_state, in yaffs_block_became_dirty()
2322 bi->block_state = YAFFS_BLOCK_STATE_DIRTY; in yaffs_block_became_dirty()
2369 bi->block_state = YAFFS_BLOCK_STATE_EMPTY; in yaffs_block_became_dirty()
2539 is_checkpt_block = (bi->block_state == YAFFS_BLOCK_STATE_CHECKPOINT); in yaffs_gc_block()
[all …]
Dyaffs_guts.h290 unsigned block_state:4; /* One of the above block states. */ member
/external/u-boot/lib/zlib/
Ddeflate.c71 } block_state; typedef
73 typedef block_state (*compress_func) OF((deflate_state *s, int flush)); typedef
77 local block_state deflate_stored OF((deflate_state *s, int flush));
78 local block_state deflate_fast OF((deflate_state *s, int flush));
80 local block_state deflate_slow OF((deflate_state *s, int flush));
82 local block_state deflate_rle OF((deflate_state *s, int flush));
83 local block_state deflate_huff OF((deflate_state *s, int flush));
816 block_state bstate;
1460 local block_state deflate_stored(s, flush) in deflate_stored()
1518 local block_state deflate_fast(s, flush) in deflate_fast()
[all …]
/external/python/cpython2/Modules/zlib/
Ddeflate.c71 } block_state; typedef
73 typedef block_state (*compress_func) OF((deflate_state *s, int flush)); typedef
79 local block_state deflate_stored OF((deflate_state *s, int flush));
80 local block_state deflate_fast OF((deflate_state *s, int flush));
82 local block_state deflate_slow OF((deflate_state *s, int flush));
84 local block_state deflate_rle OF((deflate_state *s, int flush));
85 local block_state deflate_huff OF((deflate_state *s, int flush));
998 block_state bstate;
1643 local block_state deflate_stored(s, flush) in deflate_stored()
1824 local block_state deflate_fast(s, flush) in deflate_fast()
[all …]
/external/zlib/src/
Ddeflate.c71 } block_state; typedef
73 typedef block_state (*compress_func) OF((deflate_state *s, int flush)); typedef
79 local block_state deflate_stored OF((deflate_state *s, int flush));
80 local block_state deflate_fast OF((deflate_state *s, int flush));
82 local block_state deflate_slow OF((deflate_state *s, int flush));
84 local block_state deflate_rle OF((deflate_state *s, int flush));
85 local block_state deflate_huff OF((deflate_state *s, int flush));
998 block_state bstate;
1643 local block_state deflate_stored(s, flush) in deflate_stored()
1824 local block_state deflate_fast(s, flush) in deflate_fast()
[all …]
/external/v8/src/parsing/
Dpreparser.cc188 BlockState block_state(&scope_, inner_scope); in PreParseFunction() local
Dparser.cc770 BlockState block_state(&scope_, outer); in DoParseFunction() local
807 BlockState block_state(&scope_, scope); in DoParseFunction() local
2208 BlockState block_state(&scope_, inner_scope); in DesugarLexicalBindingsInForStatement() local
2914 BlockState block_state(&scope_, param_scope); in BuildParameterInitializationBlock() local
3341 BlockState block_state(&scope_, inner_scope); in InsertShadowingVarBindingInitializers() local
3675 BlockState block_state(&scope_, scope); in RewriteDestructuringAssignments() local
Dparser-base.h4218 BlockState block_state(&scope_, inner_scope); in ParseFunctionBody()
4528 BlockState block_state(&scope_, block_scope); in ParseClassLiteral()
5114 BlockState block_state(zone(), &scope_); in ParseBlock()
5142 BlockState block_state(zone(), &scope_); in ParseScopedStatement()
5440 BlockState block_state(&scope_, with_scope); in ParseWithStatement()
5871 BlockState block_state( in ParseForEachStatementWithDeclarations()
5964 BlockState block_state(&scope_, inner_scope); in ParseStandardForLoopWithLexicalDeclarations()
6145 BlockState block_state(&scope_, inner_block_scope); in ParseForAwaitStatement()