Home
last modified time | relevance | path

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

/openbmc/u-boot/fs/yaffs2/
H A 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()
H A 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()
H A 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()
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()
1417 } else if (bi->block_state == in yaffs2_scan_backwards()
1493 bi->block_state = YAFFS_BLOCK_STATE_FULL; in yaffs2_scan_backwards()
[all …]
H A 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()
H A 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()
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()
2548 if (bi->block_state == YAFFS_BLOCK_STATE_FULL) in yaffs_gc_block()
2594 bi->block_state = YAFFS_BLOCK_STATE_FULL; in yaffs_gc_block()
[all …]
H A Dyaffs_guts.h290 unsigned block_state:4; /* One of the above block states. */ member
/openbmc/linux/drivers/gpu/drm/tests/
H A Ddrm_buddy_test.c71 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_dfltcc/
H A Ddfltcc_deflate.h11 block_state *result);
H A Ddfltcc_deflate.c122 block_state *result in dfltcc_deflate()
/openbmc/linux/lib/zlib_deflate/
H A Ddeflate.c69 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 Ddefutil.h349 } block_state; typedef
/openbmc/linux/fs/gfs2/
H A Dtrace_gfs2.h548 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/u-boot/lib/zlib/
H A Ddeflate.c71 } block_state; 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));
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()
1614 local block_state deflate_slow(s, flush) in deflate_slow()
1739 local block_state deflate_rle(s, flush) in deflate_rle()
[all …]
/openbmc/linux/drivers/block/zram/
H A DKconfig78 /sys/kernel/debug/zram/zramX/block_state.
/openbmc/qemu/block/
H A Dvhdx.c1713 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 Dsysfs-block-zram108 are idle via /sys/kernel/debug/zram/zram<id>/block_state
/openbmc/linux/Documentation/admin-guide/blockdev/
H A Dzram.rst498 /sys/kernel/debug/zram/zram0/block_state". The output is as follows::
/openbmc/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_ctl.c76 enum block_state { enum
2607 enum block_state state; in _ctl_ioctl_main()