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

/illumos-gate/usr/src/lib/libpool/common/
H A Dpool_xml_impl.h119 * The prs_index member is a cursor into the result set and is used by
127 int prs_index; /* Result Index */ member in struct:pool_xml_result_set
H A Dpool_kernel_impl.h120 int prs_index; /* Result Index */ member in struct:pool_knl_result_set
H A Dpool_impl.h170 int prs_index; /* Result Index */ member in struct:pool_result_set
H A Dpool_xml.c1707 rs->prs_index = -1;
1779 if (xset->prs_index == xset->pxr_path->nodesetval->nodeNr - 1)
1782 xset->pxr_path->nodesetval->nodeTab[++xset->prs_index]->_private;
1798 if (xset->prs_index < 0)
1801 xset->pxr_path->nodesetval->nodeTab[xset->prs_index--]->_private;
1819 xset->prs_index = index;
1833 return (xset->prs_index);
H A Dpool_kernel.c2638 rs->prs_index = -1;
2671 if (kset->prs_index == kset->pkr_count - 1)
2673 return ((pool_elem_t *)kset->pkr_list[++kset->prs_index]);
2685 if (kset->prs_index < 0)
2687 return ((pool_elem_t *)kset->pkr_list[kset->prs_index--]);
2703 kset->prs_index = index;
2716 return (kset->prs_index);

Completed in 73 milliseconds