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

/opensolaris-onvv-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.h91 uint32_t root_idx; /* index for root node */ member in struct:db_hdr
264 #define DB_EMPTY(h) (DB_HDR(h)->root_idx == DB_NIL && \
H A Ddevinfo_devlink.c188 (void) read_nodes(hdp, NULL, DB_HDR(hdp)->root_idx);
515 if (!VALID_INDEX(hdp, DB_NODE, DB_HDR(hdp)->root_idx)) {
551 if ((pcnp == NULL) ^ (nidx == DB_HDR(hdp)->root_idx)) {
571 assert(strcmp(path, "/") ^ (nidx == DB_HDR(hdp)->root_idx));
782 DB_HDR(hdp)->root_idx = DB_NIL;
837 assert(DB_HDR(hdp)->root_idx == DB_NIL);
838 DB_HDR(hdp)->root_idx = idx;
1624 : get_node(tnp->handle, DB_HDR(tnp->handle)->root_idx);

Completed in 45 milliseconds