Home
last modified time | relevance | path

Searched refs:ev (Results 1 – 5 of 5) sorted by relevance

/spdk/lib/notify/
H A Dnotify.c88 struct spdk_notify_event *ev; in spdk_notify_send() local
94 ev = &g_events[head % SPDK_NOTIFY_MAX_EVENTS]; in spdk_notify_send()
95 spdk_strcpy_pad(ev->type, type, sizeof(ev->type), '\0'); in spdk_notify_send()
96 spdk_strcpy_pad(ev->ctx, ctx, sizeof(ev->ctx), '\0'); in spdk_notify_send()
H A Dnotify_rpc.c57 notify_get_notifications_cb(uint64_t id, const struct spdk_notify_event *ev, void *ctx) in notify_get_notifications_cb() argument
62 spdk_json_write_named_string(req->w, "type", ev->type); in notify_get_notifications_cb()
63 spdk_json_write_named_string(req->w, "ctx", ev->ctx); in notify_get_notifications_cb()
/spdk/module/bdev/daos/
H A Dbdev_daos.c32 daos_event_t ev; member
252 if ((rc = daos_event_init(&task->ev, ch->queue, NULL))) { in bdev_daos_writev()
267 if ((rc = dfs_write(ch->dfs, ch->obj, &task->sgl, offset, &task->ev))) { in bdev_daos_writev()
270 daos_event_fini(&task->ev); in bdev_daos_writev()
298 if ((rc = daos_event_init(&task->ev, ch->queue, NULL))) { in bdev_daos_readv()
313 if ((rc = dfs_read(ch->dfs, ch->obj, &task->sgl, offset, &task->read_size, &task->ev))) { in bdev_daos_readv()
316 daos_event_fini(&task->ev); in bdev_daos_readv()
520 struct bdev_daos_task *task = SPDK_CONTAINEROF(evp[i], struct bdev_daos_task, ev); in bdev_daos_channel_poll()
524 if (task->ev.ev_error != DER_SUCCESS) { in bdev_daos_channel_poll()
525 status = -task->ev.ev_error; in bdev_daos_channel_poll()
[all …]
/spdk/module/bdev/virtio/
H A Dbdev_virtio_scsi.c91 struct virtio_scsi_event ev; member
253 eventq_io->iov.iov_base = &eventq_io->ev; in virtio_scsi_dev_init()
254 eventq_io->iov.iov_len = sizeof(eventq_io->ev); in virtio_scsi_dev_init()
857 struct virtio_scsi_event *ev = &io->ev; in bdev_virtio_eventq_io_cpl() local
860 if (ev->lun[0] != 1) { in bdev_virtio_eventq_io_cpl()
865 if (ev->event & VIRTIO_SCSI_T_EVENTS_MISSED) { in bdev_virtio_eventq_io_cpl()
866 ev->event &= ~VIRTIO_SCSI_T_EVENTS_MISSED; in bdev_virtio_eventq_io_cpl()
870 switch (ev->event) { in bdev_virtio_eventq_io_cpl()
874 switch (ev in bdev_virtio_eventq_io_cpl()
[all...]
/spdk/lib/event/
H A Dreactor.c390 struct spdk_event *ev; in _reactor_set_interrupt_mode()
392 ev = spdk_event_allocate(lcore, fn, arg1, arg2); in _reactor_set_interrupt_mode()
393 assert(ev); in _reactor_set_interrupt_mode()
394 spdk_event_call(ev); in _reactor_set_interrupt_mode()
341 struct spdk_event *ev; _event_call() local