Lines Matching defs:sadmdir
74 pkgfilename(char path[PATH_MAX], const char *root, const char *sadmdir,
78 sadmdir == NULL ? SADM_DIR : sadmdir, file) >= PATH_MAX) {
147 * The fullpath parameter is used to return the result (stored in *sadmdir),
148 * root is used but returned in the computed sadmdir and so the caller should
153 const char **sadmdir)
163 *sadmdir == NULL ? SADM_DIR : *sadmdir) >= PATH_MAX) {
240 *sadmdir = fullpath;
251 pkgopenserver_i(const char *root, const char *sadmdir, boolean_t readonly,
284 pkgfindrealsadmdir(realsadmdir, root, &sadmdir);
286 pkgfilename(pkgdoor, root, sadmdir, PKGDOOR);
328 if (sadmdir != NULL && strcmp(sadmdir, SADM_DIR) != 0) {
330 cmd[args++] = (char *)sadmdir;
393 pkgopenserver(const char *root, const char *sadmdir, boolean_t ro)
395 return (pkgopenserver_i(root, sadmdir, ro, pkgservergetmode()));
545 pkgsync_needed(const char *root, const char *sadmdir, boolean_t want_quit)
553 pkgfilename(pkgfile, root, sadmdir, PKGLOG);
560 pkgfilename(pkgfile, root, sadmdir, PKGDOOR);
578 pkgsync(const char *root, const char *sadmdir, boolean_t force_quit)
584 if (!pkgsync_needed(root, sadmdir, force_quit))
587 server = pkgopenserver_i(root, sadmdir, B_FALSE, FLUSH_LOG);