Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/ext2fs/ext2fs.h
Context not available. | |||||
/* | /* | ||||
* Macro-instructions used to manage several block sizes | * Macro-instructions used to manage several block sizes | ||||
*/ | */ | ||||
#define EXT2_MAX_BLOCK_SIZE 4096 | |||||
#define EXT2_MIN_BLOCK_LOG_SIZE 10 | #define EXT2_MIN_BLOCK_LOG_SIZE 10 | ||||
#define EXT2_BLOCK_SIZE(s) ((s)->e2fs_bsize) | #define EXT2_BLOCK_SIZE(s) ((s)->e2fs_bsize) | ||||
#define EXT2_ADDR_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof(uint32_t)) | #define EXT2_ADDR_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof(uint32_t)) | ||||
Context not available. |