Searched refs:event_handler_rwsem (Results 1 – 2 of 2) sorted by relevance
594 init_rwsem(&device->event_handler_rwsem); in _ib_alloc_device()1979 down_write(&event_handler->device->event_handler_rwsem); in ib_register_event_handler()1982 up_write(&event_handler->device->event_handler_rwsem); in ib_register_event_handler()1995 down_write(&event_handler->device->event_handler_rwsem); in ib_unregister_event_handler()1997 up_write(&event_handler->device->event_handler_rwsem); in ib_unregister_event_handler()2005 down_read(&event->device->event_handler_rwsem); in ib_dispatch_event_clients()2010 up_read(&event->device->event_handler_rwsem); in ib_dispatch_event_clients()
2699 struct rw_semaphore event_handler_rwsem; member