/titanic_50/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | rename.c | 32 rename(char *path1, char *path2) in rename() argument 37 CHKNULL(path2); in rename() 47 strcpy(buf2, path2); in rename() 49 path2 = buf2; in rename() 52 strcpy(buf2, path2); in rename() 54 path2 = buf2; in rename() 57 return (_syscall(SYS_renameat, AT_FDCWD, path1, AT_FDCWD, path2)); in rename()
|
/titanic_50/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | rename.c | 31 rename(char *path1, char *path2) in rename() argument 38 strcpy(buf2, path2); in rename() 40 path2 = buf2; in rename() 43 strcpy(buf2, path2); in rename() 45 path2 = buf2; in rename() 48 return (_syscall(SYS_renameat, AT_FDCWD, path1, AT_FDCWD, path2)); in rename()
|
/titanic_50/usr/src/lib/libc/port/sys/ |
H A D | link.c | 34 linkat(int fd1, const char *path1, int fd2, const char *path2, int flag) in linkat() argument 36 return (syscall(SYS_linkat, fd1, path1, fd2, path2, flag)); in linkat() 41 link(const char *path1, const char *path2) in link() argument 56 return (linkat(AT_FDCWD, path1, AT_FDCWD, path2, in link() 60 return (syscall(SYS_link, path1, path2)); in link() 62 return (linkat(AT_FDCWD, path1, AT_FDCWD, path2, 0)); in link()
|
H A D | symlink.c | 32 symlinkat(const char *path1, int fd, const char *path2) in symlinkat() argument 34 return (syscall(SYS_symlinkat, path1, fd, path2)); in symlinkat() 39 symlink(const char *path1, const char *path2) in symlink() argument 42 return (syscall(SYS_symlink, path1, path2)); in symlink() 44 return (symlinkat(path1, AT_FDCWD, path2)); in symlink()
|
/titanic_50/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | process_buffer.c | 88 char *path2 = NULL; in process_buffer() local 316 if (nfslog_process_fh_rec(lrp, ncp->nc_fhpath, &path1, &path2, in process_buffer() 323 &lrp->log_record, path1, path2); in process_buffer() 330 path1, path2); in process_buffer() 336 if (path2 != NULL) in process_buffer() 337 free(path2); in process_buffer() 339 path1 = path2 = NULL; in process_buffer()
|
H A D | nfslog_trans.c | 991 char *path2) in trans_rename() argument 1019 path2 = tpath2 = nfslog_get_path(to_dfh, to_name, in trans_rename() 1043 pte->pathname = strdup(path2); in trans_rename() 1047 pte->pathname = strdup(path2); in trans_rename() 1051 pte->pathname = strdup(path2); in trans_rename() 1055 pte->pathname = strdup(path2); in trans_rename() 1058 newte->pathname = (char *)malloc(strlen(path1) + strlen(path2) + 3); in trans_rename() 1060 (void) sprintf(newte->pathname, "%s->%s", path1, path2); in trans_rename() 1075 char *path2) in trans_link() argument 1098 path2 = tpath2 = nfslog_get_path(dfh, name, in trans_link() [all …]
|
H A D | nfslog_elf.c | 1411 char *progname, char *path1, char *path2) in nfsl_elf_rpc_print() argument 1418 ((path2 != NULL) ? path2 : empty_name)); in nfsl_elf_rpc_print() 1466 if (path2 != NULL) { in nfsl_elf_rpc_print() 1468 " \"%s\"", path2); in nfsl_elf_rpc_print() 1663 char *path1, char *path2) in nfslog_process_elf_rec() argument 1680 path1, path2); in nfslog_process_elf_rec()
|
/titanic_50/usr/src/cmd/ssh/sftp/ |
H A D | sftp.c | 886 unsigned long *n_arg, char **path1, char **path2) in parse_args() argument 934 *path1 = *path2 = NULL; in parse_args() 949 if (get_pathname(&cp, path2)) in parse_args() 956 if (get_pathname(&cp, path2)) in parse_args() 958 if (!*path1 || !*path2) { in parse_args() 1046 char *path1, *path2, *tmp; in parse_dispatch_command() local 1054 path1 = path2 = NULL; in parse_dispatch_command() 1056 &path1, &path2); in parse_dispatch_command() 1073 err = process_get(conn, path1, path2, *pwd, pflag); in parse_dispatch_command() 1076 err = process_put(conn, path1, path2, *pwd, pflag); in parse_dispatch_command() [all …]
|
/titanic_50/usr/src/uts/common/xen/io/ |
H A D | xenbus_client.c | 96 const char *path2, struct xenbus_watch *watch, in xenbus_watch_path2() argument 103 state = kmem_alloc(strlen(path) + 1 + strlen(path2) + 1, KM_SLEEP); in xenbus_watch_path2() 106 (void) strcat(state, path2); in xenbus_watch_path2()
|
/titanic_50/usr/src/lib/brand/solaris10/s10_brand/common/ |
H A D | s10_deleted.c | 265 s10_link(sysret_t *rval, const char *path1, const char *path2) in s10_link() argument 268 AT_FDCWD, path1, AT_FDCWD, path2, 0)); in s10_link() 308 s10_symlink(sysret_t *rval, const char *path1, const char *path2) in s10_symlink() argument 311 path1, AT_FDCWD, path2)); in s10_symlink()
|
/titanic_50/usr/src/cmd/hal/hald/ |
H A D | util.c | 140 hal_util_get_normalized_path (const gchar *path1, const gchar *path2) in hal_util_get_normalized_path() argument 149 len2 = strlen (path2); in hal_util_get_normalized_path() 153 p2 = path2; in hal_util_get_normalized_path() 154 while (p2 < path2 + len2 && strncmp (p2, "../", 3) == 0) { in hal_util_get_normalized_path() 162 HAL_ERROR (("Could not normalize '%s' and '%s', return 'NULL'", path1, path2)); in hal_util_get_normalized_path()
|
H A D | util.h | 50 gchar *hal_util_get_normalized_path (const gchar *path1, const gchar *path2);
|
/titanic_50/usr/src/uts/common/xen/sys/ |
H A D | xenbus_impl.h | 181 const char *path2, struct xenbus_watch *watch,
|
/titanic_50/usr/src/cmd/abi/appcert/scripts/ |
H A D | symprof.pl | 922 my ($line, $path2); 925 $path2 = dir_name_to_path($dir2); 928 "using: %s\n"), $path_to_object, $path2);
|
/titanic_50/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | mountd.c | 1509 same_file_system(const char *path1, const char *path2) in same_file_system() argument 1517 (getattrat(AT_FDCWD, XATTR_VIEW_READONLY, path2, &nvl2) == 0) && in same_file_system() 1544 if (stat64(path2, &st2) < 0) { in same_file_system() 1545 syslog(LOG_NOTICE, "%s: %m", path2); in same_file_system()
|
/titanic_50/usr/src/uts/common/krtld/ |
H A D | kobj.c | 4347 char c, *p, *p1, *p2, *path2, *endp; in expand_libmacro() local 4422 path2 = pathend + diff; in expand_libmacro() 4428 bcopy(p1, path2, diff); in expand_libmacro() 4429 *(path2 + diff) = '\0'; in expand_libmacro() 4432 bcopy(p1, path2, diff + 1); in expand_libmacro() 4436 (void) strcat(path2, endp); in expand_libmacro() 4445 path2 + diff) != NULL)) { in expand_libmacro()
|
/titanic_50/usr/src/cmd/auditrecord/ |
H A D | audit_record_attr.txt | 718 format=path1:path2:[privileges]3:[privileges]3:[proc]4:exec_args:[exec_env]5 996 format=path1:[attr]:path2 2280 format=text1:path2 2288 format=text1:path2
|
/titanic_50/usr/src/uts/common/os/ |
H A D | devcfg.c | 8547 char *path2; in e_ddi_unretire_device() local 8592 path2 = kmem_alloc(MAXPATHLEN, KM_SLEEP); in e_ddi_unretire_device() 8594 (void) unmark_and_unfence(dip, path2); in e_ddi_unretire_device() 8597 ddi_walk_devs(ddi_get_child(dip), unmark_and_unfence, path2); in e_ddi_unretire_device() 8601 kmem_free(path2, MAXPATHLEN); in e_ddi_unretire_device()
|
/titanic_50/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 2991 char path2[PATH_MAX]; in savenew() local 3022 (void) snprintf(path2, sizeof (path2), "%s%s", root, FILE_STAT); in savenew() 3023 if (rename(path, path2) != 0) { in savenew() 3024 bam_error(RENAME_FAIL, path2, strerror(errno)); in savenew()
|