Searched refs:nr_events (Results 1 – 6 of 6) sorted by relevance
/drivers/s390/net/ |
D | fsm.c | 16 int nr_events, const fsm_node *tmpl, int tmpl_len, gfp_t order) in init_fsm() argument 38 f->nr_events = nr_events; in init_fsm() 44 m = kcalloc(nr_states*nr_events, sizeof(fsm_function_t), order); in init_fsm() 55 (tmpl[i].cond_event >= nr_events) ) { in init_fsm() 59 (long)tmpl[i].cond_event, (long)f->nr_events); in init_fsm()
|
D | fsm.h | 44 int nr_events; member 110 int nr_states, int nr_events, const fsm_node *tmpl, 148 (event >= fi->f->nr_events) ) { in fsm_event() 151 (long)fi->f->nr_events); in fsm_event()
|
/drivers/infiniband/hw/ehca/ |
D | ehca_irq.c | 212 atomic_inc(&qp->nr_events); in qp_event_callback() 232 if (atomic_dec_and_test(&qp->nr_events)) in qp_event_callback() 246 atomic_inc(&cq->nr_events); in cq_event_callback() 254 if (atomic_dec_and_test(&cq->nr_events)) in cq_event_callback() 524 atomic_inc(&cq->nr_events); in process_eqe() 537 if (atomic_dec_and_test(&cq->nr_events)) in process_eqe() 585 atomic_inc(&eqe_cache[eqe_cnt].cq->nr_events); in ehca_process_eq() 628 if (atomic_dec_and_test(&cq->nr_events)) in ehca_process_eq() 731 if (atomic_dec_and_test(&cq->nr_events)) in run_comp_task()
|
D | ehca_classes.h | 223 atomic_t nr_events; /* events seen */ member 251 atomic_t nr_events; /* #events seen */ member
|
D | ehca_cq.c | 156 atomic_set(&my_cq->nr_events, 0); in ehca_create_cq() 352 wait_event(my_cq->wait_completion, !atomic_read(&my_cq->nr_events)); in ehca_destroy_cq()
|
D | ehca_qp.c | 622 atomic_set(&my_qp->nr_events, 0); in internal_create_qp() 2178 wait_event(my_qp->wait_completion, !atomic_read(&my_qp->nr_events)); in internal_destroy_qp()
|