The Sleuth Kit  4.12.1
Macros | Functions
btrfs.cpp File Reference

Contains the internal TSK Btrfs file system functions. More...

#include "tsk_fs_i.h"
#include "tsk_btrfs.h"
#include <cassert>

Macros

#define BTRFS_CHECK_TREENODE_CSUM
 
#define btrfs_debug(format, ...)   do { if (BTRFS_DEBUG_PRINT) tsk_fprintf(stderr, "[btrfs] " format, ##__VA_ARGS__); } while (0)
 
#define BTRFS_DEBUG_PRINT   0
 
#define BTRFS_TREENODE_CACHE_SIZE   50
 
#define BTRFS_TYPE2NAMETYPE_COUNT   8
 
#define MIN(a, b)   (((a)<(b))?(a):(b))
 

Functions

TSK_FS_INFObtrfs_open (TSK_IMG_INFO *img_info, TSK_OFF_T offset, TSK_FS_TYPE_ENUM ftype, [[maybe_unused]] const char *pass, uint8_t test)
 Tries to open a Btrfs filesystem. More...
 

Detailed Description

Contains the internal TSK Btrfs file system functions.

Function Documentation

TSK_FS_INFO* btrfs_open ( TSK_IMG_INFO img_info,
TSK_OFF_T  offset,
TSK_FS_TYPE_ENUM  ftype,
[[maybe_unused] ] const char *  pass,
uint8_t  test 
)

Copyright © 2007-2020 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.