Lines Matching refs:NANDFS_DEBUG

42 #define NANDFS_DEBUG(fmt, args...) do { \
43 printf("NANDFS_DEBUG:" fmt "\n", ##args); } while (0)
45 #define NANDFS_DEBUG(fmt, args...)
210 NANDFS_DEBUG("reading i %d offset %d\n", i,
215 NANDFS_DEBUG("error %d\n", error);
232 NANDFS_DEBUG("magic %x wtime %jd, lastcp 0x%jx\n",
249 NANDFS_DEBUG("starting\n");
258 NANDFS_DEBUG("found at %x, volume %s\n", offset,
281 NANDFS_DEBUG("selected sb with w_time %jd last_pseg %jx\n",
305 NANDFS_DEBUG("using superblock with wtime %jd\n", fs->nf_sb->s_wtime);
355 NANDFS_DEBUG("checkpoint cp_cno=%lld\n", fs->nf_checkpoint.cp_cno);
356 NANDFS_DEBUG("checkpoint cp_inodes_count=%lld\n",
358 NANDFS_DEBUG("checkpoint cp_ifile_inode.i_blocks=%lld\n",
375 NANDFS_DEBUG("nandfs_open('%s', %p)\n", path, f);
400 NANDFS_DEBUG("fs %p nf_sectorsize=%x\n", fs, fs->nf_sectorsize);
404 NANDFS_DEBUG("Cannot mount nandfs: %s\n", strerror(err));
439 NANDFS_DEBUG("nandfs_close(%p)\n", f);
458 NANDFS_DEBUG("nandfs_read(file=%p, addr=%p, size=%d)\n", f, addr, size);
491 NANDFS_DEBUG("nandfs_seek(file=%p, offset=%lld, where=%d)\n", f,
527 NANDFS_DEBUG("nandfs_stat(file=%p, stat=%p)\n", f, sb);
544 NANDFS_DEBUG("nandfs_readdir(file=%p, dirent=%p)\n", f, d);
547 NANDFS_DEBUG("nandfs_readdir(file=%p, dirent=%p) ENOENT\n",
553 NANDFS_DEBUG("nandfs_readdir(file=%p, dirent=%p)"
558 NANDFS_DEBUG("nandfs_readdir(file=%p, dirent=%p) moving forward\n",
591 NANDFS_DEBUG("nandfs_buf_read buf_p=%p size_p=%d\n", *buf_p, *size_p);
608 NANDFS_DEBUG("nandfs_lookup_node ino=%lld\n", ino);
664 NANDFS_DEBUG("%s: looking for %s\n", __func__, strp);
676 NANDFS_DEBUG("%s: dirent.name = %s\n",
678 NANDFS_DEBUG("%s: dirent.rec_len = %d\n",
680 NANDFS_DEBUG("%s: dirent.inode = %lld\n",
710 NANDFS_DEBUG("%s: %.*s has mode %o\n", __func__,
714 NANDFS_DEBUG("%s: %.*s is symlink\n",
730 NANDFS_DEBUG("%s: symlink is %.*s\n",
744 NANDFS_DEBUG("%s: strp=%s, lpath=%s, namebuf0=%s, "
779 NANDFS_DEBUG("nandfs_read_inode fs=%p node=%p blknr=%lld nblks=%d\n",
829 NANDFS_DEBUG("nandfs_get_checkpoint(fs=%p cpno=%lld)\n", fs, cpno);
874 NANDFS_DEBUG("%s:(node=%p, map=%p)\n", __func__, node, map);
904 NANDFS_DEBUG("lblknr=%jx fs->nf_nindir[%d]=%d\n", lblknr, level, fs->nf_nindir[level]);
912 NANDFS_DEBUG("lblknr %jx too high\n", lblknr);
925 NANDFS_DEBUG("calling get_map with %jx\n", ind_block_num);
960 NANDFS_DEBUG("nandfs_vtop entrynr=%d vblocknr=%lld pblocknr=%lld\n",
1022 NANDFS_DEBUG("pos=%lld length=%d off=%d nsec=%d\n", pos, length,
1044 NANDFS_DEBUG("probing for sector size: ");
1047 NANDFS_DEBUG("%d ", i);
1052 NANDFS_DEBUG("found");
1059 NANDFS_DEBUG("not found\n");