/Linux-v5.10/drivers/mtd/ubi/ |
D | eba.c | 107 void ubi_eba_get_ldesc(struct ubi_volume *vol, int lnum, in ubi_eba_get_ldesc() 212 int lnum) in ltree_lookup() 251 int vol_id, int lnum) in ltree_add_entry() 320 static int leb_read_lock(struct ubi_device *ubi, int vol_id, int lnum) in leb_read_lock() 337 static void leb_read_unlock(struct ubi_device *ubi, int vol_id, int lnum) in leb_read_unlock() 362 static int leb_write_lock(struct ubi_device *ubi, int vol_id, int lnum) in leb_write_lock() 384 static int leb_write_trylock(struct ubi_device *ubi, int vol_id, int lnum) in leb_write_trylock() 413 static void leb_write_unlock(struct ubi_device *ubi, int vol_id, int lnum) in leb_write_unlock() 436 bool ubi_eba_is_mapped(struct ubi_volume *vol, int lnum) in ubi_eba_is_mapped() 452 int lnum) in ubi_eba_unmap_leb() [all …]
|
D | kapi.c | 368 static int leb_read_sanity_check(struct ubi_volume_desc *desc, int lnum, in leb_read_sanity_check() 422 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset, in ubi_leb_read() 462 int ubi_leb_read_sg(struct ubi_volume_desc *desc, int lnum, struct ubi_sgl *sgl, in ubi_leb_read_sg() 513 int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf, in ubi_leb_write() 558 int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf, in ubi_leb_change() 599 int ubi_leb_erase(struct ubi_volume_desc *desc, int lnum) in ubi_leb_erase() 660 int ubi_leb_unmap(struct ubi_volume_desc *desc, int lnum) in ubi_leb_unmap() 696 int ubi_leb_map(struct ubi_volume_desc *desc, int lnum) in ubi_leb_map() 735 int ubi_is_mapped(struct ubi_volume_desc *desc, int lnum) in ubi_is_mapped() 785 int ubi_flush(int ubi_num, int vol_id, int lnum) in ubi_flush()
|
D | cdev.c | 177 int err, lnum, off, len, tbuf_size; in vol_cdev_read() local 254 int lnum, off, len, tbuf_size, err = 0; in vol_cdev_direct_write() local 465 int32_t lnum; in vol_cdev_ioctl() local 510 int32_t lnum; in vol_cdev_ioctl() local 524 int32_t lnum; in vol_cdev_ioctl() local
|
D | wl.c | 583 int vol_id, int lnum, int torture, bool nested) in schedule_erase() 620 int vol_id, int lnum, int torture) in do_sync_erase() 650 int erase = 0, keep = 0, vol_id = -1, lnum = -1; local 1079 int lnum = wl_wrk->lnum; local 1231 int ubi_wl_put_peb(struct ubi_device *ubi, int vol_id, int lnum, 1388 int ubi_wl_flush(struct ubi_device *ubi, int vol_id, int lnum)
|
D | gluebi.c | 156 int err = 0, lnum, offs, bytes_left; in gluebi_read() local 196 int err = 0, lnum, offs, bytes_left; in gluebi_write() local 236 int err, i, lnum, count; in gluebi_erase() local
|
D | upd.c | 219 static int write_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, in write_leb() 268 int lnum, offs, err = 0, len, to_write = count; in ubi_more_update_data() local
|
/Linux-v5.10/fs/ubifs/ |
D | lpt_commit.c | 129 static void upd_ltab(struct ubifs_info *c, int lnum, int free, int dirty) in upd_ltab() 149 static int alloc_lpt_leb(struct ubifs_info *c, int *lnum) in alloc_lpt_leb() 184 int lnum, offs, len, alen, done_lsave, done_ltab, err; in layout_cnodes() local 333 static int realloc_lpt_leb(struct ubifs_info *c, int *lnum) in realloc_lpt_leb() 362 int lnum, offs, len, from, err, wlen, alen, done_ltab, done_lsave; in write_cnodes() local 860 static int make_nnode_dirty(struct ubifs_info *c, int node_num, int lnum, in make_nnode_dirty() 909 static int make_pnode_dirty(struct ubifs_info *c, int node_num, int lnum, in make_pnode_dirty() 939 static int make_ltab_dirty(struct ubifs_info *c, int lnum, int offs) in make_ltab_dirty() 964 static int make_lsave_dirty(struct ubifs_info *c, int lnum, int offs) in make_lsave_dirty() 992 int lnum, int offs) in make_node_dirty() [all …]
|
D | log.c | 30 struct ubifs_bud *ubifs_search_bud(struct ubifs_info *c, int lnum) in ubifs_search_bud() 59 struct ubifs_wbuf *ubifs_get_wbuf(struct ubifs_info *c, int lnum) in ubifs_get_wbuf() 164 int ubifs_add_bud_to_log(struct ubifs_info *c, int jhead, int lnum, int offs) in ubifs_add_bud_to_log() 394 int lnum = c->jheads[i].wbuf.lnum; in ubifs_log_start_commit() local 517 int lnum, err = 0; in ubifs_log_post_commit() local 550 int lnum; member 561 static int done_already(struct rb_root *done_tree, int lnum) in done_already() 611 static int add_node(struct ubifs_info *c, void *buf, int *lnum, int *offs, in add_node() 647 int lnum, err, first = 1, write_lnum, offs = 0; in ubifs_consolidate_log() local
|
D | io.c | 87 int ubifs_leb_read(const struct ubifs_info *c, int lnum, void *buf, int offs, in ubifs_leb_read() 105 int ubifs_leb_write(struct ubifs_info *c, int lnum, const void *buf, int offs, in ubifs_leb_write() 126 int ubifs_leb_change(struct ubifs_info *c, int lnum, const void *buf, int len) in ubifs_leb_change() 146 int ubifs_leb_unmap(struct ubifs_info *c, int lnum) in ubifs_leb_unmap() 165 int ubifs_leb_map(struct ubifs_info *c, int lnum) in ubifs_leb_map() 184 int ubifs_is_mapped(const struct ubifs_info *c, int lnum) in ubifs_is_mapped() 225 int ubifs_check_node(const struct ubifs_info *c, const void *buf, int lnum, in ubifs_check_node() 623 int ubifs_wbuf_seek_nolock(struct ubifs_wbuf *wbuf, int lnum, int offs) in ubifs_wbuf_seek_nolock() 914 int ubifs_write_node_hmac(struct ubifs_info *c, void *buf, int len, int lnum, in ubifs_write_node_hmac() 955 int ubifs_write_node(struct ubifs_info *c, void *buf, int len, int lnum, in ubifs_write_node() [all …]
|
D | scan.c | 57 int ubifs_scan_a_node(const struct ubifs_info *c, void *buf, int len, int lnum, in ubifs_scan_a_node() 125 struct ubifs_scan_leb *ubifs_start_scan(const struct ubifs_info *c, int lnum, in ubifs_start_scan() 164 int lnum, int offs) in ubifs_end_scan() 225 void ubifs_scanned_corruption(const struct ubifs_info *c, int lnum, int offs, in ubifs_scanned_corruption() 254 struct ubifs_scan_leb *ubifs_scan(const struct ubifs_info *c, int lnum, in ubifs_scan()
|
D | tnc_commit.c | 26 struct ubifs_znode *znode, int lnum, int offs, int len) in make_idx_node() 106 static int fill_gap(struct ubifs_info *c, int lnum, int gap_start, int gap_end, in fill_gap() 163 static int find_old_idx(struct ubifs_info *c, int lnum, int offs) in find_old_idx() 199 int level, int lnum, int offs) in is_idx_node_in_use() 228 int lnum, dirt = 0, gap_start, gap_end, err, written, tot_written; in layout_leb_in_gaps() local 432 int lnum, offs, len, next_len, buf_len, buf_offs, used, avail; in layout_in_empty_space() local 685 int i, leb_cnt, lnum; in alloc_idx_lebs() local 719 int i, err = 0, lnum, er; in free_unused_idx_lebs() local 828 int i, lnum, offs, len, next_len, buf_len, buf_offs, used; in write_index() local
|
D | recovery.c | 97 static int get_master_node(const struct ubifs_info *c, int lnum, void **pbuf, in get_master_node() 195 int err = 0, lnum = UBIFS_MST_LNUM, sz = c->mst_node_alsz; in write_rcvrd_mst_node() local 429 static void clean_buf(const struct ubifs_info *c, void **buf, int lnum, in clean_buf() 459 int lnum, int offs) in no_more_nodes() 494 int lnum = sleb->lnum, endpt = start; in fix_unclean_leb() local 622 struct ubifs_scan_leb *ubifs_recover_leb(struct ubifs_info *c, int lnum, in ubifs_recover_leb() 799 static int get_cs_sqnum(struct ubifs_info *c, int lnum, int offs, in get_cs_sqnum() 856 struct ubifs_scan_leb *ubifs_recover_log_leb(struct ubifs_info *c, int lnum, in ubifs_recover_log_leb() 912 static int recover_head(struct ubifs_info *c, int lnum, int offs, void *sbuf) in recover_head() 985 int err, lnum = ucleb->lnum, offs = 0, len = ucleb->endpt, quiet = 1; in clean_an_unclean_leb() local [all …]
|
D | lpt.c | 384 int lnum = nnode->nbranch[i].lnum; in ubifs_pack_nnode() local 452 void ubifs_add_lpt_dirt(struct ubifs_info *c, int lnum, int dirty) in ubifs_add_lpt_dirt() 469 static void set_ltab(struct ubifs_info *c, int lnum, int free, int dirty) in set_ltab() 602 int lnum, err = 0, node_sz, iopos, i, j, cnt, len, alen, row; in ubifs_create_dflt_lpt() local 885 int lnum = pnode->lprops[i].lnum; in update_cats() local 1023 int lnum; in ubifs_unpack_nnode() local 1085 int lnum = ubifs_unpack_bits(c, &addr, &pos, c->lnum_bits); in unpack_lsave() local 1123 int lnum = nnode->nbranch[i].lnum; in validate_nnode() local 1185 int i, lnum; in set_pnode_lnum() local 1208 int err, lnum, offs; in ubifs_read_nnode() local [all …]
|
D | tnc.c | 70 static int insert_old_idx(struct ubifs_info *c, int lnum, int offs) in insert_old_idx() 230 static int add_idx_dirt(struct ubifs_info *c, int lnum, int dirt) in add_idx_dirt() 444 int lnum = zbr->lnum; in try_read_node() local 1007 static int matches_position(struct ubifs_zbranch *zbr, int lnum, int offs) in matches_position() 1035 int lnum, int offs) in resolve_collision_directly() 1401 static int maybe_leb_gced(struct ubifs_info *c, int lnum, int gc_seq1) in maybe_leb_gced() 1441 void *node, int *lnum, int *offs) in ubifs_tnc_locate() 1516 int n, err = 0, lnum = -1, offs; in ubifs_tnc_get_bu_keys() local 1646 static int read_wbuf(struct ubifs_wbuf *wbuf, void *buf, int len, int lnum, in read_wbuf() 1753 int lnum = bu->zbranch[0].lnum, offs = bu->zbranch[0].offs, len, err, i; in ubifs_tnc_bulk_read() local [all …]
|
D | journal.c | 81 static void ubifs_add_auth_dirt(struct ubifs_info *c, int lnum) in ubifs_add_auth_dirt() 100 int err = 0, err1, retries = 0, avail, lnum, offs, squeeze; in reserve_space() local 269 int *lnum, int *offs, int sync) in write_head() 542 int err, dlen, ilen, len, lnum, ino_offs, dent_offs, orphan_added = 0; in ubifs_jnl_update() local 727 int err, lnum, offs, compr_type, out_len, compr_len, auth_len; in ubifs_jnl_write_data() local 843 int err, lnum, offs; in ubifs_jnl_write_inode() local 1059 int err, dlen1, dlen2, lnum, offs, len, plen = UBIFS_INO_NODE_SZ; in ubifs_jnl_xrename() local 1224 int err, dlen1, dlen2, ilen, lnum, offs, len, orphan_added = 0; in ubifs_jnl_rename() local 1515 int err, dlen, len, lnum, offs, bit, sz, sync = IS_SYNC(inode); in ubifs_jnl_truncate() local 1673 int err, xlen, hlen, len, lnum, xent_offs, aligned_xlen, write_len; in ubifs_jnl_delete_xattr() local [all …]
|
D | replay.c | 46 int lnum; member 382 static int insert_node(struct ubifs_info *c, int lnum, int offs, int len, in insert_node() 431 static int insert_dent(struct ubifs_info *c, int lnum, int offs, int len, in insert_dent() 666 int err = 0, used = 0, lnum = b->bud->lnum, offs = b->bud->start; in replay_bud() local 886 static int add_replay_bud(struct ubifs_info *c, int lnum, int offs, int jhead, in add_replay_bud() 942 int lnum = le32_to_cpu(ref->lnum); in validate_ref() local 979 static int replay_log_leb(struct ubifs_info *c, int lnum, int offs, void *sbuf) in replay_log_leb() 1176 int err, lnum, free; in ubifs_replay_journal() local
|
D | find.c | 30 int lnum; member 485 int lebs, rsvd_idx_lebs, pick_free = 0, err, lnum, flags; in ubifs_find_free_space() local 664 int lnum = -1, err, flags; in ubifs_find_free_leb_for_idx() local 879 int err, lnum; in get_idx_gc_leb() local 908 int lnum; in find_dirtiest_idx_leb() local
|
D | misc.h | 161 static inline int ubifs_add_dirt(struct ubifs_info *c, int lnum, int dirty) in ubifs_add_dirt() 175 static inline int ubifs_return_leb(struct ubifs_info *c, int lnum) in ubifs_return_leb() 270 static inline int ubifs_next_log_lnum(const struct ubifs_info *c, int lnum) in ubifs_next_log_lnum()
|
D | master.c | 94 int lnum, offs = 0, nodes_cnt, err; in scan_for_master() local 436 int err, lnum, offs, len; in ubifs_write_master() local
|
D | lprops.c | 649 int ubifs_change_one_lp(struct ubifs_info *c, int lnum, int free, int dirty, in ubifs_change_one_lp() 688 int ubifs_update_one_lp(struct ubifs_info *c, int lnum, int free, int dirty, in ubifs_update_one_lp() 725 int ubifs_read_one_lp(struct ubifs_info *c, int lnum, struct ubifs_lprops *lp) in ubifs_read_one_lp() 1021 int cat, lnum = lp->lnum, is_idx = 0, used = 0, free, dirty, ret; in scan_check_cb() local
|
D | commit.c | 517 int lnum, offs, len, err = 0; in dbg_old_index_check_init() local 555 int lnum, offs, len, err = 0, last_level, child_cnt; in dbg_check_old_index() local
|
D | orphan.c | 416 int lnum; in write_orph_nodes() local 561 int lnum, err; in ubifs_clear_orphans() local 755 int lnum, err = 0, outofdate = 0, last_flagged = 0; in kill_orphans() local 975 int lnum, err = 0; in dbg_scan_orphans() local
|
D | debug.c | 736 int lnum, err; in ubifs_dump_lprops() local 810 void ubifs_dump_leb(const struct ubifs_info *c, int lnum) in ubifs_dump_leb() 2454 static int power_cut_emulated(struct ubifs_info *c, int lnum, int write) in power_cut_emulated() 2569 int dbg_leb_write(struct ubifs_info *c, int lnum, const void *buf, in dbg_leb_write() 2591 int dbg_leb_change(struct ubifs_info *c, int lnum, const void *buf, in dbg_leb_change() 2608 int dbg_leb_unmap(struct ubifs_info *c, int lnum) in dbg_leb_unmap() 2624 int dbg_leb_map(struct ubifs_info *c, int lnum) in dbg_leb_map()
|
/Linux-v5.10/Documentation/trace/ |
D | function-graph-fold.vim | 14 function! FunctionGraphFoldExpr(lnum) argument
|
/Linux-v5.10/include/linux/mtd/ |
D | ubi.h | 256 static inline int ubi_read(struct ubi_volume_desc *desc, int lnum, char *buf, in ubi_read() 266 static inline int ubi_read_sg(struct ubi_volume_desc *desc, int lnum, in ubi_read_sg()
|