Lines Matching defs:info
30 struct event_info *info;
32 info = kmalloc(sizeof(*info), GFP_ATOMIC);
33 if (!info)
36 info->event_type = event_type;
37 info->p_slot = p_slot;
38 INIT_WORK(&info->work, interrupt_event_handler);
40 queue_work(p_slot->wq, &info->work);
389 struct pushbutton_work_info *info =
391 struct slot *p_slot = info->p_slot;
413 kfree(info);
419 struct pushbutton_work_info *info;
421 info = kmalloc(sizeof(*info), GFP_KERNEL);
422 if (!info) {
427 info->p_slot = p_slot;
428 INIT_WORK(&info->work, shpchp_pushbutton_thread);
439 kfree(info);
442 queue_work(p_slot->wq, &info->work);
519 struct event_info *info = container_of(work, struct event_info, work);
520 struct slot *p_slot = info->p_slot;
523 switch (info->event_type) {
538 kfree(info);
569 /* We have to save the presence info for these slots */