Set compresssion off for a flash filesystem
#include <sys/dcmd_f3s.h> #define DCMD_F3S_CLRCMP __DIOT(_DCMD_F3S, F3S_CLRCMP, f3s_cmdcmp_t)
Argument | Value |
---|---|
filedes | A file descriptor that you obtained by opening the device. |
dcmd | DCMD_F3S_CLRCMP |
dev_data_ptr | A pointer to a f3s_cmdcmp_t structure (see below) |
n_bytes | sizeof(f3s_cmdcmp_t) |
dev_info_ptr | NULL |
This command sets compression off for a flash filesystem.
A f3s_cmdcmp_t structure:
typedef struct f3s_cmdcmp_s { uint32_t status; /* cmdcmp status */ uint32_t cmp_flag; /* compression flag */ } f3s_cmdcmp_t;
Set the fields to 0.
None.