Searched refs:ena_cmd_ctx_t (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/uts/common/io/ena/ |
H A D | ena_admin.c | 28 ena_complete_cmd_ctx(ena_cmd_ctx_t *ctx, enahw_resp_desc_t *hwresp) in ena_complete_cmd_ctx() 35 ena_reset_cmd_ctx(ena_cmd_ctx_t *ctx) in ena_reset_cmd_ctx() 46 ena_release_cmd_ctx(ena_t *ena, ena_cmd_ctx_t *ctx) in ena_release_cmd_ctx() 68 ena_cmd_ctx_t *ctx; in ena_release_all_cmd_ctx() 85 ena_cmd_ctx_t *ctx = &aq->ea_cmd_ctxs[i]; in ena_create_cmd_ctx() 96 static ena_cmd_ctx_t * 101 ena_cmd_ctx_t *ctx = list_remove_head(&aq->ea_cmd_ctxs_free); in ena_acquire_cmd_ctx() 113 ena_cmd_ctx_t **ctx) in ena_admin_submit_cmd() 119 ena_cmd_ctx_t *lctx = NULL; in ena_admin_submit_cmd() 148 DTRACE_PROBE4(cmd__submit, enahw_cmd_desc_t *, cmd, ena_cmd_ctx_t *, in ena_admin_submit_cmd() [all …]
|
H A D | ena.h | 226 } ena_cmd_ctx_t; typedef 258 ena_cmd_ctx_t *ea_cmd_ctxs; /* WO */ 945 enahw_resp_desc_t *, ena_cmd_ctx_t **); 946 extern int ena_admin_poll_for_resp(ena_t *, ena_cmd_ctx_t *);
|
H A D | ena.c | 1087 aq->ea_cmd_ctxs = kmem_zalloc(sizeof (ena_cmd_ctx_t) * aq->ea_qlen, in ena_adminq_init() 1089 list_create(&aq->ea_cmd_ctxs_free, sizeof (ena_cmd_ctx_t), in ena_adminq_init() 1090 offsetof(ena_cmd_ctx_t, ectx_node)); in ena_adminq_init() 1091 list_create(&aq->ea_cmd_ctxs_used, sizeof (ena_cmd_ctx_t), in ena_adminq_init() 1092 offsetof(ena_cmd_ctx_t, ectx_node)); in ena_adminq_init() 1122 kmem_free(aq->ea_cmd_ctxs, sizeof (ena_cmd_ctx_t) * aq->ea_qlen); in ena_cleanup_device_init()
|