Home
last modified time | relevance | path

Searched refs:path1 (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_trans.c554 char *path1) in trans_read() argument
569 if (!path1) { in trans_read()
573 newte->pathname = strdup(path1); in trans_read()
624 char *path1) in trans_write() argument
639 if (!path1) { in trans_write()
643 newte->pathname = strdup(path1); in trans_write()
696 char *path1) in trans_setattr() argument
721 if (!path1) { in trans_setattr()
725 newte->pathname = strdup(path1); in trans_setattr()
761 char *path1) in trans_create() argument
[all …]
H A Dprocess_buffer.c85 char *path1 = NULL; in process_buffer() local
314 if (nfslog_process_fh_rec(lrp, ncp->nc_fhpath, &path1, &path2, in process_buffer()
321 &lrp->log_record, path1, path2); in process_buffer()
328 path1, path2); in process_buffer()
332 skip: if (path1 != NULL) in process_buffer()
333 free(path1); in process_buffer()
337 path1 = path2 = NULL; in process_buffer()
H A Dnfslog_elf.c1409 char *progname, char *path1, char *path2) in nfsl_elf_rpc_print() argument
1415 ((path1 != NULL) ? path1 : empty_name), in nfsl_elf_rpc_print()
1453 if (path1 != NULL) { in nfsl_elf_rpc_print()
1455 " \"%s\"", path1); in nfsl_elf_rpc_print()
1661 char *path1, char *path2) in nfslog_process_elf_rec() argument
1678 path1, path2); in nfslog_process_elf_rec()
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dlink.c34 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 Dsymlink.c32 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()
/illumos-gate/usr/src/cmd/hal/hald/
H A Dutil.c140 hal_util_get_normalized_path (const gchar *path1, const gchar *path2) in hal_util_get_normalized_path() argument
148 len1 = strlen (path1); in hal_util_get_normalized_path()
151 p1 = path1 + len1; in hal_util_get_normalized_path()
157 while (p1 >= path1 && *(--p1)!='/') in hal_util_get_normalized_path()
161 if ((p1-path1) < 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()
166 strncpy (buf, path1, (p1-path1)); in hal_util_get_normalized_path()
167 buf[p1-path1] = '\0'; in hal_util_get_normalized_path()
H A Dutil.h50 gchar *hal_util_get_normalized_path (const gchar *path1, const gchar *path2);
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_deleted.c265 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()
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_debuglink.c891 const char * path1 = 0; in dwarf_add_debuglink_global_path() local
905 path1 = strdup(pathname); in dwarf_add_debuglink_global_path()
906 if (!path1) { in dwarf_add_debuglink_global_path()
912 glpaths[glpath_count_in] = path1; in dwarf_add_debuglink_global_path()
/illumos-gate/usr/src/cmd/auditrecord/
H A Daudit_record_attr.txt203 format=path1:[attr]
230 format=path1:[attr]2
750 format=path1:path2:[privileges]3:[privileges]3:[proc]4:exec_args:[exec_env]5
1033 format=path1:[attr]:path2
1502 format=path1:[attr]1:[path]2
1508 format=path1:[attr]1:[path]2
1648 format=path1:attr
1672 format=path1:attr
1834 format=path1:arg2:arg3:arg4:arg5:arg6:[arg]7:[data]8
1941 format=path1:arg2:[arg]3:[arg]4:[arg]5
[all …]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_mount.c1289 libzfs_path_contains(const char *path1, const char *path2) in libzfs_path_contains() argument
1291 return (strstr(path2, path1) == path2 && path2[strlen(path1)] == '/'); in libzfs_path_contains()
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dmountd.c1640 same_file_system(const char *path1, const char *path2) in same_file_system() argument
1647 if ((getattrat(AT_FDCWD, XATTR_VIEW_READONLY, path1, &nvl1) == 0) && in same_file_system()
1671 if (stat64(path1, &st1) < 0) { in same_file_system()
1672 syslog(LOG_NOTICE, "%s: %m", path1); in same_file_system()