Lines Matching refs:dfd
2459 #define webdav_unlinkat(pconf,dst,dfd,d_name) webdav_delete_file((pconf),(dst)) argument
2464 const int dfd, const char * const d_name) in webdav_unlinkat() argument
2466 if (0 == unlinkat(dfd, d_name, 0)) { in webdav_unlinkat()
2505 const int dfd = -1; in webdav_delete_dir() local
2508 const int dfd = fdevent_open_dirname(dst->path.ptr, 0); in webdav_delete_dir() local
2509 DIR * const dir = (dfd >= 0) ? fdopendir(dfd) : NULL; in webdav_delete_dir()
2512 if (dfd >= 0) close(dfd); in webdav_delete_dir()
2537 if (0 != fstatat(dfd, de->d_name, &st, AT_SYMLINK_NOFOLLOW)) in webdav_delete_dir()
2573 webdav_unlinkat(pconf, dst, dfd, de->d_name); in webdav_delete_dir()
3098 int dfd; in webdav_copymove_dir() local
3211 dfd = -1; in webdav_copymove_dir()
3214 dfd = fdevent_open_dirname(src->path.ptr, 0); in webdav_copymove_dir()
3215 DIR * const srcdir = (dfd >= 0) ? fdopendir(dfd) : NULL; in webdav_copymove_dir()
3218 if (dfd >= 0) close(dfd); in webdav_copymove_dir()
3238 if (0 != fstatat(dfd, de->d_name, &st, AT_SYMLINK_NOFOLLOW)) in webdav_copymove_dir()
3745 const int dfd = -1; in webdav_propfind_dir() local
3748 const int dfd = fdevent_open_dirname(dst->path.ptr, 0); in webdav_propfind_dir() local
3749 DIR * const dir = (dfd >= 0) ? fdopendir(dfd) : NULL; in webdav_propfind_dir()
3753 if (dfd >= 0) close(dfd); in webdav_propfind_dir()
3778 if (0 != fstatat(dfd, de->d_name, &pb->st, pb->atflags)) in webdav_propfind_dir()