Lines Matching refs:flags

233 #define linkat(odfd,opath,ndfd,npath,flags) -1  argument
2501 const int flags) in webdav_delete_dir() argument
2546 if (flags & WEBDAV_FLAG_LC_NAMES) /*(needed at least for rel_path)*/ in webdav_delete_dir()
2569 multi_status |= webdav_delete_dir(pconf, dst, r, flags); in webdav_delete_dir()
2651 int * const flags) in webdav_copytmp_rename() argument
2655 if (!(*flags & (WEBDAV_FLAG_COPY_XDEV in webdav_copytmp_rename()
2664 *flags |= WEBDAV_FLAG_NO_CLONE; in webdav_copytmp_rename()
2667 if (*flags & WEBDAV_FLAG_COPY_LINK) { in webdav_copytmp_rename()
2668 *flags &= ~WEBDAV_FLAG_COPY_LINK; in webdav_copytmp_rename()
2669 *flags |= WEBDAV_FLAG_COPY_XDEV; in webdav_copytmp_rename()
2673 if (!(*flags & WEBDAV_FLAG_OVERWRITE)) in webdav_copytmp_rename()
2699 if (!(*flags & (WEBDAV_FLAG_COPY_XDEV in webdav_copytmp_rename()
2707 *flags |= WEBDAV_FLAG_NO_CLONE; in webdav_copytmp_rename()
2710 if (*flags & WEBDAV_FLAG_COPY_LINK) { in webdav_copytmp_rename()
2711 *flags &= ~WEBDAV_FLAG_COPY_LINK; in webdav_copytmp_rename()
2712 *flags |= WEBDAV_FLAG_COPY_XDEV; in webdav_copytmp_rename()
2773 if (!(*flags & WEBDAV_FLAG_NO_CLONE)) { in webdav_copytmp_rename()
2800 *flags |= WEBDAV_FLAG_NO_CLONE; in webdav_copytmp_rename()
2801 if (*flags & WEBDAV_FLAG_COPY_LINK) { in webdav_copytmp_rename()
2802 *flags &= ~WEBDAV_FLAG_COPY_LINK; in webdav_copytmp_rename()
2803 *flags |= WEBDAV_FLAG_COPY_XDEV; in webdav_copytmp_rename()
2816 if (!(*flags & (WEBDAV_FLAG_COPY_XDEV in webdav_copytmp_rename()
2827 if (*flags & WEBDAV_FLAG_COPY_LINK) { in webdav_copytmp_rename()
2828 *flags &= ~WEBDAV_FLAG_COPY_LINK; in webdav_copytmp_rename()
2829 *flags |= WEBDAV_FLAG_COPY_XDEV; in webdav_copytmp_rename()
2833 *flags |= WEBDAV_FLAG_NO_CLONE; in webdav_copytmp_rename()
2848 *flags = ofd; in webdav_copytmp_rename()
2869 *flags = -1; in webdav_copytmp_rename()
2873 const int overwrite = (*flags & WEBDAV_FLAG_OVERWRITE); in webdav_copytmp_rename()
2914 int * const flags) in webdav_copymove_file() argument
2916 const int overwrite = (*flags & WEBDAV_FLAG_OVERWRITE); in webdav_copymove_file()
2917 if (*flags & WEBDAV_FLAG_MOVE_RENAME) { in webdav_copymove_file()
2954 else if (*flags & WEBDAV_FLAG_COPY_LINK) { in webdav_copymove_file()
2968 *flags &= ~WEBDAV_FLAG_COPY_LINK; in webdav_copymove_file()
2969 *flags |= WEBDAV_FLAG_COPY_XDEV; in webdav_copymove_file()
2974 int status = webdav_copytmp_rename(pconf, src, dst, flags); in webdav_copymove_file()
2977 if (*flags & (WEBDAV_FLAG_MOVE_RENAME|WEBDAV_FLAG_MOVE_XDEV)) in webdav_copymove_file()
3051 int flags) in webdav_copymove_dir() argument
3101 const int overwrite = (flags & WEBDAV_FLAG_OVERWRITE); in webdav_copymove_dir()
3102 if (flags & WEBDAV_FLAG_MOVE_RENAME) { in webdav_copymove_dir()
3175 flags &= ~WEBDAV_FLAG_MOVE_RENAME; in webdav_copymove_dir()
3176 flags |= WEBDAV_FLAG_MOVE_XDEV; in webdav_copymove_dir()
3245 if (flags & WEBDAV_FLAG_LC_NAMES) /*(needed at least for rel_path)*/ in webdav_copymove_dir()
3274 status = webdav_copymove_dir(pconf, src, dst, r, flags); in webdav_copymove_dir()
3279 status = webdav_copymove_file(pconf, src, dst, &flags); in webdav_copymove_dir()
3308 if (flags & (WEBDAV_FLAG_MOVE_RENAME|WEBDAV_FLAG_MOVE_XDEV)) { in webdav_copymove_dir()
3309 status = webdav_delete_dir(pconf, src, r, flags); /* content */ in webdav_copymove_dir()
3768 const int flags = in webdav_propfind_dir() local
3783 if (flags & WEBDAV_FLAG_LC_NAMES) /*(needed by rel_path)*/ in webdav_propfind_dir()
4470 const int flags = (r->conf.force_lowercase_filenames) in mod_webdav_delete() local
4473 if (0 == webdav_delete_dir(pconf, &r->physical, r, flags)) { in mod_webdav_delete()
5043 int flags = WEBDAV_FLAG_OVERWRITE /*(default)*/ in mod_webdav_copymove_b() local
5063 flags &= ~WEBDAV_FLAG_OVERWRITE; in mod_webdav_copymove_b()
5137 if (flags & WEBDAV_FLAG_LC_NAMES) in mod_webdav_copymove_b()
5260 else if (flags & WEBDAV_FLAG_OVERWRITE) { in mod_webdav_copymove_b()
5269 !!(flags & WEBDAV_FLAG_OVERWRITE)); in mod_webdav_copymove_b()
5284 if (0 == webdav_copymove_dir(pconf, &r->physical, dst, r, flags)) { in mod_webdav_copymove_b()
5369 else if (!(flags & WEBDAV_FLAG_OVERWRITE)) { in mod_webdav_copymove_b()
5383 rc = webdav_copymove_file(pconf, &r->physical, dst, &flags); in mod_webdav_copymove_b()