Home
last modified time | relevance | path

Searched refs:ev_queue (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/infiniband/core/
H A Duverbs_main.c150 spin_lock_irq(&ev_file->ev_queue.lock); in ib_uverbs_release_ucq()
155 spin_unlock_irq(&ev_file->ev_queue.lock); in ib_uverbs_release_ucq()
171 spin_lock_irq(&async_file->ev_queue.lock); in ib_uverbs_release_uevent()
176 spin_unlock_irq(&async_file->ev_queue.lock); in ib_uverbs_release_uevent()
228 static ssize_t ib_uverbs_event_read(struct ib_uverbs_event_queue *ev_queue, in ib_uverbs_event_read() argument
236 spin_lock_irq(&ev_queue->lock); in ib_uverbs_event_read()
238 while (list_empty(&ev_queue->event_list)) { in ib_uverbs_event_read()
239 if (ev_queue->is_closed) { in ib_uverbs_event_read()
240 spin_unlock_irq(&ev_queue->lock); in ib_uverbs_event_read()
244 spin_unlock_irq(&ev_queue in ib_uverbs_event_read()
303 ib_uverbs_event_poll(struct ib_uverbs_event_queue * ev_queue,struct file * filp,struct poll_table_struct * wait) ib_uverbs_event_poll() argument
371 struct ib_uverbs_event_queue *ev_queue = cq_context; ib_uverbs_comp_handler() local
481 ib_uverbs_init_event_queue(struct ib_uverbs_event_queue * ev_queue) ib_uverbs_init_event_queue() argument
[all...]
H A Duverbs_std_types_cq.c43 struct ib_uverbs_event_queue *ev_queue = cq->cq_context; in uverbs_free_cq() local
53 ev_queue ? container_of(ev_queue, in uverbs_free_cq()
55 ev_queue) : in uverbs_free_cq()
188 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in UVERBS_HANDLER()
H A Duverbs.h127 struct ib_uverbs_event_queue ev_queue; member
133 struct ib_uverbs_event_queue ev_queue; member
190 void ib_uverbs_init_event_queue(struct ib_uverbs_event_queue *ev_queue);
H A Duverbs_std_types_async_fd.c55 ib_uverbs_free_event_queue(&event_file->ev_queue); in uverbs_async_event_release()
H A Duverbs_std_types.c165 ib_uverbs_free_event_queue(&file->ev_queue); in uverbs_completion_event_file_destroy_uobj()
H A Duverbs_cmd.c1014 ib_uverbs_init_event_queue(&ev_file->ev_queue); in ib_uverbs_create_comp_channel()
1065 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in create_cq()
/linux/drivers/net/fddi/skfp/
H A Dqueue.c28 smc->q.ev_put = smc->q.ev_get = smc->q.ev_queue ; in ev_init()
39 if (++smc->q.ev_put == &smc->q.ev_queue[MAX_EVENT]) in queue_event()
40 smc->q.ev_put = smc->q.ev_queue ; in queue_event()
104 if (++ev == &smc->q.ev_queue[MAX_EVENT]) in ev_dispatcher()
105 ev = smc->q.ev_queue ; in ev_dispatcher()
/linux/drivers/net/fddi/skfp/h/
H A Dsmc.h74 struct event_queue ev_queue[MAX_EVENT]; member