Searched refs:gen_lock (Results 1 – 10 of 10) sorted by relevance
| /trueos/sys/dev/twa/ |
| HD | tw_cl.h | 187 TW_LOCK_HANDLE *gen_lock;/* ptr to general purpose lock */ member 260 tw_osl_get_lock(ctlr->ctlr_handle, ctlr->gen_lock); in tw_cli_req_q_insert_head() 263 tw_osl_free_lock(ctlr->ctlr_handle, ctlr->gen_lock); in tw_cli_req_q_insert_head() 274 tw_osl_get_lock(ctlr->ctlr_handle, ctlr->gen_lock); in tw_cli_req_q_insert_tail() 277 tw_osl_free_lock(ctlr->ctlr_handle, ctlr->gen_lock); in tw_cli_req_q_insert_tail() 289 tw_osl_get_lock(ctlr->ctlr_handle, ctlr->gen_lock); in tw_cli_req_q_remove_head() 297 tw_osl_free_lock(ctlr->ctlr_handle, ctlr->gen_lock); in tw_cli_req_q_remove_head() 309 tw_osl_get_lock(ctlr->ctlr_handle, ctlr->gen_lock); in tw_cli_req_q_remove_item() 312 tw_osl_free_lock(ctlr->ctlr_handle, ctlr->gen_lock); in tw_cli_req_q_remove_item()
|
| HD | tw_cl_init.c | 321 ctlr->gen_lock = &(ctlr->gen_lock_handle); in tw_cl_init_ctlr() 322 tw_osl_init_lock(ctlr_handle, "tw_cl_gen_lock", ctlr->gen_lock); in tw_cl_init_ctlr() 587 tw_osl_destroy_lock(ctlr_handle, ctlr->gen_lock); in tw_cl_shutdown_ctlr()
|
| HD | tw_cl_misc.c | 499 tw_osl_get_lock(ctlr_handle, ctlr->gen_lock); in tw_cl_create_event() 519 tw_osl_free_lock(ctlr_handle, ctlr->gen_lock); in tw_cl_create_event()
|
| HD | tw_cl_io.c | 385 tw_osl_get_lock(ctlr_handle, ctlr->gen_lock); in tw_cl_ioctl() 696 tw_osl_free_lock(ctlr_handle, ctlr->gen_lock); in tw_cl_ioctl()
|
| /trueos/sys/dev/cxgb/ulp/iw_cxgb/ |
| HD | iw_cxgb_hal.h | 194 struct mtx gen_lock; member 215 mtx_init(&gp->gen_lock, "genpool", NULL, MTX_DUPOK|MTX_DEF); in gen_pool_create() 227 mtx_lock(&gp->gen_lock); in gen_pool_alloc() 229 mtx_unlock(&gp->gen_lock); in gen_pool_alloc() 245 mtx_lock(&gp->gen_lock); in gen_pool_free() 247 mtx_unlock(&gp->gen_lock); in gen_pool_free()
|
| /trueos/sys/dev/tws/ |
| HD | tws.c | 199 mtx_init( &sc->gen_lock, "tws_gen_lock", NULL, MTX_DEF); in tws_attach() 206 mtx_lock(&sc->gen_lock); in tws_attach() 208 mtx_unlock(&sc->gen_lock); in tws_attach() 304 mtx_lock(&sc->gen_lock); in tws_attach() 306 mtx_unlock(&sc->gen_lock); in tws_attach() 338 mtx_destroy(&sc->gen_lock); in tws_attach() 355 mtx_lock(&sc->gen_lock); in tws_detach() 357 mtx_unlock(&sc->gen_lock); in tws_detach() 417 mtx_destroy(&sc->gen_lock); in tws_detach() 731 mtx_assert(&sc->gen_lock, MA_OWNED); in tws_send_event() [all …]
|
| HD | tws_user.c | 162 mtx_lock(&sc->gen_lock); in tws_passthru() 163 error = mtx_sleep(req, &sc->gen_lock, 0, "tws_passthru", TWS_IOCTL_TIMEOUT*hz); in tws_passthru() 164 mtx_unlock(&sc->gen_lock); in tws_passthru() 302 mtx_lock(&sc->gen_lock); in tws_ioctl_aen() 365 mtx_unlock(&sc->gen_lock); in tws_ioctl_aen() 378 mtx_assert(&sc->gen_lock, MA_OWNED); in tws_circular_aenq_insert()
|
| HD | tws_cam.c | 433 mtx_lock(&sc->gen_lock); in tws_aen_complete() 436 mtx_unlock(&sc->gen_lock); in tws_aen_complete() 1161 mtx_lock(&sc->gen_lock); in tws_timeout() 1163 mtx_unlock(&sc->gen_lock); in tws_timeout() 1168 mtx_unlock(&sc->gen_lock); in tws_timeout() 1191 mtx_unlock(&sc->gen_lock); in tws_timeout() 1201 mtx_lock(&sc->gen_lock); in tws_reset() 1203 mtx_unlock(&sc->gen_lock); in tws_reset() 1220 mtx_unlock(&sc->gen_lock); in tws_reset() 1279 mtx_sleep(sc, &sc->gen_lock, 0, "tws_reinit", 5*hz); in tws_reinit()
|
| HD | tws.h | 247 struct mtx gen_lock; /* general driver lock */ member
|
| /trueos/sys/dev/cxgbe/iw_cxgbe/ |
| HD | iw_cxgbe.h | 930 struct mutex gen_lock; member 952 mutex_init(&gp->gen_lock); in gen_pool_create() 964 mutex_lock(&gp->gen_lock); in gen_pool_alloc() 966 mutex_unlock(&gp->gen_lock); in gen_pool_alloc() 982 mutex_lock(&gp->gen_lock); in gen_pool_free() 984 mutex_unlock(&gp->gen_lock); in gen_pool_free()
|