Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.h91 uint32_t root_idx; /* index for root node */ member
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); in di_devlink_open()
515 if (!VALID_INDEX(hdp, DB_NODE, DB_HDR(hdp)->root_idx)) { in invalid_db()
551 if ((pcnp == NULL) ^ (nidx == DB_HDR(hdp)->root_idx)) { in read_nodes()
571 assert(strcmp(path, "/") ^ (nidx == DB_HDR(hdp)->root_idx)); in read_nodes()
782 DB_HDR(hdp)->root_idx = DB_NIL; in init_hdr()
837 assert(DB_HDR(hdp)->root_idx == DB_NIL); in write_nodes()
838 DB_HDR(hdp)->root_idx = idx; in write_nodes()
1624 : get_node(tnp->handle, DB_HDR(tnp->handle)->root_idx); in visit_node()