/linux-4.19.296/fs/jffs2/ |
D | nodemgmt.c | 34 jffs2_dbg(1, "rpsize %u, dirty_size %u, free_size %u, " in jffs2_rp_can_write() 48 jffs2_dbg(1, "forbid writing\n"); in jffs2_rp_can_write() 82 jffs2_dbg(1, "%s(): Requested 0x%x bytes\n", __func__, minsize); in jffs2_reserve_space() 85 jffs2_dbg(1, "%s(): alloc sem got\n", __func__); in jffs2_reserve_space() 118 jffs2_dbg(1, "%s(): Low on dirty space to GC, but it's a deletion. Allowing...\n", in jffs2_reserve_space() 122 …jffs2_dbg(1, "dirty size 0x%08x + unchecked_size 0x%08x < nospc_dirty_size 0x%08x, returning -ENOS… in jffs2_reserve_space() 143 jffs2_dbg(1, "%s(): Low on possibly available space, but it's a deletion. Allowing...\n", in jffs2_reserve_space() 148 …jffs2_dbg(1, "max. available size 0x%08x < blocksneeded * sector_size 0x%08x, returning -ENOSPC\n… in jffs2_reserve_space() 157 …jffs2_dbg(1, "Triggering GC pass. nr_free_blocks %d, nr_erasing_blocks %d, free_size 0x%08x, dirty… in jffs2_reserve_space() 177 jffs2_dbg(1, "%s waiting for erase to complete\n", in jffs2_reserve_space() [all …]
|
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()
|
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()
|
D | read.c | 53 …jffs2_dbg(1, "Node read from %08x: node_crc %08x, calculated CRC %08x. dsize %x, csize %x, offset … in jffs2_read_dnode() 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() 181 jffs2_dbg(1, "Eep. Hole in ino #%u fraglist. frag->ofs = 0x%08x, offset = 0x%08x\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() [all …]
|
D | gc.c | 56 jffs2_dbg(1, "Picking block from bad_used_list to GC next\n"); in jffs2_find_gc_block() 61 jffs2_dbg(1, "Picking block from erasable_list to GC next\n"); in jffs2_find_gc_block() 65 jffs2_dbg(1, "Picking block from very_dirty_list to GC next\n"); in jffs2_find_gc_block() 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() 74 jffs2_dbg(1, "Picking block from dirty_list to GC next (clean_list was empty)\n"); in jffs2_find_gc_block() 78 …jffs2_dbg(1, "Picking block from very_dirty_list to GC next (clean_list and dirty_list were empty)… in jffs2_find_gc_block() 81 …jffs2_dbg(1, "Picking block from erasable_list to GC next (clean_list and {very_,}dirty_list were … in jffs2_find_gc_block() 86 jffs2_dbg(1, "Synching wbuf in order to reuse erasable_pending_wbuf_list blocks\n"); in jffs2_find_gc_block() 93 jffs2_dbg(1, "No clean, dirty _or_ erasable blocks to GC from! Where are they all?\n"); in jffs2_find_gc_block() [all …]
|
D | scan.c | 105 jffs2_dbg(1, "MTD point returned len too short: 0x%zx\n", in jffs2_scan_medium() 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() 182 jffs2_dbg(1, "Adding all-dirty block at 0x%08x to erase_pending_list\n", in jffs2_scan_medium() 210 jffs2_dbg(1, "%s(): new nextblock = 0x%08x\n", in jffs2_scan_medium() 223 jffs2_dbg(1, "Erase block at 0x%08x is not formatted. It will be erased\n", in jffs2_scan_medium() 230 jffs2_dbg(1, "Block at 0x%08x is bad\n", jeb->offset); in jffs2_scan_medium() 257 jffs2_dbg(1, "%s(): Skipping %d bytes in nextblock to ensure page alignment\n", in jffs2_scan_medium() 297 jffs2_dbg(1, "mtd->read(0x%x bytes from 0x%x) returned %d\n", in jffs2_fill_scan_buf() [all …]
|
D | write.c | 41 jffs2_dbg(1, "%s(): Assigned ino# %d\n", __func__, f->inocache->ino); in jffs2_do_new_inode() 102 jffs2_dbg(1, "%s(): dnode_version %d, highest version %d -> updating dnode\n", in jffs2_write_dnode() 135 jffs2_dbg(1, "Retrying failed write.\n"); in jffs2_write_dnode() 155 jffs2_dbg(1, "Allocated space at 0x%08x to retry failed write.\n", in jffs2_write_dnode() 163 jffs2_dbg(1, "Failed to allocate space to retry failed write: %d!\n", in jffs2_write_dnode() 193 …jffs2_dbg(1, "jffs2_write_dnode wrote node at 0x%08x(%d) with dsize 0x%x, csize 0x%x, node_crc 0x%… in jffs2_write_dnode() 216 jffs2_dbg(1, "%s(ino #%u, name at *0x%p \"%s\"->ino #%u, name_crc 0x%08x)\n", in jffs2_write_dirent() 260 jffs2_dbg(1, "%s(): dirent_version %d, highest version %d -> updating dirent\n", in jffs2_write_dirent() 287 jffs2_dbg(1, "Retrying failed write.\n"); in jffs2_write_dirent() 307 jffs2_dbg(1, "Allocated space at 0x%08x to retry failed write\n", in jffs2_write_dirent() [all …]
|
D | file.c | 86 jffs2_dbg(2, "%s(): ino #%lu, page at offset 0x%lx\n", in jffs2_do_readpage_nolock() 108 jffs2_dbg(2, "readpage finished\n"); in jffs2_do_readpage_nolock() 142 jffs2_dbg(1, "%s()\n", __func__); in jffs2_write_begin() 150 jffs2_dbg(1, "Writing new hole frag 0x%x-0x%x between current EOF and new position\n", in jffs2_write_begin() 195 jffs2_dbg(1, "Eep. add_full_dnode_to_inode() failed in write_begin, returned %d\n", in jffs2_write_begin() 236 jffs2_dbg(1, "end write_begin(). pg->flags %lx\n", pg->flags); in jffs2_write_begin() 261 jffs2_dbg(1, "%s(): ino #%lu, page at 0x%lx, range %d-%d, flags %lx\n", in jffs2_write_end() 282 jffs2_dbg(1, "%s(): Allocation of raw inode failed\n", in jffs2_write_end() 330 jffs2_dbg(1, "%s(): Not all bytes written. Marking page !uptodate\n", in jffs2_write_end() 336 jffs2_dbg(1, "%s() returning %d\n", in jffs2_write_end()
|
D | erase.c | 43 jffs2_dbg(1, "%s(): erase block %#08x (range %#08x-%#08x)\n", in jffs2_erase_block() 78 jffs2_dbg(1, "Erase at 0x%08x failed: %d. Refiling on erase_pending_list\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() [all …]
|
D | fs.c | 45 jffs2_dbg(1, "%s(): ino #%lu\n", __func__, inode->i_ino); in jffs2_do_setattr() 56 jffs2_dbg(1, "%s(): Writing %d bytes of kdev_t\n", in jffs2_do_setattr() 73 jffs2_dbg(1, "%s(): Writing %d bytes of symlink target\n", in jffs2_do_setattr() 244 jffs2_dbg(1, "%s(): ino #%lu mode %o\n", in jffs2_evict_inode() 261 jffs2_dbg(1, "%s(): ino == %lu\n", __func__, ino); in jffs2_iget() 331 jffs2_dbg(1, "Reading device numbers from flash\n"); in jffs2_iget() 357 jffs2_dbg(1, "jffs2_read_inode() returning\n"); in jffs2_iget() 374 jffs2_dbg(2, "%s(): not calling setattr() for ino #%lu\n", in jffs2_dirty_inode() 379 jffs2_dbg(1, "%s(): calling setattr() for ino #%lu\n", in jffs2_dirty_inode() 428 jffs2_dbg(1, "%s(): dir_i %ld, mode 0x%x\n", in jffs2_new_inode() [all …]
|
D | wbuf.c | 97 jffs2_dbg(1, "No memory to allocate inodirty. Fallback to all considered dirty\n"); in jffs2_wbuf_dirties_inode() 119 jffs2_dbg(1, "Removing eraseblock at 0x%08x from erasable_pending_wbuf_list...\n", in jffs2_refile_wbuf_blocks() 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() 143 jffs2_dbg(1, "About to refile bad block at %08x\n", jeb->offset); in jffs2_block_refile() 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() 319 jffs2_dbg(1, "No non-obsolete nodes to be recovered. Just filing block bad\n"); in jffs2_wbuf_recover() 417 jffs2_dbg(1, "Write 0x%x bytes at 0x%08x in wbuf recover\n", in jffs2_wbuf_recover() 470 jffs2_dbg(1, "Refiling block of %08x at %08x(%d) to %08x\n", in jffs2_wbuf_recover() [all …]
|
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()
|
D | dir.c | 84 jffs2_dbg(1, "jffs2_lookup()\n"); in jffs2_lookup() 127 jffs2_dbg(1, "jffs2_readdir() for dir_i #%lu\n", inode->i_ino); in jffs2_readdir() 137 jffs2_dbg(2, "Skipping dirent: \"%s\", ino #%u, type %d, because curofs %ld < offset %ld\n", in jffs2_readdir() 142 jffs2_dbg(2, "Skipping deletion dirent \"%s\"\n", in jffs2_readdir() 147 jffs2_dbg(2, "Dirent %ld: \"%s\", ino #%u, type %d\n", in jffs2_readdir() 175 jffs2_dbg(1, "%s()\n", __func__); in jffs2_create() 180 jffs2_dbg(1, "jffs2_new_inode() failed\n"); in jffs2_create() 208 jffs2_dbg(1, "%s(): Created ino #%lu with mode %o, nlink %d(%d). nrpages %ld\n", in jffs2_create() 360 jffs2_dbg(1, "%s(): symlink's target '%s' cached\n", in jffs2_symlink()
|
D | super.c | 279 jffs2_dbg(1, "jffs2_get_sb_mtd():" in jffs2_fill_super() 326 jffs2_dbg(2, "%s()\n", __func__); in jffs2_put_super() 341 jffs2_dbg(1, "%s(): returning\n", __func__); in jffs2_put_super()
|
D | debug.h | 66 #define jffs2_dbg(level, fmt, ...) \ macro
|