Lines Matching refs:pfd
32 _cleanup_close_ int pfd = -1; in TEST() local
294 r = chase_symlinks(p, NULL, 0, NULL, &pfd); in TEST()
299 assert_se(pfd >= 0); in TEST()
301 fd = fd_reopen(pfd, O_RDONLY|O_CLOEXEC); in TEST()
303 safe_close(pfd); in TEST()
315 r = chase_symlinks(q, NULL, CHASE_NOFOLLOW, &result, &pfd); in TEST()
317 assert_se(pfd >= 0); in TEST()
319 assert_se(fstat(pfd, &st) >= 0); in TEST()
322 pfd = safe_close(pfd); in TEST()
329 r = chase_symlinks(q, NULL, CHASE_NOFOLLOW, &result, &pfd); in TEST()
331 assert_se(pfd >= 0); in TEST()
333 assert_se(fstat(pfd, &st) >= 0); in TEST()
336 pfd = safe_close(pfd); in TEST()