Home
last modified time | relevance | path

Searched refs:bi (Results 1 – 25 of 38) sorted by relevance

12

/u-boot/fs/ubifs/
A Dbudget.c103 liab = c->bi.idx_growth + c->bi.data_growth + c->bi.dd_growth; in get_liability()
178 idx_size = c->bi.old_idx_sz + c->bi.idx_growth + c->bi.uncommitted_idx; in ubifs_calc_min_idx_lebs()
347 outstanding = c->bi.data_growth + c->bi.dd_growth; in do_budget_space()
461 if (unlikely(c->bi.nospace) && (c->bi.nospace_rp || !can_use_rp(c))) { in ubifs_budget_space()
469 c->bi.dd_growth += dd_growth; in ubifs_budget_space()
503 c->bi.nospace = 1; in ubifs_budget_space()
505 c->bi.nospace_rp = 1; in ubifs_budget_space()
550 c->bi.nospace = c->bi.nospace_rp = 0; in ubifs_release_budget()
585 c->bi.data_growth -= c->bi.page_budget; in ubifs_convert_page_budget()
587 c->bi.dd_growth += c->bi.page_budget; in ubifs_convert_page_budget()
[all …]
A Dmaster.c146 if (c->bi.old_idx_sz & 7 || c->bi.old_idx_sz >= main_sz) { in validate_master()
216 c->lst.total_used + c->bi.old_idx_sz > main_sz) { in validate_master()
284 c->bi.old_idx_sz = le64_to_cpu(c->mst_node->index_size); in ubifs_read_master()
303 c->calc_idx_sz = c->bi.old_idx_sz; in ubifs_read_master()
A Ddebug.c592 current->pid, bi->data_growth + bi->dd_growth, in ubifs_dump_budg()
593 bi->data_growth + bi->dd_growth + bi->idx_growth); in ubifs_dump_budg()
595 bi->data_growth, bi->dd_growth, bi->idx_growth); in ubifs_dump_budg()
597 bi->min_idx_lebs, bi->old_idx_sz, bi->uncommitted_idx); in ubifs_dump_budg()
599 bi->page_budget, bi->inode_budget, bi->dent_budget); in ubifs_dump_budg()
600 pr_err("\tnospace %u, nospace_rp %u\n", bi->nospace, bi->nospace_rp); in ubifs_dump_budg()
604 if (bi != &c->bi) in ubifs_dump_budg()
638 available = ubifs_calc_available(c, c->bi.min_idx_lebs); in ubifs_dump_budg()
639 outstanding = c->bi.data_growth + c->bi.dd_growth; in ubifs_dump_budg()
1062 ubifs_dump_budg(c, &c->bi); in dbg_check_space_info()
[all …]
A Dsuper.c561 c->bi.nospace = c->bi.nospace_rp = 0; in ubifs_evict_inode()
886 c->bi.inode_budget = UBIFS_INO_NODE_SZ; in init_constants_sb()
887 c->bi.dent_budget = UBIFS_MAX_DENT_NODE_SZ; in init_constants_sb()
931 c->bi.min_idx_lebs = ubifs_calc_min_idx_lebs(c); in init_constants_master()
1322 ubifs_dump_budg(c, &c->bi); in check_free_space()
1512 err = dbg_check_idx_size(c, c->bi.old_idx_sz); in mount_ubifs()
1651 c->bi.old_idx_sz, c->bi.old_idx_sz >> 10, in mount_ubifs()
1652 c->bi.old_idx_sz >> 20); in mount_ubifs()
1999 ubifs_assert(c->bi.idx_growth == 0); in ubifs_put_super()
2000 ubifs_assert(c->bi.dd_growth == 0); in ubifs_put_super()
[all …]
/u-boot/fs/yaffs2/
A Dyaffs_verify.c61 n, bi->block_state); in yaffs_verify_blk()
63 switch (bi->block_state) { in yaffs_verify_blk()
74 actually_used = bi->pages_in_use - bi->soft_del_pages; in yaffs_verify_blk()
76 if (bi->pages_in_use < 0 || in yaffs_verify_blk()
78 bi->soft_del_pages < 0 || in yaffs_verify_blk()
83 n, bi->pages_in_use, bi->soft_del_pages); in yaffs_verify_blk()
87 if (in_use != bi->pages_in_use) in yaffs_verify_blk()
90 n, bi->pages_in_use, in_use); in yaffs_verify_blk()
96 yaffs_verify_blk(dev, bi, n); in yaffs_verify_collected_blk()
104 n, bi->block_state); in yaffs_verify_collected_blk()
[all …]
A Dyaffs_yaffs1.c32 struct yaffs_block_info *bi; in yaffs1_scan() local
50 bi = dev->block_info; in yaffs1_scan()
54 bi->pages_in_use = 0; in yaffs1_scan()
55 bi->soft_del_pages = 0; in yaffs1_scan()
59 bi->block_state = state; in yaffs1_scan()
60 bi->seq_number = seq_number; in yaffs1_scan()
77 bi++; in yaffs1_scan()
87 state = bi->block_state; in yaffs1_scan()
139 bi->pages_in_use++; in yaffs1_scan()
181 bi->pages_in_use++; in yaffs1_scan()
[all …]
A Dyaffs_yaffs2.c95 if (!bi || bi->seq_number == dev->oldest_dirty_seq) { in yaffs2_clear_oldest_dirty_seq()
126 if (!bi->has_shrink_hdr) in yaffs_block_ok_for_gc()
174 bi = dev->block_info; in yaffs2_find_refresh_block()
184 bi++; in yaffs2_find_refresh_block()
999 bi->block_state = in yaffs2_scan_chunk()
1044 bi->pages_in_use++; in yaffs2_scan_chunk()
1091 bi->pages_in_use++; in yaffs2_scan_chunk()
1387 bi = dev->block_info; in yaffs2_scan_backwards()
1391 bi->pages_in_use = 0; in yaffs2_scan_backwards()
1392 bi->soft_del_pages = 0; in yaffs2_scan_backwards()
[all …]
A Dyaffs_yaffs2.h24 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);
A Dyaffs_summary.c131 struct yaffs_block_info *bi = yaffs_get_block_info(dev, blk); in yaffs_summary_write() local
144 hdr.seq = bi->seq_number; in yaffs_summary_write()
160 bi->pages_in_use++; in yaffs_summary_write()
173 bi->has_summary = 1; in yaffs_summary_write()
193 struct yaffs_block_info *bi = yaffs_get_block_info(dev, blk); in yaffs_summary_read() local
221 bi->pages_in_use++; in yaffs_summary_read()
236 hdr.seq != bi->seq_number || in yaffs_summary_read()
242 bi->has_summary = 1; in yaffs_summary_read()
295 struct yaffs_block_info *bi = yaffs_get_block_info(dev, blk); in yaffs_summary_gc() local
298 if (!bi->has_summary) in yaffs_summary_gc()
[all …]
A Dyaffs_checkptrw.c40 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()
81 struct yaffs_block_info *bi = in yaffs2_checkpt_find_erased_block() local
83 if (bi->block_state == YAFFS_BLOCK_STATE_EMPTY) { in yaffs2_checkpt_find_erased_block()
225 struct yaffs_block_info *bi = in yaffs2_checkpt_flush_buffer() local
227 bi->block_state = YAFFS_BLOCK_STATE_CHECKPOINT; in yaffs2_checkpt_flush_buffer()
371 struct yaffs_block_info *bi = NULL; in yaffs_checkpt_close() local
375 bi = yaffs_get_block_info(dev, blk); in yaffs_checkpt_close()
376 if (bi && bi->block_state == YAFFS_BLOCK_STATE_EMPTY) in yaffs_checkpt_close()
[all …]
A Dyaffs_guts.c234 bi->gc_prioritise = 1; in yaffs_handle_chunk_error()
446 bi->pages_in_use++; in yaffs_alloc_chunk()
460 *block_ptr = bi; in yaffs_alloc_chunk()
641 bi->gc_prioritise = 0; in yaffs_retire_block()
2371 bi->seq_number = 0; in yaffs_block_became_dirty()
2378 bi->has_summary = 0; in yaffs_block_became_dirty()
2544 block, bi->pages_in_use, bi->has_shrink_hdr, in yaffs_gc_block()
2661 bi++; in yaffs_find_gc_block()
2726 pages_used = bi->pages_in_use - bi->soft_del_pages; in yaffs_find_gc_block()
2756 bi->pages_in_use - bi->soft_del_pages; in yaffs_find_gc_block()
[all …]
A Dyaffs_verify.h21 void yaffs_verify_blk(struct yaffs_dev *dev, struct yaffs_block_info *bi,
24 struct yaffs_block_info *bi, int n);
A Dyaffs_nand.c42 struct yaffs_block_info *bi; in yaffs_rd_chunk_tags_nand() local
43 bi = yaffs_get_block_info(dev, in yaffs_rd_chunk_tags_nand()
46 yaffs_handle_chunk_error(dev, bi); in yaffs_rd_chunk_tags_nand()
/u-boot/arch/powerpc/dts/
A Dkmcoge5ne.dts97 0 1 3 0 2 0 /* MDIO (PA1, bi, f2) */
119 0 1 3 0 2 0 /* MDIO (PA1, bi, f2) */
137 0 1 3 0 2 0 /* MDIO (PA1, bi, f2) */
172 0 8 3 0 2 0 /* RxD0 (PA8, bi, f2) */
173 0 13 3 0 2 0 /* TxD0 (PA13, bi, f2) */
177 0 27 3 0 2 0 /* RxD1 (PA27, bi, f2) */
178 0 22 3 0 2 0 /* TxD1 (PA22, bi, f2) */
182 1 5 3 0 2 0 /* RxD2 (PB5, bi, f2) */
183 1 8 3 0 2 0 /* TxD2 (PB8, bi, f2) */
187 1 22 3 0 2 0 /* RxD3 (PB22, bi, f2) */
[all …]
A Dkmeter1.dts242 0 8 3 0 2 0 /* RxD0 (PA8, bi, f2) */
243 0 13 3 0 2 0 /* TxD0 (PA13, bi, f2) */
247 0 27 3 0 2 0 /* RxD1 (PA27, bi, f2) */
248 0 22 3 0 2 0 /* TxD1 (PA22, bi, f2) */
252 1 5 3 0 2 0 /* RxD2 (PB5, bi, f2) */
253 1 8 3 0 2 0 /* TxD2 (PB8, bi, f2) */
257 1 22 3 0 2 0 /* RxD3 (PB22, bi, f2) */
258 1 19 3 0 1 0 /* TxD3 (PB19, bi, f1) */
262 3 8 3 0 2 0 /* RxD4 (PD8, bi, f2) */
263 3 5 3 0 2 0 /* TxD4 (PD5, bi, f2) */
[all …]
A Dkmtuge1.dts60 * SPI_MOSI (PD0, bi, f3)
63 /* SPI_MISO (PD1, bi, f3) */
65 /* SPI_CLK (PD2, bi, f3) */
A Dkmtuxa1.dts60 * SPI_MOSI (PD0, bi, f3)
63 /* SPI_MISO (PD1, bi, f3) */
65 /* SPI_CLK (PD2, bi, f3) */
A Dkmsupm5.dts94 3 0 3 0 1 0 /* SPI_MOSI (PD0, bi, f3) */
95 3 1 3 0 1 0 /* SPI_MISO (PD1, bi, f3) */
96 3 2 3 0 1 0 /* SPI_CLK (PD2, bi, f3) */
A Dkmsupc5.dts96 * SPI_MOSI (PD0, bi, f3)
99 /* SPI_MISO (PD1, bi, f3) */
101 /* SPI_CLK (PD2, bi, f3) */
A Dkmtepr2.dts101 * SPI_MOSI (PD0, bi, f3)
104 /* SPI_MISO (PD1, bi, f3) */
106 /* SPI_CLK (PD2, bi, f3) */
A Dkmopti2.dts124 3 0 3 0 1 0 /* SPI_MOSI (PD0, bi, f3) */
125 3 1 3 0 1 0 /* SPI_MISO (PD1, bi, f3) */
126 3 2 3 0 1 0 /* SPI_CLK (PD2, bi, f3) */
/u-boot/common/
A Dbedbug.c660 unsigned long bi; in handle_bc() local
680 if ((bo == 12) && (bi == 0)) { in handle_bc()
686 } else if ((bo == 4) && (bi == 10)) { in handle_bc()
692 } else if ((bo == 16) && (bi == 0)) { in handle_bc()
1069 unsigned long bi = 0; /* BI operand */ in find_next_address() local
1168 cond_ok = !(cr & (1 << (31 - bi))); in find_next_address()
1175 cond_ok = !(cr & (1 << (31 - bi))); in find_next_address()
1180 cond_ok = !(cr & (1 << (31 - bi))); in find_next_address()
1187 cond_ok = cr & (1 << (31 - bi)); in find_next_address()
1194 cond_ok = cr & (1 << (31 - bi)); in find_next_address()
[all …]
/u-boot/post/lib_powerpc/
A Db.c33 static int cpu_post_test_bc (ulong cmd, ulong bo, ulong bi, in cpu_post_test_bc() argument
48 ASM_3O(cmd, bo, bi, 8), in cpu_post_test_bc()
A Dcpu_asm.h177 #define ASM_3O(opcode, bo, bi, off) ((opcode) + \ argument
179 ((bi) << 16) + \
/u-boot/board/eets/pdu001/
A DKconfig24 The PDU001 has a bi-color (red/green) LED labeled 'Run' which

Completed in 52 milliseconds

12