Searched refs:sdir_fd (Results 1 - 2 of 2) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/ |
H A D | filedir.c | 336 int sdir_fd, 377 opened = of_findnameat(sdir_fd, &path); 399 * b) fchdir sdir_fd before eg ad_open or use *at functions where appropiate 402 if (sdir_fd != -1) { 405 if (fchdir(sdir_fd) != 0) { 420 if (sdir_fd != -1) { 464 rc = renamefile(vol, sdir_fd, oldunixname, upath, newname, adp ); 469 rc = renamedir(vol, sdir_fd, oldunixname, upath, sdir, curdir, newname); 710 int sdir_fd = -1; local 755 if ((sdir_fd 334 moveandrename(const struct vol *vol, struct dir *sdir, int sdir_fd, char *oldname, char *newname, int isdir) argument [all...] |
H A D | file.c | 1127 * sdir_fd source dir fd to which src path is relative (for openat et al semantics) 1135 int renamefile(const struct vol *vol, int sdir_fd, char *src, char *dst, char *newname, struct adouble *adp) argument 1140 "renamefile: src[%d, \"%s\"] -> dst[\"%s\"]", sdir_fd, src, dst); 1142 if ( unix_rename( sdir_fd, src, -1, dst ) < 0 ) { 1160 if (AFP_OK != ( rc = copyfile(vol, vol, sdir_fd, src, dst, newname, NULL )) ) { 1164 return deletefile(vol, sdir_fd, src, 0); 1170 if (vol->vfs->vfs_renamefile(vol, sdir_fd, src, dst) < 0 ) { 1178 unix_rename(-1, dst, sdir_fd, src );
|
Completed in 129 milliseconds