Lines Matching refs:handle
30 // if there is no hook, the driver doesn't handle removal devices
72 scsi_periph_handle_info *handle;
77 // (this must be atomic for each handle!)
78 for (handle = device->handles; handle; handle = handle->next)
79 handle->pending_error = B_DEV_MEDIA_CHANGED;
148 periph_get_media_status(scsi_periph_handle_info *handle)
150 scsi_periph_device_info *device = handle->device;
157 // removal requests are returned to exactly one handle
165 // if there is a pending error (read: media has changed), return once per handle
166 err = handle->pending_error;
168 handle->pending_error = B_OK;