fsckpt_getqlimit, fsckpt_setqlimit - set or get Storage Checkpoint quota limits
int fsckpt_setqlimit(void *fshandle, vx_daddr_t hardlimit, vx_daddr_t softlimit, int flags)
int fsckpt_getqlimit(void *fshandle, vx_daddr_t *hardlimit, vx_daddr_t *softlimit, vx_daddr_t *curused, int flags)
fsckpt_setqlimit() sets hard and soft quota limits. Action flags can also be set for quota violations. Specify hardlimit and softlimit in kilobytes.
fsckpt_getqlimit() returns hardlimit, softlimit, current usage, and any flags set using fsckpt_setqlimit()
No new Storage Checkpoint creation allowed when usage exceeds the soft limit.
Fail the operation instead of removing removable Storage Checkpoints. Existing Storage Checkpoints are preserved.
fsckpt_setqlimit() and fsckpt_getqlimit() return zero on success, non-zero on failure.
The function is being used incorrectly, or the arguments to the function could not be validated.
An I/O error occurred on the device on which the file system or Storage Checkpoint is mounted.
The feature is unsupported for this disk layout version.
The calling process does not have correct access privileges.
fsckptadm(1M), fsckpt_setquota(3)