/illumos-gate/usr/src/uts/common/fs/devfs/ |
H A D | devfs_vfsops.c | 461 ASSERT(pathname); /* must have some path */ 466 /* make the path relative to /devices. */ 494 * Given a devfs path (without the /devices prefix), walk 495 * the dv_node sub-tree rooted at the path. 499 char *path, 506 ASSERT(path && callback); 508 if (*path != '/' || devfs_mntinfo == NULL) 511 dcmn_err(("devfs_walk: path = %s", path)); 515 (void) snprintf(dirpath, MAXPATHLEN, "/devices%s", path); 498 devfs_walk( char *path, void (*callback)(struct dv_node *, void *), void *arg) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_cmd.c | 282 char *path; local 286 path = exi->exi_export.ex_path; 287 if (path == NULL) 299 (void) strncpy(req.arg.charmap.path, path, MAXPATHLEN);
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | dir.c | 70 /* add a source directory to the list for each view path source directory */ 86 * view path node) 103 /* add a #include directory to the list for each view path source directory */ 120 * view path node) 145 char path[PATHLEN + 1]; local 180 while (fscanf(names, "%s", path) == 1) { 181 if (*path == '-') { /* if an option */ 182 i = path[1]; 192 case 'p': /* file path components to */ 194 s = path 271 char path[PATHLEN + 1]; local 347 char path[PATHLEN + 1]; local 394 addsrcfile(char *path) argument [all...] |
/illumos-gate/usr/src/ucbcmd/install.d/ |
H A D | install.c | 194 char *path; local 211 /* build target path, find out if target is same as source */ 212 if (!stat(path = to, &to_sb)) { 216 (void) sprintf(path = pbuf, "%s/%s", to, (C = strrchr(from, '/')) ? ++C : from); 217 if (stat(path, &to_sb)) 221 fprintf(stderr, gettext("install: %s isn't a regular file.\n"), path); 225 fprintf(stderr, gettext("install: %s and %s are the same file.\n"), from, path); 229 (void) unlink(path); 234 if ((to_fd = open(path, O_CREAT|O_WRONLY|O_TRUNC, 0)) < 0) { 235 fprintf(stderr, gettext("install: %s: %s\n"), path, strerro [all...] |
/illumos-gate/usr/src/lib/storage/liba5k/common/ |
H A D | diag.c | 82 /* for each path attempt to take it offline */ 456 /* on_line path */ 472 * and the IB path or a disk path. 508 /* We are passing the disks path */ 708 d_p_enable(char *path, int verbose) argument 721 d_p_bypass(char *path, int verbose) argument
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | TgtFCHBAPort.h | 47 TgtFCHBAPort(std::string path); 49 { return path; } 135 std::string path; member in class:TgtFCHBAPort
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | devtree_device_disco.c | 37 * Get the preferred minor node for the given path. 246 "Device in device tree has no path. Skipping."); 370 * port and node wwn or a matching device path 382 * look for matching device path 577 /* Store the devices path for now. We'll convert to /dev later */ 639 get_attached_paths_info(di_path_t path, struct sun_sas_port *port_ptr) argument 669 pathdevpath = di_path_devfs_path(path); 671 state = di_path_state(path); 676 "path node (%s) is either OFFLINE or FAULT state", 677 pathdevpath ? pathdevpath : "(missing device path)"); 1066 di_path_t path = DI_PATH_NIL; local [all...] |
/illumos-gate/usr/src/stand/lib/fs/common/ |
H A D | fsswitch.c | 282 kern_mountroot(char *path) argument 284 return (mountroot(path));
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | nfs3ops.c | 316 printf("NFS: Remote file in path.\n"); 407 nfs3getsymlink(struct nfs_file *cfile, char **path) argument 420 * linkres needs a zeroed buffer to place path data into: 438 *path = symlink_path;
|
H A D | nfs4ops.c | 595 nfs4getsymlink(struct nfs_file *cfile, char **path) argument 642 *path = NULL; 649 *path = symlink_path;
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/ |
H A D | multi_thread_def.h | 68 u16 path; member in struct:papo_arg_t
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ddi_hp_impl.c | 79 ddihp_modctl(int hp_op, char *path, char *cn_name, uintptr_t arg, argument 88 dip = e_ddi_hold_devi_by_path(path, 0); 93 DDI_HP_IMPLDBG((CE_CONT, "ddihp_modctl: dip %p op %x path %s " 94 "cn_name %s arg %p rval %p\n", (void *)dip, hp_op, path, cn_name, 442 * Minor device name will be bus path
|
/illumos-gate/usr/src/uts/common/sys/usb/usba/ |
H A D | wusba_io.h | 44 char path[MAXPATHLEN]; /* OUT arg - device apid */ member in struct:wusb_hc_get_dstate
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | corectl.c | 42 * A process's core file path and content live in separate reference-counted 51 * At system and zone boot, init_core() sets init(1M)'s core file path and 59 * settings; when processes enter a non-global zone, their core file path and 60 * content are set to the zone's default path and content. 69 static int set_proc_info(pid_t pid, const char *path, core_content_t content); 118 corectl_path_alloc(const char *path) argument 123 ccp->ccp_path = refstr_alloc(path); 132 refstr_t *path; local 135 refstr_hold(path = ccp->ccp_path); 138 return (path); 142 corectl_path_set(corectl_path_t *ccp, const char *path) argument 244 char *path; local 463 set_proc_info(pid_t pid, const char *path, core_content_t content) argument [all...] |
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | dr_mem_acpi.c | 342 char *path = kmem_alloc(MAXPATHLEN, KM_SLEEP); local 350 (void) ddi_pathname(bp->b_dip, path); 355 path, (minor == NULL) ? "" : minor); 357 kmem_free(path, MAXPATHLEN);
|
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | enx_fip.c | 252 ibt_path_info_t path; local 283 * Get the reversible path information for this gateway 291 bzero(&path, sizeof (ibt_path_info_t)); 293 &attr, 1, &path, NULL); 294 if ((ret != IBT_SUCCESS) || (path.pi_hca_guid == 0)) { 305 bcopy(&path.pi_prim_cep_path.cep_adds_vect, gw_addr->ga_vect,
|
/illumos-gate/usr/src/uts/common/io/ib/clients/iser/ |
H A D | iser.c | 359 * This function takes in a pair of endpoints and determines if an iSER path 360 * exists between the two. The actual path information (required for creating 361 * a RC channel) is not returned, instead a boolean value indicating if a path 371 ibt_path_info_t path; local 377 status = iser_ib_get_paths(&local_ip, &remote_ip, &path, NULL);
|
/illumos-gate/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_ibnex.c | 184 char path[MAXPATHLEN]; local 232 (void) strcpy(path, "/devices"); 233 (void) ddi_pathname(child, path + strlen(path)); 236 "device path = %s", path); 238 if (nvlist_add_string(nvl, "devpath", path)) { 241 "failed to fill in path %s", path); 407 char path[IBTL_IBNEX_STR_LE local [all...] |
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | ckpath.c | 158 ckpath_val(char *path, int pflags) argument 164 if ((pflags & P_RELATIVE) && (*path == '/')) { 168 if ((pflags & P_ABSOLUTE) && (*path != '/')) { 172 if (stat64(path, &status)) { 177 for (pt = path; *pt; pt++) { 186 if ((mkdir(path, 0755)) != 0) { 191 if ((fd = creat(path, 0644)) < 0) {
|
H A D | devtab.c | 538 char *path; /* Ptr to path in environment */ local 549 if (((path = getenv(OAM_DEVTAB)) != NULL) && (*path)) { 550 if (rtnval = malloc(strlen(path)+1)) 551 (void) strcpy(rtnval, path);
|
H A D | pkgparam.c | 74 * the old data. This returns the first accessible path in "path" and a "1" 79 pkginfofind(char *path, char *pkg_dir, char *pkginst) argument 84 len = snprintf(path, PATH_MAX, "%s/.save.%s/pkginfo", pkg_dir, 88 if (access(path, 0)) { 93 len = snprintf(path, PATH_MAX, "%s/%s/pkginfo", pkg_dir, 97 if (access(path, 0)) 394 set_PKGpaths(char *path) argument 396 if (path && *path) { 489 set_install_root(char *path) argument [all...] |
H A D | putdgrp.c | 123 opennewdgrptab(char **pname) /* A(ptr to temp filename's path) */ 602 char *path; /* Ptr to new devtab name */ local 666 if (fd = opennewdgrptab(&path)) { 686 noerr = mknewdgrptab(path); 689 (void) rmnewdgrptab(path); 736 char *path; /* Pathname of temp file */ local 744 if (fd = opennewdgrptab(&path)) { 752 noerr = mknewdgrptab(path); 755 (void) rmnewdgrptab(path); 802 char *path; /* Pathnam local [all...] |
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | fastfind.c | 170 char* path; local 214 if (path = findcodes[i]) 216 if (*path == '/') 218 if (!stat(path, &st)) 224 sfsprintf(fp->encode.file, sizeof(fp->encode.file), "%s/%s", path, findnames[k]); 227 path = fp->encode.file; 236 path = fp->encode.file; 246 sfsprintf(fp->encode.file, sizeof(fp->encode.file), "%s", path); 247 path = fp->encode.file; 251 else if (i < 2 || strmatch(path, FIND_MATC 428 (*fp->disc->errorf)(fp, fp->disc, 2, "%s: cannot stat codes", path); local 578 (*fp->disc->errorf)(fp, fp->disc, 2, "%s: %s code format does not support directory verification", path, fp->method == FF_gnu ? FF_gnu_magic : "OLD-BIGRAM"); local 684 (*fp->disc->errorf)(fp, fp->disc, 2, "%s: invalid codes", path); local 948 findwrite(register Find_t* fp, const char* path, size_t len, const char* type) argument [all...] |
H A D | findlib.h | 69 char path[PATH_MAX]; member in struct:__anon2637 84 char path[PATH_MAX]; member in struct:__anon2638
|
H A D | procopen.c | 30 * _ contains the process path name and is 373 char path[PATH_MAX]; local 402 if (cmd && (!*cmd || !pathpath(path, cmd, NiL, PATH_REGULAR|PATH_EXECUTE))) 539 sfsprintf(path, sizeof(path), "%d", getppid()); 540 execlp("trace", "trace", "-p", path, NiL); 668 sfprintf(sfstderr, "+ %s", cmd ? path : "sh"); 681 strcpy(env + 2, path); 683 execve(path, p, environ); 685 else if ((proc->pid = spawnveg(path, [all...] |