/linux/fs/jffs2/ |
A D | nodemgmt.c | 48 jffs2_dbg(1, "forbid writing\n"); in jffs2_rp_can_write() 85 jffs2_dbg(1, "%s(): alloc sem got\n", __func__); in jffs2_reserve_space() 224 jffs2_dbg(1, "%s(): looping, ret is %d\n", in jffs2_reserve_space_gc() 302 jffs2_dbg(1, "%s(): Flushing write buffer\n", in jffs2_find_nextblock() 347 jffs2_dbg(1, "%s(): new nextblock = 0x%08x\n", in jffs2_find_nextblock() 415 jffs2_dbg(1, "%s(): Flushing write buffer\n", in jffs2_do_reserve_space() 558 jffs2_dbg(1, "jffs2_complete_reservation()\n"); in jffs2_complete_reservation() 646 jffs2_dbg(1, "Dirtying\n"); in jffs2_mark_node_obsolete() 668 jffs2_dbg(1, "Wasting\n"); in jffs2_mark_node_obsolete() 720 jffs2_dbg(1, "Done OK\n"); in jffs2_mark_node_obsolete() [all …]
|
A D | background.c | 53 jffs2_dbg(1, "Garbage collect thread is pid %d\n", tsk->pid); in jffs2_start_garbage_collect_thread() 66 jffs2_dbg(1, "Killing GC task %d\n", c->gc_task->pid); in jffs2_stop_garbage_collect_thread() 98 jffs2_dbg(1, "%s(): sleeping...\n", __func__); in jffs2_garbage_collect_thread() 116 jffs2_dbg(1, "%s(): kthread_stop() called\n", __func__); in jffs2_garbage_collect_thread() 132 jffs2_dbg(1, "%s(): SIGSTOP received\n", in jffs2_garbage_collect_thread() 138 jffs2_dbg(1, "%s(): SIGKILL received\n", in jffs2_garbage_collect_thread() 143 jffs2_dbg(1, "%s(): SIGHUP received\n", in jffs2_garbage_collect_thread() 147 jffs2_dbg(1, "%s(): signal %ld received\n", in jffs2_garbage_collect_thread() 154 jffs2_dbg(1, "%s(): pass\n", __func__); in jffs2_garbage_collect_thread()
|
A D | gc.c | 68 jffs2_dbg(1, "Picking block from dirty_list to GC next\n"); in jffs2_find_gc_block() 71 jffs2_dbg(1, "Picking block from clean_list to GC next\n"); in jffs2_find_gc_block() 167 jffs2_dbg(1, "Skipping ino #%u already checked\n", in jffs2_garbage_collect_pass() 215 jffs2_dbg(1, "Waiting for ino #%u to finish reading\n", in jffs2_garbage_collect_pass() 234 jffs2_dbg(1, "%s(): triggering inode scan of ino#%u\n", in jffs2_garbage_collect_pass() 252 jffs2_dbg(1, "%s(): erasing pending blocks\n", __func__); in jffs2_garbage_collect_pass() 294 jffs2_dbg(1, "Node at 0x%08x is obsolete... skipping\n", in jffs2_garbage_collect_pass() 310 jffs2_dbg(1, "Going to garbage collect node at 0x%08x\n", in jffs2_garbage_collect_pass() 405 jffs2_dbg(1, "%s(): waiting for ino #%u in state %d\n", in jffs2_garbage_collect_pass() 602 jffs2_dbg(1, "Going to GC REF_PRISTINE node at 0x%08x\n", in jffs2_garbage_collect_pristine() [all …]
|
A D | compr_zlib.c | 50 jffs2_dbg(1, "Allocated %d bytes for deflate workspace\n", in alloc_workspaces() 57 jffs2_dbg(1, "Allocated %d bytes for inflate workspace\n", in alloc_workspaces() 99 jffs2_dbg(1, "calling deflate with avail_in %ld, avail_out %ld\n", in jffs2_zlib_compress() 102 jffs2_dbg(1, "deflate returned with avail_in %ld, avail_out %ld, total_in %ld, total_out %ld\n", in jffs2_zlib_compress() 106 jffs2_dbg(1, "deflate in loop returned %d\n", ret); in jffs2_zlib_compress() 118 jffs2_dbg(1, "final deflate returned %d\n", ret); in jffs2_zlib_compress() 124 jffs2_dbg(1, "zlib compressed %ld bytes into %ld; failing\n", in jffs2_zlib_compress() 130 jffs2_dbg(1, "zlib compressed %ld bytes into %ld\n", in jffs2_zlib_compress() 164 jffs2_dbg(2, "inflate skipping adler32\n"); in jffs2_zlib_decompress() 170 jffs2_dbg(1, "inflate not skipping adler32\n"); in jffs2_zlib_decompress()
|
A D | read.c | 113 jffs2_dbg(2, "Read %d bytes to %p\n", je32_to_cpu(ri->csize), in jffs2_read_dnode() 130 jffs2_dbg(2, "Data CRC matches calculated CRC %08x\n", crc); in jffs2_read_dnode() 132 jffs2_dbg(2, "Decompress %d bytes from %p to %d bytes at %p\n", in jffs2_read_dnode() 164 jffs2_dbg(1, "%s(): ino #%u, range 0x%08x-0x%08x\n", in jffs2_read_inode_range() 175 jffs2_dbg(2, "%s(): offset %d, end %d\n", in jffs2_read_inode_range() 185 jffs2_dbg(1, "Filling non-frag hole from %d-%d\n", in jffs2_read_inode_range() 193 jffs2_dbg(1, "Filling frag hole from %d-%d (frag 0x%x 0x%x)\n", in jffs2_read_inode_range() 207 jffs2_dbg(1, "Reading %d-%d from node at 0x%08x (%d)\n", in jffs2_read_inode_range() 213 jffs2_dbg(2, "node read done\n"); in jffs2_read_inode_range() 215 jffs2_dbg(1, "%s(): error %d\n", in jffs2_read_inode_range() [all …]
|
A D | scan.c | 111 jffs2_dbg(1, "MTD point failed %d\n", ret); in jffs2_scan_medium() 121 jffs2_dbg(1, "Trying to allocate readbuf of %zu " in jffs2_scan_medium() 128 jffs2_dbg(1, "Allocated readbuf of %zu bytes\n", in jffs2_scan_medium() 210 jffs2_dbg(1, "%s(): new nextblock = 0x%08x\n", in jffs2_scan_medium() 230 jffs2_dbg(1, "Block at 0x%08x is bad\n", jeb->offset); in jffs2_scan_medium() 301 jffs2_dbg(1, "Read at 0x%x gave only 0x%zx bytes\n", in jffs2_fill_scan_buf() 580 jffs2_dbg(2, "jffs2_check_oob_empty returned %d\n", in jffs2_scan_eraseblock() 589 jffs2_dbg(1, "Block at 0x%08x is empty (erased)\n", in jffs2_scan_eraseblock() 670 jffs2_dbg(1, "Found empty flash at 0x%08x\n", ofs); in jffs2_scan_eraseblock() 713 jffs2_dbg(1, "Reading another 0x%x at 0x%08x\n", in jffs2_scan_eraseblock() [all …]
|
A D | write.c | 41 jffs2_dbg(1, "%s(): Assigned ino# %d\n", __func__, f->inocache->ino); in jffs2_do_new_inode() 135 jffs2_dbg(1, "Retrying failed write.\n"); in jffs2_write_dnode() 287 jffs2_dbg(1, "Retrying failed write.\n"); in jffs2_write_dirent() 347 jffs2_dbg(1, "%s(): Ino #%u, ofs 0x%x, len 0x%x\n", in jffs2_write_inode_range() 359 jffs2_dbg(2, "jffs2_commit_write() loop: 0x%x to write to 0x%x\n", in jffs2_write_inode_range() 365 jffs2_dbg(1, "jffs2_reserve_space returned %d\n", ret); in jffs2_write_inode_range() 431 jffs2_dbg(1, "increasing writtenlen by %d\n", datalen); in jffs2_write_inode_range() 456 jffs2_dbg(1, "%s(): reserved 0x%x bytes\n", __func__, alloclen); in jffs2_do_create() 467 jffs2_dbg(1, "jffs2_do_create created file with mode 0x%x\n", in jffs2_do_create() 471 jffs2_dbg(1, "jffs2_write_dnode() failed\n"); in jffs2_do_create() [all …]
|
A D | file.c | 87 jffs2_dbg(2, "%s(): ino #%lu, page at offset 0x%lx\n", in jffs2_do_readpage_nolock() 109 jffs2_dbg(2, "readpage finished\n"); in jffs2_do_readpage_nolock() 148 jffs2_dbg(1, "%s()\n", __func__); in jffs2_write_begin() 157 jffs2_dbg(1, "Writing new hole frag 0x%x-0x%x between current EOF and new page\n", in jffs2_write_begin() 202 jffs2_dbg(1, "Eep. add_full_dnode_to_inode() failed in write_begin, returned %d\n", in jffs2_write_begin() 227 jffs2_dbg(1, "end write_begin(). pg->flags %lx\n", pg->flags); in jffs2_write_begin() 253 jffs2_dbg(1, "%s(): ino #%lu, page at 0x%lx, range %d-%d, flags %lx\n", in jffs2_write_end() 274 jffs2_dbg(1, "%s(): Allocation of raw inode failed\n", in jffs2_write_end() 322 jffs2_dbg(1, "%s(): Not all bytes written. Marking page !uptodate\n", in jffs2_write_end() 328 jffs2_dbg(1, "%s() returning %d\n", in jffs2_write_end()
|
A D | erase.c | 43 jffs2_dbg(1, "%s(): erase block %#08x (range %#08x-%#08x)\n", in jffs2_erase_block() 122 jffs2_dbg(1, "Count reached. jffs2_erase_pending_blocks leaving\n"); in jffs2_erase_pending_blocks() 128 jffs2_dbg(1, "Starting erase of pending block 0x%08x\n", in jffs2_erase_pending_blocks() 157 jffs2_dbg(1, "jffs2_erase_pending_blocks completed\n"); in jffs2_erase_pending_blocks() 163 jffs2_dbg(1, "Erase completed successfully at 0x%08x\n", jeb->offset); in jffs2_erase_succeeded() 251 jffs2_dbg(1, "Removed nodes in range 0x%08x-0x%08x from ino #%u\n", in jffs2_remove_node_refs_from_ino_list() 292 jffs2_dbg(1, "Freeing all node refs for eraseblock offset 0x%08x\n", in jffs2_free_jeb_node_refs() 325 jffs2_dbg(1, "MTD point failed %d\n", ret); in jffs2_block_check_erase() 330 jffs2_dbg(1, "MTD point returned len too short: 0x%zx\n", in jffs2_block_check_erase() 359 jffs2_dbg(1, "Verifying erase at 0x%08x\n", jeb->offset); in jffs2_block_check_erase() [all …]
|
A D | wbuf.c | 125 jffs2_dbg(1, "...and adding to erase_pending_list\n"); in jffs2_refile_wbuf_blocks() 132 jffs2_dbg(1, "...and adding to erasable_list\n"); in jffs2_refile_wbuf_blocks() 151 jffs2_dbg(1, "Refiling block at %08x to bad_used_list\n", in jffs2_block_refile() 157 jffs2_dbg(1, "Refiling block at %08x to erase_pending_list\n", in jffs2_block_refile() 725 jffs2_dbg(1, "%s(): padding. Not finished checking\n", in jffs2_flush_wbuf_gc() 739 jffs2_dbg(1, "%s(): calls gc pass\n", __func__); in jffs2_flush_wbuf_gc() 757 jffs2_dbg(1, "%s(): ends...\n", __func__); in jffs2_flush_wbuf_gc() 1061 jffs2_dbg(2, "Found %02x at %x in OOB for " in jffs2_check_oob_empty() 1166 jffs2_dbg(1, "%s()\n", __func__); in delayed_wbuf_sync() 1181 jffs2_dbg(1, "%s()\n", __func__); in jffs2_dirty_trigger() [all …]
|
A D | fs.c | 46 jffs2_dbg(1, "%s(): ino #%lu\n", __func__, inode->i_ino); in jffs2_do_setattr() 57 jffs2_dbg(1, "%s(): Writing %d bytes of kdev_t\n", in jffs2_do_setattr() 246 jffs2_dbg(1, "%s(): ino #%lu mode %o\n", in jffs2_evict_inode() 263 jffs2_dbg(1, "%s(): ino == %lu\n", __func__, ino); in jffs2_iget() 333 jffs2_dbg(1, "Reading device numbers from flash\n"); in jffs2_iget() 360 jffs2_dbg(1, "jffs2_read_inode() returning\n"); in jffs2_iget() 431 jffs2_dbg(1, "%s(): dir_i %ld, mode 0x%x\n", in jffs2_new_inode() 579 jffs2_dbg(1, "get root inode failed\n"); in jffs2_do_fill_super() 586 jffs2_dbg(1, "%s(): d_make_root()\n", __func__); in jffs2_do_fill_super() 650 jffs2_dbg(1, "Inode cache for ino #%u is gone\n", in jffs2_gc_fetch_inode() [all …]
|
A D | compr.c | 316 jffs2_dbg(1, "Registering JFFS2 compressor \"%s\"\n", comp->name); in jffs2_register_compressor() 341 jffs2_dbg(1, "Unregistering JFFS2 compressor \"%s\"\n", comp->name); in jffs2_unregister_compressor() 384 jffs2_dbg(1, "default compression mode: none\n"); in jffs2_compressors_init() 388 jffs2_dbg(1, "default compression mode: size\n"); in jffs2_compressors_init() 392 jffs2_dbg(1, "default compression mode: favourlzo\n"); in jffs2_compressors_init() 394 jffs2_dbg(1, "default compression mode: priority\n"); in jffs2_compressors_init()
|
A D | dir.c | 87 jffs2_dbg(1, "jffs2_lookup()\n"); in jffs2_lookup() 130 jffs2_dbg(1, "jffs2_readdir() for dir_i #%lu\n", inode->i_ino); in jffs2_readdir() 140 jffs2_dbg(2, "Skipping dirent: \"%s\", ino #%u, type %d, because curofs %ld < offset %ld\n", in jffs2_readdir() 145 jffs2_dbg(2, "Skipping deletion dirent \"%s\"\n", in jffs2_readdir() 150 jffs2_dbg(2, "Dirent %ld: \"%s\", ino #%u, type %d\n", in jffs2_readdir() 178 jffs2_dbg(1, "%s()\n", __func__); in jffs2_create() 183 jffs2_dbg(1, "jffs2_new_inode() failed\n"); in jffs2_create() 211 jffs2_dbg(1, "%s(): Created ino #%lu with mode %o, nlink %d(%d). nrpages %ld\n", in jffs2_create() 364 jffs2_dbg(1, "%s(): symlink's target '%s' cached\n", in jffs2_symlink()
|
A D | super.c | 261 jffs2_dbg(1, "jffs2_get_sb_mtd():" in jffs2_fill_super() 325 jffs2_dbg(2, "%s()\n", __func__); in jffs2_put_super() 340 jffs2_dbg(1, "%s(): returning\n", __func__); in jffs2_put_super()
|
A D | debug.h | 67 #define jffs2_dbg(level, fmt, ...) \ macro
|