Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.c573 assert(strcmp(path, "/") != 0 || dnp->sib == DB_NIL); in read_nodes()
638 if (nidx != DB_NIL && in read_links()
783 DB_HDR(hdp)->root_idx = DB_NIL; in init_hdr()
784 DB_HDR(hdp)->dngl_idx = DB_NIL; in init_hdr()
830 if (dnp->path == DB_NIL) { in write_nodes()
838 assert(DB_HDR(hdp)->root_idx == DB_NIL); in write_nodes()
889 if (dmp->name == DB_NIL || dmp->nodetype == DB_NIL) { in write_minors()
890 dmp->name = dmp->nodetype = DB_NIL; in write_minors()
951 if (dlp->path == DB_NIL || dlp->content == DB_NIL) { in write_links()
952 dlp->path = dlp->content = DB_NIL; in write_links()
[all …]
H A Ddevinfo_devlink.h199 #define DB_NIL 0 macro
264 #define DB_EMPTY(h) (DB_HDR(h)->root_idx == DB_NIL && \
265 DB_HDR(h)->dngl_idx == DB_NIL)