Searched defs:path (Results 801 - 825 of 1135) sorted by relevance

<<31323334353637383940>>

/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgtrans.c775 char path[MAXPATHLEN], tmp_entry[ENTRY_MAX]; local
801 (void) snprintf(path, MAXPATHLEN, "%s/%s/%s",
803 if (stat(path, &statbuf) < 0) {
826 (void) snprintf(path, MAXPATHLEN, "%s/%s/%s",
828 if ((fp = fopen(path, "r")) == NULL) {
928 char path[PATH_MAX], tmp_entry[ENTRY_MAX], local
1027 if (((len = snprintf(path, PATH_MAX, "%s/%s",
1036 if ((fp = fopen(path, "w")) == NULL) {
1038 logerr(pkg_gt(MSG_NOTMPFIL), path); local
1046 (void) snprintf(path, sizeo
1050 logerr(pkg_gt(MSG_MKDIR), path); local
1060 logerr(pkg_gt(MSG_SYMLINK), path, srcpath); local
1071 logerr(pkg_gt(MSG_SYMLINK), path, srcpath); local
1169 char path[PATH_MAX]; local
1176 logerr(pkg_gt(MSG_EXISTS), path); local
[all...]
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Ddisplay_sun4v.c250 * path from the PRI with a specific devfs path. So we take care of
431 char path[PICL_PROPNAMELEN_MAX]; local
476 path, sizeof (path));
480 (void) strlcpy(pci_card.notes, path, sizeof (pci_card.notes));
1239 /* gather up the path name for the sensor */
/illumos-gate/usr/src/lib/libbsm/common/
H A Dau_to.c726 * pointer to a path token.
729 au_to_path(char *path) argument
736 bytes = (short)strlen(path) + 1;
744 adr_char(&adr, path, bytes);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dcrypt.c82 * minus the path to the module and the minimum white space.
117 static char *isa_path(const char *path);
735 * isa_path - prepend the default dir or patch up the $ISA in path
739 isa_path(const char *path) argument
743 if ((path == NULL) || (strlen(path) > PATH_MAX)) {
750 * Module path doesn't start with "/" then prepend
751 * the default search path CRYPT_MODULE_DIR (/usr/lib/security/$ISA)
753 if (path[0] != '/') {
755 path) > PATH_MA
[all...]
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dmqueue.c376 mq_open(const char *path, int oflag, /* mode_t mode, mq_attr *attr */ ...) argument
394 if (__pos4obj_check(path) == -1)
398 if (__pos4obj_lock(path, MQ_LOCK_TYPE) < 0)
411 if ((fd = __pos4obj_open(path, MQ_PERM_TYPE, oflag,
452 if ((fd = __pos4obj_open(path, MQ_DATA_TYPE,
465 if ((fd = __pos4obj_open(path, MQ_DATA_TYPE,
504 if ((fd = __pos4obj_open(path, MQ_DSCN_TYPE, O_RDWR | O_CREAT,
508 (void) __pos4obj_unlink(path, MQ_DSCN_TYPE);
539 if (__pos4obj_unlock(path, MQ_LOCK_TYPE) == 0) {
556 (void) __pos4obj_unlink(path, MQ_DATA_TYP
636 mq_unlink(const char *path) argument
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_utils.c67 static int do_recurse_dev(const char *path, const struct stat *sbuf,
145 {ERRARG_DEVINFO, 1, 1, "libdevinfo failed on path: "},
170 {ERRARG_INVALID_PATH, 1, 1, "Invalid path: "},
174 {ERRARG_VHCI_GET_PATHLIST, 1, 1, "failed to get path list from vHCI: "},
328 const char *path,
340 if (nftw_arg.fcn(path, nftw_arg.arg) == FPCFGA_TERMINATE) {
368 pathdup(const char *path, int *l_errnop) argument
376 if (path == NULL) {
380 if ((dup = calloc(1, strlen(path) + 1)) == NULL) {
386 for (sp = path, d
327 do_recurse_dev( const char *path, const struct stat *sbuf, int type, struct FTW *ftwp) argument
822 char *cp = NULL, *path = NULL; local
[all...]
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_selfcred.c462 (me, "execv path = %s\n", execpath);
1108 char *path,
1119 execpath = strdup(path);
1130 (void) execv(path, execargv);
1107 _nscd_start_forker( char *path, int argc, char **argv) argument
/illumos-gate/usr/src/cmd/pcitool/
H A Dpcitool.c196 char *path; /* For building full nexus pathname. */ local
236 path = malloc(stringsize);
239 (void) snprintf(path, stringsize, format, prefix, device, suffix);
242 if ((fd = open(path, O_RDWR)) == -1) {
246 path, strerror(errno));
871 (void) fprintf(stderr, "Error getting nexus path: %s\n",
891 /* Strip off the suffix at the end of the nexus path. */
1418 iget_p->dev[i].path);
1423 iget_p->dev[i].path);
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/blade/bsc/
H A Dpicllom.c301 /* Build up the full device path and set the global */
1179 char path[80]; local
1184 (void) snprintf(path, sizeof (path),
1186 if (ptree_get_node_by_path(path, &fan_unit_h) !=
1389 * Retrive the device path to open
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/envmon/
H A Dpiclenvmon.c470 /* prefix devfs-path name with /devices */
474 * append devfs-path property
487 *ptr = '\0'; /* terminate at end of directory path */
1531 char path[MAXPATHLEN]; local
1551 path, sizeof (path));
1572 if (strcmp(str_SC, path) == 0) {
1594 PICL_PROP_NAME, path, sizeof (path));
1603 retval = ptree_create_node(path,
[all...]
/illumos-gate/usr/src/cmd/ptools/pstack/
H A Dpstack.c673 char path[PATH_MAX]; local
682 (void) strcpy(path, obj);
685 s2 = path + (s1 - obj);
692 s2 = strstr(path, ".so");
697 if ((libjvm = dlopen(path, RTLD_LAZY|RTLD_GLOBAL)) != NULL)
716 * we have the full path to the libjvm.so. But really, we don't
718 * executing code from that path, and therefore we don't want to
769 char path[PATH_MAX]; local
777 (void) strcpy(path, obj);
780 s2 = path
[all...]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_subr.c57 * translate /dev name to a /devices path
1646 char path[64]; local
1654 (void) snprintf(path, sizeof (path), "%s/%ld", procfs, pid);
1655 return (stat(path, &sb) == 0);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rarpd.c68 #define DEVIP "/dev/ip" /* path to ip driver */
69 #define DEVARP "/dev/arp" /* path to arp driver */
72 #define MAXPATHL 128 /* max path length */
818 char path[MAXPATHL]; local
822 (void) snprintf(path, sizeof (path), "%s/%08X", BOOTDIR, ipa);
827 if (access(path, 0) == 0)
834 (void) sprintf(path, "%08X", ipa);
840 if (strncmp(dp->d_name, path, 8) != 0)
H A Din.rshd.c437 char *path; local
1115 path = (pwd->pw_uid == 0) ? rootpath : userpath;
1146 add_to_envinit(path);
1700 "[-P path] [-M realm] [-s tos] "
1706 syslog(LOG_ERR, "%s: rshd [-k5eciU] [-P path] [-M realm] [-s tos] "
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/inetconv/
H A Dinetconv.c979 inetd_config_path(char **path) argument
1038 *path = safe_strdup(cpath);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_smb.c1509 char path[256]; local
1543 GET_STRING(path, tcondata, isunicode);
1547 snprintf(xtra, xsz, " Share=%s", path);
1560 show_printf("SharePath = %s", path);
/illumos-gate/usr/src/cmd/csh/
H A Dsh.file.c255 tchar path[MAXPATHLEN + 1]; local
262 catn(strcpy_(path, dir), file, MAXPATHLEN);
264 if (stat_(path, &statb) < 0)
267 if (lstat_(path, &statb) < 0)
455 * Parse full path in file into 2 parts: directory and file names
459 extract_dir_and_name(tchar *path, tchar *dir, tchar *name) argument
466 p = rindex_(path, '/');
468 copyn(name, path, MAXNAMLEN);
472 copyn(dir, path, p - path);
[all...]
/illumos-gate/usr/src/cmd/ctstat/
H A Dctstat.c624 char path[PATH_MAX]; local
629 if (snprintf(path, PATH_MAX, CTFS_ROOT "/%s", type) >= PATH_MAX ||
630 (dir = opendir(path)) == NULL)
670 const char *path = CTFS_ROOT "/all"; local
673 if ((dir = opendir(path)) == NULL)
674 uu_die(gettext("could not open %s"), path);
/illumos-gate/usr/src/cmd/mdb/common/modules/nsctl/
H A Dnsctl.c825 char path[NSC_MAXPATH+1]; local
873 memset(path, 0, sizeof (path));
881 if (mdb_readstr(path, sizeof (path), (uintptr_t)dev->nsc_path) == -1) {
887 mdb_printf("%-?s %8Tref pend rpnd wait path\n", "dev");
892 dev->nsc_wait, path);
1107 char path[NSC_MAXPATH+1]; local
1124 memset(path, 0, sizeof (path));
1275 char path[NSC_MAXPATH+1]; local
[all...]
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_comm.c74 * Restore path mechanism definition
75 * 0 means partial path restore and
76 * 1 means full path restore.
77 * Refer to NDMP_FULL_RESTORE_PATH for partial path and full path definition.
1513 char *path, int dest, char *local_path, int result)
1521 event->adt_ndmp_backup.source = path;
1549 char *path, int dest, char *local_path, int result)
1558 event->adt_ndmp_restore.destination = path;
1658 * Get the backup path fro
1512 ndmpd_audit_backup(ndmp_connection_t *conn, char *path, int dest, char *local_path, int result) argument
1548 ndmpd_audit_restore(ndmp_connection_t *conn, char *path, int dest, char *local_path, int result) argument
[all...]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_ckpt.c767 char path[PATH_MAX]; local
798 (void) snprintf(path, sizeof (path), "%s-", mp->mod_ckpt);
799 (void) rename(mp->mod_ckpt, path);
829 * atomically rename it to the destination path. If this fails, we
1180 * code or by the fmadm reset RPC service path to force a checkpoint delete.
1185 char path[PATH_MAX]; local
1187 (void) snprintf(path, sizeof (path),
1192 if (unlink(path) !
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/ses-log-transport/
H A Dses_log_transport.c60 { "path", FMD_TYPE_STRING, "/var/fm/fmd/ses_logs/"},
86 char *slt_path; /* Output path for log files */
98 char slt_path[MAXPATHLEN]; /* The ses path to the expander */
194 * path: The directory path to create.
198 do_mkdir(const char *path, mode_t mode) argument
203 if (stat(path, &st) != 0) {
205 if (mkdir(path, mode) != 0)
216 * Validates that all directories in path exist
217 * path
221 mkpath(char *path, mode_t mode) argument
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/
H A Ddb_int.h128 * We use 1024 as the maximum path length. It's too hard to figure out what
129 * the real path length is, as it was traditionally stored in <sys/param.h>,
251 char *path; /* Region naming info. */ member in struct:__db_reginfo
/illumos-gate/usr/src/cmd/sgs/ar/common/
H A Dfile.c69 const char *path; /* Path to open file */ member in struct:__anon1399
130 (void) unlink(ar_outfile.path);
1186 ar_outfile.path = new_archive ? name : make_tmpname(name);
1187 ar_outfile.fd = open(ar_outfile.path, O_RDWR|O_CREAT|O_LARGEFILE, 0666);
1191 ar_outfile.path, strerror(err));
1322 (void) fprintf(stderr, MSG_INTL(MSG_SYS_CLOSE), ar_outfile.path,
1342 if (rename(ar_outfile.path, name) < 0) {
1345 ar_outfile.path, name, strerror(err));
1346 (void) unlink(ar_outfile.path);
1625 * If there is a path prefi
[all...]
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dmap_core.c2298 char path[PATH_MAX]; local
2306 (void) snprintf(path, PATH_MAX, MSG_ORIG(MSG_STR_PATH),
2308 if (!ld_map_parse(path, ofl))

Completed in 156 milliseconds

<<31323334353637383940>>