Lines Matching refs:qpath
6055 char qpath[MAXPATHLEN]; local
6099 len = sm_strlcpy(qpath, qg->qg_qdir, sizeof(qpath));
6100 if (len >= sizeof(qpath))
6103 qg->qg_qdir, (int) sizeof(qpath));
6109 if (strncmp(basedir, qpath, blen) != 0 &&
6110 (strncmp(basedir, qpath, blen - 1) != 0 || len != blen - 1))
6113 qpath, basedir);
6127 qg->qg_qdir, (int) sizeof(qpath));
6138 cp = &qpath[len - 1];
6148 if ((cp = SM_LAST_DIR_DELIM(qpath)) == NULL)
6153 qpath);
6157 if (cp == qpath)
6164 (void) sm_strlcpy(qpath + 1, qpath, sizeof(qpath) - 1);
6306 i = safedirpath(qpath, RunAsUid, RunAsGid, NULL, sff, 0, 0);
6309 syserr("can not opendir(%s)", qpath);
6312 qpath, sm_errstring(i));