/openbmc/u-boot/fs/yaffs2/ |
H 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()
|
H A D | yaffs_checkptrw.c | 39 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()
|
H A D | yaffs_yaffs2.c | 56 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 …]
|
H A D | yaffs_yaffs1.c | 58 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()
|
H A D | yaffs_guts.c | 398 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 …]
|
H A D | yaffs_guts.h | 290 unsigned block_state:4; /* One of the above block states. */ member
|
/openbmc/linux/drivers/gpu/drm/tests/ |
H A D | drm_buddy_test.c | 71 unsigned int block_state; in check_block() local 76 block_state = drm_buddy_block_state(block); in check_block() 78 if (block_state != DRM_BUDDY_ALLOCATED && in check_block() 79 block_state != DRM_BUDDY_FREE && block_state != DRM_BUDDY_SPLIT) { in check_block() 131 if (drm_buddy_block_state(buddy) == block_state && in check_block() 132 block_state == DRM_BUDDY_FREE) { in check_block()
|
/openbmc/linux/lib/zlib_deflate/ |
H A D | deflate.c | 69 typedef block_state (*compress_func) (deflate_state *s, int flush); 73 static block_state deflate_stored (deflate_state *s, int flush); 74 static block_state deflate_fast (deflate_state *s, int flush); 75 static block_state deflate_slow (deflate_state *s, int flush); 407 block_state bstate; in zlib_deflate() 864 static block_state deflate_stored( in deflate_stored() 923 static block_state deflate_fast( in deflate_fast() 1017 static block_state deflate_slow( in deflate_slow()
|
H A D | defutil.h | 349 } block_state; typedef
|
/openbmc/u-boot/lib/zlib/ |
H A D | deflate.c | 71 } 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 …]
|
/openbmc/linux/fs/gfs2/ |
H A D | trace_gfs2.h | 548 u64 block, unsigned len, u8 block_state), 550 TP_ARGS(ip, rgd, block, len, block_state), 557 __field( u8, block_state ) 569 __entry->block_state = block_state; 581 block_state_name(__entry->block_state),
|
/openbmc/linux/lib/zlib_dfltcc/ |
H A D | dfltcc_deflate.h | 11 block_state *result);
|
H A D | dfltcc_deflate.c | 122 block_state *result in dfltcc_deflate()
|
/openbmc/linux/drivers/block/zram/ |
H A D | Kconfig | 87 /sys/kernel/debug/zram/zramX/block_state.
|
/openbmc/qemu/block/ |
H A D | vhdx.c | 1713 int block_state; in vhdx_create_bat() local 1759 block_state = type == VHDX_TYPE_FIXED ? PAYLOAD_BLOCK_FULLY_PRESENT : in vhdx_create_bat() 1761 block_state = use_zero_blocks ? PAYLOAD_BLOCK_ZERO : block_state; in vhdx_create_bat() 1769 block_state); in vhdx_create_bat()
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-block-zram | 108 are idle via /sys/kernel/debug/zram/zram<id>/block_state
|
/openbmc/linux/Documentation/admin-guide/blockdev/ |
H A D | zram.rst | 498 /sys/kernel/debug/zram/zram0/block_state". The output is as follows::
|
/openbmc/linux/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_ctl.c | 76 enum block_state { enum 2607 enum block_state state; in _ctl_ioctl_main()
|