/linux-6.6.21/drivers/mtd/ubi/ |
D | eba.c | 107 void ubi_eba_get_ldesc(struct ubi_volume *vol, int lnum, in ubi_eba_get_ldesc() 211 int lnum) in ltree_lookup() 250 int vol_id, int lnum) in ltree_add_entry() 319 static int leb_read_lock(struct ubi_device *ubi, int vol_id, int lnum) in leb_read_lock() 336 static void leb_read_unlock(struct ubi_device *ubi, int vol_id, int lnum) in leb_read_unlock() 361 static int leb_write_lock(struct ubi_device *ubi, int vol_id, int lnum) in leb_write_lock() 383 static int leb_write_trylock(struct ubi_device *ubi, int vol_id, int lnum) in leb_write_trylock() 412 static void leb_write_unlock(struct ubi_device *ubi, int vol_id, int lnum) in leb_write_unlock() 435 bool ubi_eba_is_mapped(struct ubi_volume *vol, int lnum) in ubi_eba_is_mapped() 451 int lnum) in ubi_eba_unmap_leb() [all …]
|
D | kapi.c | 369 static int leb_read_sanity_check(struct ubi_volume_desc *desc, int lnum, in leb_read_sanity_check() 423 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset, in ubi_leb_read() 463 int ubi_leb_read_sg(struct ubi_volume_desc *desc, int lnum, struct ubi_sgl *sgl, in ubi_leb_read_sg() 514 int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf, in ubi_leb_write() 559 int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf, in ubi_leb_change() 600 int ubi_leb_erase(struct ubi_volume_desc *desc, int lnum) in ubi_leb_erase() 661 int ubi_leb_unmap(struct ubi_volume_desc *desc, int lnum) in ubi_leb_unmap() 697 int ubi_leb_map(struct ubi_volume_desc *desc, int lnum) in ubi_leb_map() 736 int ubi_is_mapped(struct ubi_volume_desc *desc, int lnum) in ubi_is_mapped() 786 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 | 584 int vol_id, int lnum, int torture, bool nested) in schedule_erase() 621 int vol_id, int lnum, int torture) in do_sync_erase() 651 int erase = 0, keep = 0, vol_id = -1, lnum = -1; local 1091 int lnum = wl_wrk->lnum; local 1248 int ubi_wl_put_peb(struct ubi_device *ubi, int vol_id, int lnum, 1417 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-6.6.21/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() 245 int lnum, int offs, int quiet, int must_chk_crc) in ubifs_check_node() 633 int ubifs_wbuf_seek_nolock(struct ubifs_wbuf *wbuf, int lnum, int offs) in ubifs_wbuf_seek_nolock() 957 int ubifs_write_node_hmac(struct ubifs_info *c, void *buf, int len, int lnum, in ubifs_write_node_hmac() 998 int ubifs_write_node(struct ubifs_info *c, void *buf, int len, int lnum, in ubifs_write_node() [all …]
|
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 | 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 | 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 | 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 1060 int err, dlen1, dlen2, lnum, offs, len, plen = UBIFS_INO_NODE_SZ; in ubifs_jnl_xrename() local 1229 int err, dlen1, dlen2, ilen, wlen, lnum, offs, len, orphan_added = 0; in ubifs_jnl_rename() local 1558 int err, dlen, len, lnum, offs, bit, sz, sync = IS_SYNC(inode); in ubifs_jnl_truncate() local 1721 int err, xlen, hlen, len, lnum, xent_offs, aligned_xlen, write_len; in ubifs_jnl_delete_xattr() local [all …]
|
D | tnc.c | 98 static int insert_old_idx(struct ubifs_info *c, int lnum, int offs) in insert_old_idx() 221 static int add_idx_dirt(struct ubifs_info *c, int lnum, int dirt) in add_idx_dirt() 482 int lnum = zbr->lnum; in try_read_node() local 1045 static int matches_position(struct ubifs_zbranch *zbr, int lnum, int offs) in matches_position() 1073 int lnum, int offs) in resolve_collision_directly() 1439 static int maybe_leb_gced(struct ubifs_info *c, int lnum, int gc_seq1) in maybe_leb_gced() 1479 void *node, int *lnum, int *offs) in ubifs_tnc_locate() 1554 int n, err = 0, lnum = -1, offs; in ubifs_tnc_get_bu_keys() local 1684 static int read_wbuf(struct ubifs_wbuf *wbuf, void *buf, int len, int lnum, in read_wbuf() 1791 int lnum = bu->zbranch[0].lnum, offs = bu->zbranch[0].offs, len, err, i; in ubifs_tnc_bulk_read() local [all …]
|
D | replay.c | 46 int lnum; member 383 static int insert_node(struct ubifs_info *c, int lnum, int offs, int len, in insert_node() 432 static int insert_dent(struct ubifs_info *c, int lnum, int offs, int len, in insert_dent() 669 int err = 0, used = 0, lnum = b->bud->lnum, offs = b->bud->start; in replay_bud() local 889 static int add_replay_bud(struct ubifs_info *c, int lnum, int offs, int jhead, in add_replay_bud() 945 int lnum = le32_to_cpu(ref->lnum); in validate_ref() local 982 static int replay_log_leb(struct ubifs_info *c, int lnum, int offs, void *sbuf) in replay_log_leb() 1179 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 757 int lnum, err = 0, outofdate = 0, last_flagged = 0; in kill_orphans() local 977 int lnum, err = 0; in dbg_scan_orphans() local
|
D | debug.c | 773 int lnum, err; in ubifs_dump_lprops() local 831 void ubifs_dump_leb(const struct ubifs_info *c, int lnum) in ubifs_dump_leb() 2474 static int power_cut_emulated(struct ubifs_info *c, int lnum, int write) in power_cut_emulated() 2589 int dbg_leb_write(struct ubifs_info *c, int lnum, const void *buf, in dbg_leb_write() 2611 int dbg_leb_change(struct ubifs_info *c, int lnum, const void *buf, in dbg_leb_change() 2628 int dbg_leb_unmap(struct ubifs_info *c, int lnum) in dbg_leb_unmap() 2644 int dbg_leb_map(struct ubifs_info *c, int lnum) in dbg_leb_map()
|
D | super.c | 663 static int bud_wbuf_callback(struct ubifs_info *c, int lnum, int free, int pad) in bud_wbuf_callback() 941 int lnum, err; in check_volume_empty() local 1467 int lnum; in mount_ubifs() local 1714 int err, lnum; in ubifs_remount_rw() local
|
/linux-6.6.21/Documentation/trace/ |
D | function-graph-fold.vim | 14 function! FunctionGraphFoldExpr(lnum) argument
|