Searched refs:root_idx (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.h90 uint32_t root_idx; /* index for root node */ member in struct:db_hdr
263 #define DB_EMPTY(h) (DB_HDR(h)->root_idx == DB_NIL && \
H A Ddevinfo_devlink.c192 (void) read_nodes(hdp, NULL, DB_HDR(hdp)->root_idx);
519 if (!VALID_INDEX(hdp, DB_NODE, DB_HDR(hdp)->root_idx)) {
555 if ((pcnp == NULL) ^ (nidx == DB_HDR(hdp)->root_idx)) {
575 assert(strcmp(path, "/") ^ (nidx == DB_HDR(hdp)->root_idx));
786 DB_HDR(hdp)->root_idx = DB_NIL;
841 assert(DB_HDR(hdp)->root_idx == DB_NIL);
842 DB_HDR(hdp)->root_idx = idx;
1628 : get_node(tnp->handle, DB_HDR(tnp->handle)->root_idx);

Completed in 212 milliseconds