Searched defs:db_stat (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_cro.c692 struct stat db_stat; local
804 if (stat(DI_CRO_DB_FILE, &db_stat) == 0)
844 struct stat db_stat; local
866 if (fstat(db_fd, &db_stat))
869 if ((db_buf = calloc(1, db_stat.st_size)) == NULL)
872 if (read(db_fd, db_buf, db_stat.st_size) != db_stat.st_size)
875 if (nvlist_unpack(db_buf, db_stat.st_size, &db_nvl, 0))

Completed in 19 milliseconds