Searched refs:mq (Results 1 - 21 of 21) sorted by relevance

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_mq.c46 struct oce_mq *mq; local
51 mq = (struct oce_mq *)arg;
52 cq = mq->cq;
53 dev = mq->parent;
54 mutex_enter(&mq->lock);
81 mutex_exit(&mq->lock);
87 oce_start_mq(struct oce_mq *mq) argument
89 oce_arm_cq(mq->parent, mq->cq->cq_id, 0, B_TRUE);
95 oce_clean_mq(struct oce_mq *mq) argument
[all...]
H A Doce_queue.c332 struct oce_mq *mq = NULL; local
345 /* allocate the mq */
346 mq = kmem_zalloc(sizeof (struct oce_mq), KM_NOSLEEP);
348 if (mq == NULL) {
357 mq->ring = create_ring_buffer(dev, q_len,
359 if (mq->ring == NULL) {
362 (void *)mq->ring);
371 fwcmd->params.req.num_pages = mq->ring->dbuf->num_pages;
372 oce_page_list(mq->ring->dbuf, fwcmd->params.req.pages,
373 mq
427 oce_mq_del(struct oce_dev *dev, struct oce_mq *mq) argument
1201 struct oce_mq *mq; local
[all...]
H A Doce_gld.c104 (void) oce_start_mq(dev->mq);
143 mutex_enter(&dev->mq->lock);
148 mutex_exit(&dev->mq->lock);
/illumos-gate/usr/src/uts/sun4v/io/
H A Ddr_mem.c725 memquery_t mq; local
730 (void) kphysm_del_span_query(btop(mbp->addr), btop(mbp->size), &mq);
732 if (!mq.phys_pages)
736 mqp->mq.phys_pages = ptob(mq.phys_pages);
737 mqp->mq.managed = ptob(mq.managed);
738 mqp->mq.nonrelocatable = ptob(mq.nonrelocatable);
739 mqp->mq
1145 memquery_t mq; local
[all...]
/illumos-gate/usr/src/uts/sun4v/sys/
H A Ddr_mem.h80 memquery_t mq; /* query results */ member in struct:__anon10324
/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr_mem_acpi.c281 memquery_t mq; local
371 rv = ml ? dr_del_mlist_query(ml, &mq) : -1;
375 msp->ms_managed_pages = mq.managed;
376 msp->ms_noreloc_pages = mq.nonrelocatable;
378 mq.first_nonrelocatable;
380 mq.last_nonrelocatable;
382 if (mq.nonrelocatable &&
/illumos-gate/usr/src/uts/sun4u/opl/io/
H A Ddr_mem.c661 memquery_t mq; local
664 _b64top(ml->ml_address), _b64top(ml->ml_size), &mq);
668 mp->phys_pages += mq.phys_pages;
669 mp->managed += mq.managed;
670 mp->nonrelocatable += mq.nonrelocatable;
672 if (mq.nonrelocatable != 0) {
673 if (mq.first_nonrelocatable < mp->first_nonrelocatable)
675 mq.first_nonrelocatable;
676 if (mq.last_nonrelocatable > mp->last_nonrelocatable)
678 mq
698 memquery_t mq; local
1568 memquery_t mq; local
2275 memquery_t mq; local
2651 memquery_t mq; local
[all...]
/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr_mem.c672 memquery_t mq; local
675 _b64top(ml->ml_address), _b64top(ml->ml_size), &mq);
679 mp->phys_pages += mq.phys_pages;
680 mp->managed += mq.managed;
681 mp->nonrelocatable += mq.nonrelocatable;
683 if (mq.nonrelocatable != 0) {
684 if (mq.first_nonrelocatable < mp->first_nonrelocatable)
686 mq.first_nonrelocatable;
687 if (mq.last_nonrelocatable > mp->last_nonrelocatable)
689 mq
713 memquery_t mq; local
1453 memquery_t mq; local
2351 memquery_t mq; local
[all...]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_io.h168 /* lock for the mq */
174 /* idnetifier for the mq */
183 /* configuration of this mq */
354 void oce_clean_mq(struct oce_mq *mq);
355 int oce_start_mq(struct oce_mq *mq);
H A Doce_impl.h216 struct oce_mq *mq; /* MQ ring */ member in struct:oce_dev
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_storage.c819 GQueue *mq; local
834 if ((mq = g_queue_new()) == NULL) {
838 g_queue_free (mq);
885 g_queue_push_head (mq, maindev);
888 g_queue_push_tail (mq, m);
897 while (!g_queue_is_empty (mq)) {
898 devinfo_storage_free_minor (g_queue_pop_head (mq));
924 g_queue_push_tail (mq, m);
933 while (!g_queue_is_empty (mq)) {
934 m = g_queue_pop_head (mq);
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Darray.c346 Namval_t *nq, *mq; local
409 mq = 0;
411 mq = nv_search(name,ap->table,NV_ADD);
414 mq->nvalue.cp = 0;
416 ar->val[ar->cur].np = mq;
417 nv_clone(nq,mq,flags);
425 mq->nvalue = nq->nvalue;
H A Dnvtype.c445 Namval_t *mq = (Namval_t*)((*ap->fun)(nq,NIL(char*),NV_ACURRENT)); local
446 nv_clone(mp,mq,NV_MOVE);
/illumos-gate/usr/src/cmd/dc/
H A Ddc.c1344 struct blk *mp, *mq, *mr; local
1359 mq = q;
1362 mq = copy(q, length(q));
1363 chsign(mq);
1367 mr = salloc(length(mp) + length(mq));
1369 rewind(mq);
1370 while (sfeof(mq) == 0) {
1371 cq = sgetc(mq);
1394 if (mq != q)
1395 release(mq);
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dsbd_mem.c842 memquery_t mq; local
905 mp->sbm_basepfn, mp->sbm_npages, &mq);
927 if (mq.nonrelocatable != 0) {
974 if ((mq.nonrelocatable != 0) ||
1737 memquery_t mq; local
1870 t_mp->sbm_basepfn, t_mp->sbm_npages, &mq);
1878 if (mq.nonrelocatable != 0) {
1883 mq.first_nonrelocatable,
1884 mq.last_nonrelocatable);
H A Dsbd.c4057 memquery_t mq; local
4172 mp->sbm_npages, &mq);
4174 msp->ms_managed_pages = mq.managed;
4175 msp->ms_noreloc_pages = mq.nonrelocatable;
4176 msp->ms_noreloc_first = mq.first_nonrelocatable;
4177 msp->ms_noreloc_last = mq.last_nonrelocatable;
4179 if (mq.nonrelocatable) {
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_sli4.c3168 EMLXS_MPDATA_SYNC(hba->sli.sli4.mq.addr.dma_handle, 0,
3201 hba->sli.sli4.mq.addr.virt) -
3205 EMLXS_MPDATA_SYNC(hba->sli.sli4.mq.addr.dma_handle, offset,
3215 mqdb = hba->sli.sli4.mq.qid;
3593 iptr = hba->sli.sli4.mq.addr.virt;
3594 iptr += (hba->sli.sli4.mq.host_index * MAILBOX_CMD_SLI4_WSIZE);
3595 hba->sli.sli4.mq.host_index++;
3596 if (hba->sli.sli4.mq.host_index >= hba->sli.sli4.mq.max_index) {
3597 hba->sli.sli4.mq
8371 IOCTL_COMMON_MQ_CREATE *mq; local
[all...]
H A Demlxs_mbox.c923 addr = hba->sli.sli4.mq.addr.phys;
928 qp->params.request.MQContext.CQId = hba->sli.sli4.mq.cqid;
975 addr = hba->sli.sli4.mq.addr.phys;
984 qp->params.request.context.CQId = hba->sli.sli4.mq.cqid;
1004 addr = hba->sli.sli4.mq.addr.phys;
1014 qp1->params.request.CQId = hba->sli.sli4.mq.cqid;
/illumos-gate/usr/src/tools/onbld/Scm/
H A DWorkSpace.py49 from hgext import mq namespace
947 q = mq.queue(self.ui, self.repo.join(''))
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_extern.h530 extern void emlxs_cmpl_mbox(emlxs_hba_t *hba, MAILBOXQ *mq);
H A Demlxs_fc.h1671 MQ_DESC_t mq; member in struct:emlxs_sli4

Completed in 163 milliseconds