Searched refs:event_handler_rwsem (Results 1 – 2 of 2) sorted by relevance
590 init_rwsem(&device->event_handler_rwsem); in _ib_alloc_device()1924 down_write(&event_handler->device->event_handler_rwsem); in ib_register_event_handler()1927 up_write(&event_handler->device->event_handler_rwsem); in ib_register_event_handler()1940 down_write(&event_handler->device->event_handler_rwsem); in ib_unregister_event_handler()1942 up_write(&event_handler->device->event_handler_rwsem); in ib_unregister_event_handler()1950 down_read(&event->device->event_handler_rwsem); in ib_dispatch_event_clients()1955 up_read(&event->device->event_handler_rwsem); in ib_dispatch_event_clients()
2638 struct rw_semaphore event_handler_rwsem; member