Lines Matching refs:inode
74 #include "inode.h"
90 s64 inode; /* Info for this inode */
136 " -i, --inode NUM Display information about this inode\n"
166 { "inode", required_argument, NULL, 'i' },
184 opts.inode = -1;
196 if ((opts.inode != -1) ||
197 (!utils_parse_size(optarg, &opts.inode, FALSE))) {
203 /* The inode can not be resolved here,
280 if (opts.inode == -1 && !opts.filename && !opts.mft) {
282 ntfs_log_error("You must specify an inode to "
293 if ((opts.inode != -1) && (opts.filename != NULL)) {
295 ntfs_log_error("You may not specify --inode "
1150 * dump the name of the volume the inode belongs to
1181 * dump the information for the volume the inode belongs to
1254 u64 inode;
1256 inode = ni->mft_no;
1258 inode = ni->base_ni->mft_no;
1259 if (FILE_Secure != inode)
2013 __attribute__((unused)), ntfs_inode *inode)
2024 reparse = ntfs_attr_readall(inode, AT_REPARSE_POINT,
2273 static void ntfs_dump_inode_general_info(ntfs_inode *inode)
2275 MFT_RECORD *mrec = inode->mrec;
2279 (long long)inode->mft_no,
2280 (unsigned long long)inode->mft_no);
2348 static void ntfs_dump_file_attributes(ntfs_inode *inode)
2357 ctx = ntfs_attr_get_search_ctx(inode, NULL);
2368 ntfs_dump_attribute_header(ctx, inode->vol, &runcount);
2375 ntfs_dump_attr_list(ctx->attr, inode->vol);
2381 ntfs_dump_attr_object_id(ctx->attr, inode->vol);
2385 inode->vol);
2394 ntfs_dump_attr_data(ctx->attr, inode);
2397 ntfs_dump_attr_index_root(ctx->attr, inode);
2400 ntfs_dump_attr_index_allocation(ctx->attr, inode);
2406 ntfs_dump_attr_reparse_point(ctx->attr, inode);
2412 ntfs_dump_attr_ea(ctx->attr, inode->vol);
2418 ntfs_dump_attr_logged_utility_stream(ctx->attr, inode);
2430 printf("End of inode reached\n");
2439 ntfs_inode_close(inode);
2481 if ((opts.inode != -1) || opts.filename) {
2482 ntfs_inode *inode;
2483 /* obtain the inode */
2490 inode = ntfs_pathname_to_inode(vol, NULL,
2494 inode = (ntfs_inode*)NULL;
2496 inode = ntfs_pathname_to_inode(vol, NULL,
2500 inode = ntfs_inode_open(vol, MK_MREF(opts.inode, 0));
2503 /* dump the inode information */
2504 if (inode) {
2505 /* general info about the inode's mft record */
2506 ntfs_dump_inode_general_info(inode);
2508 ntfs_dump_file_attributes(inode);
2510 /* can't open inode */
2512 * note: when the specified inode does not exist, either