/illumos-gate/usr/src/cmd/hotplug/ |
H A D | hotplug.c | 103 { "list [-l] [-v] [<path> [<connection>]]", "list", cmd_list }, 104 { "online <path> <port>", "online", cmd_online }, 105 { "offline [-f] [-q] <path> <port>", "offline", cmd_offline }, 106 { "enable <path> <connector>", "enable", cmd_enable }, 107 { "disable [-f] [-q] <path> <connector>", "disable", cmd_disable }, 108 { "poweron <path> <connector>", "poweron", cmd_poweron }, 109 { "poweroff [-f] [-q] <path> <connector>", "poweroff", cmd_poweroff }, 110 { "get -o <options> <path> <connector>", "get", cmd_getpriv }, 111 { "set -o <options> <path> <connector>", "set", cmd_setpriv } 115 { "changestate [-f] [-q] -s <state> <path> <connectio 246 char *path = NULL; local 298 char *path = NULL; local 358 char *path = NULL; local 415 char *path = NULL; local 470 char *path = NULL; local 536 char *path = NULL; local 600 char *path = NULL; local 656 char *path = NULL; local 720 char *path = NULL; local 787 char *path = NULL; local 1074 char path[MAXPATHLEN]; local 1116 static char path[MAXPATHLEN]; local [all...] |
/illumos-gate/usr/src/cmd/sgs/m4/common/ |
H A D | m4macs.c | 352 char *path; local 355 path = wstr2str(ap[1], 1); 356 mkpid(path); 357 pbstr(str2wstr(path, 0)); 358 free(path);
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | paths.c | 49 * Default and secure dependency search path initialization. 131 * (LD_LIBRARY_PATH) search path list. Note, we always call 133 * be preceded with the appropriate search path information. 139 * Note, this path may have originated from the users 184 * Initialize the permanent (LD_LIBRARY_PATH) search path list. 225 * Initialize the runpath search path list. To be consistent 291 * Get the next directory in the search rules path. The search path "cookie" 296 * Each rule can establish a corresponding series of path names, which are 313 * of Alist members, return the associated path nam 1001 is_path_unique(Alist *alp, const char *path) argument 1207 const char *path; local [all...] |
/illumos-gate/usr/src/cmd/sh/ |
H A D | service.c | 135 unsigned char *path, *newpath; local 144 } else if ((path = pathnod.namval) == 0) 147 pathlen = length(path)-1; 149 if (pathlen > 2 && path[pathlen - 1] == ':' && 150 path[pathlen - 2] != ':') { 152 (void) memcpystak(newpath, path, pathlen); 157 return (cpystak(path)); 162 pathopen(unsigned char *path, unsigned char *name) argument 168 path = catpath(path, nam 174 catpath(unsigned char *path, unsigned char *name) argument 207 nextpath(unsigned char *path) argument 226 unsigned char *path; local [all...] |
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | dsr.c | 64 static int scsi_vhci_fd = -1; /* from scsi_vhci: for mpxio path */ 267 /* get path to /devices devinfo node */ 331 * which describes mpxio path stat information, and ",<partition>" parts are 412 /* parse and translate path information */ 414 /* parse path information: ".t#.<phci-driver><instance>" */ 470 char path[MAXPATHLEN + 1]; local 481 (void) strcpy(path, "/dev/md/"); 482 p = path + strlen(path); 483 dirp = opendir(path); 514 char *host, *path; local 614 char *path; local [all...] |
/illumos-gate/usr/src/cmd/svc/lsvcrun/ |
H A D | lsvcrun.c | 104 start_pg_name(const char *path) argument 108 if (fnmatch("/etc/rc[0-6S].d/S*", path, FNM_PATHNAME) != 0) { 109 uu_warn(gettext("couldn't parse name %s.\n"), path); 113 out = strdup(path + sizeof ("/etc/") - 1); 131 script_suffix(const char *path) argument 136 if (fnmatch("/etc/rc[0-6S].d/[SK]*", path, FNM_PATHNAME) != 0) { 137 uu_warn(gettext("couldn't parse name %s.\n"), path); 141 cp = path + sizeof ("/etc/rc0.d/S") - 1; 147 uu_warn(gettext("couldn't parse name %s.\n"), path); 159 * Convert a path t 162 path_to_svc_name(const char *path) argument [all...] |
/illumos-gate/usr/src/cmd/listen/ |
H A D | nlps_serv.c | 622 char *path; local 648 path = *argvp; 651 (dbp)?dbp->dbf_svc_code:DBF_SMB_CODE, path); 772 execve(path, argvp, environ);
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | pkgobjmap.c | 85 * path information which is read in 114 * do not resolve path environment variables here since 120 (void) strlcpy(&source[1], ept->path, 131 * Evaluate the destination path based upon available 133 * server-relative canonized path. 136 mappath(getmapmode(), ept->path); /* evaluate variables */ 137 canonize(ept->path); /* Fix path as necessary. */ 142 ept->path); 144 ept->path 215 seed_pkgobjmap(struct cfextra *ext_entry, char *path, char *local) argument 575 char *path = ept2->path; local 660 char *path = old->path; local [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | check.c | 409 char path[PATH_MAX]; local 415 (void) snprintf(path, sizeof (path), "%s/%s", instdir, DEPEND_FILE); 416 if (access(path, F_OK) != 0) { 426 if (dockdeps(path, 0, preinstallCheck)) { 487 char path[PATH_MAX]; local 499 (void) snprintf(path, sizeof (path), "%s/install/space", instdir); 500 if (access(path, F_OK) == 0) { 501 n = dockspace(path); 543 char path[PATH_MAX]; local 560 progerr(gettext(MSG_MKPKGDIR), path); local 571 progerr(gettext(MSG_MKPKGDIR), path); local 990 char ans[MAX_INPUT], path[PATH_MAX]; local [all...] |
H A D | instvol.c | 115 static boolean_t absolutepath(char *path); 116 static boolean_t parametricpath(char *path, char **relocpath); 302 if (is_fs_writeable(ext->cf_ent.path, 335 ((is_fs_writeable(ept->path, 438 n = is_remote_fs(ept->path, &(ext->fsys_value)); 440 !is_fs_writeable(ept->path, 456 if (is_mounted(ept->path, &(ext->fsys_value))) { 527 * Copy from source media to target path and fix file 541 if (is_fs_writeable(ept->path, 625 * we do this even if none of the path 1540 absolutepath(char *path) argument 1561 parametricpath(char *path, char **relocpath) argument [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/ |
H A D | splpkgmap.c | 88 static int nodecount(char *path); 92 static void allocnode(char *path); 163 (nodecount(eptlist[i]->path) * DIRSIZE); 171 allocnode(eptlist[i]->path); 209 if (!bpkginfo && (strcmp(f[i].ept->path, "pkginfo") == 0)) 231 (strcmp(f[j].ept->path, "pkginfo") == 0 || 232 strcmp(f[j].ept->path, "pkgmap") == 0)) 236 ftemp += nodecount(f[j].ept->path); 238 allocnode(f[j].ept->path); 295 progerr(gettext(ERR_INFOFIRST), f[j].ept->path); 444 allocnode(char *path) argument 501 nodecount(char *path) argument [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/pkgremove/ |
H A D | main.c | 124 static boolean_t path_valid(char *path); 165 char path[PATH_MAX]; local 404 * Same as pkgrm: defines the full path name of a 474 /* establish cmdbin path */ 625 (void) snprintf(path, sizeof (path), "%s/pkginfo", pkgloc); 626 if ((fp = fopen(path, "r")) == NULL) { 627 progerr(ERR_PKGINFO, path); 654 * read the pkginfo file and fix any PKGSAV path - the correct 655 * install_root will be prepended to the existing path 1092 issymlink(char *path) argument 1367 path_valid(char *path) argument [all...] |
/illumos-gate/usr/src/cmd/swap/ |
H A D | swap.c | 165 gettext("%s: path must be absolute\n"), 372 char *path; local 394 if ((path = malloc(num * MAXPATHLEN)) == NULL) { 402 swapent->ste_path = path; 403 path += MAXPATHLEN; 563 delete(char *path, off_t offset) argument 568 swr.sr_name = path; 576 path); 579 perror(path); 598 "select new dump device\n"), path); 623 add(char *path, off_t offset, off_t cnt, int flags) argument [all...] |
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventconfd/ |
H A D | syseventconfd.c | 280 char *path; local 303 if (nvlist_lookup_string(cmd->cmd_nvlist, "path", &path) != 0) { 304 syslog(LOG_ERR, NVLIST_FILE_LINE_FORMAT_ERR, "path"); 337 printmsg(DBG_EXEC, "path=%s\n", path); 392 if (execv(path, args->arg_args) == -1) { 394 path, strerror(errno));
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_client_secinfo.c | 556 * Get the pointer of the n-th component in the given path. 563 char *path = inpath, *comp_start, *slash = NULL; local 566 while ((count != nth) && (*path != '\0')) { 568 comp_start = path; 571 while (*path == '/') 572 path++; 574 if (*path != '\0') { 575 comp_start = path; 579 if ((slash = strchr(path, '/')) == NULL) 582 path [all...] |
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | nl7curi.h | 135 str_t path; /* Path name of response */ member in struct:uri_desc_s
|
/illumos-gate/usr/src/uts/common/fs/specfs/ |
H A D | specsubr.c | 318 * 2) spec_open after path reconstruction and attach. 956 char *path; local 970 path = kmem_alloc(MAXPATHLEN, KM_SLEEP); 971 (void) ddi_pathname(dip, path); 982 (void *)csp, path)); 983 kmem_free(path, MAXPATHLEN); 1007 FENDBG((CE_NOTE, "fenced off all snodes for dip: %s", path)); 1008 kmem_free(path, MAXPATHLEN); 1020 char *path; local 1025 path [all...] |
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | find.c | 59 char lastfilepath[PATHLEN + 1]; /* last file that full path was */ 1262 /* if needed, convert a relative path to a full path */ 1267 static char path[PATHLEN + 1]; local 1272 /* if same file as last time, return the same path */ 1274 return (path); 1278 /* if requested, prepend a path to a relative file path */ 1280 (void) sprintf(path, "%s/%s", prependpath, file); 1281 return (path); [all...] |
/illumos-gate/usr/src/tools/findunref/ |
H A D | findunref.c | 109 char path[MAXPATHLEN]; local 160 * Interpret a relative timestamp path as relative to srcroot. 163 (void) strlcpy(path, tstampfile, MAXPATHLEN); 165 (void) snprintf(path, MAXPATHLEN, "%s/%s", argv[0], tstampfile); 167 if (stat(path, &tsstat) == -1) 168 die("cannot stat timestamp file \"%s\"", path); 201 char path[MAXPATHLEN]; local 212 while (fgets(path, sizeof (path), fp) != NULL) { 213 newline = strrchr(path, '\ 243 char path[MAXPATHLEN]; local 279 chdir_scmdata(const char *path, const char *meta, pnset_t *(*manifest_func)(const char *path)) argument 350 chdir_git(const char *path) argument 356 chdir_hg(const char *path) argument 363 check_scmdata(const char *path, const struct FTW *ftwp) argument 379 check_tw(const char *path, const struct FTW *ftwp) argument 444 checkpath(const char *path, const struct stat *statp, int type, struct FTW *ftwp) argument 499 pnset_add(pnset_t *pnsetp, const char *path) argument 525 pnset_check(const pnset_t *pnsetp, const char *path) argument [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/ |
H A D | nsc_ncallio.c | 75 "ncio: failed to convert %s to node and path", 99 char *path = NULL; local 103 snode = nsc_ncio_split(node_and_path, &path); 108 phash = nsc_strhash(path); 111 (void) strncpy(new->path, path, sizeof (new->path)); 119 if (ncp->phash == phash && strcmp(path, ncp->path) == 0) 433 (void) strncpy(h->rw.rw_path, ncp->path, [all...] |
H A D | nsctl.c | 543 op->path[sizeof (op->path)-1] = 0; 545 fd = nsc_open(op->path, (op->flag & NSC_TYPES), 0, 0, &rc); 760 char *path = NULL; local 783 path = nsc_kmem_alloc(NSC_MAXPATH, KM_SLEEP, _nsc_local_mem); 784 if (path == NULL) { 788 if (ddi_copyin((void *)arg, path, NSC_MAXPATH, mode) < 0) 791 path[NSC_MAXPATH-1] = 0; 792 rc = _nsc_frz_start(path, rvp); 797 path [all...] |
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | mount.c | 69 static char root_pathbuf[NFS_MAXPATHLEN]; /* the root's path */ 141 nfsmountroot(char *path, struct nfs_file *filep) argument 156 (rpcproc_t)MOUNTPROC_MNT, xdr_path, (caddr_t)&path, 161 root_hostname, path); 221 * Root path Required. 234 * Optional Bootfile path. 317 nfs3mountroot(char *path, struct nfs_file *filep) argument 337 (rpcproc_t)MOUNTPROC_MNT, xdr_path, (caddr_t)&path, 345 root_hostname, path); 387 nfs4init(char *path, uint16_ argument [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | core.c | 85 core_log(struct core_globals *cg, int error, const char *why, const char *path, argument 95 if (path == NULL) 99 why, path); 102 fn, pid, why, error, path); 213 * the path from the filename, lookup the 234 * Do a lookup on the full path, ignoring the actual file, but 246 * Now find the final component in the path (ie, the name of 723 * Convert the core file name patterns into path names
|
H A D | tlabel.c | 186 /* treat path as absolute but it doesn't have leading '/' */ 348 * Fast path, for objects in a labeled zone: everything except 361 * Get the vnode path -- it may be missing or weird for some 418 * Always build our own path for the file, to be sure it's simplified 487 * to our global zone file path? I.e., check 489 * prefix of our path. 551 getlabel(const char *path, bslabel_t *label_p) argument 558 if (path == NULL) 562 if ((error = copyinstr(path, spath, MAXPATHLEN, NULL)) != 0) {
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | consplat.c | 167 plat_devpath(char *name, char *path) argument 184 (void) ddi_pathname(dip, path); 186 return (path); 190 * Return generic path to keyboard device from the alias. 198 * Hardcode to isa keyboard path 370 * Return the device path as the console fb path. 412 * Hardcode to isa mouse path 424 /* return path of first usb serial device */ 455 static char path[MAXPATHLE local [all...] |