table of contents
CXL_WORK_ALLOC(3) | CXL Programmer's Manual | CXL_WORK_ALLOC(3) |
NAME¶
cxl_work_alloc - allocate and initialize a work structureSYNOPSIS¶
#include <libcxl.h>struct cxl_ioctl_start_work *cxl_work_alloc();
DESCRIPTION¶
cxl_work_alloc() allocates, initializes, and returns a pointer to a work structure, that can be populated and passed to cxl_afu_attach_work().RETURN VALUE¶
On success, a pointer to the allocated structure is returned. On error, NULL is returned and errno is set appropriately.ERRORS¶
- ENOMEM
- Not enough memory.
SEE ALSO¶
cxl(3), cxl_afu_attach_work(3), cxl_work_free(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)2016-05-25 | LIBCXL 1.4 |