Lines Matching defs:rootdir
1171 _da_lock_devdb(char *rootdir)
1183 if (rootdir == NULL) {
1187 if (snprintf(path, size, "%s%s", rootdir, DA_DB_LOCK) >= size)
1238 da_open_devdb(char *rootdir, FILE **dafp, FILE **dmfp, int flag)
1260 if ((lockfd = _da_lock_devdb(rootdir)) == -1)
1271 if (rootdir == NULL) {
1274 if (snprintf(path, sizeof (path), "%s%s", rootdir,
1304 if (rootdir == NULL) {
1307 if (snprintf(path, sizeof (path), "%s%s", rootdir,
1503 char *rootdir = NULL;
1517 rootdir = dargs->rootdir;
1542 if (rootdir != NULL) {
1543 if (snprintf(apath, sizeof (apath), "%s%s", rootdir,
1547 if (snprintf(dapath, sizeof (dapath), "%s%s", rootdir,
1552 if (snprintf(mpath, sizeof (mpath), "%s%s", rootdir,
1556 if (snprintf(dmpath, sizeof (dmpath), "%s%s", rootdir,
1576 lockfd = da_open_devdb(dargs->rootdir, &dafp, NULL,
1579 lockfd = _da_lock_devdb(rootdir);