Lines Matching refs:me

1521 	struct di_node	*me;  in build_vhci_list()  local
1544 me = DI_NODE(di_mem_addr(st, all->top_vhci_devinfo)); in build_vhci_list()
1546 while (me->next_vhci != 0) { in build_vhci_list()
1547 me = DI_NODE(di_mem_addr(st, me->next_vhci)); in build_vhci_list()
1550 me->next_vhci = off; in build_vhci_list()
1567 struct di_node *me; in build_phci_list() local
1590 me = DI_NODE(di_mem_addr(pwa->st, vh_di_node->top_phci)); in build_phci_list()
1592 while (me->next_phci != 0) { in build_phci_list()
1593 me = DI_NODE(di_mem_addr(pwa->st, me->next_phci)); in build_phci_list()
1595 me->next_phci = off; in build_phci_list()
1607 struct di_node *me; in snap_driver_list() local
1618 me = DI_NODE(di_mem_addr(st, off)); in snap_driver_list()
1619 ASSERT(me->next == 0 || me->next == -1); in snap_driver_list()
1624 if (me->next != -1) in snap_driver_list()
1628 off_p = &me->next; in snap_driver_list()
1785 struct di_node *me; in di_copynode() local
1797 me = DI_NODE(di_mem_addr(st, off)); in di_copynode()
1798 me->self = off; in di_copynode()
1811 me->instance = node->devi_instance; in di_copynode()
1812 me->nodeid = node->devi_nodeid; in di_copynode()
1813 me->node_class = node->devi_node_class; in di_copynode()
1814 me->attributes = node->devi_node_attributes; in di_copynode()
1815 me->state = node->devi_state; in di_copynode()
1816 me->flags = node->devi_flags; in di_copynode()
1817 me->node_state = node->devi_node_state; in di_copynode()
1818 me->next_vhci = 0; /* Filled up by build_vhci_list. */ in di_copynode()
1819 me->top_phci = 0; /* Filled up by build_phci_list. */ in di_copynode()
1820 me->next_phci = 0; /* Filled up by build_phci_list. */ in di_copynode()
1821 me->multipath_component = MULTIPATH_COMPONENT_NONE; /* set default. */ in di_copynode()
1822 me->user_private_data = 0; in di_copynode()
1829 me->parent = *(PARENT_OFFSET(dsp)); in di_copynode()
1840 di_register_dip(st, (dev_info_t *)node, me->self); in di_copynode()
1858 me->devid = off; in di_copynode()
1868 me->node_name = off = di_checkmem(st, off, size); in di_copynode()
1875 me->compat_names = off = di_checkmem(st, off, size); in di_copynode()
1876 me->compat_length = (int)size; in di_copynode()
1883 me->address = off = di_checkmem(st, off, size); in di_copynode()
1890 me->bind_name = off = di_checkmem(st, off, size); in di_copynode()
1895 me->drv_major = node->devi_major; in di_copynode()
1902 if (me->drv_major != -1) { in di_copynode()
1903 me->next = -1; in di_copynode()
1905 me->next = 0; in di_copynode()
1926 me->minor_data = off; in di_copynode()
1927 off = di_getmdata(node->devi_minor, &me->minor_data, in di_copynode()
1928 me->self, st); in di_copynode()
1937 me->multipath_component = MULTIPATH_COMPONENT_VHCI; in di_copynode()
1941 me->multipath_component = MULTIPATH_COMPONENT_CLIENT; in di_copynode()
1942 me->multipath_client = off; in di_copynode()
1943 off = di_getpath_data((dev_info_t *)node, &me->multipath_client, in di_copynode()
1944 me->self, st, 1); in di_copynode()
1947 me->multipath_client, in di_copynode()
1952 me->multipath_component = MULTIPATH_COMPONENT_PHCI; in di_copynode()
1953 me->multipath_phci = off; in di_copynode()
1954 off = di_getpath_data((dev_info_t *)node, &me->multipath_phci, in di_copynode()
1955 me->self, st, 0); in di_copynode()
1958 me->multipath_phci, in di_copynode()
1968 me->drv_prop = off; in di_copynode()
1970 &me->drv_prop, st, node); in di_copynode()
1974 me->sys_prop = off; in di_copynode()
1976 &me->sys_prop, st, node); in di_copynode()
1980 me->hw_prop = off; in di_copynode()
1982 &me->hw_prop, st, node); in di_copynode()
1986 me->glob_prop = (di_off_t)-1; /* not global property */ in di_copynode()
1994 ASSERT(me->drv_major != -1); in di_copynode()
1996 devnamesp[me->drv_major].dn_global_prop_ptr) { in di_copynode()
1997 me->glob_prop = off; in di_copynode()
2000 &me->glob_prop, st, node); in di_copynode()
2010 me->hp_data = off; in di_copynode()
2011 off = di_gethpdata(node->devi_hp_hdlp, &me->hp_data, st); in di_copynode()
2020 me->parent_data = off; in di_copynode()
2021 off = di_getppdata(node, &me->parent_data, st); in di_copynode()
2025 me->driver_data = off; in di_copynode()
2026 off = di_getdpdata(node, &me->driver_data, st); in di_copynode()
2050 me->child = off; in di_copynode()
2051 PUSH_STACK(dsp, n, &me->child); in di_copynode()
2052 return (me->child); in di_copynode()
2068 me->sibling = DI_ALIGN(off); in di_copynode()
2069 PUSH_STACK(dsp, n, &me->sibling); in di_copynode()
2070 return (me->sibling); in di_copynode()
2074 me = DI_NODE(di_mem_addr(st, *(TOP_OFFSET(dsp)))); in di_copynode()
2327 struct di_link *me; in i_link_walker() local
2342 me = DI_LINK(di_mem_addr(data->st, i_link->self)); in i_link_walker()
2343 me->self = i_link->self; in i_link_walker()
2344 me->spec_type = i_link->spec_type; in i_link_walker()
2353 me->src_lnode = i_link->src_lnode->self; in i_link_walker()
2354 me->tgt_lnode = i_link->tgt_lnode->self; in i_link_walker()
2360 melnode = DI_LNODE(di_mem_addr(data->st, me->src_lnode)); in i_link_walker()
2361 me->src_link_next = melnode->link_out; in i_link_walker()
2362 melnode->link_out = me->self; in i_link_walker()
2367 melnode = DI_LNODE(di_mem_addr(data->st, me->tgt_lnode)); in i_link_walker()
2368 me->tgt_link_next = melnode->link_in; in i_link_walker()
2369 melnode->link_in = me->self; in i_link_walker()
2379 me->src_node_next = medinode->src_links; in i_link_walker()
2380 medinode->src_links = me->self; in i_link_walker()
2387 me->tgt_node_next = medinode->tgt_links; in i_link_walker()
2388 medinode->tgt_links = me->self; in i_link_walker()
2399 struct di_lnode *me; in i_lnode_walker() local
2413 me = DI_LNODE(di_mem_addr(data->st, i_lnode->self)); in i_lnode_walker()
2414 me->self = i_lnode->self; in i_lnode_walker()
2417 me->dev_major = DDI_MAJOR_T_NONE; in i_lnode_walker()
2418 me->dev_minor = DDI_MAJOR_T_NONE; in i_lnode_walker()
2420 me->dev_major = getmajor(i_lnode->devt); in i_lnode_walker()
2421 me->dev_minor = getminor(i_lnode->devt); in i_lnode_walker()
2430 me->node = i_lnode->di_node->self; in i_lnode_walker()
2447 me->node_next = medinode->lnodes; in i_lnode_walker()
2448 medinode->lnodes = me->self; in i_lnode_walker()
2525 struct di_minor *me; in di_getmdata() local
2537 me = DI_MINOR(di_mem_addr(st, off)); in di_getmdata()
2538 me->self = off; in di_getmdata()
2539 me->type = mnode->type; in di_getmdata()
2540 me->node = node; in di_getmdata()
2541 me->user_private_data = 0; in di_getmdata()
2549 me->dev_major = getmajor(mnode->ddm_dev); in di_getmdata()
2550 me->dev_minor = getminor(mnode->ddm_dev); in di_getmdata()
2551 me->spec_type = mnode->ddm_spec_type; in di_getmdata()
2555 me->name = off = di_checkmem(st, off, size); in di_getmdata()
2562 me->node_type = off = di_checkmem(st, off, size); in di_getmdata()
2569 me->next = off; in di_getmdata()
2573 me->next = 0; in di_getmdata()
2758 struct di_path_prop *me; in di_path_getprop() local
2775 me = DI_PATHPROP(di_mem_addr(st, off)); in di_path_getprop()
2776 me->self = off; in di_path_getprop()
2783 me->prop_name = off = di_checkmem(st, off, size); in di_path_getprop()
2793 me->prop_type = DDI_PROP_TYPE_INT; in di_path_getprop()
2802 me->prop_type = DDI_PROP_TYPE_INT64; in di_path_getprop()
2810 me->prop_type = DDI_PROP_TYPE_STRING; in di_path_getprop()
2824 me->prop_type = DDI_PROP_TYPE_BYTE; in di_path_getprop()
2839 me->prop_data = off; in di_path_getprop()
2842 me->prop_len = (int)size; in di_path_getprop()
2846 me->prop_next = off; in di_path_getprop()
2849 me->prop_next = 0; in di_path_getprop()
2855 di_path_one_endpoint(struct di_path *me, di_off_t noff, di_off_t **off_pp, in di_path_one_endpoint() argument
2859 ASSERT(me->path_client == 0); in di_path_one_endpoint()
2860 me->path_client = noff; in di_path_one_endpoint()
2861 ASSERT(me->path_c_link == 0); in di_path_one_endpoint()
2862 *off_pp = &me->path_c_link; in di_path_one_endpoint()
2863 me->path_snap_state &= in di_path_one_endpoint()
2866 ASSERT(me->path_phci == 0); in di_path_one_endpoint()
2867 me->path_phci = noff; in di_path_one_endpoint()
2868 ASSERT(me->path_p_link == 0); in di_path_one_endpoint()
2869 *off_pp = &me->path_p_link; in di_path_one_endpoint()
2870 me->path_snap_state &= in di_path_one_endpoint()
2886 struct di_path *me; in di_getpath_data() local
2929 me = DI_PATH(di_mem_addr(st, stored_offset)); in di_getpath_data()
2932 di_path_one_endpoint(me, noff, &off_p, get_client); in di_getpath_data()
2939 ASSERT(!(me->path_snap_state & in di_getpath_data()
2941 ASSERT(!(me->path_snap_state & in di_getpath_data()
2953 me = DI_PATH(di_mem_addr(st, off)); in di_getpath_data()
2954 me->self = off; in di_getpath_data()
2957 me->path_snap_state = in di_getpath_data()
2959 me->path_snap_state |= in di_getpath_data()
2966 me->path_client = me->path_phci = 0; in di_getpath_data()
2967 me->path_c_link = me->path_p_link = 0; in di_getpath_data()
2969 di_path_one_endpoint(me, noff, &off_p, get_client); in di_getpath_data()
2974 di_register_pip(st, pip, me->self); in di_getpath_data()
2976 me->path_state = path_state_convert(mdi_pi_get_state(pip)); in di_getpath_data()
2977 me->path_flags = path_flags_convert(mdi_pi_get_flags(pip)); in di_getpath_data()
2979 me->path_instance = mdi_pi_get_path_instance(pip); in di_getpath_data()
2985 me->path_addr = off = di_checkmem(st, off, size); in di_getpath_data()
2994 me->path_prop = off; in di_getpath_data()
2995 off = di_path_getprop(pip, &me->path_prop, st); in di_getpath_data()
2997 me->path_prop = 0; in di_getpath_data()
3555 struct di_hp *me; in di_gethpdata() local
3568 me = DI_HP(di_mem_addr(st, off)); in di_gethpdata()
3569 me->self = off; in di_gethpdata()
3570 me->hp_name = 0; in di_gethpdata()
3571 me->hp_connection = (int)hp_hdl->cn_info.cn_num; in di_gethpdata()
3572 me->hp_depends_on = (int)hp_hdl->cn_info.cn_num_dpd_on; in di_gethpdata()
3574 me->hp_state = (int)hp_hdl->cn_info.cn_state; in di_gethpdata()
3575 me->hp_type = (int)hp_hdl->cn_info.cn_type; in di_gethpdata()
3576 me->hp_type_str = 0; in di_gethpdata()
3577 me->hp_last_change = (uint32_t)hp_hdl->cn_info.cn_last_change; in di_gethpdata()
3578 me->hp_child = 0; in di_gethpdata()
3595 me->hp_name = off = di_checkmem(st, off, size); in di_gethpdata()
3604 me->hp_type_str = off = di_checkmem(st, off, size); in di_gethpdata()
3616 me->next = off; in di_gethpdata()
3618 me->next = 0; in di_gethpdata()