table of contents
other versions
CXL_WORK_FREE(3) | CXL Programmer's Manual | CXL_WORK_FREE(3) |
NAME¶
cxl_work_get_free - free a work structure
SYNOPSIS¶
#include <libcxl.h>
int cxl_work_free(struct cxl_ioctl_start_work *work);
DESCRIPTION¶
cxl_work_free() frees the work structure allocated by cxl_work_alloc().
RETURN VALUE¶
On success, 0 is returned. On error, -1 is returned and errno is set appropriately.
ERRORS¶
- EINVAL
- Invalid argument value.
SEE ALSO¶
cxl(3), cxl_afu_attach_work(3), cxl_work_alloc(3), cxl_work_get_amr(3), cxl_work_get_num_irqs(3), cxl_work_get_wed(3), cxl_work_set_amr(3), cxl_work_set_num_irqs(3), cxl_work_set_wed(3)
2017-05-24 | LIBCXL 1.5 |