Lines Matching refs:rootdir
1228 _da_lock_devdb(char *rootdir)
1240 if (rootdir == NULL) {
1244 if (snprintf(path, size, "%s%s", rootdir, DA_DB_LOCK) >= size)
1295 da_open_devdb(char *rootdir, FILE **dafp, FILE **dmfp, int flag)
1317 if ((lockfd = _da_lock_devdb(rootdir)) == -1)
1328 if (rootdir == NULL) {
1331 if (snprintf(path, sizeof (path), "%s%s", rootdir,
1361 if (rootdir == NULL) {
1364 if (snprintf(path, sizeof (path), "%s%s", rootdir,
1560 char *rootdir = NULL;
1574 rootdir = dargs->rootdir;
1599 if (rootdir != NULL) {
1600 if (snprintf(apath, sizeof (apath), "%s%s", rootdir,
1604 if (snprintf(dapath, sizeof (dapath), "%s%s", rootdir,
1609 if (snprintf(mpath, sizeof (mpath), "%s%s", rootdir,
1613 if (snprintf(dmpath, sizeof (dmpath), "%s%s", rootdir,
1633 lockfd = da_open_devdb(dargs->rootdir, &dafp, NULL,
1636 lockfd = _da_lock_devdb(rootdir);