Home
last modified time | relevance | path

Searched refs:p_mutex (Results 1 – 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai_pipe_mgmt.c139 mutex_enter(&ph_data->p_mutex); in usba_get_pipe_handle()
142 mutex_exit(&ph_data->p_mutex); in usba_get_pipe_handle()
456 mutex_enter(&ph_data->p_mutex); in usba_init_pipe_handle()
565 mutex_exit(&ph_data->p_mutex); in usba_init_pipe_handle()
588 mutex_enter(&ph_data->p_mutex); in usba_destroy_pipe_handle()
598 mutex_exit(&ph_data->p_mutex); in usba_destroy_pipe_handle()
615 mutex_exit(&ph_data->p_mutex); in usba_destroy_pipe_handle()
628 mutex_exit(&ph_data->p_mutex); in usba_destroy_pipe_handle()
657 mutex_exit(&ph_data->p_mutex); in usba_destroy_pipe_handle()
1123 mutex_exit(&ph_data->p_mutex); in usb_pipe_close()
[all …]
H A Dusbai_req.c514 mutex_enter(&ph_data->p_mutex); in usba_start_next_req()
534 mutex_exit(&ph_data->p_mutex); in usba_start_next_req()
614 mutex_exit(&ph_data->p_mutex); in usba_start_next_req()
744 mutex_enter(&ph_data->p_mutex); in usba_req_normal_cb()
791 mutex_exit(&ph_data->p_mutex); in usba_req_normal_cb()
793 mutex_exit(&ph_data->p_mutex); in usba_req_normal_cb()
823 mutex_enter(&ph_data->p_mutex); in usba_req_normal_cb()
826 mutex_exit(&ph_data->p_mutex); in usba_req_normal_cb()
937 mutex_exit(&ph_data->p_mutex); in usba_req_exc_cb()
1020 mutex_exit(&ph_data->p_mutex); in usba_pipe_sync_wait()
[all …]
H A Dhcdi.c495 mutex_enter(&ph_data->p_mutex); in usba_hcdi_cb()
539 mutex_exit(&ph_data->p_mutex); in usba_hcdi_cb()
559 mutex_exit(&ph_data->p_mutex); in usba_hcdi_cb()
597 mutex_exit(&ph_data->p_mutex); in usba_hcdi_cb()
614 mutex_enter(&ph_data->p_mutex); in hcdi_cb_thread()
636 mutex_exit(&ph_data->p_mutex); in hcdi_cb_thread()
647 mutex_exit(&ph_data->p_mutex); in hcdi_cb_thread()
691 mutex_exit(&ph_data->p_mutex); in hcdi_do_cb()
733 mutex_exit(&ph_data->p_mutex); in hcdi_do_cb()
758 mutex_exit(&ph_data->p_mutex); in hcdi_do_cb()
[all …]
H A Dusbai_util.c1313 mutex_enter(&ph_data->p_mutex); in usb_pipe_get_state()
1315 mutex_exit(&ph_data->p_mutex); in usb_pipe_get_state()
1372 mutex_enter(&ph_data->p_mutex); in usb_ep_num()
1374 mutex_exit(&ph_data->p_mutex); in usb_ep_num()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_opipe.c58 mutex_init(&opipe->p_mutex, NULL, MUTEX_DEFAULT, NULL); in smb_opipe_alloc()
92 mutex_destroy(&opipe->p_mutex); in smb_opipe_dealloc()
352 mutex_enter(&opipe->p_mutex); in smb_opipe_close()
355 mutex_exit(&opipe->p_mutex); in smb_opipe_close()
384 mutex_enter(&opipe->p_mutex); in smb_opipe_write()
388 mutex_exit(&opipe->p_mutex); in smb_opipe_write()
434 mutex_enter(&opipe->p_mutex); in smb_opipe_read()
438 mutex_exit(&opipe->p_mutex); in smb_opipe_read()
510 mutex_enter(&opipe->p_mutex); in smb_opipe_ioctl()
514 mutex_exit(&opipe->p_mutex); in smb_opipe_ioctl()
/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/
H A Duhcitgt.c165 mutex_enter(&ph->p_mutex); in uhci_hcdi_pipe_open()
172 mutex_exit(&ph->p_mutex); in uhci_hcdi_pipe_open()
179 mutex_exit(&ph->p_mutex); in uhci_hcdi_pipe_open()
222 mutex_enter(&ph->p_mutex); in uhci_hcdi_pipe_open()
227 mutex_exit(&ph->p_mutex); in uhci_hcdi_pipe_open()
256 mutex_exit(&ph->p_mutex); in uhci_hcdi_pipe_open()
278 mutex_enter(&ph->p_mutex); in uhci_hcdi_pipe_open()
282 mutex_exit(&ph->p_mutex); in uhci_hcdi_pipe_open()
432 mutex_enter(&ph->p_mutex); in uhci_hcdi_pipe_close()
435 mutex_exit(&ph->p_mutex); in uhci_hcdi_pipe_close()
[all …]
H A Duhcihub.c870 mutex_enter(&ph->p_mutex); in uhci_root_hub_allocate_intr_pipe_resource()
872 mutex_exit(&ph->p_mutex); in uhci_root_hub_allocate_intr_pipe_resource()
932 mutex_enter(&ph->p_mutex); in uhci_root_hub_intr_pipe_cleanup()
934 mutex_exit(&ph->p_mutex); in uhci_root_hub_intr_pipe_cleanup()
H A Duhciutil.c3742 mutex_enter(&ph->p_mutex); in uhci_save_data_toggle()
3745 mutex_exit(&ph->p_mutex); in uhci_save_data_toggle()
4878 mutex_enter(&ph->p_mutex); in uhci_allocate_periodic_in_resource()
4880 mutex_exit(&ph->p_mutex); in uhci_allocate_periodic_in_resource()
4915 mutex_enter(&ph->p_mutex); in uhci_deallocate_periodic_in_resource()
4917 mutex_exit(&ph->p_mutex); in uhci_deallocate_periodic_in_resource()
H A Duhci.c1773 mutex_enter(&ph->p_mutex); in uhci_handle_one_xfer_completion()
1775 mutex_exit(&ph->p_mutex); in uhci_handle_one_xfer_completion()
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/
H A Dehci.c860 mutex_enter(&ph->p_mutex); in ehci_hcdi_pipe_open()
870 mutex_exit(&ph->p_mutex); in ehci_hcdi_pipe_open()
876 mutex_exit(&ph->p_mutex); in ehci_hcdi_pipe_open()
923 mutex_enter(&ph->p_mutex); in ehci_hcdi_pipe_open()
931 mutex_exit(&ph->p_mutex); in ehci_hcdi_pipe_open()
973 mutex_exit(&ph->p_mutex); in ehci_hcdi_pipe_open()
1063 mutex_exit(&ph->p_mutex); in ehci_hcdi_pipe_close()
1066 mutex_enter(&ph->p_mutex); in ehci_hcdi_pipe_close()
1082 mutex_exit(&ph->p_mutex); in ehci_hcdi_pipe_close()
1149 mutex_enter(&ph->p_mutex); in ehci_hcdi_pipe_reset_data_toggle()
[all …]
H A Dehci_polled.c720 mutex_enter(&ph->p_mutex); in ehci_polled_init()
723 mutex_exit(&ph->p_mutex); in ehci_polled_init()
742 mutex_init(&ehci_polledp->ehci_polled_input_pipe_handle->p_mutex, in ehci_polled_init()
755 mutex_enter(&ehci_polledp->ehci_polled_input_pipe_handle->p_mutex); in ehci_polled_init()
760 mutex_exit(&ehci_polledp->ehci_polled_input_pipe_handle->p_mutex); in ehci_polled_init()
767 mutex_enter(&ph->p_mutex); in ehci_polled_init()
771 mutex_exit(&ph->p_mutex); in ehci_polled_init()
823 mutex_enter(&ph->p_mutex); in ehci_polled_init()
825 mutex_exit(&ph->p_mutex); in ehci_polled_init()
914 mutex_destroy(&ehci_polledp->ehci_polled_input_pipe_handle->p_mutex); in ehci_polled_fini()
H A Dehci_hub.c1755 mutex_enter(&ph->p_mutex); in ehci_root_hub_allocate_intr_pipe_resource()
1757 mutex_exit(&ph->p_mutex); in ehci_root_hub_allocate_intr_pipe_resource()
1819 mutex_enter(&ph->p_mutex); in ehci_root_hub_intr_pipe_cleanup()
1821 mutex_exit(&ph->p_mutex); in ehci_root_hub_intr_pipe_cleanup()
H A Dehci_isoch_util.c1316 mutex_enter(&ph->p_mutex); in ehci_allocate_isoc_in_resource()
1318 mutex_exit(&ph->p_mutex); in ehci_allocate_isoc_in_resource()
1356 mutex_enter(&ph->p_mutex); in ehci_deallocate_isoc_in_resource()
1358 mutex_exit(&ph->p_mutex); in ehci_deallocate_isoc_in_resource()
H A Dehci_xfer.c3628 mutex_enter(&ph->p_mutex); in ehci_allocate_intr_in_resource()
3630 mutex_exit(&ph->p_mutex); in ehci_allocate_intr_in_resource()
3909 mutex_enter(&ph->p_mutex); in ehci_save_data_toggle()
3912 mutex_exit(&ph->p_mutex); in ehci_save_data_toggle()
3943 mutex_enter(&ph->p_mutex); in ehci_restore_data_toggle()
3950 mutex_exit(&ph->p_mutex); in ehci_restore_data_toggle()
4049 mutex_enter(&ph->p_mutex); in ehci_deallocate_intr_in_resource()
4051 mutex_exit(&ph->p_mutex); in ehci_deallocate_intr_in_resource()
H A Dehci_intr.c1232 mutex_enter(&ph->p_mutex); in ehci_handle_one_xfer_completion()
1234 mutex_exit(&ph->p_mutex); in ehci_handle_one_xfer_completion()
/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/
H A Dohci_polled.c627 mutex_enter(&ph->p_mutex); in ohci_polled_init()
630 mutex_exit(&ph->p_mutex); in ohci_polled_init()
649 mutex_init(&ohci_polledp->ohci_polled_input_pipe_handle->p_mutex, in ohci_polled_init()
660 mutex_enter(&ohci_polledp->ohci_polled_input_pipe_handle->p_mutex); in ohci_polled_init()
665 mutex_exit(&ohci_polledp->ohci_polled_input_pipe_handle->p_mutex); in ohci_polled_init()
672 mutex_enter(&ph->p_mutex); in ohci_polled_init()
676 mutex_exit(&ph->p_mutex); in ohci_polled_init()
724 mutex_enter(&ph->p_mutex); in ohci_polled_init()
726 mutex_exit(&ph->p_mutex); in ohci_polled_init()
839 mutex_destroy(&ohci_polledp->ohci_polled_input_pipe_handle->p_mutex); in ohci_polled_fini()
H A Dohci.c2537 mutex_exit(&ph->p_mutex); in ohci_hcdi_pipe_open()
2580 mutex_enter(&ph->p_mutex); in ohci_hcdi_pipe_open()
2588 mutex_exit(&ph->p_mutex); in ohci_hcdi_pipe_open()
2619 mutex_exit(&ph->p_mutex); in ohci_hcdi_pipe_open()
2709 mutex_exit(&ph->p_mutex); in ohci_hcdi_pipe_close()
2712 mutex_enter(&ph->p_mutex); in ohci_hcdi_pipe_close()
2724 mutex_exit(&ph->p_mutex); in ohci_hcdi_pipe_close()
2792 mutex_enter(&ph->p_mutex); in ohci_hcdi_pipe_reset_data_toggle()
2795 mutex_exit(&ph->p_mutex); in ohci_hcdi_pipe_reset_data_toggle()
9250 mutex_exit(&ph->p_mutex); in ohci_handle_one_xfer_completion()
[all …]
H A Dohci_hub.c1460 mutex_enter(&ph->p_mutex); in ohci_root_hub_allocate_intr_pipe_resource()
1462 mutex_exit(&ph->p_mutex); in ohci_root_hub_allocate_intr_pipe_resource()
1524 mutex_enter(&ph->p_mutex); in ohci_root_hub_intr_pipe_cleanup()
1526 mutex_exit(&ph->p_mutex); in ohci_root_hub_intr_pipe_cleanup()
/illumos-gate/usr/src/uts/common/sys/usb/usba/
H A Dusba_types.h106 kmutex_t p_mutex; /* mutex protecting pipe handle */ member
160 _NOTE(MUTEX_PROTECTS_DATA(usba_pipe_handle_data::p_mutex, \
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/
H A Dxhci_hub.c667 mutex_enter(&ph->p_mutex); in xhci_root_hub_psc_callback()
669 mutex_exit(&ph->p_mutex); in xhci_root_hub_psc_callback()
H A Dxhci_endpoint.c1157 mutex_enter(&xep->xep_pipe->p_mutex); in xhci_endpoint_dup_periodic()
1159 mutex_exit(&xep->xep_pipe->p_mutex); in xhci_endpoint_dup_periodic()
/illumos-gate/usr/src/uts/common/sys/usb/hcd/uhci/
H A Duhcid.h312 usba_pipe_handle_data::p_mutex \
/illumos-gate/usr/src/uts/common/sys/usb/hcd/openhci/
H A Dohcid.h332 usba_pipe_handle_data::p_mutex \
/illumos-gate/usr/src/uts/common/sys/usb/hcd/ehci/
H A Dehcid.h300 usba_pipe_handle_data::p_mutex \
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb_ktypes.h1319 kmutex_t p_mutex; member

12