Lines Matching refs:inode

83 dump_data_stream(const bfs_inode *inode, const data_stream *stream, bool showOffsets)
101 offset += stream->direct[i].length * inode->inode_size;
125 dump_inode(const Inode *nameNode, const bfs_inode *inode, bool showOffsets)
128 Print("inode \"%s\":\n", nameNode->Name());
130 Print("inode:\n");
132 Print(" magic1 = %08" B_PRIx32 " (%s) %s\n",inode->magic1,
133 get_tupel(inode->magic1),
134 (inode->magic1 == INODE_MAGIC1 ? "valid" : "INVALID"));
135 dump_block_run( " inode_num = ",inode->inode_num);
136 Print(" uid = %" B_PRIu32 "\n",inode->uid);
137 Print(" gid = %" B_PRIu32 "\n",inode->gid);
138 Print(" mode = %10" B_PRIo32 " (octal)\n",inode->mode);
139 Print(" flags = %08" B_PRIx32 "\n",inode->flags);
142 time = (time_t)(inode->create_time >> 16);
144 time = (time_t)(inode->last_modified_time >> 16);
147 dump_block_run( " parent = ",inode->parent);
148 dump_block_run( " attributes = ",inode->attributes);
149 Print(" type = %" B_PRIu32 "\n",inode->type);
150 Print(" inode_size = %" B_PRId32 "\n",inode->inode_size);
151 Print(" etc = %#08" B_PRIx32 "\n",inode->etc);
153 S_ISLNK(inode->mode) && (inode->flags & INODE_LONG_SYMLINK) == 0
154 ? inode->short_symlink : "-");
156 dump_data_stream(inode, &inode->data, showOffsets);
159 Print(" --\n pad[0] = %08lx\n", inode->pad[0]);
160 Print(" pad[1] = %08lx\n", inode->pad[1]);
161 Print(" pad[2] = %08lx\n", inode->pad[2]);
162 Print(" pad[3] = %08lx\n", inode->pad[3]);
168 dump_small_data(Inode *inode)
170 if (inode == NULL || inode->InodeBuffer() == NULL)
176 inode->InodeBuffer()->inode_size - sizeof(struct bfs_inode));
178 while (inode->GetNextSmallData(&item) == B_OK) {