DOKK / manpages / debian 10 / libcxl-dev / cxl_work_get_num_irqs.3.en
CXL_WORK_GET_NUM_IRQS(3) CXL Programmer's Manual CXL_WORK_GET_NUM_IRQS(3)

cxl_work_get_num_irqs - get the number of interrupts requested

#include <libcxl.h>

int cxl_work_get_num_irqs(struct cxl_ioctl_start_work *work, __s16 *valp);

cxl_work_get_num_irqs() copies the requested number of interrupts from work to the short integer pointed to by valp.

On success, 0 is returned. On error, -1 is returned and errno is set appropriately.

Invalid argument value.

cxl(3), cxl_afu_attach_work(3), cxl_work_alloc(3), cxl_work_free(3), cxl_work_get_amr(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