Searched refs:block_state (Results 1 – 7 of 7) sorted by relevance
/u-boot/fs/yaffs2/ |
A D | yaffs_verify.c | 58 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()
|
A D | yaffs_checkptrw.c | 40 if (bi->block_state == YAFFS_BLOCK_STATE_CHECKPOINT) { in yaffs_checkpt_erase() 49 bi->block_state = YAFFS_BLOCK_STATE_EMPTY; in yaffs_checkpt_erase() 55 bi->block_state = YAFFS_BLOCK_STATE_DEAD; in yaffs_checkpt_erase() 83 if (bi->block_state == YAFFS_BLOCK_STATE_EMPTY) { in yaffs2_checkpt_find_erased_block() 227 bi->block_state = YAFFS_BLOCK_STATE_CHECKPOINT; in yaffs2_checkpt_flush_buffer() 376 if (bi && bi->block_state == YAFFS_BLOCK_STATE_EMPTY) in yaffs_checkpt_close() 377 bi->block_state = YAFFS_BLOCK_STATE_CHECKPOINT; in yaffs_checkpt_close()
|
A D | yaffs_yaffs2.c | 57 if (b->block_state == YAFFS_BLOCK_STATE_FULL && in yaffs_calc_oldest_dirty_seq() 177 if (bi->block_state == YAFFS_BLOCK_STATE_FULL) { in yaffs2_find_refresh_block() 988 bi->block_state = YAFFS_BLOCK_STATE_EMPTY; in yaffs2_scan_chunk() 999 bi->block_state = in yaffs2_scan_chunk() 1396 bi->block_state = state; in yaffs2_scan_backwards() 1400 bi->block_state = YAFFS_BLOCK_STATE_CHECKPOINT; in yaffs2_scan_backwards() 1402 bi->block_state = YAFFS_BLOCK_STATE_DEAD; in yaffs2_scan_backwards() 1406 blk, bi->block_state, seq_number); in yaffs2_scan_backwards() 1418 } else if (bi->block_state == in yaffs2_scan_backwards() 1494 bi->block_state = YAFFS_BLOCK_STATE_FULL; in yaffs2_scan_backwards() [all …]
|
A D | yaffs_yaffs1.c | 59 bi->block_state = state; in yaffs1_scan() 63 bi->block_state = state = YAFFS_BLOCK_STATE_DEAD; in yaffs1_scan() 87 state = bi->block_state; in yaffs1_scan() 367 bi->block_state = state; in yaffs1_scan() 372 bi->block_state == YAFFS_BLOCK_STATE_FULL) in yaffs1_scan()
|
A D | yaffs_guts.c | 399 if (bi->block_state == YAFFS_BLOCK_STATE_EMPTY) { in yaffs_find_alloc_block() 400 bi->block_state = YAFFS_BLOCK_STATE_ALLOCATING; in yaffs_find_alloc_block() 455 bi->block_state = YAFFS_BLOCK_STATE_FULL; in yaffs_alloc_chunk() 495 bi->block_state = YAFFS_BLOCK_STATE_FULL; in yaffs_skip_rest_of_block() 640 bi->block_state = YAFFS_BLOCK_STATE_DEAD; in yaffs_retire_block() 2318 block_no, bi->block_state, in yaffs_block_became_dirty() 2323 bi->block_state = YAFFS_BLOCK_STATE_DIRTY; in yaffs_block_became_dirty() 2370 bi->block_state = YAFFS_BLOCK_STATE_EMPTY; in yaffs_block_became_dirty() 2549 if (bi->block_state == YAFFS_BLOCK_STATE_FULL) in yaffs_gc_block() 2595 bi->block_state = YAFFS_BLOCK_STATE_FULL; in yaffs_gc_block() [all …]
|
A D | yaffs_guts.h | 290 unsigned block_state:4; /* One of the above block states. */ member
|
/u-boot/lib/zlib/ |
A D | deflate.c | 72 } block_state; typedef 78 local block_state deflate_stored OF((deflate_state *s, int flush)); 79 local block_state deflate_fast OF((deflate_state *s, int flush)); 81 local block_state deflate_slow OF((deflate_state *s, int flush)); 83 local block_state deflate_rle OF((deflate_state *s, int flush)); 817 block_state bstate; 1461 local block_state deflate_stored(s, flush) in deflate_stored() 1519 local block_state deflate_fast(s, flush) in deflate_fast() 1615 local block_state deflate_slow(s, flush) in deflate_slow() 1740 local block_state deflate_rle(s, flush) in deflate_rle() [all …]
|
Completed in 23 milliseconds