Lines Matching defs:sadmdir
75 pkgfilename(char path[PATH_MAX], const char *root, const char *sadmdir,
79 sadmdir == NULL ? SADM_DIR : sadmdir, file) >= PATH_MAX) {
148 * The fullpath parameter is used to return the result (stored in *sadmdir),
149 * root is used but returned in the computed sadmdir and so the caller should
154 const char **sadmdir)
164 *sadmdir == NULL ? SADM_DIR : *sadmdir) >= PATH_MAX) {
236 *sadmdir = fullpath;
247 pkgopenserver_i(const char *root, const char *sadmdir, boolean_t readonly,
280 pkgfindrealsadmdir(realsadmdir, root, &sadmdir);
282 pkgfilename(pkgdoor, root, sadmdir, PKGDOOR);
324 if (sadmdir != NULL && strcmp(sadmdir, SADM_DIR) != 0) {
326 cmd[args++] = (char *)sadmdir;
389 pkgopenserver(const char *root, const char *sadmdir, boolean_t ro)
391 return (pkgopenserver_i(root, sadmdir, ro, pkgservergetmode()));
542 pkgsync_needed(const char *root, const char *sadmdir, boolean_t want_quit)
550 pkgfilename(pkgfile, root, sadmdir, PKGLOG);
557 pkgfilename(pkgfile, root, sadmdir, PKGDOOR);
575 pkgsync(const char *root, const char *sadmdir, boolean_t force_quit)
581 if (!pkgsync_needed(root, sadmdir, force_quit))
584 server = pkgopenserver_i(root, sadmdir, B_FALSE, FLUSH_LOG);