Searched refs:tmp_rsrc_hdl (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_rsrc.c | 184 hermon_rsrc_t *tmp_rsrc_hdl; in hermon_rsrc_alloc() local 197 tmp_rsrc_hdl = kmem_cache_alloc(state->hs_rsrc_cache, flag); in hermon_rsrc_alloc() 198 if (tmp_rsrc_hdl == NULL) { in hermon_rsrc_alloc() 201 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*tmp_rsrc_hdl)) in hermon_rsrc_alloc() 207 tmp_rsrc_hdl->rsrc_type = rsrc; in hermon_rsrc_alloc() 217 status = hermon_rsrc_mbox_alloc(rsrc_pool, num, tmp_rsrc_hdl); in hermon_rsrc_alloc() 225 sleepflag, tmp_rsrc_hdl); in hermon_rsrc_alloc() 232 sleepflag, tmp_rsrc_hdl); in hermon_rsrc_alloc() 239 sleepflag, tmp_rsrc_hdl); in hermon_rsrc_alloc() 250 sleepflag, tmp_rsrc_hdl); in hermon_rsrc_alloc() [all …]
|
/titanic_44/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_rsrc.c | 182 tavor_rsrc_t *tmp_rsrc_hdl; in tavor_rsrc_alloc() local 197 tmp_rsrc_hdl = (tavor_rsrc_t *)kmem_cache_alloc(state->ts_rsrc_cache, in tavor_rsrc_alloc() 199 if (tmp_rsrc_hdl == NULL) { in tavor_rsrc_alloc() 204 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*tmp_rsrc_hdl)) in tavor_rsrc_alloc() 210 tmp_rsrc_hdl->rsrc_type = rsrc; in tavor_rsrc_alloc() 220 status = tavor_rsrc_mbox_alloc(rsrc_pool, num, tmp_rsrc_hdl); in tavor_rsrc_alloc() 235 sleepflag, tmp_rsrc_hdl); in tavor_rsrc_alloc() 246 state->ts_reg_ddrhdl, sleepflag, tmp_rsrc_hdl); in tavor_rsrc_alloc() 256 sleepflag, tmp_rsrc_hdl); in tavor_rsrc_alloc() 272 state->ts_reg_ddrhdl, sleepflag, tmp_rsrc_hdl); in tavor_rsrc_alloc() [all …]
|