sev
const char *sev, const char *fac)
i = find_value(sev, syslogvals);
printfmt(char *msgverb, long class, const char *label, int sev,
if ((sevname = sevinfo(sev)) != NULL)
strlcat(output, sevinfo(sev), size);
sevinfo(int sev)
switch (sev) {
fmtmsg(long class, const char *label, int sev, const char *text,
output = printfmt(msgverb, class, label, sev, text, action,
output = printfmt(DFLT_MSGVERB, class, label, sev, text,
sev();
sev();
sev();
sev();
sev();
sev();
sev();
sev();
sev();
sev();
int h = 0, sev;
sev = PCIEM_STA_FATAL_ERROR;
sev = PCIEM_STA_NON_FATAL_ERROR;
sev = PCIEM_STA_CORRECTABLE_ERROR;
pcie_apei_error(dev, sev,
uint32_t sev;
sev = ges->ErrorSeverity;
if (sev == ACPI_HEST_GEN_ERROR_FATAL)
pcie_apei_error(device_t dev, int sev, uint8_t *aerp)
if (sev == PCIEM_STA_CORRECTABLE_ERROR)
else if (sev == PCIEM_STA_NON_FATAL_ERROR)
if (sev == PCIEM_STA_CORRECTABLE_ERROR) {
if (sev != PCIEM_STA_CORRECTABLE_ERROR) {
void pcie_apei_error(device_t dev, int sev, uint8_t *aer);
aio_zvol_test(completion comp, struct sigevent *sev, bool vectored,
aio_writev_test(&ac, comp, sev);
aio_readv_test(&ac, comp, sev);
aio_write_test(&ac, comp, sev);
aio_read_test(&ac, comp, sev);
static struct sigevent sev;
sev.sigev_notify = SIGEV_SIGNAL;
sev.sigev_signo = SIGUSR1;
return (&sev);
static struct sigevent sev;
sev.sigev_notify = SIGEV_THREAD;
sev.sigev_notify_function = thr_handler;
sev.sigev_notify_attributes = NULL;
return (&sev);
static struct sigevent sev;
memset(&sev, 0, sizeof(sev));
sev.sigev_notify_kqueue = kq;
sev.sigev_value.sival_ptr = (void*)0xdeadbeef;
sev.sigev_notify = SIGEV_KEVENT;
return (&sev);
aio_write_test(struct aio_context *ac, completion comp, struct sigevent *sev)
if (sev)
aio.aio_sigevent = *sev;
aio_writev_test(struct aio_context *ac, completion comp, struct sigevent *sev)
if (sev)
aio.aio_sigevent = *sev;
aio_read_test(struct aio_context *ac, completion comp, struct sigevent *sev)
if (sev)
aio.aio_sigevent = *sev;
aio_readv_test(struct aio_context *ac, completion comp, struct sigevent *sev)
if (sev)
aio.aio_sigevent = *sev;
aio_file_test(completion comp, struct sigevent *sev, bool vectored)
aio_writev_test(&ac, comp, sev);
aio_readv_test(&ac, comp, sev);
aio_write_test(&ac, comp, sev);
aio_read_test(&ac, comp, sev);
aio_fifo_test(completion comp, struct sigevent *sev)
aio_write_test(&ac, comp, sev);
aio_read_test(&ac, comp, sev);
aio_unix_socketpair_test(completion comp, struct sigevent *sev, bool vectored)
aio_writev_test(&ac, comp, sev);
aio_readv_test(&ac, comp, sev);
aio_write_test(&ac, comp, sev);
aio_read_test(&ac, comp, sev);
aio_pty_test(completion comp, struct sigevent *sev)
aio_write_test(&ac, comp, sev);
aio_read_test(&ac, comp, sev);
aio_pipe_test(completion comp, struct sigevent *sev)
aio_write_test(&ac, comp, sev);
aio_read_test(&ac, comp, sev);
aio_md_test(completion comp, struct sigevent *sev, bool vectored)
aio_writev_test(&ac, comp, sev);
aio_readv_test(&ac, comp, sev);
aio_write_test(&ac, comp, sev);
aio_read_test(&ac, comp, sev);
sev[i].sigev_notify_kqueue = kq;
sev[i].sigev_value.sival_ptr = udata[i];
ATF_REQUIRE_EQ(0, lio_listio(LIO_NOWAIT, list[0], ios_per_call, &sev[0]));
ATF_REQUIRE_EQ(-1, lio_listio(LIO_NOWAIT, list[1], ios_per_call, &sev[1]));
struct sigevent sev;
sev.sigev_notify = SIGEV_KEVENT;
sev.sigev_notify_kqueue = kq;
sev.sigev_value.sival_ptr = udata;
ATF_REQUIRE_EQ(0, lio_listio(LIO_NOWAIT, &list, 0, &sev));
struct sigevent sev;
sev.sigev_notify = SIGEV_SIGNAL;
sev.sigev_signo = SIGUSR1;
ATF_REQUIRE_EQ(0, lio_listio(LIO_NOWAIT, &list, 0, &sev));
struct sigevent sev;
bzero(&sev, sizeof(sev));
sev.sigev_notify = SIGEV_THREAD;
sev.sigev_notify_function = thr_handler;
sev.sigev_notify_attributes = NULL;
ATF_REQUIRE_MSG(0 == lio_listio(LIO_NOWAIT, &list, 0, &sev),
struct sigevent sev[2];
sev[i].sigev_notify = SIGEV_KEVENT;