Lines Matching refs:mbPath
3138 char *mbPath; /* copy for the path to be returned */ in testPath() local
3161 mbPath = (char *)calloc(1, vres+2); in testPath()
3162 assert(mbPath != NULL); in testPath()
3167 vres = vsnprintf(mbPath, vres+1, a_format, ap); in testPath()
3172 echoDebug(DBG_TEST_PATH, mbPath, (unsigned long)a_tt); in testPath()
3196 if (lstat(mbPath, &statbuf) != 0) { in testPath()
3197 echoDebug(DBG_CANNOT_LSTAT_PATH, mbPath, in testPath()
3199 free(mbPath); in testPath()
3209 echoDebug(DBG_IS_NOT_A_SYMLINK, mbPath); in testPath()
3210 free(mbPath); in testPath()
3214 echoDebug(DBG_SYMLINK_IS, mbPath); in testPath()
3223 echoDebug(DBG_IS_A_SYMLINK, mbPath); in testPath()
3224 free(mbPath); in testPath()
3228 echoDebug(DBG_SYMLINK_NOT, mbPath); in testPath()
3238 free(mbPath); in testPath()
3245 r = resolvePath(&mbPath); in testPath()
3247 echoDebug(DBG_TEST_PATH_NO_RESOLVE, mbPath); in testPath()
3248 free(mbPath); in testPath()
3255 echoDebug(DBG_TEST_PATH_RESOLVE, mbPath); in testPath()
3259 fd = open(mbPath, O_RDONLY|O_LARGEFILE, 0); in testPath()
3269 echoDebug(DBG_CANNOT_ACCESS_PATH_OK, mbPath); in testPath()
3270 free(mbPath); in testPath()
3275 mbPath, strerror(errno)); in testPath()
3276 free(mbPath); in testPath()
3288 echoDebug(DBG_TEST_EXISTS_SHOULD_NOT, mbPath); in testPath()
3289 free(mbPath); in testPath()
3298 echoDebug(DBG_PATH_DOES_NOT_EXIST, mbPath, strerror(errno)); in testPath()
3300 free(mbPath); in testPath()
3309 echoDebug(DBG_IS_NOT_A_DIRECTORY, mbPath); in testPath()
3310 free(mbPath); in testPath()
3314 echoDebug(DBG_DIRECTORY_IS, mbPath); in testPath()
3322 echoDebug(DBG_IS_A_DIRECTORY, mbPath); in testPath()
3323 free(mbPath); in testPath()
3327 echoDebug(DBG_DIRECTORY_NOT, mbPath); in testPath()
3335 echoDebug(DBG_IS_NOT_A_FILE, mbPath); in testPath()
3336 free(mbPath); in testPath()
3340 echoDebug(DBG_FILE_IS, mbPath); in testPath()
3348 echoDebug(DBG_IS_A_FILE, mbPath); in testPath()
3349 free(mbPath); in testPath()
3353 echoDebug(DBG_FILE_NOT, mbPath); in testPath()
3364 echoDebug(DBG_IS_NOT_A_FILE, mbPath); in testPath()
3365 free(mbPath); in testPath()
3369 if (findToken(mbPath, GLOBAL_ZONENAME) == R_SUCCESS) { in testPath()
3370 echoDebug(DBG_TOKEN__EXISTS, GLOBAL_ZONENAME, mbPath); in testPath()
3371 free(mbPath); in testPath()
3380 echoDebug(DBG_TESTPATH_OK, mbPath); in testPath()
3384 free(mbPath); in testPath()