/u-boot/fs/ubifs/ |
H A D | budget.c | 103 liab = c->bi.idx_growth + c->bi.data_growth + c->bi.dd_growth; 178 idx_size = c->bi.old_idx_sz + c->bi.idx_growth + c->bi.uncommitted_idx; 291 * Notes about @c->bi.min_idx_lebs and @c->lst.idx_lebs variables: 296 * o @c->bi.min_idx_lebs is the number of LEBS the index presumably takes. IOW, 297 * the index may be consolidated to take up to @c->bi.min_idx_lebs LEBs. 342 min_idx_lebs, c->bi [all...] |
H A D | master.c | 146 if (c->bi.old_idx_sz & 7 || c->bi.old_idx_sz >= main_sz) { 216 c->lst.total_used + c->bi.old_idx_sz > main_sz) { 284 c->bi.old_idx_sz = le64_to_cpu(c->mst_node->index_size); 303 c->calc_idx_sz = c->bi.old_idx_sz;
|
H A D | debug.c | 590 void ubifs_dump_budg(struct ubifs_info *c, const struct ubifs_budg_info *bi) argument 601 current->pid, bi->data_growth + bi->dd_growth, 602 bi->data_growth + bi->dd_growth + bi->idx_growth); 604 bi->data_growth, bi->dd_growth, bi->idx_growth); 606 bi 658 ubifs_dump_budg(struct ubifs_info *c, const struct ubifs_budg_info *bi) argument [all...] |
H A D | super.c | 562 c->bi.nospace = c->bi.nospace_rp = 0; 884 * it is not included into 'c->bi.inode_budget'. 886 c->bi.page_budget = UBIFS_MAX_DATA_NODE_SZ * UBIFS_BLOCKS_PER_PAGE; 887 c->bi.inode_budget = UBIFS_INO_NODE_SZ; 888 c->bi.dent_budget = UBIFS_MAX_DENT_NODE_SZ; 932 c->bi.min_idx_lebs = ubifs_calc_min_idx_lebs(c); 1323 ubifs_dump_budg(c, &c->bi); 1513 err = dbg_check_idx_size(c, c->bi.old_idx_sz); 1522 c->bi [all...] |
H A D | debug.h | 302 void ubifs_dump_budg(struct ubifs_info *c, const struct ubifs_budg_info *bi);
|
H A D | replay.c | 1060 * UBIFS budgeting calculations use @c->bi.uncommitted_idx variable 1061 * to roughly estimate index growth. Things like @c->bi.min_idx_lebs 1065 c->bi.uncommitted_idx = atomic_long_read(&c->dirty_zn_cnt); 1066 c->bi.uncommitted_idx *= c->max_idx_node_sz;
|
H A D | lprops.c | 1114 ubifs_dump_budg(c, &c->bi);
|
H A D | recovery.c | 1136 ubifs_dump_budg(c, &c->bi);
|
H A D | ubifs.h | 1704 * @space_lock: protects @bi and @lst 1706 * @bi: budgeting information 1943 struct ubifs_budg_info bi; member in struct:ubifs_info
|
/u-boot/fs/yaffs2/ |
H A D | yaffs_yaffs2.h | 24 struct yaffs_block_info *bi); 26 struct yaffs_block_info *bi); 27 int yaffs_block_ok_for_gc(struct yaffs_dev *dev, struct yaffs_block_info *bi);
|
H A D | yaffs_yaffs1.c | 32 struct yaffs_block_info *bi; local 50 bi = dev->block_info; 54 bi->pages_in_use = 0; 55 bi->soft_del_pages = 0; 59 bi->block_state = state; 60 bi->seq_number = seq_number; 62 if (bi->seq_number == YAFFS_SEQUENCE_BAD_BLOCK) 63 bi->block_state = state = YAFFS_BLOCK_STATE_DEAD; 77 bi++; 86 bi [all...] |
H A D | yaffs_verify.c | 49 void yaffs_verify_blk(struct yaffs_dev *dev, struct yaffs_block_info *bi, int n) argument 58 if (bi->block_state >= YAFFS_NUMBER_OF_BLOCK_STATES) 61 n, bi->block_state); 63 switch (bi->block_state) { 69 n, block_state_name[bi->block_state]); 74 actually_used = bi->pages_in_use - bi->soft_del_pages; 76 if (bi->pages_in_use < 0 || 77 bi->pages_in_use > dev->param.chunks_per_block || 78 bi 93 yaffs_verify_collected_blk(struct yaffs_dev *dev, struct yaffs_block_info *bi, int n) argument 120 struct yaffs_block_info *bi = yaffs_get_block_info(dev, i); local [all...] |
H A D | yaffs_verify.h | 21 void yaffs_verify_blk(struct yaffs_dev *dev, struct yaffs_block_info *bi, 24 struct yaffs_block_info *bi, int n);
|
H A D | yaffs_summary.c | 131 struct yaffs_block_info *bi = yaffs_get_block_info(dev, blk); local 144 hdr.seq = bi->seq_number; 160 bi->pages_in_use++; 173 bi->has_summary = 1; 193 struct yaffs_block_info *bi = yaffs_get_block_info(dev, blk); local 221 bi->pages_in_use++; 236 hdr.seq != bi->seq_number || 242 bi->has_summary = 1; 295 struct yaffs_block_info *bi = yaffs_get_block_info(dev, blk); local 298 if (!bi [all...] |
H A D | yaffs_checkptrw.c | 39 struct yaffs_block_info *bi = yaffs_get_block_info(dev, i); local 40 if (bi->block_state == YAFFS_BLOCK_STATE_CHECKPOINT) { 49 bi->block_state = YAFFS_BLOCK_STATE_EMPTY; 55 bi->block_state = YAFFS_BLOCK_STATE_DEAD; 81 struct yaffs_block_info *bi = local 83 if (bi->block_state == YAFFS_BLOCK_STATE_EMPTY) { 225 struct yaffs_block_info *bi = local 227 bi->block_state = YAFFS_BLOCK_STATE_CHECKPOINT; 371 struct yaffs_block_info *bi = NULL; local 375 bi [all...] |
H A D | yaffs_yaffs2.c | 89 struct yaffs_block_info *bi) 95 if (!bi || bi->seq_number == dev->oldest_dirty_seq) { 107 struct yaffs_block_info *bi) 113 if (dev->oldest_dirty_seq > bi->seq_number) { 114 dev->oldest_dirty_seq = bi->seq_number; 120 int yaffs_block_ok_for_gc(struct yaffs_dev *dev, struct yaffs_block_info *bi) argument 126 if (!bi->has_shrink_hdr) 134 return (bi->seq_number <= dev->oldest_dirty_seq); 147 struct yaffs_block_info *bi; local 88 yaffs2_clear_oldest_dirty_seq(struct yaffs_dev *dev, struct yaffs_block_info *bi) argument 106 yaffs2_update_oldest_dirty_seq(struct yaffs_dev *dev, unsigned block_no, struct yaffs_block_info *bi) argument 934 yaffs2_scan_chunk(struct yaffs_dev *dev, struct yaffs_block_info *bi, int blk, int chunk_in_block, int *found_chunks, u8 *chunk_data, struct list_head *hard_list, int summary_available) argument 1350 struct yaffs_block_info *bi; local [all...] |
H A D | yaffs_nand.c | 42 struct yaffs_block_info *bi; local 43 bi = yaffs_get_block_info(dev, 46 yaffs_handle_chunk_error(dev, bi);
|
H A D | yaffs_guts.c | 231 struct yaffs_block_info *bi) 233 if (!bi->gc_prioritise) { 234 bi->gc_prioritise = 1; 236 bi->chunk_error_strikes++; 238 if (bi->chunk_error_strikes > 3) { 239 bi->needs_retiring = 1; /* Too many stikes, so retire */ 251 struct yaffs_block_info *bi = yaffs_get_block_info(dev, flash_block); local 253 yaffs_handle_chunk_error(dev, bi); 258 bi->needs_retiring = 1; 376 struct yaffs_block_info *bi; local 230 yaffs_handle_chunk_error(struct yaffs_dev *dev, struct yaffs_block_info *bi) argument 423 struct yaffs_block_info *bi; local 490 struct yaffs_block_info *bi; local 512 struct yaffs_block_info *bi = 0; local 607 struct yaffs_block_info *bi = yaffs_get_block_info(dev, flash_block); local 2308 struct yaffs_block_info *bi = yaffs_get_block_info(dev, block_no); local 2385 yaffs_gc_process_chunk(struct yaffs_dev *dev, struct yaffs_block_info *bi, int old_chunk, u8 *buffer) argument 2538 struct yaffs_block_info *bi = yaffs_get_block_info(dev, block); local 2643 struct yaffs_block_info *bi; local 2931 struct yaffs_block_info *bi; local 3263 struct yaffs_block_info *bi; local [all...] |
H A D | yaffs_guts.h | 917 struct yaffs_block_info *bi);
|
/u-boot/post/lib_powerpc/ |
H A D | b.c | 33 static int cpu_post_test_bc (ulong cmd, ulong bo, ulong bi, argument 48 ASM_3O(cmd, bo, bi, 8),
|
H A D | cpu_asm.h | 177 #define ASM_3O(opcode, bo, bi, off) ((opcode) + \ 179 ((bi) << 16) + \
|
/u-boot/fs/btrfs/ |
H A D | ctree.h | 1105 struct extent_buffer *eb, struct btrfs_balance_item *bi) 1107 unsigned long offset = (unsigned long)bi; 1114 struct extent_buffer *eb, struct btrfs_balance_item *bi) 1116 unsigned long offset = (unsigned long)bi; 1123 struct extent_buffer *eb, struct btrfs_balance_item *bi) 1125 unsigned long offset = (unsigned long)bi; 1104 btrfs_balance_item_data( struct extent_buffer *eb, struct btrfs_balance_item *bi) argument 1113 btrfs_balance_item_meta( struct extent_buffer *eb, struct btrfs_balance_item *bi) argument 1122 btrfs_balance_item_sys( struct extent_buffer *eb, struct btrfs_balance_item *bi) argument
|
/u-boot/drivers/ddr/fsl/ |
H A D | ctrl_regs.c | 805 unsigned int bi = 0; /* Bypass initialization */ local 868 | ((bi & 0x1) << 0)
|