Lines Matching refs:event_data
344 struct ibmasmfs_event_data *event_data; in event_file_open() local
352 event_data = kmalloc(sizeof(struct ibmasmfs_event_data), GFP_KERNEL); in event_file_open()
353 if (!event_data) in event_file_open()
356 ibmasm_event_reader_register(sp, &event_data->reader); in event_file_open()
358 event_data->sp = sp; in event_file_open()
359 event_data->active = 0; in event_file_open()
360 file->private_data = event_data; in event_file_open()
366 struct ibmasmfs_event_data *event_data = file->private_data; in event_file_close() local
368 ibmasm_event_reader_unregister(event_data->sp, &event_data->reader); in event_file_close()
369 kfree(event_data); in event_file_close()
375 struct ibmasmfs_event_data *event_data = file->private_data; in event_file_read() local
376 struct event_reader *reader = &event_data->reader; in event_file_read()
377 struct service_processor *sp = event_data->sp; in event_file_read()
389 if (event_data->active) { in event_file_read()
393 event_data->active = 1; in event_file_read()
412 event_data->active = 0; in event_file_read()
418 struct ibmasmfs_event_data *event_data = file->private_data; in event_file_write() local
427 ibmasm_cancel_next_event(&event_data->reader); in event_file_write()