newpath 256 examples/VFS/skel_opaque.c static int skel_symlink(vfs_handle_struct *handle, const char *oldpath, const char *newpath)
newpath 258 examples/VFS/skel_opaque.c return vfswrap_symlink(NULL, oldpath, newpath);
newpath 267 examples/VFS/skel_opaque.c static int skel_link(vfs_handle_struct *handle, const char *oldpath, const char *newpath)
newpath 269 examples/VFS/skel_opaque.c return vfswrap_link(NULL, oldpath, newpath);
newpath 249 examples/VFS/skel_transparent.c static int skel_symlink(vfs_handle_struct *handle, const char *oldpath, const char *newpath)
newpath 251 examples/VFS/skel_transparent.c return SMB_VFS_NEXT_SYMLINK(handle, oldpath, newpath);
newpath 259 examples/VFS/skel_transparent.c static int skel_link(vfs_handle_struct *handle, const char *oldpath, const char *newpath)
newpath 261 examples/VFS/skel_transparent.c return SMB_VFS_NEXT_LINK(handle, oldpath, newpath);
newpath 639 lib/replace/replace.c int rep_link(const char *oldpath, const char *newpath)
newpath 655 lib/replace/replace.c int rep_symlink(const char *oldpath, const char *newpath)
newpath 238 lib/replace/replace.h int rep_link(const char *oldpath, const char *newpath);
newpath 248 lib/replace/replace.h int rep_symlink(const char *oldpath, const char *newpath);
newpath 54 source3/dynconfig.c const char *set_dyn_##name(const char *newpath) \
newpath 59 source3/dynconfig.c dyn_##name = SMB_STRDUP(newpath);\
newpath 27 source3/include/dynconfig.h const char *set_dyn_SBINDIR(const char *newpath);
newpath 31 source3/include/dynconfig.h const char *set_dyn_BINDIR(const char *newpath);
newpath 35 source3/include/dynconfig.h const char *set_dyn_SWATDIR(const char *newpath);
newpath 39 source3/include/dynconfig.h const char *set_dyn_CONFIGFILE(const char *newpath);
newpath 43 source3/include/dynconfig.h const char *set_dyn_LOGFILEBASE(const char *newpath);
newpath 47 source3/include/dynconfig.h const char *set_dyn_LMHOSTSFILE(const char *newpath);
newpath 51 source3/include/dynconfig.h const char *set_dyn_CODEPAGEDIR(const char *newpath);
newpath 55 source3/include/dynconfig.h const char *set_dyn_LIBDIR(const char *newpath);
newpath 59 source3/include/dynconfig.h const char *set_dyn_MODULESDIR(const char *newpath);
newpath 63 source3/include/dynconfig.h const char *set_dyn_SHLIBEXT(const char *newpath);
newpath 67 source3/include/dynconfig.h const char *set_dyn_LOCKDIR(const char *newpath);
newpath 71 source3/include/dynconfig.h const char *set_dyn_STATEDIR(const char *newpath);
newpath 75 source3/include/dynconfig.h const char *set_dyn_CACHEDIR(const char *newpath);
newpath 79 source3/include/dynconfig.h const char *set_dyn_PIDDIR(const char *newpath);
newpath 83 source3/include/dynconfig.h const char *set_dyn_NCALRPCDIR(const char *newpath);
newpath 87 source3/include/dynconfig.h const char *set_dyn_SMB_PASSWD_FILE(const char *newpath);
newpath 91 source3/include/dynconfig.h const char *set_dyn_PRIVATE_DIR(const char *newpath);
newpath 376 source3/include/vfs.h int (*symlink)(struct vfs_handle_struct *handle, const char *oldpath, const char *newpath);
newpath 378 source3/include/vfs.h int (*link)(struct vfs_handle_struct *handle, const char *oldpath, const char *newpath);
newpath 81 source3/include/vfs_macros.h #define SMB_VFS_SYMLINK(conn, oldpath, newpath) ((conn)->vfs.ops.symlink((conn)->vfs.handles.symlink, (oldpath), (newpath)))
newpath 83 source3/include/vfs_macros.h #define SMB_VFS_LINK(conn, oldpath, newpath) ((conn)->vfs.ops.link((conn)->vfs.handles.link, (oldpath), (newpath)))
newpath 215 source3/include/vfs_macros.h #define SMB_VFS_OPAQUE_SYMLINK(conn, oldpath, newpath) ((conn)->vfs_opaque.ops.symlink((conn)->vfs_opaque.handles.symlink, (oldpath), (newpath)))
newpath 217 source3/include/vfs_macros.h #define SMB_VFS_OPAQUE_LINK(conn, oldpath, newpath) ((conn)->vfs_opaque.ops.link((conn)->vfs_opaque.handles.link, (oldpath), (newpath)))
newpath 350 source3/include/vfs_macros.h #define SMB_VFS_NEXT_SYMLINK(handle, oldpath, newpath) ((handle)->vfs_next.ops.symlink((handle)->vfs_next.handles.symlink, (oldpath), (newpath)))
newpath 352 source3/include/vfs_macros.h #define SMB_VFS_NEXT_LINK(handle, oldpath, newpath) ((handle)->vfs_next.ops.link((handle)->vfs_next.handles.link, (oldpath), (newpath)))
newpath 948 source3/libads/kerberos.c const char *newpath = SYSTEM_KRB5_CONF_PATH ## ".saved";
newpath 957 source3/libads/kerberos.c if (rename(SYSTEM_KRB5_CONF_PATH, newpath) == -1) {
newpath 960 source3/libads/kerberos.c SYSTEM_KRB5_CONF_PATH, newpath,
newpath 777 source3/libsmb/clidfs.c char *newpath = NULL;
newpath 958 source3/libsmb/clidfs.c &newpath)) {
newpath 965 source3/libsmb/clidfs.c *pp_targetpath = newpath;
newpath 224 source3/modules/vfs_cap.c static bool cap_symlink(vfs_handle_struct *handle, const char *oldpath, const char *newpath)
newpath 227 source3/modules/vfs_cap.c char *capnew = capencode(talloc_tos(), newpath);
newpath 247 source3/modules/vfs_cap.c static int cap_link(vfs_handle_struct *handle, const char *oldpath, const char *newpath)
newpath 250 source3/modules/vfs_cap.c char *capnew = capencode(talloc_tos(), newpath);
newpath 262 source3/modules/vfs_catia.c const char *oldpath, const char *newpath)
newpath 264 source3/modules/vfs_catia.c return SMB_VFS_NEXT_SYMLINK(handle, oldpath, newpath);
newpath 274 source3/modules/vfs_catia.c const char *oldpath, const char *newpath)
newpath 276 source3/modules/vfs_catia.c return SMB_VFS_NEXT_LINK(handle, oldpath, newpath);
newpath 1007 source3/modules/vfs_default.c static int vfswrap_symlink(vfs_handle_struct *handle, const char *oldpath, const char *newpath)
newpath 1012 source3/modules/vfs_default.c result = symlink(oldpath, newpath);
newpath 1027 source3/modules/vfs_default.c static int vfswrap_link(vfs_handle_struct *handle, const char *oldpath, const char *newpath)
newpath 1032 source3/modules/vfs_default.c result = link(oldpath, newpath);
newpath 193 source3/modules/vfs_full_audit.c const char *oldpath, const char *newpath);
newpath 197 source3/modules/vfs_full_audit.c const char *oldpath, const char *newpath);
newpath 1588 source3/modules/vfs_full_audit.c const char *oldpath, const char *newpath)
newpath 1592 source3/modules/vfs_full_audit.c result = SMB_VFS_NEXT_SYMLINK(handle, oldpath, newpath);
newpath 1595 source3/modules/vfs_full_audit.c "%s|%s", oldpath, newpath);
newpath 1613 source3/modules/vfs_full_audit.c const char *oldpath, const char *newpath)
newpath 1617 source3/modules/vfs_full_audit.c result = SMB_VFS_NEXT_LINK(handle, oldpath, newpath);
newpath 1620 source3/modules/vfs_full_audit.c "%s|%s", oldpath, newpath);
newpath 336 source3/modules/vfs_onefs_shadow_copy.c const char *oldpath, const char *newpath)
newpath 347 source3/modules/vfs_onefs_shadow_copy.c if (shadow_copy_match_name(newpath, &new_snap_component))
newpath 348 source3/modules/vfs_onefs_shadow_copy.c new_cpath = osc_canonicalize_path(newpath, new_snap_component);
newpath 351 source3/modules/vfs_onefs_shadow_copy.c new_cpath ?: newpath);
newpath 373 source3/modules/vfs_onefs_shadow_copy.c const char *newpath)
newpath 384 source3/modules/vfs_onefs_shadow_copy.c if (shadow_copy_match_name(newpath, &new_snap_component))
newpath 385 source3/modules/vfs_onefs_shadow_copy.c new_cpath = osc_canonicalize_path(newpath, new_snap_component);
newpath 388 source3/modules/vfs_onefs_shadow_copy.c new_cpath ?: newpath);
newpath 5612 source3/smbd/reply.c const char *oldpath, const char *newpath)
newpath 5622 source3/smbd/reply.c || !parent_dirname(talloc_tos(), newpath, &newdir, &newname)) {
newpath 5629 source3/smbd/reply.c notify_fname(conn, NOTIFY_ACTION_NEW_NAME, mask, newpath);
newpath 5633 source3/smbd/reply.c notify_fname(conn, NOTIFY_ACTION_ADDED, mask, newpath);
newpath 5645 source3/smbd/reply.c newpath);
newpath 264 source3/utils/smbget.c const char *newpath;
newpath 313 source3/utils/smbget.c if(outfile) newpath = outfile;
newpath 315 source3/utils/smbget.c newpath = strrchr(base, '/');
newpath 316 source3/utils/smbget.c if(newpath)newpath++; else newpath = base;
newpath 317 source3/utils/smbget.c } else newpath = name;
newpath 319 source3/utils/smbget.c if(newpath[0] == '/')newpath++;
newpath 324 source3/utils/smbget.c if(stat(newpath, &localstat) == 0 &&
newpath 327 source3/utils/smbget.c printf("%s is up-to-date, skipping\n", newpath);
newpath 332 source3/utils/smbget.c localhandle = open(newpath, O_CREAT | O_NONBLOCK | O_RDWR | O_TRUNC, 0775);
newpath 334 source3/utils/smbget.c fprintf(stderr, "Can't open %s : %s\n", newpath,
newpath 341 source3/utils/smbget.c localhandle = open(newpath, O_CREAT | O_NONBLOCK | O_RDWR | (!resume?O_EXCL:0), 0755);
newpath 343 source3/utils/smbget.c fprintf(stderr, "Can't open %s: %s\n", newpath, strerror(errno));
newpath 349 source3/utils/smbget.c fprintf(stderr, "Can't fstat %s: %s\n", newpath, strerror(errno));
newpath 370 source3/utils/smbget.c newpath, (OFF_T_FORMAT_CAST)offset_check,
newpath 381 source3/utils/smbget.c (OFF_T_FORMAT_CAST)offset_check, newpath);
newpath 389 source3/utils/smbget.c (OFF_T_FORMAT_CAST)offset_check, newpath);
newpath 453 source3/utils/smbget.c print_progress(newpath, start_time, time(NULL), start_offset, curpos, remotestat.st_size);
newpath 66 source4/scripting/python/modules.c char *newpath;
newpath 67 source4/scripting/python/modules.c asprintf(&newpath, "%s/python:%s/../scripting/python:%s", bindir, bindir, Py_GetPath());
newpath 68 source4/scripting/python/modules.c PySys_SetPath(newpath);
newpath 69 source4/scripting/python/modules.c free(newpath);