/fs/jffs2/ |
D | os-linux.h | 25 #define OFNI_BS_2SFFJ(c) ((struct super_block *)c->os_priv) argument 66 #define jffs2_is_readonly(c) (OFNI_BS_2SFFJ(c)->s_flags & MS_RDONLY) argument 73 #define jffs2_can_mark_obsolete(c) (0) argument 75 #define jffs2_can_mark_obsolete(c) (1) argument 78 #define jffs2_is_writebuffered(c) (0) argument 79 #define jffs2_cleanmarker_oob(c) (0) argument 80 #define jffs2_write_nand_cleanmarker(c,jeb) (-EIO) argument 82 #define jffs2_flash_write(c, ofs, len, retlen, buf) jffs2_flash_direct_write(c, ofs, len, retlen, b… argument 83 #define jffs2_flash_read(c, ofs, len, retlen, buf) ((c)->mtd->read((c)->mtd, ofs, len, retlen, buf)) argument 84 #define jffs2_flush_wbuf_pad(c) ({ do{} while(0); (void)(c), 0; }) argument [all …]
|
D | wbuf.c | 45 static int jffs2_wbuf_pending_for_ino(struct jffs2_sb_info *c, uint32_t ino) in jffs2_wbuf_pending_for_ino() 66 static void jffs2_clear_wbuf_ino_list(struct jffs2_sb_info *c) in jffs2_clear_wbuf_ino_list() 82 static void jffs2_wbuf_dirties_inode(struct jffs2_sb_info *c, uint32_t ino) in jffs2_wbuf_dirties_inode() 105 static inline void jffs2_refile_wbuf_blocks(struct jffs2_sb_info *c) in jffs2_refile_wbuf_blocks() 137 static void jffs2_block_refile(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, int allow_emp… in jffs2_block_refile() 176 static struct jffs2_raw_node_ref **jffs2_incore_replace_raw(struct jffs2_sb_info *c, in jffs2_incore_replace_raw() 224 static int jffs2_verify_write(struct jffs2_sb_info *c, unsigned char *buf, in jffs2_verify_write() 261 #define jffs2_verify_write(c,b,o) (0) argument 267 static void jffs2_wbuf_recover(struct jffs2_sb_info *c) in jffs2_wbuf_recover() 570 static int __jffs2_flush_wbuf(struct jffs2_sb_info *c, int pad) in __jffs2_flush_wbuf() [all …]
|
D | nodelist.c | 25 void jffs2_add_fd_to_list(struct jffs2_sb_info *c, struct jffs2_full_dirent *new, struct jffs2_full… in jffs2_add_fd_to_list() 58 uint32_t jffs2_truncate_fragtree(struct jffs2_sb_info *c, struct rb_root *list, uint32_t size) in jffs2_truncate_fragtree() 100 static void jffs2_obsolete_node_frag(struct jffs2_sb_info *c, in jffs2_obsolete_node_frag() 168 static int no_overlapping_node(struct jffs2_sb_info *c, struct rb_root *root, in no_overlapping_node() 214 static int jffs2_add_frag_to_fragtree(struct jffs2_sb_info *c, struct rb_root *root, struct jffs2_n… in jffs2_add_frag_to_fragtree() 362 int jffs2_add_full_dnode_to_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f, struct jffs2… in jffs2_add_full_dnode_to_inode() 407 void jffs2_set_inocache_state(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic, int state) in jffs2_set_inocache_state() 420 struct jffs2_inode_cache *jffs2_get_ino_cache(struct jffs2_sb_info *c, uint32_t ino) in jffs2_get_ino_cache() 435 void jffs2_add_ino_cache (struct jffs2_sb_info *c, struct jffs2_inode_cache *new) in jffs2_add_ino_cache() 456 void jffs2_del_ino_cache(struct jffs2_sb_info *c, struct jffs2_inode_cache *old) in jffs2_del_ino_cache() [all …]
|
D | fs.c | 31 struct jffs2_sb_info *c = JFFS2_SB_INFO(inode->i_sb); in jffs2_do_setattr() local 201 struct jffs2_sb_info *c = JFFS2_SB_INFO(dentry->d_sb); in jffs2_statfs() local 232 struct jffs2_sb_info *c = JFFS2_SB_INFO(inode->i_sb); in jffs2_clear_inode() local 242 struct jffs2_sb_info *c; in jffs2_iget() local 381 struct jffs2_sb_info *c = JFFS2_SB_INFO(sb); in jffs2_remount_fs() local 407 struct jffs2_sb_info *c = JFFS2_SB_INFO(sb); in jffs2_write_super() local 426 struct jffs2_sb_info *c; in jffs2_new_inode() local 488 struct jffs2_sb_info *c; in jffs2_do_fill_super() local 583 void jffs2_gc_release_inode(struct jffs2_sb_info *c, in jffs2_gc_release_inode() 589 struct jffs2_inode_info *jffs2_gc_fetch_inode(struct jffs2_sb_info *c, in jffs2_gc_fetch_inode() [all …]
|
D | xattr.c | 66 static int is_xattr_datum_unchecked(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in is_xattr_datum_unchecked() 82 static void unload_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in unload_xattr_datum() 97 static void reclaim_xattr_datum(struct jffs2_sb_info *c) in reclaim_xattr_datum() 127 static int do_verify_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in do_verify_xattr_datum() 199 static int do_load_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in do_load_xattr_datum() 258 static int load_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in load_xattr_datum() 279 static int save_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in save_xattr_datum() 331 static struct jffs2_xattr_datum *create_xattr_datum(struct jffs2_sb_info *c, in create_xattr_datum() 399 static void unrefer_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in unrefer_xattr_datum() 437 static int verify_xattr_ref(struct jffs2_sb_info *c, struct jffs2_xattr_ref *ref) in verify_xattr_ref() [all …]
|
D | build.c | 23 first_inode_chain(int *i, struct jffs2_sb_info *c) in first_inode_chain() 33 next_inode(int *i, struct jffs2_inode_cache *ic, struct jffs2_sb_info *c) in next_inode() 42 #define for_each_inode(i, c, ic) \ argument 48 static void jffs2_build_inode_pass1(struct jffs2_sb_info *c, in jffs2_build_inode_pass1() 92 static int jffs2_build_filesystem(struct jffs2_sb_info *c) in jffs2_build_filesystem() 192 static void jffs2_build_remove_unlinked_inode(struct jffs2_sb_info *c, in jffs2_build_remove_unlinked_inode() 265 static void jffs2_calc_trigger_levels(struct jffs2_sb_info *c) in jffs2_calc_trigger_levels() 327 int jffs2_do_mount_fs(struct jffs2_sb_info *c) in jffs2_do_mount_fs()
|
D | erase.c | 23 struct jffs2_sb_info *c; member 33 static void jffs2_erase_block(struct jffs2_sb_info *c, in jffs2_erase_block() 106 void jffs2_erase_pending_blocks(struct jffs2_sb_info *c, int count) in jffs2_erase_pending_blocks() 162 static void jffs2_erase_succeeded(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in jffs2_erase_succeeded() 174 static void jffs2_erase_failed(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_… in jffs2_erase_failed() 224 static inline void jffs2_remove_node_refs_from_ino_list(struct jffs2_sb_info *c, in jffs2_remove_node_refs_from_ino_list() 303 void jffs2_free_jeb_node_refs(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in jffs2_free_jeb_node_refs() 326 static int jffs2_block_check_erase(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t … in jffs2_block_check_erase() 407 static void jffs2_mark_erased_block(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in jffs2_mark_erased_block()
|
D | nodemgmt.c | 42 int jffs2_reserve_space(struct jffs2_sb_info *c, uint32_t minsize, in jffs2_reserve_space() 147 int jffs2_reserve_space_gc(struct jffs2_sb_info *c, uint32_t minsize, in jffs2_reserve_space_gc() 172 static void jffs2_close_nextblock(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in jffs2_close_nextblock() 206 static int jffs2_find_nextblock(struct jffs2_sb_info *c) in jffs2_find_nextblock() 276 static int jffs2_do_reserve_space(struct jffs2_sb_info *c, uint32_t minsize, in jffs2_do_reserve_space() 417 struct jffs2_raw_node_ref *jffs2_add_physical_node_ref(struct jffs2_sb_info *c, in jffs2_add_physical_node_ref() 470 void jffs2_complete_reservation(struct jffs2_sb_info *c) in jffs2_complete_reservation() 491 void jffs2_mark_node_obsolete(struct jffs2_sb_info *c, struct jffs2_raw_node_ref *ref) in jffs2_mark_node_obsolete() 729 int jffs2_thread_should_wake(struct jffs2_sb_info *c) in jffs2_thread_should_wake()
|
/fs/ubifs/ |
D | key.h | 96 static inline void ino_key_init(const struct ubifs_info *c, in ino_key_init() 109 static inline void ino_key_init_flash(const struct ubifs_info *c, void *k, in ino_key_init_flash() 125 static inline void lowest_ino_key(const struct ubifs_info *c, in lowest_ino_key() 138 static inline void highest_ino_key(const struct ubifs_info *c, in highest_ino_key() 152 static inline void dent_key_init(const struct ubifs_info *c, in dent_key_init() 171 static inline void dent_key_init_hash(const struct ubifs_info *c, in dent_key_init_hash() 187 static inline void dent_key_init_flash(const struct ubifs_info *c, void *k, in dent_key_init_flash() 206 static inline void lowest_dent_key(const struct ubifs_info *c, in lowest_dent_key() 220 static inline void xent_key_init(const struct ubifs_info *c, in xent_key_init() 239 static inline void xent_key_init_hash(const struct ubifs_info *c, in xent_key_init_hash() [all …]
|
D | budget.c | 65 static int shrink_liability(struct ubifs_info *c, int nr_to_write) in shrink_liability() 103 static int run_gc(struct ubifs_info *c) in run_gc() 129 static long long get_liability(struct ubifs_info *c) in get_liability() 157 static int make_free_space(struct ubifs_info *c) in make_free_space() 203 int ubifs_calc_min_idx_lebs(struct ubifs_info *c) in ubifs_calc_min_idx_lebs() 237 long long ubifs_calc_available(const struct ubifs_info *c, int min_idx_lebs) in ubifs_calc_available() 301 static int can_use_rp(struct ubifs_info *c) in can_use_rp() 334 static int do_budget_space(struct ubifs_info *c) in do_budget_space() 403 static int calc_idx_growth(const struct ubifs_info *c, in calc_idx_growth() 419 static int calc_data_growth(const struct ubifs_info *c, in calc_data_growth() [all …]
|
D | lpt_commit.c | 95 static int get_cnodes_to_commit(struct ubifs_info *c) in get_cnodes_to_commit() 136 static void upd_ltab(struct ubifs_info *c, int lnum, int free, int dirty) in upd_ltab() 156 static int alloc_lpt_leb(struct ubifs_info *c, int *lnum) in alloc_lpt_leb() 189 static int layout_cnodes(struct ubifs_info *c) in layout_cnodes() 342 static int realloc_lpt_leb(struct ubifs_info *c, int *lnum) in realloc_lpt_leb() 369 static int write_cnodes(struct ubifs_info *c) in write_cnodes() 567 static struct ubifs_pnode *next_pnode_to_dirty(struct ubifs_info *c, in next_pnode_to_dirty() 632 static struct ubifs_pnode *pnode_lookup(struct ubifs_info *c, int i) in pnode_lookup() 661 static void add_pnode_dirt(struct ubifs_info *c, struct ubifs_pnode *pnode) in add_pnode_dirt() 672 static void do_make_pnode_dirty(struct ubifs_info *c, struct ubifs_pnode *pnode) in do_make_pnode_dirty() [all …]
|
D | lprops.c | 62 static void move_up_lpt_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, in move_up_lpt_heap() 99 static void adjust_lpt_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, in adjust_lpt_heap() 178 static int add_to_lpt_heap(struct ubifs_info *c, struct ubifs_lprops *lprops, in add_to_lpt_heap() 226 static void remove_from_lpt_heap(struct ubifs_info *c, in remove_from_lpt_heap() 256 static void lpt_heap_replace(struct ubifs_info *c, in lpt_heap_replace() 275 void ubifs_add_to_cat(struct ubifs_info *c, struct ubifs_lprops *lprops, in ubifs_add_to_cat() 315 static void ubifs_remove_from_cat(struct ubifs_info *c, in ubifs_remove_from_cat() 349 void ubifs_replace_cat(struct ubifs_info *c, struct ubifs_lprops *old_lprops, in ubifs_replace_cat() 381 void ubifs_ensure_cat(struct ubifs_info *c, struct ubifs_lprops *lprops) in ubifs_ensure_cat() 404 int ubifs_categorize_lprops(const struct ubifs_info *c, in ubifs_categorize_lprops() [all …]
|
D | super.c | 66 static int validate_inode(struct ubifs_info *c, const struct inode *inode) in validate_inode() 106 struct ubifs_info *c = sb->s_fs_info; in ubifs_iget() local 289 struct ubifs_info *c = inode->i_sb->s_fs_info; in ubifs_write_inode() local 331 struct ubifs_info *c = inode->i_sb->s_fs_info; in ubifs_delete_inode() local 379 struct ubifs_info *c = dentry->d_sb->s_fs_info; in ubifs_statfs() local 406 struct ubifs_info *c = mnt->mnt_sb->s_fs_info; in ubifs_show_options() local 434 struct ubifs_info *c = sb->s_fs_info; in ubifs_sync_fs() local 490 static int init_constants_early(struct ubifs_info *c) in init_constants_early() 612 static int bud_wbuf_callback(struct ubifs_info *c, int lnum, int free, int pad) in bud_wbuf_callback() 626 static int init_constants_sb(struct ubifs_info *c) in init_constants_sb() [all …]
|
D | misc.h | 45 static inline void ubifs_wake_up_bgt(struct ubifs_info *c) in ubifs_wake_up_bgt() 131 static inline int ubifs_leb_unmap(const struct ubifs_info *c, int lnum) in ubifs_leb_unmap() 157 static inline int ubifs_leb_write(const struct ubifs_info *c, int lnum, in ubifs_leb_write() 184 static inline int ubifs_leb_change(const struct ubifs_info *c, int lnum, in ubifs_leb_change() 230 static inline int ubifs_add_dirt(struct ubifs_info *c, int lnum, int dirty) in ubifs_add_dirt() 244 static inline int ubifs_return_leb(struct ubifs_info *c, int lnum) in ubifs_return_leb() 255 static inline int ubifs_idx_node_sz(const struct ubifs_info *c, int child_cnt) in ubifs_idx_node_sz() 267 struct ubifs_branch *ubifs_idx_branch(const struct ubifs_info *c, in ubifs_idx_branch() 280 static inline void *ubifs_idx_key(const struct ubifs_info *c, in ubifs_idx_key() 307 static inline int ubifs_tnc_lookup(struct ubifs_info *c, in ubifs_tnc_lookup() [all …]
|
D | tnc.c | 76 static int insert_old_idx(struct ubifs_info *c, int lnum, int offs) in insert_old_idx() 117 int insert_old_idx_znode(struct ubifs_info *c, struct ubifs_znode *znode) in insert_old_idx_znode() 139 static int ins_clr_old_idx_znode(struct ubifs_info *c, in ins_clr_old_idx_znode() 178 void destroy_old_idx(struct ubifs_info *c) in destroy_old_idx() 211 static struct ubifs_znode *copy_znode(struct ubifs_info *c, in copy_znode() 253 static int add_idx_dirt(struct ubifs_info *c, int lnum, int dirt) in add_idx_dirt() 266 static struct ubifs_znode *dirty_cow_znode(struct ubifs_info *c, in dirty_cow_znode() 328 static int lnc_add(struct ubifs_info *c, struct ubifs_zbranch *zbr, in lnc_add() 365 static int lnc_add_directly(struct ubifs_info *c, struct ubifs_zbranch *zbr, in lnc_add_directly() 408 static int tnc_read_node_nm(struct ubifs_info *c, struct ubifs_zbranch *zbr, in tnc_read_node_nm() [all …]
|
D | orphan.c | 58 #define dbg_check_orphans(c) 0 argument 69 int ubifs_add_orphan(struct ubifs_info *c, ino_t inum) in ubifs_add_orphan() 119 void ubifs_delete_orphan(struct ubifs_info *c, ino_t inum) in ubifs_delete_orphan() 171 int ubifs_orphan_start_commit(struct ubifs_info *c) in ubifs_orphan_start_commit() 203 static int avail_orphs(struct ubifs_info *c) in avail_orphs() 223 static int tot_avail_orphs(struct ubifs_info *c) in tot_avail_orphs() 243 static int do_write_orph_node(struct ubifs_info *c, int len, int atomic) in do_write_orph_node() 275 static int write_orph_node(struct ubifs_info *c, int atomic) in write_orph_node() 336 static int write_orph_nodes(struct ubifs_info *c, int atomic) in write_orph_nodes() 370 static int consolidate(struct ubifs_info *c) in consolidate() [all …]
|
D | debug.h | 92 #define ubifs_assert_cmt_locked(c) do { \ argument 404 #define ubifs_assert_cmt_locked(c) argument 423 #define ubifs_debugging_init(c) 0 argument 424 #define ubifs_debugging_exit(c) ({}) argument 428 #define dbg_get_key_dump(c, key) ({}) argument 429 #define dbg_dump_inode(c, inode) ({}) argument 430 #define dbg_dump_node(c, node) ({}) argument 431 #define dbg_dump_lpt_node(c, node, lnum, offs) ({}) argument 434 #define dbg_dump_budg(c) ({}) argument 435 #define dbg_dump_lprop(c, lp) ({}) argument [all …]
|
D | commit.c | 58 static int do_commit(struct ubifs_info *c) in do_commit() 189 static int run_bg_commit(struct ubifs_info *c) in run_bg_commit() 235 struct ubifs_info *c = info; in ubifs_bg_thread() local 283 void ubifs_commit_required(struct ubifs_info *c) in ubifs_commit_required() 313 void ubifs_request_bg_commit(struct ubifs_info *c) in ubifs_request_bg_commit() 332 static int wait_for_commit(struct ubifs_info *c) in wait_for_commit() 356 int ubifs_run_commit(struct ubifs_info *c) in ubifs_run_commit() 424 int ubifs_gc_should_commit(struct ubifs_info *c) in ubifs_gc_should_commit() 469 int dbg_old_index_check_init(struct ubifs_info *c, struct ubifs_zbranch *zroot) in dbg_old_index_check_init() 508 int dbg_check_old_index(struct ubifs_info *c, struct ubifs_zbranch *zroot) in dbg_check_old_index()
|
D | log.c | 35 #define dbg_check_bud_bytes(c) 0 argument 46 struct ubifs_bud *ubifs_search_bud(struct ubifs_info *c, int lnum) in ubifs_search_bud() 75 struct ubifs_wbuf *ubifs_get_wbuf(struct ubifs_info *c, int lnum) in ubifs_get_wbuf() 107 static inline int next_log_lnum(const struct ubifs_info *c, int lnum) in next_log_lnum() 120 static inline long long empty_log_bytes(const struct ubifs_info *c) in empty_log_bytes() 138 void ubifs_add_bud(struct ubifs_info *c, struct ubifs_bud *bud) in ubifs_add_bud() 181 void ubifs_create_buds_lists(struct ubifs_info *c) in ubifs_create_buds_lists() 210 int ubifs_add_bud_to_log(struct ubifs_info *c, int jhead, int lnum, int offs) in ubifs_add_bud_to_log() 335 static void remove_buds(struct ubifs_info *c) in remove_buds() 397 int ubifs_log_start_commit(struct ubifs_info *c, int *ltail_lnum) in ubifs_log_start_commit() [all …]
|
D | debug.c | 97 static void sprintf_key(const struct ubifs_info *c, const union ubifs_key *key, in sprintf_key() 133 const char *dbg_key_str0(const struct ubifs_info *c, const union ubifs_key *key) in dbg_key_str0() 140 const char *dbg_key_str1(const struct ubifs_info *c, const union ubifs_key *key) in dbg_key_str1() 226 void dbg_dump_inode(const struct ubifs_info *c, const struct inode *inode) in dbg_dump_inode() 264 void dbg_dump_node(const struct ubifs_info *c, const void *node) in dbg_dump_node() 595 void dbg_dump_budg(struct ubifs_info *c) in dbg_dump_budg() 649 void dbg_dump_lprop(const struct ubifs_info *c, const struct ubifs_lprops *lp) in dbg_dump_lprop() 656 void dbg_dump_lprops(struct ubifs_info *c) in dbg_dump_lprops() 678 void dbg_dump_lpt_info(struct ubifs_info *c) in dbg_dump_lpt_info() 717 void dbg_dump_leb(const struct ubifs_info *c, int lnum) in dbg_dump_leb() [all …]
|
D | lpt.c | 57 static void do_calc_lpt_geom(struct ubifs_info *c) in do_calc_lpt_geom() 136 int ubifs_calc_lpt_geom(struct ubifs_info *c) in ubifs_calc_lpt_geom() 173 static int calc_dflt_lpt_geom(struct ubifs_info *c, int *main_lebs, in calc_dflt_lpt_geom() 349 void ubifs_pack_pnode(struct ubifs_info *c, void *buf, in ubifs_pack_pnode() 382 void ubifs_pack_nnode(struct ubifs_info *c, void *buf, in ubifs_pack_nnode() 414 void ubifs_pack_ltab(struct ubifs_info *c, void *buf, in ubifs_pack_ltab() 439 void ubifs_pack_lsave(struct ubifs_info *c, void *buf, int *lsave) in ubifs_pack_lsave() 461 void ubifs_add_lpt_dirt(struct ubifs_info *c, int lnum, int dirty) in ubifs_add_lpt_dirt() 478 static void set_ltab(struct ubifs_info *c, int lnum, int free, int dirty) in set_ltab() 493 void ubifs_add_nnode_dirt(struct ubifs_info *c, struct ubifs_nnode *nnode) in ubifs_add_nnode_dirt() [all …]
|
D | find.c | 54 static int valuable(struct ubifs_info *c, const struct ubifs_lprops *lprops) in valuable() 95 static int scan_for_dirty_cb(struct ubifs_info *c, in scan_for_dirty_cb() 136 static const struct ubifs_lprops *scan_for_dirty(struct ubifs_info *c, in scan_for_dirty() 233 int ubifs_find_dirty_leb(struct ubifs_info *c, struct ubifs_lprops *ret_lp, in ubifs_find_dirty_leb() 362 static int scan_for_free_cb(struct ubifs_info *c, in scan_for_free_cb() 407 const struct ubifs_lprops *do_find_free_space(struct ubifs_info *c, in do_find_free_space() 493 int ubifs_find_free_space(struct ubifs_info *c, int min_space, int *free, in ubifs_find_free_space() 602 static int scan_for_idx_cb(struct ubifs_info *c, in scan_for_idx_cb() 633 static const struct ubifs_lprops *scan_for_leb_for_idx(struct ubifs_info *c) in scan_for_leb_for_idx() 673 int ubifs_find_free_leb_for_idx(struct ubifs_info *c) in ubifs_find_free_leb_for_idx() [all …]
|
D | tnc_commit.c | 36 static int make_idx_node(struct ubifs_info *c, struct ubifs_idx_node *idx, in make_idx_node() 108 static int fill_gap(struct ubifs_info *c, int lnum, int gap_start, int gap_end, in fill_gap() 165 static int find_old_idx(struct ubifs_info *c, int lnum, int offs) in find_old_idx() 200 static int is_idx_node_in_use(struct ubifs_info *c, union ubifs_key *key, in is_idx_node_in_use() 226 static int layout_leb_in_gaps(struct ubifs_info *c, int *p) in layout_leb_in_gaps() 337 static int get_leb_cnt(struct ubifs_info *c, int cnt) in get_leb_cnt() 359 static int layout_in_gaps(struct ubifs_info *c, int cnt) in layout_in_gaps() 414 static int layout_in_empty_space(struct ubifs_info *c) in layout_in_empty_space() 576 static int layout_commit(struct ubifs_info *c, int no_space, int cnt) in layout_commit() 650 static int get_znodes_to_commit(struct ubifs_info *c) in get_znodes_to_commit() [all …]
|
D | recovery.c | 72 static int get_master_node(const struct ubifs_info *c, int lnum, void **pbuf, in get_master_node() 167 static int write_rcvrd_mst_node(struct ubifs_info *c, in write_rcvrd_mst_node() 199 int ubifs_recover_master_node(struct ubifs_info *c) in ubifs_recover_master_node() 322 int ubifs_write_rcvrd_mst_node(struct ubifs_info *c) in ubifs_write_rcvrd_mst_node() 349 static int is_last_write(const struct ubifs_info *c, void *buf, int offs) in is_last_write() 397 static void clean_buf(const struct ubifs_info *c, void **buf, int lnum, in clean_buf() 431 static int no_more_nodes(const struct ubifs_info *c, void *buf, int len, in no_more_nodes() 489 static int fix_unclean_leb(struct ubifs_info *c, struct ubifs_scan_leb *sleb, in fix_unclean_leb() 596 struct ubifs_scan_leb *ubifs_recover_leb(struct ubifs_info *c, int lnum, in ubifs_recover_leb() 749 static int get_cs_sqnum(struct ubifs_info *c, int lnum, int offs, in get_cs_sqnum() [all …]
|
/fs/xfs/ |
D | xfs_btree_trace.h | 86 #define XFS_BTREE_TRACE_ARGBI(c, b, i) \ argument 88 #define XFS_BTREE_TRACE_ARGBII(c, b, i, j) \ argument 90 #define XFS_BTREE_TRACE_ARGFFFI(c, o, b, i, j) \ argument 92 #define XFS_BTREE_TRACE_ARGI(c, i) \ argument 94 #define XFS_BTREE_TRACE_ARGIPK(c, i, p, k) \ argument 96 #define XFS_BTREE_TRACE_ARGIPR(c, i, p, r) \ argument 98 #define XFS_BTREE_TRACE_ARGIK(c, i, k) \ argument 100 #define XFS_BTREE_TRACE_ARGR(c, r) \ argument 102 #define XFS_BTREE_TRACE_CURSOR(c, t) \ argument 105 #define XFS_BTREE_TRACE_ARGBI(c, b, i) argument [all …]
|