Searched refs:mgp (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_attach.c46 md_grow_params_t mgp; local
58 (void) memset(&mgp, 0, sizeof (mgp));
60 mgp.options = MD_CRO_64BIT;
62 mgp.options = MD_CRO_32BIT;
64 mgp.mnum = meta_getminor(namep->dev);
65 MD_SETDRIVERNAME(&mgp, miscname, sp->setno);
66 if (metaioctl(MD_IOCGROW, &mgp, &mgp.mde, namep->cname) != 0)
67 return (mdstealerror(ep, &mgp
[all...]
H A Dmeta_stripe.c1316 md_grow_params_t mgp; local
1495 (void) memset(&mgp, 0, sizeof (mgp));
1496 mgp.mnum = MD_SID(old_un);
1497 MD_SETDRIVERNAME(&mgp, MD_STRIPE, sp->setno);
1498 mgp.size = mdsize;
1499 mgp.mdp = (uintptr_t)new_un;
1500 mgp.nrows = old_un->un_nrows;
1502 mgp.options = MD_CRO_32BIT;
1505 mgp
[all...]
H A Dmeta_raid.c1312 md_grow_params_t mgp; local
1383 (void) memset(&mgp, 0, sizeof (mgp));
1384 mgp.mnum = MD_SID(new_mr);
1385 MD_SETDRIVERNAME(&mgp, MD_RAID, sp->setno);
1386 mgp.size = new_rusize;
1387 mgp.mdp = (uintptr_t)new_mr;
1390 mgp.options = MD_CRO_32BIT;
1393 mgp.options = MD_CRO_64BIT;
1396 if (metaioctl(MD_IOCGROW, &mgp,
[all...]
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge.c357 ss->mgp->icookie);
369 ss->mgp->name);
566 err = ddi_dma_alloc_handle(ss->mgp->dip, rx_dma_attr,
777 struct myri10ge_priv *mgp = ss->mgp; local
782 err = ddi_dma_alloc_handle(mgp->dip,
790 mgp->name);
821 ss->mgp->name,
936 ss->mgp->name);
943 ss->tx.cp[h].va = myri10ge_dma_alloc(ss->mgp
983 myri10ge_read_mac_addr(struct myri10ge_priv *mgp) argument
1143 myri10ge_load_firmware_from_zlib(struct myri10ge_priv *mgp, uint32_t *limit) argument
1211 myri10ge_send_cmd(struct myri10ge_priv *mgp, uint32_t cmd, myri10ge_cmd_t *data) argument
1274 myri10ge_dummy_rdma(struct myri10ge_priv *mgp, int enable) argument
1322 myri10ge_load_firmware(struct myri10ge_priv *mgp) argument
1396 struct myri10ge_priv *mgp = arg; local
1413 myri10ge_change_pause(struct myri10ge_priv *mgp, int pause) argument
1435 myri10ge_change_promisc(struct myri10ge_priv *mgp, int promisc) argument
1452 myri10ge_dma_test(struct myri10ge_priv *mgp, int test_type) argument
1524 myri10ge_reset(struct myri10ge_priv *mgp) argument
1653 myri10ge_init_toeplitz(struct myri10ge_priv *mgp) argument
1705 myri10ge_toeplitz_send_hash(struct myri10ge_priv *mgp, struct ip *ip) argument
1749 myri10ge_simple_send_hash(struct myri10ge_priv *mgp, struct ip *ip) argument
1773 myri10ge_send_hash(struct myri10ge_priv *mgp, mblk_t *mp) argument
1831 struct myri10ge_priv *mgp = ss->mgp; local
2072 myri10ge_start_locked(struct myri10ge_priv *mgp) argument
2203 myri10ge_stop_locked(struct myri10ge_priv *mgp) argument
2270 struct myri10ge_priv *mgp = arg; local
2295 struct myri10ge_priv *mgp = arg; local
2606 struct myri10ge_priv *mgp = ss->mgp; local
2691 struct myri10ge_priv *mgp = ss->mgp; local
2780 struct myri10ge_priv *mgp = arg; local
2804 struct myri10ge_priv *mgp = arg; local
3122 struct myri10ge_priv *mgp = ss->mgp; local
3335 struct myri10ge_priv *mgp = ss->mgp; local
3736 struct myri10ge_priv *mgp = arg; local
3763 struct myri10ge_priv *mgp = arg; local
3777 struct myri10ge_priv *mgp = arg; local
3887 struct myri10ge_priv *mgp = arg; local
3920 myri10ge_nic_stat_destroy(struct myri10ge_priv *mgp) argument
3940 myri10ge_info_destroy(struct myri10ge_priv *mgp) argument
3953 struct myri10ge_priv *mgp; local
4033 struct myri10ge_priv *mgp; local
4062 myri10ge_info_init(struct myri10ge_priv *mgp) argument
4097 myri10ge_nic_stat_init(struct myri10ge_priv *mgp) argument
4159 struct myri10ge_priv *mgp = ss->mgp; local
4245 myri10ge_enable_nvidia_ecrc(struct myri10ge_priv *mgp) argument
4338 myri10ge_enable_nvidia_ecrc(struct myri10ge_priv *mgp) argument
4365 myri10ge_firmware_probe(struct myri10ge_priv *mgp) argument
4412 myri10ge_select_firmware(struct myri10ge_priv *mgp) argument
4462 myri10ge_add_intrs(struct myri10ge_priv *mgp, int add_handler) argument
4599 myri10ge_rem_intrs(struct myri10ge_priv *mgp, int handler_installed) argument
4873 myri10ge_reset_nic(struct myri10ge_priv *mgp) argument
4923 struct myri10ge_priv *mgp; local
5009 struct myri10ge_priv *mgp = (struct myri10ge_priv *)(void *)cp; local
5020 struct myri10ge_priv *mgp = (struct myri10ge_priv *)(void *)cp; local
5040 struct myri10ge_priv *mgp = (struct myri10ge_priv *)(void *)cp; local
5051 struct myri10ge_priv *mgp = (struct myri10ge_priv *)(void *)cp; local
5096 myri10ge_ndd_init(struct myri10ge_priv *mgp) argument
5127 myri10ge_ndd_fini(struct myri10ge_priv *mgp) argument
5136 struct myri10ge_priv *mgp = arg; local
5169 struct myri10ge_priv *mgp; local
5183 myri10ge_put_instance(struct myri10ge_priv *mgp) argument
5193 struct myri10ge_priv *mgp = arg; local
5244 struct myri10ge_priv *mgp = arg; local
5401 struct myri10ge_priv *mgp = arg; local
5458 myri10ge_probe_slices(struct myri10ge_priv *mgp) argument
5568 myri10ge_free_slices(struct myri10ge_priv *mgp) argument
5602 myri10ge_alloc_slices(struct myri10ge_priv *mgp) argument
5657 myri10ge_save_msi_state(struct myri10ge_priv *mgp, ddi_acc_handle_t handle) argument
5683 myri10ge_restore_msi_state(struct myri10ge_priv *mgp, ddi_acc_handle_t handle) argument
5711 myri10ge_save_pci_state(struct myri10ge_priv *mgp) argument
5731 myri10ge_restore_pci_state(struct myri10ge_priv *mgp) argument
5755 struct myri10ge_priv *mgp = ddi_get_driver_private(dip); local
5783 struct myri10ge_priv *mgp = ddi_get_driver_private(dip); local
5815 struct myri10ge_priv *mgp; local
6035 struct myri10ge_priv *mgp, *tmp; local
6114 myri10ge_poll_down(struct myri10ge_priv *mgp) argument
6154 struct myri10ge_priv *mgp; local
[all...]
H A Dmyri10ge_var.h112 struct myri10ge_priv *mgp; member in struct:myri10ge_mblkq
286 (((struct myri10ge_nic_stat *)mgp->ksp_stat->ks_data)->field.value.ul)++
382 struct myri10ge_priv *mgp; member in struct:myri10ge_slice_state
492 int myri10ge_send_cmd(struct myri10ge_priv *mgp, uint32_t cmd,
/illumos-gate/usr/src/cmd/mdb/common/modules/mac/
H A Dmac.c1065 uintptr_t mgp; local
1083 mgp = (uintptr_t)mi.mi_rx_groups;
1084 while (mgp != NULL) {
1085 if (mdb_vread(&mg, sizeof (mac_group_t), mgp) == -1) {
1086 mdb_warn("failed to read mac_group_t at %p", mgp);
1090 ret = wsp->walk_callback(mgp, &mg, wsp->walk_cbdata);
1093 mgp = (uintptr_t)mg.mrg_next;
1096 mgp = (uintptr_t)mi.mi_tx_groups;
1097 while (mgp != NULL) {
1098 if (mdb_vread(&mg, sizeof (mac_group_t), mgp)
1113 mac_group_count_clients(mac_group_t *mgp) argument
1133 mac_group_type(mac_group_t *mgp) argument
1153 mac_group_state(mac_group_t *mgp) argument
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/stripe/
H A Dstripe_ioctl.c423 md_grow_params_t *mgp = d; local
426 mnum = mgp->mnum;
427 mdep = &mgp->mde;
429 npar = mgp->npar;
445 ASSERT((minor_t *)(uintptr_t)mgp->par != NULL);
448 if (ddi_copyin((caddr_t)(uintptr_t)mgp->par, (caddr_t)par,
468 if (un->un_nrows != mgp->nrows) {
482 if (mgp->options & MD_CRO_64BIT) {
487 ms_recid = mddb_createrec((size_t)mgp->size, typ1, 0,
491 ms_recid = mddb_createrec((size_t)mgp
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/softpart/
H A Dsp_ioctl.c758 md_grow_params_t *mgp = (md_grow_params_t *)d; local
760 mnum = mgp->mnum;
761 mdep = &mgp->mde;
763 npar = mgp->npar;
780 ASSERT((minor_t *)(uintptr_t)mgp->par != NULL);
783 if (ddi_copyin((void *)(uintptr_t)mgp->par, par,
812 if (mgp->options & MD_CRO_64BIT) {
817 recid = mddb_createrec((size_t)mgp->size, rec_type, 0,
821 recid = mddb_createrec((size_t)mgp->size, rec_type, 0,
833 err = ddi_copyin((void *)(uintptr_t)mgp
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dmetaslab.c892 metaslab_group_t *mgp; local
924 for (mgp = mg->mg_next; mgp != rotor; mgp = mgp->mg_next) {
925 qmax = mgp->mg_max_alloc_queue_depth;
927 qdepth = refcount_count(&mgp->mg_alloc_queue_depth);
934 if (qdepth < qmax && !mgp->mg_no_free_space)
/illumos-gate/usr/src/uts/common/io/lvm/trans/
H A Dtrans_ioctl.c1265 md_grow_params_t *mgp = d; local
1267 mdclrerror(&mgp->mde);
1269 un = trans_getun(mgp->mnum, &mgp->mde,
/illumos-gate/usr/src/uts/common/io/lvm/raid/
H A Draid_ioctl.c1668 * PARAMETERS: md_grow_params_t *mgp
1678 raid_grow(void *mgp, int mode, IOLOCK *lock) argument
1697 md_grow_params_t *mgph = mgp;
/illumos-gate/usr/src/uts/common/io/lvm/mirror/
H A Dmirror_ioctl.c1466 void *mgp,
1471 md_grow_params_t *mgph = mgp;
1465 mirror_grow( void *mgp, IOLOCK *lock ) argument

Completed in 126 milliseconds