Home
last modified time | relevance | path

Searched refs:cml_lock (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_cmd.h548 kmutex_t cml_lock; member
558 _NOTE(MUTEX_PROTECTS_DATA(tavor_cmdlist_t::cml_lock,
569 _NOTE(LOCK_ORDER(tavor_cmdlist_t::cml_lock
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_cmd.h618 kmutex_t cml_lock; member
628 _NOTE(MUTEX_PROTECTS_DATA(hermon_cmdlist_t::cml_lock,
639 _NOTE(LOCK_ORDER(hermon_cmdlist_t::cml_lock
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_cmd.c770 mutex_enter(&cmd_list->cml_lock); in tavor_outstanding_cmd_alloc()
783 mutex_exit(&cmd_list->cml_lock); in tavor_outstanding_cmd_alloc()
799 cv_wait(&cmd_list->cml_cv, &cmd_list->cml_lock); in tavor_outstanding_cmd_alloc()
819 mutex_exit(&cmd_list->cml_lock); in tavor_outstanding_cmd_alloc()
836 mutex_enter(&cmd_list->cml_lock); in tavor_outstanding_cmd_free()
877 mutex_exit(&cmd_list->cml_lock); in tavor_outstanding_cmd_free()
1069 mutex_init(&state->ts_cmd_list.cml_lock, NULL, MUTEX_DRIVER, in tavor_outstanding_cmdlist_init()
1114 mutex_destroy(&state->ts_cmd_list.cml_lock); in tavor_outstanding_cmdlist_fini()
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_cmd.c863 mutex_enter(&cmd_list->cml_lock); in hermon_outstanding_cmd_alloc()
876 mutex_exit(&cmd_list->cml_lock); in hermon_outstanding_cmd_alloc()
892 cv_wait(&cmd_list->cml_cv, &cmd_list->cml_lock); in hermon_outstanding_cmd_alloc()
912 mutex_exit(&cmd_list->cml_lock); in hermon_outstanding_cmd_alloc()
929 mutex_enter(&cmd_list->cml_lock); in hermon_outstanding_cmd_free()
970 mutex_exit(&cmd_list->cml_lock); in hermon_outstanding_cmd_free()
1243 mutex_init(&state->hs_cmd_list.cml_lock, NULL, MUTEX_DRIVER, in hermon_outstanding_cmdlist_init()
1288 mutex_destroy(&state->hs_cmd_list.cml_lock); in hermon_outstanding_cmdlist_fini()