Home
last modified time | relevance | path

Searched refs:sleepflag (Results 1 – 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_cmd.h628 uint64_t *errorcode, uint_t sleepflag);
629 int tavor_sys_dis_cmd_post(tavor_state_t *state, uint_t sleepflag);
636 tavor_hw_initqueryhca_t *inithca, uint_t sleepflag);
637 int tavor_close_hca_cmd_post(tavor_state_t *state, uint_t sleepflag);
644 tavor_hw_initib_t *initib, uint_t port, uint_t sleepflag);
646 uint_t sleepflag);
648 uint_t port, uint_t reset_qkey, uint_t sleepflag);
657 tavor_hw_qpc_t *qp, uint_t qpindx, uint32_t opmask, uint_t sleepflag);
666 uint_t queryindx, void *query, uint_t size, uint_t sleepflag);
674 void *hwrsrc, uint_t size, uint_t hwrsrcindx, uint_t sleepflag);
[all …]
H A Dtavor_srq.h211 uint_t sleepflag, tavor_srq_options_t *op);
213 uint_t sleepflag);
215 uint_t size, uint_t *real_size, uint_t sleepflag);
H A Dtavor_cq.h260 uint_t sleepflag);
262 uint_t sleepflag);
264 uint_t req_size, uint_t *actual_size, uint_t sleepflag);
H A Dtavor_misc.h504 ibt_adds_vect_t *attr_p, tavor_ahhdl_t *ahhdl, uint_t sleepflag);
506 uint_t sleepflag);
520 uint_t sleepflag);
543 uint_t sleepflag);
H A Dtavor_qp.h400 uint_t sleepflag, tavor_qp_options_t *op);
402 uint_t sleepflag, tavor_qp_options_t *op);
404 ibc_free_qp_flags_t free_qp_flags, ibc_qpn_hdl_t *qpnh, uint_t sleepflag);
H A Dtavor_rsrc.h339 uint_t num, uint_t sleepflag, tavor_rsrc_t **hdl);
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_cmd.h713 hermon_hw_initqueryhca_t *inithca, uint_t sleepflag);
714 int hermon_close_hca_cmd_post(hermon_state_t *state, uint_t sleepflag);
723 hermon_hw_set_port_t *initport, uint_t port, uint_t sleepflag);
725 uint_t sleepflag);
727 uint_t sleepflag);
736 hermon_hw_qpc_t *qp, uint_t qpindx, uint32_t opmask, uint_t sleepflag);
746 uint_t opmod, uint_t queryindx, void *query, uint_t size, uint_t sleepflag);
754 void *hwrsrc, uint_t size, uint_t hwrsrcindx, uint_t sleepflag);
762 uint_t sleepflag, uint32_t *mad, uint32_t *resp);
764 uint_t sleepflag, sm_portinfo_t *portinfo);
[all …]
H A Dhermon_srq.h166 uint_t sleepflag);
168 uint_t sleepflag);
170 uint_t size, uint_t *real_size, uint_t sleepflag);
H A Dhermon_cq.h269 uint_t sleepflag);
271 uint_t sleepflag);
273 uint_t req_size, uint_t *actual_size, uint_t sleepflag);
275 uint_t count, uint_t usec, ibt_cq_handler_id_t hid, uint_t sleepflag);
H A Dhermon_qp.h371 uint_t sleepflag);
373 uint_t sleepflag);
376 ibc_cq_hdl_t *recv_cq_p, hermon_qphdl_t *qp_p, uint_t sleepflag);
378 ibc_free_qp_flags_t free_qp_flags, ibc_qpn_hdl_t *qpnh, uint_t sleepflag);
H A Dhermon_misc.h646 ibt_adds_vect_t *attr_p, hermon_ahhdl_t *ahhdl, uint_t sleepflag);
648 uint_t sleepflag);
662 uint_t sleepflag);
685 uint_t sleepflag);
H A Dhermon_rsrc.h373 uint_t num, uint_t sleepflag, hermon_rsrc_t **hdl);
382 uint_t num, uint_t sleepflag, hermon_rsrc_t **hdl);
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_cmd.c1157 uint64_t *errorcode, uint_t sleepflag) in tavor_sys_en_cmd_post() argument
1163 ASSERT(sleepflag == TAVOR_CMD_NOSLEEP_SPIN); in tavor_sys_en_cmd_post()
1171 cmd.cp_flags = sleepflag; in tavor_sys_en_cmd_post()
1192 tavor_sys_dis_cmd_post(tavor_state_t *state, uint_t sleepflag) in tavor_sys_dis_cmd_post() argument
1198 ASSERT(sleepflag == TAVOR_CMD_NOSLEEP_SPIN); in tavor_sys_dis_cmd_post()
1206 cmd.cp_flags = sleepflag; in tavor_sys_dis_cmd_post()
1220 tavor_hw_initqueryhca_t *inithca, uint_t sleepflag) in tavor_init_hca_cmd_post() argument
1229 ASSERT(sleepflag == TAVOR_CMD_NOSLEEP_SPIN); in tavor_init_hca_cmd_post()
1233 status = tavor_mbox_alloc(state, &mbox_info, sleepflag); in tavor_init_hca_cmd_post()
1255 cmd.cp_flags = sleepflag; in tavor_init_hca_cmd_post()
[all …]
H A Dtavor_srq.c54 uint_t sleepflag, tavor_srq_options_t *op) in tavor_srq_alloc() argument
125 status = tavor_rsrc_alloc(state, TAVOR_SRQC, 1, sleepflag, &srqc); in tavor_srq_alloc()
131 status = tavor_rsrc_alloc(state, TAVOR_SRQHDL, 1, sleepflag, &rsrc); in tavor_srq_alloc()
238 status = tavor_queue_alloc(state, &srq->srq_wqinfo, sleepflag); in tavor_srq_alloc()
258 flag = (sleepflag == TAVOR_SLEEP) ? IBT_MR_SLEEP : in tavor_srq_alloc()
355 sleepflag); in tavor_srq_alloc()
448 tavor_srq_free(tavor_state_t *state, tavor_srqhdl_t *srqhdl, uint_t sleepflag) in tavor_srq_free() argument
535 sizeof (tavor_hw_srqc_t), srqnum, sleepflag); in tavor_srq_free()
550 sleepflag); in tavor_srq_free()
596 uint_t *real_size, uint_t sleepflag) in tavor_srq_modify() argument
[all …]
H A Dtavor_cq.c65 uint_t sleepflag) in tavor_cq_alloc() argument
114 status = tavor_rsrc_alloc(state, TAVOR_CQC, 1, sleepflag, &cqc); in tavor_cq_alloc()
125 status = tavor_rsrc_alloc(state, TAVOR_CQHDL, 1, sleepflag, &rsrc); in tavor_cq_alloc()
191 status = tavor_queue_alloc(state, &cq->cq_cqinfo, sleepflag); in tavor_cq_alloc()
214 flag = (sleepflag == TAVOR_SLEEP) ? IBT_MR_SLEEP : IBT_MR_NOSLEEP; in tavor_cq_alloc()
282 sizeof (tavor_hw_cqc_t), cq->cq_cqnum, sleepflag); in tavor_cq_alloc()
345 sleepflag) != DDI_SUCCESS) { in tavor_cq_alloc()
371 tavor_cq_free(tavor_state_t *state, tavor_cqhdl_t *cqhdl, uint_t sleepflag) in tavor_cq_free() argument
464 sizeof (tavor_hw_cqc_t), cqnum, sleepflag); in tavor_cq_free()
479 sleepflag); in tavor_cq_free()
[all …]
H A Dtavor_rsrc.c125 uint_t sleepflag, tavor_rsrc_t *hdl);
130 uint_t sleepflag, tavor_rsrc_t *hdl);
135 uint_t sleepflag, tavor_rsrc_t *hdl);
179 uint_t sleepflag, tavor_rsrc_t **hdl) in tavor_rsrc_alloc() argument
194 flag = (sleepflag == TAVOR_SLEEP) ? KM_SLEEP : KM_NOSLEEP; in tavor_rsrc_alloc()
231 sleepflag, tmp_rsrc_hdl); in tavor_rsrc_alloc()
242 state->ts_reg_ddrhdl, sleepflag, tmp_rsrc_hdl); in tavor_rsrc_alloc()
252 sleepflag, tmp_rsrc_hdl); in tavor_rsrc_alloc()
268 state->ts_reg_ddrhdl, sleepflag, tmp_rsrc_hdl); in tavor_rsrc_alloc()
278 state->ts_reg_uarhdl, sleepflag, tmp_rsrc_hdl); in tavor_rsrc_alloc()
[all …]
H A Dtavor_misc.c75 ibt_adds_vect_t *attr_p, tavor_ahhdl_t *ahhdl, uint_t sleepflag) in tavor_ah_alloc() argument
104 status = tavor_rsrc_alloc(state, TAVOR_UDAV, 1, sleepflag, &udav); in tavor_ah_alloc()
114 status = tavor_rsrc_alloc(state, TAVOR_AHHDL, 1, sleepflag, &rsrc); in tavor_ah_alloc()
150 flag = (sleepflag == TAVOR_SLEEP) ? IBT_MR_SLEEP : IBT_MR_NOSLEEP; in tavor_ah_alloc()
228 tavor_ah_free(tavor_state_t *state, tavor_ahhdl_t *ahhdl, uint_t sleepflag) in tavor_ah_free() argument
257 sleepflag); in tavor_ah_free()
1536 tavor_pd_alloc(tavor_state_t *state, tavor_pdhdl_t *pdhdl, uint_t sleepflag) in tavor_pd_alloc() argument
1549 status = tavor_rsrc_alloc(state, TAVOR_PDHDL, 1, sleepflag, &rsrc); in tavor_pd_alloc()
2110 uint_t sleepflag) in tavor_queue_alloc() argument
2121 callback = (sleepflag == TAVOR_SLEEP) ? DDI_DMA_SLEEP : in tavor_queue_alloc()
[all …]
H A Dtavor_qp.c62 uint_t sleepflag, tavor_qp_options_t *op) in tavor_qp_alloc() argument
212 status = tavor_rsrc_alloc(state, TAVOR_QPC, 1, sleepflag, &qpc); in tavor_qp_alloc()
222 status = tavor_rsrc_alloc(state, TAVOR_QPHDL, 1, sleepflag, &rsrc); in tavor_qp_alloc()
268 sleepflag, &rdb); in tavor_qp_alloc()
384 status = tavor_queue_alloc(state, &qp->qp_wqinfo, sleepflag); in tavor_qp_alloc()
419 flag = (sleepflag == TAVOR_SLEEP) ? IBT_MR_SLEEP : in tavor_qp_alloc()
604 uint_t sleepflag, tavor_qp_options_t *op) in tavor_special_qp_alloc() argument
720 status = tavor_rsrc_alloc(state, TAVOR_QPHDL, 1, sleepflag, &rsrc); in tavor_special_qp_alloc()
823 status = tavor_queue_alloc(state, &qp->qp_wqinfo, sleepflag); in tavor_special_qp_alloc()
850 flag = (sleepflag == TAVOR_SLEEP) ? IBT_MR_SLEEP : in tavor_special_qp_alloc()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_cmd.c1325 hermon_hw_initqueryhca_t *inithca, uint_t sleepflag) in hermon_init_hca_cmd_post() argument
1334 ASSERT(sleepflag == HERMON_CMD_NOSLEEP_SPIN); in hermon_init_hca_cmd_post()
1340 status = hermon_mbox_alloc(state, &mbox_info, sleepflag); in hermon_init_hca_cmd_post()
1362 cmd.cp_flags = sleepflag; in hermon_init_hca_cmd_post()
1377 hermon_close_hca_cmd_post(hermon_state_t *state, uint_t sleepflag) in hermon_close_hca_cmd_post() argument
1383 ASSERT(sleepflag == HERMON_CMD_NOSLEEP_SPIN); in hermon_close_hca_cmd_post()
1394 cmd.cp_flags = sleepflag; in hermon_close_hca_cmd_post()
1407 uint_t port, uint_t sleepflag) in hermon_set_port_cmd_post() argument
1419 status = hermon_mbox_alloc(state, &mbox_info, sleepflag); in hermon_set_port_cmd_post()
1441 cmd.cp_flags = sleepflag; in hermon_set_port_cmd_post()
[all …]
H A Dhermon_srq.c53 uint_t sleepflag) in hermon_srq_alloc() argument
119 status = hermon_rsrc_alloc(state, HERMON_SRQC, 1, sleepflag, &srqc); in hermon_srq_alloc()
126 status = hermon_rsrc_alloc(state, HERMON_SRQHDL, 1, sleepflag, &rsrc); in hermon_srq_alloc()
253 status = hermon_queue_alloc(state, &srq->srq_wqinfo, sleepflag); in hermon_srq_alloc()
274 flag = (sleepflag == HERMON_SLEEP) ? IBT_MR_SLEEP : in hermon_srq_alloc()
347 sleepflag); in hermon_srq_alloc()
447 uint_t sleepflag) in hermon_srq_free() argument
532 sizeof (hermon_hw_srqc_t), srqnum, sleepflag); in hermon_srq_free()
550 sleepflag); in hermon_srq_free()
586 uint_t *real_size, uint_t sleepflag) in hermon_srq_modify() argument
[all …]
H A Dhermon_rsrc.c113 uint_t num, uint_t num_align, uint_t sleepflag, hermon_rsrc_t *hdl);
117 uint_t num, uint_t num_align, uint_t sleepflag, hermon_rsrc_t *hdl);
125 uint_t sleepflag, hermon_rsrc_t *hdl);
130 uint_t sleepflag, hermon_rsrc_t *hdl);
135 hermon_rsrc_type_t rsrc, uint_t num, uint_t sleepflag, hermon_rsrc_t *hdl);
138 hermon_rsrc_type_t rsrc, uint_t num, uint_t sleepflag, hermon_rsrc_t *hdl);
181 uint_t sleepflag, hermon_rsrc_t **hdl) in hermon_rsrc_alloc() argument
196 flag = (sleepflag == HERMON_SLEEP) ? KM_SLEEP : KM_NOSLEEP; in hermon_rsrc_alloc()
225 sleepflag, tmp_rsrc_hdl); in hermon_rsrc_alloc()
232 sleepflag, tmp_rsrc_hdl); in hermon_rsrc_alloc()
[all …]
H A Dhermon_cq.c70 uint_t sleepflag) in hermon_cq_alloc() argument
123 status = hermon_rsrc_alloc(state, HERMON_CQC, 1, sleepflag, &cqc); in hermon_cq_alloc()
135 status = hermon_rsrc_alloc(state, HERMON_CQHDL, 1, sleepflag, &rsrc); in hermon_cq_alloc()
219 status = hermon_queue_alloc(state, &cq->cq_cqinfo, sleepflag); in hermon_cq_alloc()
239 flag = (sleepflag == HERMON_SLEEP) ? IBT_MR_SLEEP : IBT_MR_NOSLEEP; in hermon_cq_alloc()
319 sizeof (hermon_hw_cqc_t), cq->cq_cqnum, sleepflag); in hermon_cq_alloc()
385 sleepflag) != DDI_SUCCESS) { in hermon_cq_alloc()
413 hermon_cq_free(hermon_state_t *state, hermon_cqhdl_t *cqhdl, uint_t sleepflag) in hermon_cq_free() argument
500 sizeof (hermon_hw_cqc_t), cqnum, sleepflag); in hermon_cq_free()
525 sleepflag); in hermon_cq_free()
[all …]
H A Dhermon_qp.c62 uint_t sleepflag) in hermon_qp_alloc() argument
257 status = hermon_rsrc_alloc(state, rsrc_type, 1, sleepflag, &qpc); in hermon_qp_alloc()
268 status = hermon_rsrc_alloc(state, HERMON_QPHDL, 1, sleepflag, &rsrc); in hermon_qp_alloc()
482 status = hermon_queue_alloc(state, &qp->qp_wqinfo, sleepflag); in hermon_qp_alloc()
548 flag = (sleepflag == HERMON_SLEEP) ? IBT_MR_SLEEP : in hermon_qp_alloc()
767 uint_t sleepflag) in hermon_special_qp_alloc() argument
880 status = hermon_rsrc_alloc(state, HERMON_QPHDL, 1, sleepflag, &rsrc); in hermon_special_qp_alloc()
1009 status = hermon_queue_alloc(state, &qp->qp_wqinfo, sleepflag); in hermon_special_qp_alloc()
1060 flag = (sleepflag == HERMON_SLEEP) ? IBT_MR_SLEEP : in hermon_special_qp_alloc()
1226 hermon_qphdl_t *qphdl, uint_t sleepflag) in hermon_qp_alloc_range() argument
[all …]
H A Dhermon_misc.c488 ibt_adds_vect_t *attr_p, hermon_ahhdl_t *ahhdl, uint_t sleepflag) in hermon_ah_alloc() argument
510 status = hermon_rsrc_alloc(state, HERMON_AHHDL, 1, sleepflag, &rsrc); in hermon_ah_alloc()
564 hermon_ah_free(hermon_state_t *state, hermon_ahhdl_t *ahhdl, uint_t sleepflag) in hermon_ah_free() argument
1804 hermon_pd_alloc(hermon_state_t *state, hermon_pdhdl_t *pdhdl, uint_t sleepflag) in hermon_pd_alloc() argument
1817 status = hermon_rsrc_alloc(state, HERMON_PDHDL, 1, sleepflag, &rsrc); in hermon_pd_alloc()
2396 uint_t sleepflag) in hermon_queue_alloc() argument
2406 callback = (sleepflag == HERMON_SLEEP) ? DDI_DMA_SLEEP : in hermon_queue_alloc()
2478 flag = (sleepflag == HERMON_SLEEP) ? DDI_UMEM_SLEEP : in hermon_queue_alloc()
/illumos-gate/usr/src/uts/sun4/os/
H A Dddi_impl.c1270 int sleepflag; in impl_acc_hdl_alloc() local
1272 sleepflag = ((waitfp == (int (*)())KM_SLEEP) ? KM_SLEEP : KM_NOSLEEP); in impl_acc_hdl_alloc()
1277 if ((hp = kmem_zalloc(sizeof (ddi_acc_impl_t), sleepflag)) == NULL) in impl_acc_hdl_alloc()
1280 sizeof (ndi_err_t), sleepflag)) == NULL) { in impl_acc_hdl_alloc()
1285 sizeof (on_trap_data_t), sleepflag)) == NULL) { in impl_acc_hdl_alloc()

12