/fs/ubifs/ |
D | lpt_commit.c | 140 static void upd_ltab(struct ubifs_info *c, int lnum, int free, int dirty) in upd_ltab() 160 static int alloc_lpt_leb(struct ubifs_info *c, int *lnum) in alloc_lpt_leb() 195 int lnum, offs, len, alen, done_lsave, done_ltab, err; in layout_cnodes() local 344 static int realloc_lpt_leb(struct ubifs_info *c, int *lnum) in realloc_lpt_leb() 373 int lnum, offs, len, from, err, wlen, alen, done_ltab, done_lsave; in write_cnodes() local 903 static int make_nnode_dirty(struct ubifs_info *c, int node_num, int lnum, in make_nnode_dirty() 952 static int make_pnode_dirty(struct ubifs_info *c, int node_num, int lnum, in make_pnode_dirty() 982 static int make_ltab_dirty(struct ubifs_info *c, int lnum, int offs) in make_ltab_dirty() 1007 static int make_lsave_dirty(struct ubifs_info *c, int lnum, int offs) in make_lsave_dirty() 1035 int lnum, int offs) in make_node_dirty() [all …]
|
D | log.c | 42 struct ubifs_bud *ubifs_search_bud(struct ubifs_info *c, int lnum) in ubifs_search_bud() 71 struct ubifs_wbuf *ubifs_get_wbuf(struct ubifs_info *c, int lnum) in ubifs_get_wbuf() 176 int ubifs_add_bud_to_log(struct ubifs_info *c, int jhead, int lnum, int offs) in ubifs_add_bud_to_log() 389 int lnum = c->jheads[i].wbuf.lnum; in ubifs_log_start_commit() local 509 int lnum, err = 0; in ubifs_log_post_commit() local 541 int lnum; member 552 static int done_already(struct rb_root *done_tree, int lnum) in done_already() 602 static int add_node(struct ubifs_info *c, void *buf, int *lnum, int *offs, in add_node() 638 int lnum, err, first = 1, write_lnum, offs = 0; in ubifs_consolidate_log() local
|
D | io.c | 99 int ubifs_leb_read(const struct ubifs_info *c, int lnum, void *buf, int offs, in ubifs_leb_read() 117 int ubifs_leb_write(struct ubifs_info *c, int lnum, const void *buf, int offs, in ubifs_leb_write() 138 int ubifs_leb_change(struct ubifs_info *c, int lnum, const void *buf, int len) in ubifs_leb_change() 158 int ubifs_leb_unmap(struct ubifs_info *c, int lnum) in ubifs_leb_unmap() 177 int ubifs_leb_map(struct ubifs_info *c, int lnum) in ubifs_leb_map() 196 int ubifs_is_mapped(const struct ubifs_info *c, int lnum) in ubifs_is_mapped() 237 int ubifs_check_node(const struct ubifs_info *c, const void *buf, int lnum, in ubifs_check_node() 580 int ubifs_wbuf_seek_nolock(struct ubifs_wbuf *wbuf, int lnum, int offs) in ubifs_wbuf_seek_nolock() 879 int ubifs_write_node(struct ubifs_info *c, void *buf, int len, int lnum, in ubifs_write_node() 919 int lnum, int offs) in ubifs_read_node_wbuf() [all …]
|
D | scan.c | 69 int ubifs_scan_a_node(const struct ubifs_info *c, void *buf, int len, int lnum, in ubifs_scan_a_node() 137 struct ubifs_scan_leb *ubifs_start_scan(const struct ubifs_info *c, int lnum, in ubifs_start_scan() 176 int lnum, int offs) in ubifs_end_scan() 238 void ubifs_scanned_corruption(const struct ubifs_info *c, int lnum, int offs, in ubifs_scanned_corruption() 267 struct ubifs_scan_leb *ubifs_scan(const struct ubifs_info *c, int lnum, in ubifs_scan()
|
D | tnc_commit.c | 38 struct ubifs_znode *znode, int lnum, int offs, int len) in make_idx_node() 111 static int fill_gap(struct ubifs_info *c, int lnum, int gap_start, int gap_end, in fill_gap() 168 static int find_old_idx(struct ubifs_info *c, int lnum, int offs) in find_old_idx() 204 int level, int lnum, int offs) in is_idx_node_in_use() 233 int lnum, dirt = 0, gap_start, gap_end, err, written, tot_written; in layout_leb_in_gaps() local 416 int lnum, offs, len, next_len, buf_len, buf_offs, used, avail; in layout_in_empty_space() local 667 int i, leb_cnt, lnum; in alloc_idx_lebs() local 701 int i, err = 0, lnum, er; in free_unused_idx_lebs() local 810 int i, lnum, offs, len, next_len, buf_len, buf_offs, used; in write_index() local
|
D | recovery.c | 109 static int get_master_node(const struct ubifs_info *c, int lnum, void **pbuf, in get_master_node() 207 int err = 0, lnum = UBIFS_MST_LNUM, sz = c->mst_node_alsz; in write_rcvrd_mst_node() local 440 static void clean_buf(const struct ubifs_info *c, void **buf, int lnum, in clean_buf() 471 int lnum, int offs) in no_more_nodes() 506 int lnum = sleb->lnum, endpt = start; in fix_unclean_leb() local 634 struct ubifs_scan_leb *ubifs_recover_leb(struct ubifs_info *c, int lnum, in ubifs_recover_leb() 811 static int get_cs_sqnum(struct ubifs_info *c, int lnum, int offs, in get_cs_sqnum() 868 struct ubifs_scan_leb *ubifs_recover_log_leb(struct ubifs_info *c, int lnum, in ubifs_recover_log_leb() 924 static int recover_head(struct ubifs_info *c, int lnum, int offs, void *sbuf) in recover_head() 997 int err, lnum = ucleb->lnum, offs = 0, len = ucleb->endpt, quiet = 1; in clean_an_unclean_leb() local [all …]
|
D | journal.c | 117 int err = 0, err1, retries = 0, avail, lnum, offs, squeeze; in reserve_space() local 256 int *lnum, int *offs) in write_node() 287 int *lnum, int *offs, int sync) in write_head() 545 int err, dlen, ilen, len, lnum, ino_offs, dent_offs; in ubifs_jnl_update() local 705 int err, lnum, offs, compr_type, out_len; in ubifs_jnl_write_data() local 791 int err, lnum, offs; in ubifs_jnl_write_inode() local 937 int err, dlen1, dlen2, ilen, lnum, offs, len; in ubifs_jnl_rename() local 1157 int err, dlen, len, lnum, offs, bit, sz, sync = IS_SYNC(inode); in ubifs_jnl_truncate() local 1303 int err, xlen, hlen, len, lnum, xent_offs, aligned_xlen; in ubifs_jnl_delete_xattr() local 1416 int err, len1, len2, aligned_len, aligned_len1, lnum, offs; in ubifs_jnl_change_xattr() local
|
D | lpt.c | 394 int lnum = nnode->nbranch[i].lnum; in ubifs_pack_nnode() local 462 void ubifs_add_lpt_dirt(struct ubifs_info *c, int lnum, int dirty) in ubifs_add_lpt_dirt() 479 static void set_ltab(struct ubifs_info *c, int lnum, int free, int dirty) in set_ltab() 611 int lnum, err = 0, node_sz, iopos, i, j, cnt, len, alen, row; in ubifs_create_dflt_lpt() local 875 int lnum = pnode->lprops[i].lnum; in update_cats() local 1013 int lnum; in ubifs_unpack_nnode() local 1075 int lnum = ubifs_unpack_bits(&addr, &pos, c->lnum_bits); in unpack_lsave() local 1113 int lnum = nnode->nbranch[i].lnum; in validate_nnode() local 1175 int i, lnum; in set_pnode_lnum() local 1198 int err, lnum, offs; in ubifs_read_nnode() local [all …]
|
D | replay.c | 56 int lnum; member 356 static int insert_node(struct ubifs_info *c, int lnum, int offs, int len, in insert_node() 404 static int insert_dent(struct ubifs_info *c, int lnum, int offs, int len, in insert_dent() 544 int err = 0, used = 0, lnum = b->bud->lnum, offs = b->bud->start; in replay_bud() local 745 static int add_replay_bud(struct ubifs_info *c, int lnum, int offs, int jhead, in add_replay_bud() 789 int lnum = le32_to_cpu(ref->lnum); in validate_ref() local 826 static int replay_log_leb(struct ubifs_info *c, int lnum, int offs, void *sbuf) in replay_log_leb() 1010 int err, lnum, free; in ubifs_replay_journal() local
|
D | tnc.c | 82 static int insert_old_idx(struct ubifs_info *c, int lnum, int offs) in insert_old_idx() 242 static int add_idx_dirt(struct ubifs_info *c, int lnum, int dirt) in add_idx_dirt() 456 int len, int lnum, int offs) in try_read_node() 1014 static int matches_position(struct ubifs_zbranch *zbr, int lnum, int offs) in matches_position() 1042 int lnum, int offs) in resolve_collision_directly() 1407 static int maybe_leb_gced(struct ubifs_info *c, int lnum, int gc_seq1) in maybe_leb_gced() 1447 void *node, int *lnum, int *offs) in ubifs_tnc_locate() 1522 int n, err = 0, lnum = -1, uninitialized_var(offs); in ubifs_tnc_get_bu_keys() local 1652 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 | misc.h | 171 static inline int ubifs_add_dirt(struct ubifs_info *c, int lnum, int dirty) in ubifs_add_dirt() 185 static inline int ubifs_return_leb(struct ubifs_info *c, int lnum) in ubifs_return_leb() 289 static inline int ubifs_next_log_lnum(const struct ubifs_info *c, int lnum) in ubifs_next_log_lnum()
|
D | master.c | 40 int lnum, offs = 0, nodes_cnt; in scan_for_master() local 361 int err, lnum, offs, len; in ubifs_write_master() local
|
D | find.c | 42 int lnum; member 497 int lebs, rsvd_idx_lebs, pick_free = 0, err, lnum, flags; in ubifs_find_free_space() local 676 int lnum = -1, err, flags; in ubifs_find_free_leb_for_idx() local 901 int err, lnum; in get_idx_gc_leb() local 930 int lnum; in find_dirtiest_idx_leb() local
|
D | commit.c | 529 int lnum, offs, len, err = 0; in dbg_old_index_check_init() local 567 int lnum, offs, len, err = 0, uninitialized_var(last_level), child_cnt; in dbg_check_old_index() local
|
D | lprops.c | 663 int ubifs_change_one_lp(struct ubifs_info *c, int lnum, int free, int dirty, in ubifs_change_one_lp() 702 int ubifs_update_one_lp(struct ubifs_info *c, int lnum, int free, int dirty, in ubifs_update_one_lp() 739 int ubifs_read_one_lp(struct ubifs_info *c, int lnum, struct ubifs_lprops *lp) in ubifs_read_one_lp() 1035 int cat, lnum = lp->lnum, is_idx = 0, used = 0, free, dirty, ret; in scan_check_cb() local
|
D | orphan.c | 346 int lnum; in write_orph_nodes() local 491 int lnum, err; in ubifs_clear_orphans() local 650 int lnum, err = 0, outofdate = 0, last_flagged = 0; in kill_orphans() local 881 int lnum, err = 0; in dbg_scan_orphans() local
|
D | sb.c | 669 static int fixup_leb(struct ubifs_info *c, int lnum, int len) in fixup_leb() 699 int lnum, err = 0; in fixup_free_space() local
|
D | super.c | 637 static int bud_wbuf_callback(struct ubifs_info *c, int lnum, int free, int pad) in bud_wbuf_callback() 894 int lnum, err; in check_volume_empty() local 1319 int lnum; in mount_ubifs() local 1548 int err, lnum; in ubifs_remount_rw() local
|
D | debug.c | 738 int lnum, err; in ubifs_dump_lprops() local 812 void ubifs_dump_leb(const struct ubifs_info *c, int lnum) in ubifs_dump_leb() 2457 static int power_cut_emulated(struct ubifs_info *c, int lnum, int write) in power_cut_emulated() 2572 int dbg_leb_write(struct ubifs_info *c, int lnum, const void *buf, in dbg_leb_write() 2594 int dbg_leb_change(struct ubifs_info *c, int lnum, const void *buf, in dbg_leb_change() 2611 int dbg_leb_unmap(struct ubifs_info *c, int lnum) in dbg_leb_unmap() 2627 int dbg_leb_map(struct ubifs_info *c, int lnum) in dbg_leb_map()
|
D | gc.c | 474 int err = 0, lnum = lp->lnum; in ubifs_garbage_collect_leb() local 974 int lnum; in ubifs_get_idx_gc_leb() local
|
D | ubifs.h | 284 int lnum; member 325 int lnum; member 344 int lnum; member 439 int lnum; member 485 int lnum; member 592 int lnum; member 692 int lnum; member 719 int lnum; member 754 int lnum; member 786 int lnum; member
|
D | tnc_misc.c | 273 static int read_znode(struct ubifs_info *c, int lnum, int offs, int len, in read_znode()
|
D | budget.c | 80 int err, lnum; in run_gc() local
|
D | ubifs-media.h | 728 __le32 lnum; member 742 __le32 lnum; member
|
/fs/reiserfs/ |
D | fix_node.c | 623 static void set_parameters(struct tree_balance *tb, int h, int lnum, in set_parameters()
|