Lines Matching refs:me
1519 struct di_node *me; in build_vhci_list() local
1542 me = DI_NODE(di_mem_addr(st, all->top_vhci_devinfo)); in build_vhci_list()
1544 while (me->next_vhci != 0) { in build_vhci_list()
1545 me = DI_NODE(di_mem_addr(st, me->next_vhci)); in build_vhci_list()
1548 me->next_vhci = off; in build_vhci_list()
1565 struct di_node *me; in build_phci_list() local
1588 me = DI_NODE(di_mem_addr(pwa->st, vh_di_node->top_phci)); in build_phci_list()
1590 while (me->next_phci != 0) { in build_phci_list()
1591 me = DI_NODE(di_mem_addr(pwa->st, me->next_phci)); in build_phci_list()
1593 me->next_phci = off; in build_phci_list()
1605 struct di_node *me; in snap_driver_list() local
1616 me = DI_NODE(di_mem_addr(st, off)); in snap_driver_list()
1617 ASSERT(me->next == 0 || me->next == -1); in snap_driver_list()
1622 if (me->next != -1) in snap_driver_list()
1626 off_p = &me->next; in snap_driver_list()
1783 struct di_node *me; in di_copynode() local
1795 me = DI_NODE(di_mem_addr(st, off)); in di_copynode()
1796 me->self = off; in di_copynode()
1809 me->instance = node->devi_instance; in di_copynode()
1810 me->nodeid = node->devi_nodeid; in di_copynode()
1811 me->node_class = node->devi_node_class; in di_copynode()
1812 me->attributes = node->devi_node_attributes; in di_copynode()
1813 me->state = node->devi_state; in di_copynode()
1814 me->flags = node->devi_flags; in di_copynode()
1815 me->node_state = node->devi_node_state; in di_copynode()
1816 me->next_vhci = 0; /* Filled up by build_vhci_list. */ in di_copynode()
1817 me->top_phci = 0; /* Filled up by build_phci_list. */ in di_copynode()
1818 me->next_phci = 0; /* Filled up by build_phci_list. */ in di_copynode()
1819 me->multipath_component = MULTIPATH_COMPONENT_NONE; /* set default. */ in di_copynode()
1820 me->user_private_data = NULL; in di_copynode()
1827 me->parent = *(PARENT_OFFSET(dsp)); in di_copynode()
1838 di_register_dip(st, (dev_info_t *)node, me->self); in di_copynode()
1856 me->devid = off; in di_copynode()
1866 me->node_name = off = di_checkmem(st, off, size); in di_copynode()
1873 me->compat_names = off = di_checkmem(st, off, size); in di_copynode()
1874 me->compat_length = (int)size; in di_copynode()
1881 me->address = off = di_checkmem(st, off, size); in di_copynode()
1888 me->bind_name = off = di_checkmem(st, off, size); in di_copynode()
1893 me->drv_major = node->devi_major; in di_copynode()
1900 if (me->drv_major != -1) { in di_copynode()
1901 me->next = -1; in di_copynode()
1903 me->next = 0; in di_copynode()
1924 me->minor_data = off; in di_copynode()
1925 off = di_getmdata(node->devi_minor, &me->minor_data, in di_copynode()
1926 me->self, st); in di_copynode()
1935 me->multipath_component = MULTIPATH_COMPONENT_VHCI; in di_copynode()
1939 me->multipath_component = MULTIPATH_COMPONENT_CLIENT; in di_copynode()
1940 me->multipath_client = off; in di_copynode()
1941 off = di_getpath_data((dev_info_t *)node, &me->multipath_client, in di_copynode()
1942 me->self, st, 1); in di_copynode()
1945 me->multipath_client, in di_copynode()
1950 me->multipath_component = MULTIPATH_COMPONENT_PHCI; in di_copynode()
1951 me->multipath_phci = off; in di_copynode()
1952 off = di_getpath_data((dev_info_t *)node, &me->multipath_phci, in di_copynode()
1953 me->self, st, 0); in di_copynode()
1956 me->multipath_phci, in di_copynode()
1966 me->drv_prop = off; in di_copynode()
1968 &me->drv_prop, st, node); in di_copynode()
1972 me->sys_prop = off; in di_copynode()
1974 &me->sys_prop, st, node); in di_copynode()
1978 me->hw_prop = off; in di_copynode()
1980 &me->hw_prop, st, node); in di_copynode()
1984 me->glob_prop = (di_off_t)-1; /* not global property */ in di_copynode()
1992 ASSERT(me->drv_major != -1); in di_copynode()
1994 devnamesp[me->drv_major].dn_global_prop_ptr) { in di_copynode()
1995 me->glob_prop = off; in di_copynode()
1998 &me->glob_prop, st, node); in di_copynode()
2008 me->hp_data = off; in di_copynode()
2009 off = di_gethpdata(node->devi_hp_hdlp, &me->hp_data, st); in di_copynode()
2018 me->parent_data = off; in di_copynode()
2019 off = di_getppdata(node, &me->parent_data, st); in di_copynode()
2023 me->driver_data = off; in di_copynode()
2024 off = di_getdpdata(node, &me->driver_data, st); in di_copynode()
2048 me->child = off; in di_copynode()
2049 PUSH_STACK(dsp, n, &me->child); in di_copynode()
2050 return (me->child); in di_copynode()
2066 me->sibling = DI_ALIGN(off); in di_copynode()
2067 PUSH_STACK(dsp, n, &me->sibling); in di_copynode()
2068 return (me->sibling); in di_copynode()
2072 me = DI_NODE(di_mem_addr(st, *(TOP_OFFSET(dsp)))); in di_copynode()
2325 struct di_link *me; in i_link_walker() local
2340 me = DI_LINK(di_mem_addr(data->st, i_link->self)); in i_link_walker()
2341 me->self = i_link->self; in i_link_walker()
2342 me->spec_type = i_link->spec_type; in i_link_walker()
2351 me->src_lnode = i_link->src_lnode->self; in i_link_walker()
2352 me->tgt_lnode = i_link->tgt_lnode->self; in i_link_walker()
2358 melnode = DI_LNODE(di_mem_addr(data->st, me->src_lnode)); in i_link_walker()
2359 me->src_link_next = melnode->link_out; in i_link_walker()
2360 melnode->link_out = me->self; in i_link_walker()
2365 melnode = DI_LNODE(di_mem_addr(data->st, me->tgt_lnode)); in i_link_walker()
2366 me->tgt_link_next = melnode->link_in; in i_link_walker()
2367 melnode->link_in = me->self; in i_link_walker()
2377 me->src_node_next = medinode->src_links; in i_link_walker()
2378 medinode->src_links = me->self; in i_link_walker()
2385 me->tgt_node_next = medinode->tgt_links; in i_link_walker()
2386 medinode->tgt_links = me->self; in i_link_walker()
2397 struct di_lnode *me; in i_lnode_walker() local
2411 me = DI_LNODE(di_mem_addr(data->st, i_lnode->self)); in i_lnode_walker()
2412 me->self = i_lnode->self; in i_lnode_walker()
2415 me->dev_major = DDI_MAJOR_T_NONE; in i_lnode_walker()
2416 me->dev_minor = DDI_MAJOR_T_NONE; in i_lnode_walker()
2418 me->dev_major = getmajor(i_lnode->devt); in i_lnode_walker()
2419 me->dev_minor = getminor(i_lnode->devt); in i_lnode_walker()
2428 me->node = i_lnode->di_node->self; in i_lnode_walker()
2445 me->node_next = medinode->lnodes; in i_lnode_walker()
2446 medinode->lnodes = me->self; in i_lnode_walker()
2523 struct di_minor *me; in di_getmdata() local
2535 me = DI_MINOR(di_mem_addr(st, off)); in di_getmdata()
2536 me->self = off; in di_getmdata()
2537 me->type = mnode->type; in di_getmdata()
2538 me->node = node; in di_getmdata()
2539 me->user_private_data = NULL; in di_getmdata()
2547 me->dev_major = getmajor(mnode->ddm_dev); in di_getmdata()
2548 me->dev_minor = getminor(mnode->ddm_dev); in di_getmdata()
2549 me->spec_type = mnode->ddm_spec_type; in di_getmdata()
2553 me->name = off = di_checkmem(st, off, size); in di_getmdata()
2560 me->node_type = off = di_checkmem(st, off, size); in di_getmdata()
2567 me->next = off; in di_getmdata()
2571 me->next = 0; in di_getmdata()
2756 struct di_path_prop *me; in di_path_getprop() local
2773 me = DI_PATHPROP(di_mem_addr(st, off)); in di_path_getprop()
2774 me->self = off; in di_path_getprop()
2781 me->prop_name = off = di_checkmem(st, off, size); in di_path_getprop()
2791 me->prop_type = DDI_PROP_TYPE_INT; in di_path_getprop()
2800 me->prop_type = DDI_PROP_TYPE_INT64; in di_path_getprop()
2808 me->prop_type = DDI_PROP_TYPE_STRING; in di_path_getprop()
2822 me->prop_type = DDI_PROP_TYPE_BYTE; in di_path_getprop()
2837 me->prop_data = off; in di_path_getprop()
2840 me->prop_len = (int)size; in di_path_getprop()
2844 me->prop_next = off; in di_path_getprop()
2847 me->prop_next = 0; in di_path_getprop()
2853 di_path_one_endpoint(struct di_path *me, di_off_t noff, di_off_t **off_pp, in di_path_one_endpoint() argument
2857 ASSERT(me->path_client == 0); in di_path_one_endpoint()
2858 me->path_client = noff; in di_path_one_endpoint()
2859 ASSERT(me->path_c_link == 0); in di_path_one_endpoint()
2860 *off_pp = &me->path_c_link; in di_path_one_endpoint()
2861 me->path_snap_state &= in di_path_one_endpoint()
2864 ASSERT(me->path_phci == 0); in di_path_one_endpoint()
2865 me->path_phci = noff; in di_path_one_endpoint()
2866 ASSERT(me->path_p_link == 0); in di_path_one_endpoint()
2867 *off_pp = &me->path_p_link; in di_path_one_endpoint()
2868 me->path_snap_state &= in di_path_one_endpoint()
2884 struct di_path *me; in di_getpath_data() local
2927 me = DI_PATH(di_mem_addr(st, stored_offset)); in di_getpath_data()
2930 di_path_one_endpoint(me, noff, &off_p, get_client); in di_getpath_data()
2937 ASSERT(!(me->path_snap_state & in di_getpath_data()
2939 ASSERT(!(me->path_snap_state & in di_getpath_data()
2951 me = DI_PATH(di_mem_addr(st, off)); in di_getpath_data()
2952 me->self = off; in di_getpath_data()
2955 me->path_snap_state = in di_getpath_data()
2957 me->path_snap_state |= in di_getpath_data()
2964 me->path_client = me->path_phci = 0; in di_getpath_data()
2965 me->path_c_link = me->path_p_link = 0; in di_getpath_data()
2967 di_path_one_endpoint(me, noff, &off_p, get_client); in di_getpath_data()
2972 di_register_pip(st, pip, me->self); in di_getpath_data()
2974 me->path_state = path_state_convert(mdi_pi_get_state(pip)); in di_getpath_data()
2975 me->path_flags = path_flags_convert(mdi_pi_get_flags(pip)); in di_getpath_data()
2977 me->path_instance = mdi_pi_get_path_instance(pip); in di_getpath_data()
2983 me->path_addr = off = di_checkmem(st, off, size); in di_getpath_data()
2992 me->path_prop = off; in di_getpath_data()
2993 off = di_path_getprop(pip, &me->path_prop, st); in di_getpath_data()
2995 me->path_prop = 0; in di_getpath_data()
3553 struct di_hp *me; in di_gethpdata() local
3566 me = DI_HP(di_mem_addr(st, off)); in di_gethpdata()
3567 me->self = off; in di_gethpdata()
3568 me->hp_name = 0; in di_gethpdata()
3569 me->hp_connection = (int)hp_hdl->cn_info.cn_num; in di_gethpdata()
3570 me->hp_depends_on = (int)hp_hdl->cn_info.cn_num_dpd_on; in di_gethpdata()
3572 me->hp_state = (int)hp_hdl->cn_info.cn_state; in di_gethpdata()
3573 me->hp_type = (int)hp_hdl->cn_info.cn_type; in di_gethpdata()
3574 me->hp_type_str = 0; in di_gethpdata()
3575 me->hp_last_change = (uint32_t)hp_hdl->cn_info.cn_last_change; in di_gethpdata()
3576 me->hp_child = 0; in di_gethpdata()
3593 me->hp_name = off = di_checkmem(st, off, size); in di_gethpdata()
3602 me->hp_type_str = off = di_checkmem(st, off, size); in di_gethpdata()
3614 me->next = off; in di_gethpdata()
3616 me->next = 0; in di_gethpdata()