Home
last modified time | relevance | path

Searched refs:pcPathMax (Results 1 – 2 of 2) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/nftw/
Dlib.c178 size_t pcPathMax; in test_ENAMETOOLONG_path() local
183 if ((pcPathMax = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { in test_ENAMETOOLONG_path()
191 tmp_path, pcPathMax); in test_ENAMETOOLONG_path()
194 if ((path = malloc(pcPathMax + 2)) == NULL) { in test_ENAMETOOLONG_path()
196 pcPathMax + 2, strerror(errno)); in test_ENAMETOOLONG_path()
205 pcPathMax = pcPathMax - tempPathLength - 5; in test_ENAMETOOLONG_path()
208 while (pathLength < pcPathMax) { in test_ENAMETOOLONG_path()
214 pcPathMax = pcPathMax + tempPathLength + 5; in test_ENAMETOOLONG_path()
219 while (pathLength <= pcPathMax) { in test_ENAMETOOLONG_path()
226 if (pathLength != pcPathMax + 1) { in test_ENAMETOOLONG_path()
[all …]
Dlib64.c178 size_t pcPathMax; in test_ENAMETOOLONG_path() local
183 if ((pcPathMax = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { in test_ENAMETOOLONG_path()
191 tmp_path, pcPathMax); in test_ENAMETOOLONG_path()
194 if ((path = malloc(pcPathMax + 2)) == NULL) { in test_ENAMETOOLONG_path()
196 pcPathMax + 2, strerror(errno)); in test_ENAMETOOLONG_path()
205 pcPathMax = pcPathMax - tempPathLength - 5; in test_ENAMETOOLONG_path()
208 while (pathLength < pcPathMax) { in test_ENAMETOOLONG_path()
214 pcPathMax = pcPathMax + tempPathLength + 5; in test_ENAMETOOLONG_path()
219 while (pathLength <= pcPathMax) { in test_ENAMETOOLONG_path()
226 if (pathLength != pcPathMax + 1) { in test_ENAMETOOLONG_path()
[all …]