Provide runtime control of reclaims
#include <sys/dcmd_f3s.h> #define DCMD_F3S_RECLAIMCTL __DIOTF(_DCMD_F3S, F3S_RECLAIMCTL, f3s_reclaimctl_t)
Argument | Value |
---|---|
filedes | A file descriptor that you obtained by opening the device. |
dcmd | DCMD_F3S_RECLAIMCTL |
dev_data_ptr | A pointer to a f3s_reclaimctl_t structure (see below) |
n_bytes | sizeof(f3s_reclaimctl_t) |
dev_info_ptr | NULL |
This command provides runtime control of reclaim operations.
A f3s_reclaimctl_t structure:
typedef struct f3s_reclaimctl_s { int16_t super_count; int16_t stale_percent; int16_t reclaim_enable; int16_t reserved; /* To pad the structure */ }f3s_reclaimctl_t;
The members include:
A f3s_reclaimctl_t structure that's filled in by the driver with the old settings.
devctl() in the QNX Neutrino C Library Reference