/titanic_51/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_mq.c | 46 struct oce_mq *mq; in oce_drain_mq_cq() local 51 mq = (struct oce_mq *)arg; in oce_drain_mq_cq() 52 cq = mq->cq; in oce_drain_mq_cq() 53 dev = mq->parent; in oce_drain_mq_cq() 54 mutex_enter(&mq->lock); in oce_drain_mq_cq() 81 mutex_exit(&mq->lock); in oce_drain_mq_cq() 87 oce_start_mq(struct oce_mq *mq) in oce_start_mq() argument 89 oce_arm_cq(mq->parent, mq->cq->cq_id, 0, B_TRUE); in oce_start_mq() 95 oce_clean_mq(struct oce_mq *mq) in oce_clean_mq() argument [all...] |
H A D | oce_queue.c | 332 struct oce_mq *mq = NULL; in oce_mq_create() local 345 /* allocate the mq */ in oce_mq_create() 346 mq = kmem_zalloc(sizeof (struct oce_mq), KM_NOSLEEP); in oce_mq_create() 348 if (mq == NULL) { in oce_mq_create() 357 mq->ring = create_ring_buffer(dev, q_len, in oce_mq_create() 359 if (mq->ring == NULL) { in oce_mq_create() 362 (void *)mq->ring); in oce_mq_create() 371 fwcmd->params.req.num_pages = mq->ring->dbuf->num_pages; in oce_mq_create() 372 oce_page_list(mq->ring->dbuf, fwcmd->params.req.pages, in oce_mq_create() 373 mq in oce_mq_create() 427 oce_mq_del(struct oce_dev * dev,struct oce_mq * mq) oce_mq_del() argument 1201 struct oce_mq *mq; oce_create_queues() local [all...] |
H A D | oce_gld.c | 104 (void) oce_start_mq(dev->mq); in oce_start() 143 mutex_enter(&dev->mq->lock); in oce_stop() 148 mutex_exit(&dev->mq->lock); in oce_stop()
|
/titanic_51/usr/src/uts/sun4v/io/ |
H A D | dr_mem.c | 725 memquery_t mq; in dr_mem_query() local 730 (void) kphysm_del_span_query(btop(mbp->addr), btop(mbp->size), &mq); in dr_mem_query() 732 if (!mq.phys_pages) in dr_mem_query() 736 mqp->mq.phys_pages = ptob(mq.phys_pages); in dr_mem_query() 737 mqp->mq.managed = ptob(mq.managed); in dr_mem_query() 738 mqp->mq.nonrelocatable = ptob(mq.nonrelocatable); in dr_mem_query() 739 mqp->mq in dr_mem_query() 1145 memquery_t mq; mem_del() local [all...] |
/titanic_51/usr/src/uts/sun4u/opl/io/ |
H A D | dr_mem.c | 661 memquery_t mq; in dr_del_mlist_query() local 664 _b64top(ml->ml_address), _b64top(ml->ml_size), &mq); in dr_del_mlist_query() 668 mp->phys_pages += mq.phys_pages; in dr_del_mlist_query() 669 mp->managed += mq.managed; in dr_del_mlist_query() 670 mp->nonrelocatable += mq.nonrelocatable; in dr_del_mlist_query() 672 if (mq.nonrelocatable != 0) { in dr_del_mlist_query() 673 if (mq.first_nonrelocatable < mp->first_nonrelocatable) in dr_del_mlist_query() 675 mq.first_nonrelocatable; in dr_del_mlist_query() 676 if (mq.last_nonrelocatable > mp->last_nonrelocatable) in dr_del_mlist_query() 678 mq in dr_del_mlist_query() 698 memquery_t mq; dr_mem_status() local 1568 memquery_t mq; dr_pre_release_mem() local 2275 memquery_t mq; dr_select_mem_target() local 2651 memquery_t mq; dr_get_nonreloc_mlist() local [all...] |
/titanic_51/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_mem.c | 672 memquery_t mq; in dr_del_span_query() local 675 _b64top(ml->ml_address), _b64top(ml->ml_size), &mq); in dr_del_span_query() 679 mp->phys_pages += mq.phys_pages; in dr_del_span_query() 680 mp->managed += mq.managed; in dr_del_span_query() 681 mp->nonrelocatable += mq.nonrelocatable; in dr_del_span_query() 683 if (mq.nonrelocatable != 0) { in dr_del_span_query() 684 if (mq.first_nonrelocatable < mp->first_nonrelocatable) in dr_del_span_query() 686 mq.first_nonrelocatable; in dr_del_span_query() 687 if (mq.last_nonrelocatable > mp->last_nonrelocatable) in dr_del_span_query() 689 mq in dr_del_span_query() 713 memquery_t mq; dr_mem_status() local 1453 memquery_t mq; dr_pre_release_mem() local 2351 memquery_t mq; dr_select_mem_target() local [all...] |
/titanic_51/usr/src/uts/i86pc/io/dr/ |
H A D | dr_mem_acpi.c | 281 memquery_t mq; in dr_mem_status() local 371 rv = ml ? dr_del_mlist_query(ml, &mq) : -1; in dr_mem_status() 375 msp->ms_managed_pages = mq.managed; in dr_mem_status() 376 msp->ms_noreloc_pages = mq.nonrelocatable; in dr_mem_status() 378 mq.first_nonrelocatable; in dr_mem_status() 380 mq.last_nonrelocatable; in dr_mem_status() 382 if (mq.nonrelocatable && in dr_mem_status()
|
/titanic_51/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_storage.c | 819 GQueue *mq; in devinfo_storage_minors() local 834 if ((mq = g_queue_new()) == NULL) { in devinfo_storage_minors() 838 g_queue_free (mq); in devinfo_storage_minors() 885 g_queue_push_head (mq, maindev); in devinfo_storage_minors() 888 g_queue_push_tail (mq, m); in devinfo_storage_minors() 897 while (!g_queue_is_empty (mq)) { in devinfo_storage_minors() 898 devinfo_storage_free_minor (g_queue_pop_head (mq)); in devinfo_storage_minors() 924 g_queue_push_tail (mq, m); in devinfo_storage_minors() 933 while (!g_queue_is_empty (mq)) { in devinfo_storage_minors() 934 m = g_queue_pop_head (mq); in devinfo_storage_minors() [all...] |
/titanic_51/usr/src/uts/sun4v/sys/ |
H A D | dr_mem.h | 80 memquery_t mq; /* query results */ member
|
/titanic_51/usr/src/cmd/dc/ |
H A D | dc.c | 1344 struct blk *mp, *mq, *mr; in mult() local 1359 mq = q; in mult() 1362 mq = copy(q, length(q)); in mult() 1363 chsign(mq); in mult() 1367 mr = salloc(length(mp) + length(mq)); in mult() 1369 rewind(mq); in mult() 1370 while (sfeof(mq) == 0) { in mult() 1371 cq = sgetc(mq); in mult() 1394 if (mq != q) in mult() 1395 release(mq); in mult() [all...] |
/titanic_51/usr/src/uts/common/sys/fibre-channel/fca/oce/ |
H A D | oce_io.h | 168 /* 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 D | oce_impl.h | 216 struct oce_mq *mq; /* MQ ring */ member
|
/titanic_51/usr/src/uts/sun4u/io/ |
H A D | sbd_mem.c | 842 memquery_t mq; in sbd_pre_release_mem() local 905 mp->sbm_basepfn, mp->sbm_npages, &mq); in sbd_pre_release_mem() 927 if (mq.nonrelocatable != 0) { in sbd_pre_release_mem() 974 if ((mq.nonrelocatable != 0) || in sbd_pre_release_mem() 1737 memquery_t mq; in sbd_select_mem_target() local 1870 t_mp->sbm_basepfn, t_mp->sbm_npages, &mq); in sbd_select_mem_target() 1878 if (mq.nonrelocatable != 0) { in sbd_select_mem_target() 1883 mq.first_nonrelocatable, in sbd_select_mem_target() 1884 mq.last_nonrelocatable); in sbd_select_mem_target()
|
H A D | sbd.c | 4057 memquery_t mq; in sbd_mem_status() local 4172 mp->sbm_npages, &mq); in sbd_mem_status() 4174 msp->ms_managed_pages = mq.managed; in sbd_mem_status() 4175 msp->ms_noreloc_pages = mq.nonrelocatable; in sbd_mem_status() 4176 msp->ms_noreloc_first = mq.first_nonrelocatable; in sbd_mem_status() 4177 msp->ms_noreloc_last = mq.last_nonrelocatable; in sbd_mem_status() 4179 if (mq.nonrelocatable) { in sbd_mem_status()
|
/titanic_51/usr/src/lib/libshell/common/sh/ |
H A D | array.c | 346 Namval_t *nq, *mq; in array_clone() local 409 mq = 0; in array_clone() 411 mq = nv_search(name,ap->table,NV_ADD); in array_clone() 414 mq->nvalue.cp = 0; in array_clone() 416 ar->val[ar->cur].np = mq; in array_clone() 417 nv_clone(nq,mq,flags); in array_clone() 425 mq->nvalue = nq->nvalue; in array_clone()
|
H A D | nvtree.c | 949 Namval_t *nq, *mq; in walk_tree() local 960 mq = nv_open(stakptr(0),save_tree,NV_VARNAME|NV_NOASSIGN|NV_NOFAIL); in walk_tree() 962 if(nq && mq) in walk_tree() 964 nv_clone(nq,mq,flags|NV_RAW); in walk_tree()
|
H A D | nvtype.c | 445 Namval_t *mq = (Namval_t*)((*ap->fun)(nq,NIL(char*),NV_ACURRENT)); in clone_type() local 446 nv_clone(mp,mq,NV_MOVE); in clone_type()
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | array.c | 450 Namval_t *nq, *mq; in array_clone() local 513 mq = 0; in array_clone() 515 mq = nv_search(name,ap->table,NV_ADD); in array_clone() 518 mq->nvalue.cp = 0; in array_clone() 520 ar->val[ar->cur].np = mq; in array_clone() 521 nv_clone(nq,mq,flags); in array_clone() 529 mq->nvalue = nq->nvalue; in array_clone()
|
H A D | nvtree.c | 1019 Namval_t *nq, *mq; in walk_tree() local 1030 mq = nv_open(stakptr(0),shp->prev_root,NV_VARNAME|NV_NOASSIGN|NV_NOFAIL); in walk_tree() 1032 if(nq && mq) in walk_tree() 1034 nv_clone(nq,mq,flags|NV_RAW); in walk_tree()
|
H A D | nvtype.c | 457 Namval_t *mq = (Namval_t*)((*ap->fun)(nq,NIL(char*),NV_ACURRENT)); in clone_type() local 458 nv_clone(mp,mq,NV_MOVE); in clone_type()
|
/titanic_51/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_sli4.c | 3168 EMLXS_MPDATA_SYNC(hba->sli.sli4.mq.addr.dma_handle, 0, in emlxs_sli4_issue_mq() 3201 hba->sli.sli4.mq.addr.virt) - in emlxs_sli4_issue_mq() 3205 EMLXS_MPDATA_SYNC(hba->sli.sli4.mq.addr.dma_handle, offset, in emlxs_sli4_issue_mq() 3215 mqdb = hba->sli.sli4.mq.qid; in emlxs_sli4_issue_mq() 3593 iptr = hba->sli.sli4.mq.addr.virt; in emlxs_sli4_issue_mbox_cmd() 3594 iptr += (hba->sli.sli4.mq.host_index * MAILBOX_CMD_SLI4_WSIZE); in emlxs_sli4_issue_mbox_cmd() 3595 hba->sli.sli4.mq.host_index++; in emlxs_sli4_issue_mbox_cmd() 3596 if (hba->sli.sli4.mq.host_index >= hba->sli.sli4.mq.max_index) { in emlxs_sli4_issue_mbox_cmd() 3597 hba->sli.sli4.mq in emlxs_sli4_issue_mbox_cmd() 8371 IOCTL_COMMON_MQ_CREATE *mq; emlxs_sli4_create_queues() local [all...] |
H A D | emlxs_mbox.c | 923 addr = hba->sli.sli4.mq.addr.phys; in emlxs_mb_mq_create() 928 qp->params.request.MQContext.CQId = hba->sli.sli4.mq.cqid; in emlxs_mb_mq_create() 975 addr = hba->sli.sli4.mq.addr.phys; in emlxs_mb_mq_create_ext() 984 qp->params.request.context.CQId = hba->sli.sli4.mq.cqid; in emlxs_mb_mq_create_ext() 1004 addr = hba->sli.sli4.mq.addr.phys; in emlxs_mb_mq_create_ext() 1014 qp1->params.request.CQId = hba->sli.sli4.mq.cqid; in emlxs_mb_mq_create_ext()
|
/titanic_51/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_extern.h | 530 extern void emlxs_cmpl_mbox(emlxs_hba_t *hba, MAILBOXQ *mq);
|
H A D | emlxs_fc.h | 1671 MQ_DESC_t mq; member
|