Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/ib/clients/iser/
H A Diser.c42 iser_state_t *iser_state = NULL; /* global state */ variable
118 iser_state = kmem_zalloc(sizeof (iser_state_t), KM_SLEEP); in _init()
121 kmem_free(iser_state, sizeof (iser_state_t)); in _init()
148 kmem_free(iser_state, sizeof (iser_state_t)); in _fini()
167 iser_state->is_dip = dip; in iser_attach()
168 iser_state->is_instance = instance; in iser_attach()
171 iser_state->is_open_refcnt = 0; in iser_attach()
172 mutex_init(&iser_state->is_refcnt_lock, NULL, MUTEX_DRIVER, in iser_attach()
181 mutex_destroy(&iser_state->is_refcnt_lock); in iser_attach()
189 mutex_destroy(&iser_state->is_refcnt_lock); in iser_attach()
[all …]
H A Diser_ib.c100 status = ibt_attach(&iser_ib_modinfo, iser_state->is_dip, iser_state, in iser_ib_init()
101 &iser_state->is_ibhdl); in iser_ib_init()
109 iser_state->iser_wr_cache = kmem_cache_create("iser_wr_cache", in iser_ib_init()
111 iser_state, NULL, KM_SLEEP); in iser_ib_init()
117 kmem_cache_destroy(iser_state->iser_wr_cache); in iser_ib_init()
118 (void) ibt_detach(iser_state->is_ibhdl); in iser_ib_init()
119 iser_state->is_ibhdl = NULL; in iser_ib_init()
146 kmem_cache_destroy(iser_state->iser_wr_cache); in iser_ib_fini()
149 if (iser_state->is_ibhdl != NULL) { in iser_ib_fini()
150 (void) ibt_detach(iser_state->is_ibhdl); in iser_ib_fini()
[all …]
H A Diser_resource.c109 iser_wr = kmem_cache_alloc(iser_state->iser_wr_cache, KM_NOSLEEP); in iser_wr_get()
126 kmem_cache_free(iser_state->iser_wr_cache, iser_wr); in iser_wr_free()
/illumos-gate/usr/src/uts/common/sys/ib/clients/iser/
H A Diser_ib.h47 extern struct iser_state_s *iser_state;