Searched refs:event_handler_rwsem (Results 1 – 2 of 2) sorted by relevance
590 init_rwsem(&device->event_handler_rwsem); in _ib_alloc_device()1935 down_write(&event_handler->device->event_handler_rwsem); in ib_register_event_handler()1938 up_write(&event_handler->device->event_handler_rwsem); in ib_register_event_handler()1951 down_write(&event_handler->device->event_handler_rwsem); in ib_unregister_event_handler()1953 up_write(&event_handler->device->event_handler_rwsem); in ib_unregister_event_handler()1961 down_read(&event->device->event_handler_rwsem); in ib_dispatch_event_clients()1966 up_read(&event->device->event_handler_rwsem); in ib_dispatch_event_clients()
2638 struct rw_semaphore event_handler_rwsem; member