Home
last modified time | relevance | path

Searched refs:prs_index (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libpool/common/
H A Dpool_xml_impl.h125 int prs_index; /* Result Index */ member
H A Dpool_kernel_impl.h118 int prs_index; /* Result Index */ member
H A Dpool_impl.h168 int prs_index; /* Result Index */ member
H A Dpool_xml.c1699 rs->prs_index = -1; in pool_xml_result_set_alloc()
1771 if (xset->prs_index == xset->pxr_path->nodesetval->nodeNr - 1) in pool_xml_rs_next()
1774 xset->pxr_path->nodesetval->nodeTab[++xset->prs_index]->_private; in pool_xml_rs_next()
1790 if (xset->prs_index < 0) in pool_xml_rs_prev()
1793 xset->pxr_path->nodesetval->nodeTab[xset->prs_index--]->_private; in pool_xml_rs_prev()
1811 xset->prs_index = index; in pool_xml_rs_set_index()
1825 return (xset->prs_index); in pool_xml_rs_get_index()
H A Dpool_kernel.c2639 rs->prs_index = -1; in pool_knl_result_set_alloc()
2672 if (kset->prs_index == kset->pkr_count - 1) in pool_knl_rs_next()
2674 return ((pool_elem_t *)kset->pkr_list[++kset->prs_index]); in pool_knl_rs_next()
2686 if (kset->prs_index < 0) in pool_knl_rs_prev()
2688 return ((pool_elem_t *)kset->pkr_list[kset->prs_index--]); in pool_knl_rs_prev()
2704 kset->prs_index = index; in pool_knl_rs_set_index()
2717 return (kset->prs_index); in pool_knl_rs_get_index()