Home
last modified time | relevance | path

Searched refs:oce_wq (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_tx.c31 static void oce_free_wqed(struct oce_wq *wq, oce_wqe_desc_t *wqed);
32 static int oce_map_wqe(struct oce_wq *wq, oce_wqe_desc_t *wqed,
34 static int oce_bcopy_wqe(struct oce_wq *wq, oce_wqe_desc_t *wqed, mblk_t *mp,
36 static void oce_wqb_dtor(struct oce_wq *wq, oce_wq_bdesc_t *wqbd);
37 static int oce_wqb_ctor(oce_wq_bdesc_t *wqbd, struct oce_wq *wq,
39 static inline oce_wq_bdesc_t *oce_wqb_alloc(struct oce_wq *wq);
40 static void oce_wqb_free(struct oce_wq *wq, oce_wq_bdesc_t *wqbd);
42 static void oce_wqmd_free(struct oce_wq *wq, oce_wq_mdesc_t *wqmd);
43 static void oce_wqm_free(struct oce_wq *wq, oce_wq_mdesc_t *wqmd);
44 static oce_wq_mdesc_t *oce_wqm_alloc(struct oce_wq *wq);
[all …]
H A Doce_queue.c51 static struct oce_wq *oce_wq_init(struct oce_dev *dev, uint32_t q_len,
53 static void oce_wq_fini(struct oce_dev *dev, struct oce_wq *wq);
54 static int oce_wq_create(struct oce_wq *wq, struct oce_eq *eq);
55 static void oce_wq_del(struct oce_dev *dev, struct oce_wq *wq);
455 static struct oce_wq *
458 struct oce_wq *wq; in oce_wq_init()
473 wq = kmem_zalloc(sizeof (struct oce_wq), KM_NOSLEEP); in oce_wq_init()
546 kmem_free(wq, sizeof (struct oce_wq)); in oce_wq_init()
559 oce_wq_fini(struct oce_dev *dev, struct oce_wq *wq) in oce_wq_fini()
573 kmem_free(wq, sizeof (struct oce_wq)); in oce_wq_fini()
[all …]
H A Doce_gld.c287 struct oce_wq *wq; in oce_m_send()
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_buf.h126 struct oce_wq *wq;
181 int oce_wqb_cache_create(struct oce_wq *wq, size_t buf_size);
182 void oce_wqb_cache_destroy(struct oce_wq *wq);
184 void oce_wqm_cache_destroy(struct oce_wq *wq);
185 int oce_wqm_cache_create(struct oce_wq *wq);
H A Doce_io.h213 struct oce_wq { struct
335 struct oce_wq *oce_get_wq(struct oce_dev *dev, mblk_t *pkt);
337 mblk_t *oce_send_packet(struct oce_wq *wq, mblk_t *mp);
338 int oce_start_wq(struct oce_wq *wq);
339 void oce_clean_wq(struct oce_wq *wq);
H A Doce_impl.h212 struct oce_wq *wq[OCE_MAX_WQ]; /* TXQ Array */