|
|
| version 1.309, 2006/12/01 14:40:07 | version 1.310, 2006/12/04 02:51:02 |
|---|---|
| Line 2414 kdbm_iomap(int argc, const char **argv) | Line 2414 kdbm_iomap(int argc, const char **argv) |
| kdb_printf("iomap_t at 0x%lx\n", addr); | kdb_printf("iomap_t at 0x%lx\n", addr); |
| kdb_printf(" bn 0x%llx offset 0x%Lx delta 0x%lx bsize 0x%llx\n", | kdb_printf(" bn 0x%llx offset 0x%Lx delta 0x%lx bsize 0x%llx\n", |
| (long long) iomap.iomap_bn, iomap.iomap_offset, | (long long) iomap.iomap_bn, (long long)iomap.iomap_offset, |
| (unsigned long)iomap.iomap_delta, (long long)iomap.iomap_bsize); | (unsigned long)iomap.iomap_delta, (long long)iomap.iomap_bsize); |
| kdb_printf(" iomap_flags %s\n", | kdb_printf(" iomap_flags %s\n", |
| map_flags(iomap.iomap_flags, iomap_flag_vals)); | map_flags(iomap.iomap_flags, iomap_flag_vals)); |
| Line 3204 xfs_broot(xfs_inode_t *ip, xfs_ifork_t * | Line 3204 xfs_broot(xfs_inode_t *ip, xfs_ifork_t * |
| pp = XFS_BMAP_BROOT_PTR_ADDR(broot, 1, f->if_broot_bytes); | pp = XFS_BMAP_BROOT_PTR_ADDR(broot, 1, f->if_broot_bytes); |
| for (i = 1; i <= be16_to_cpu(broot->bb_numrecs); i++) | for (i = 1; i <= be16_to_cpu(broot->bb_numrecs); i++) |
| kdb_printf("\t%d: startoff %Ld ptr %Lx %s\n", | kdb_printf("\t%d: startoff %Ld ptr %Lx %s\n", |
| i, INT_GET(kp[i - 1].br_startoff, ARCH_CONVERT), INT_GET(pp[i - 1], ARCH_CONVERT), | i, (long long)INT_GET(kp[i - 1].br_startoff, ARCH_CONVERT), |
| (unsigned long long)INT_GET(pp[i - 1], ARCH_CONVERT), | |
| xfs_fmtfsblock(INT_GET(pp[i - 1], ARCH_CONVERT), ip->i_mount)); | xfs_fmtfsblock(INT_GET(pp[i - 1], ARCH_CONVERT), ip->i_mount)); |
| } | } |
| Line 3263 xfs_btbmap(xfs_bmbt_block_t *bt, int bsz | Line 3264 xfs_btbmap(xfs_bmbt_block_t *bt, int bsz |
| be32_to_cpu(bt->bb_magic), | be32_to_cpu(bt->bb_magic), |
| be16_to_cpu(bt->bb_level), | be16_to_cpu(bt->bb_level), |
| be16_to_cpu(bt->bb_numrecs), | be16_to_cpu(bt->bb_numrecs), |
| be64_to_cpu(bt->bb_leftsib), | (unsigned long long)be64_to_cpu(bt->bb_leftsib), |
| be64_to_cpu(bt->bb_rightsib)); | (unsigned long long)be64_to_cpu(bt->bb_rightsib)); |
| if (!bt->bb_level) { | if (!bt->bb_level) { |
| for (i = 1; i <= be16_to_cpu(bt->bb_numrecs); i++) { | for (i = 1; i <= be16_to_cpu(bt->bb_numrecs); i++) { |
| xfs_bmbt_rec_t *r; | xfs_bmbt_rec_t *r; |
| Line 3289 xfs_btbmap(xfs_bmbt_block_t *bt, int bsz | Line 3290 xfs_btbmap(xfs_bmbt_block_t *bt, int bsz |
| k = XFS_BTREE_KEY_ADDR(bsz, xfs_bmbt, bt, i, mxr); | k = XFS_BTREE_KEY_ADDR(bsz, xfs_bmbt, bt, i, mxr); |
| p = XFS_BTREE_PTR_ADDR(bsz, xfs_bmbt, bt, i, mxr); | p = XFS_BTREE_PTR_ADDR(bsz, xfs_bmbt, bt, i, mxr); |
| kdb_printf("key %d startoff %Ld ", | kdb_printf("key %d startoff %Ld ", i, |
| i, INT_GET(k->br_startoff, ARCH_CONVERT)); | (unsigned long long)INT_GET(k->br_startoff, ARCH_CONVERT)); |
| kdb_printf("ptr %Lx\n", INT_GET(*p, ARCH_CONVERT)); | kdb_printf("ptr %Lx\n", |
| (unsigned long long)INT_GET(*p, ARCH_CONVERT)); | |
| } | } |
| } | } |
| } | } |
| Line 3318 xfs_btino(xfs_inobt_block_t *bt, int bsz | Line 3320 xfs_btino(xfs_inobt_block_t *bt, int bsz |
| kdb_printf("rec %d startino 0x%x freecount %d, free %Lx\n", | kdb_printf("rec %d startino 0x%x freecount %d, free %Lx\n", |
| i, INT_GET(r->ir_startino, ARCH_CONVERT), | i, INT_GET(r->ir_startino, ARCH_CONVERT), |
| INT_GET(r->ir_freecount, ARCH_CONVERT), | INT_GET(r->ir_freecount, ARCH_CONVERT), |
| INT_GET(r->ir_free, ARCH_CONVERT)); | (unsigned long long)INT_GET(r->ir_free, ARCH_CONVERT)); |
| } | } |
| } else { | } else { |
| int mxr; | int mxr; |
| Line 6838 xfsidbg_xqm_diskdq(xfs_disk_dquot_t *d) | Line 6840 xfsidbg_xqm_diskdq(xfs_disk_dquot_t *d) |
| be16_to_cpu(d->d_magic), d->d_version, | be16_to_cpu(d->d_magic), d->d_version, |
| be32_to_cpu(d->d_id), be32_to_cpu(d->d_id)); | be32_to_cpu(d->d_id), be32_to_cpu(d->d_id)); |
| kdb_printf("bhard 0x%llx\tbsoft 0x%llx\tihard 0x%llx\tisoft 0x%llx\n", | kdb_printf("bhard 0x%llx\tbsoft 0x%llx\tihard 0x%llx\tisoft 0x%llx\n", |
| be64_to_cpu(d->d_blk_hardlimit), | (unsigned long long)be64_to_cpu(d->d_blk_hardlimit), |
| be64_to_cpu(d->d_blk_softlimit), | (unsigned long long)be64_to_cpu(d->d_blk_softlimit), |
| be64_to_cpu(d->d_ino_hardlimit), | (unsigned long long)be64_to_cpu(d->d_ino_hardlimit), |
| be64_to_cpu(d->d_ino_softlimit)); | (unsigned long long)be64_to_cpu(d->d_ino_softlimit)); |
| kdb_printf("bcount 0x%llx icount 0x%llx\n", | kdb_printf("bcount 0x%llx icount 0x%llx\n", |
| be64_to_cpu(d->d_bcount), | (unsigned long long)be64_to_cpu(d->d_bcount), |
| be64_to_cpu(d->d_icount)); | (unsigned long long)be64_to_cpu(d->d_icount)); |
| kdb_printf("btimer 0x%x itimer 0x%x \n", | kdb_printf("btimer 0x%x itimer 0x%x \n", |
| be32_to_cpu(d->d_btimer), | be32_to_cpu(d->d_btimer), |
| be32_to_cpu(d->d_itimer)); | be32_to_cpu(d->d_itimer)); |