Lines Matching refs:ew

3132 	struct ib_event_work *ew =  in handle_bonded_port_state_event()  local
3134 struct mlx4_ib_dev *ibdev = ew->ib_dev; in handle_bonded_port_state_event()
3139 kfree(ew); in handle_bonded_port_state_event()
3182 struct ib_event_work *ew = container_of(work, struct ib_event_work, work); in ib_sl2vl_update_work() local
3183 struct mlx4_ib_dev *mdev = ew->ib_dev; in ib_sl2vl_update_work()
3184 int port = ew->port; in ib_sl2vl_update_work()
3188 kfree(ew); in ib_sl2vl_update_work()
3194 struct ib_event_work *ew; in mlx4_sched_ib_sl2vl_update_work() local
3196 ew = kmalloc(sizeof(*ew), GFP_ATOMIC); in mlx4_sched_ib_sl2vl_update_work()
3197 if (ew) { in mlx4_sched_ib_sl2vl_update_work()
3198 INIT_WORK(&ew->work, ib_sl2vl_update_work); in mlx4_sched_ib_sl2vl_update_work()
3199 ew->port = port; in mlx4_sched_ib_sl2vl_update_work()
3200 ew->ib_dev = ibdev; in mlx4_sched_ib_sl2vl_update_work()
3201 queue_work(wq, &ew->work); in mlx4_sched_ib_sl2vl_update_work()
3213 struct ib_event_work *ew; in mlx4_ib_event() local
3219 ew = kmalloc(sizeof(*ew), GFP_ATOMIC); in mlx4_ib_event()
3220 if (!ew) in mlx4_ib_event()
3222 INIT_WORK(&ew->work, handle_bonded_port_state_event); in mlx4_ib_event()
3223 ew->ib_dev = ibdev; in mlx4_ib_event()
3224 queue_work(wq, &ew->work); in mlx4_ib_event()
3268 ew = kmalloc(sizeof *ew, GFP_ATOMIC); in mlx4_ib_event()
3269 if (!ew) in mlx4_ib_event()
3272 INIT_WORK(&ew->work, handle_port_mgmt_change_event); in mlx4_ib_event()
3273 memcpy(&ew->ib_eqe, eqe, sizeof *eqe); in mlx4_ib_event()
3274 ew->ib_dev = ibdev; in mlx4_ib_event()
3277 queue_work(wq, &ew->work); in mlx4_ib_event()
3279 handle_port_mgmt_change_event(&ew->work); in mlx4_ib_event()