#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include <inttypes.h>
Go to the source code of this file.
◆ LFS_ASSERT
#define LFS_ASSERT |
( |
| test | ) |
|
◆ LFS_DEBUG
◆ LFS_ERROR
◆ LFS_NO_ASSERT
◆ LFS_NO_DEBUG
◆ LFS_NO_ERROR
◆ LFS_NO_MALLOC
◆ LFS_NO_WARN
◆ LFS_STRINGIZE
#define LFS_STRINGIZE |
( |
| x | ) |
|
Value:
#define LFS_STRINGIZE2(x)
Definition lfs_util.h:24
◆ LFS_STRINGIZE2
#define LFS_STRINGIZE2 |
( |
| x | ) |
|
◆ LFS_TRACE
◆ LFS_WARN
◆ lfs_aligndown()
static uint32_t lfs_aligndown |
( |
uint32_t | a, |
|
|
uint32_t | alignment ) |
|
inlinestatic |
◆ lfs_alignup()
static uint32_t lfs_alignup |
( |
uint32_t | a, |
|
|
uint32_t | alignment ) |
|
inlinestatic |
◆ lfs_crc()
uint32_t lfs_crc |
( |
uint32_t | crc, |
|
|
const void * | buffer, |
|
|
size_t | size ) |
◆ lfs_ctz()
static uint32_t lfs_ctz |
( |
uint32_t | a | ) |
|
|
inlinestatic |
◆ lfs_free()
static void lfs_free |
( |
void * | p | ) |
|
|
inlinestatic |
◆ lfs_frombe32()
static uint32_t lfs_frombe32 |
( |
uint32_t | a | ) |
|
|
inlinestatic |
◆ lfs_fromle32()
static uint32_t lfs_fromle32 |
( |
uint32_t | a | ) |
|
|
inlinestatic |
◆ lfs_malloc()
static void * lfs_malloc |
( |
size_t | size | ) |
|
|
inlinestatic |
◆ lfs_max()
static uint32_t lfs_max |
( |
uint32_t | a, |
|
|
uint32_t | b ) |
|
inlinestatic |
◆ lfs_min()
static uint32_t lfs_min |
( |
uint32_t | a, |
|
|
uint32_t | b ) |
|
inlinestatic |
◆ lfs_npw2()
static uint32_t lfs_npw2 |
( |
uint32_t | a | ) |
|
|
inlinestatic |
◆ lfs_popc()
static uint32_t lfs_popc |
( |
uint32_t | a | ) |
|
|
inlinestatic |
◆ lfs_scmp()
static int lfs_scmp |
( |
uint32_t | a, |
|
|
uint32_t | b ) |
|
inlinestatic |
◆ lfs_tobe32()
static uint32_t lfs_tobe32 |
( |
uint32_t | a | ) |
|
|
inlinestatic |
◆ lfs_tole32()
static uint32_t lfs_tole32 |
( |
uint32_t | a | ) |
|
|
inlinestatic |