/illumos-gate/usr/src/tools/protolist/ |
H A D | protolist.c | 42 visit_dir(const char *path, const struct stat *st, argument 63 if ((path[0] == '.') && (path[1] == '\0')) 67 abs_name = (char *)(path + 2); 122 if ((c = readlink(path, symsrc, MAXPATHLEN)) == -1)
|
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/ |
H A D | nsc_freeze.c | 60 char path[NSC_MAXPATH]; member in struct:_nsc_frz_s 98 * int _nsc_frz_start(char *path, int *rvp) 104 * EINVAL - invalid 'path' argument 106 * EALREADY - 'path' is already frozen 109 * Registers 'path' to be accessed through the NSC_FREEZE_ID 110 * io module, and forces any open file descriptors for 'path' 114 _nsc_frz_start(path, rvp) 115 char *path; 123 if (strlen(path) >= NSC_MAXPATH) 130 (void) strcpy(frz->path, pat [all...] |
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | FCHBA.cc | 53 FCHBA::FCHBA(string path) : HBA() { argument 55 log.debug("Constructing new HBA (%s)", path.c_str()); 58 addPort(new FCHBAPort(path));
|
H A D | FCHBAPort.h | 48 FCHBAPort(std::string path); 50 { return path; } 125 std::string path; member in class:FCHBAPort 139 static void fp_ioctl(std::string path, int cmd, fcio_t *arg); 140 static void fp_ioctl(std::string path, int cmd, fcio_t *arg,
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | Sun_sasGetPhyStatistics.c | 44 char *charptr, path[MAXPATHLEN + 1]; local 127 /* First, we need the deivce path to locate the devinfo node. */ 128 (void *) strlcpy(path, hba_port_ptr->device_path, 129 sizeof (path)); 130 charptr = strrchr(path, ':'); 138 node = di_init(path, DINFOCPYONE); 144 path, phy, strerror(errno)); 158 "device \"%s\" when get phyIndex: %08lx", path, phy); 169 path, phy);
|
H A D | devtree_phy_disco.c | 40 char *path; member in struct:walk_devlink 66 * Find matching /dev link for the given path argument. 68 * The input path is expected to not have "/devices". 84 * When path is specified, it doesn't have minor 89 "Unable to get device path from portNode.");
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_open.c | 405 char path[MAXPATHLEN]; local 414 if (envtmp && ((strlen(envtmp)+sizeof(fn)+1) > sizeof(path))) 417 (void)sprintf(path, "%s%s", (envtmp ? envtmp : "/tmp"), fn); 425 if ((fd = mkstemp(path)) != -1) 426 (void)unlink(path);
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | fulldevnm.c | 108 getfullname(char *path) argument 115 if (*path == '/') 116 return (strdup(path)); 122 if (strncmp(path, "./", 2) == 0) { 123 /* strip the ./ from the given path */ 124 path += 2; 125 } else if (strncmp(path, "../", 3) == 0) { 130 /* strip the ../ from the given path */ 131 path += 3; 137 len = strlen(cwd) + strlen(path) 303 getvfsspecial(char *path, int raw_special) argument [all...] |
/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | catopen.c | 74 char path[PATH_MAX]; local 83 if ((s = mcfind(path, NiL, name, LC_MESSAGES, flag)) && (ip = sfopen(NiL, s, "r")))
|
/illumos-gate/usr/src/lib/libast/common/preroot/ |
H A D | getpreroot.c | 26 * if cmd==0 then current preroot path returned 46 getpreroot(char* path, const char* cmd) argument 53 if (!path) path = buf; 58 for (p = path; (c = getc(fp)) != EOF && c != '\n'; *p++ = c); 61 if (path == p) return(0); 62 return(path == buf ? strdup(path) : path); 91 p = path [all...] |
/illumos-gate/usr/src/cmd/lp/lib/forms/ |
H A D | rdform.c | 359 char * path; local 362 if (!(path = getformfile(name, COMMENTFILE))) { 368 !(formp->comment = loadstring(path)) 371 Free (path); 375 Free (path);
|
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | lpsched-misc.c | 123 char path[32]; local 125 snprintf(path, sizeof (path), "%d-0", id); 126 if ((request = getrequest(path)) != NULL)
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_print.c | 59 char *path; local 73 path = smb_srm_zalloc(sr, MAXPATHLEN); 74 op->fqi.fq_path.pn_path = path; 76 (void) snprintf(path, MAXPATHLEN, "%s%05u", identifier, new_id);
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | shim_ancil.c | 47 * and a globally known YP data base path prefix. 56 ypmkfilename(domain, map, path) 59 char *path; 63 /* Do not allow any path as a domain name. */ 76 strcpy(path, ypdbpath); 77 strcat(path, "/"); 78 strcat(path, domain); 79 strcat(path, "/"); 83 strcat(path, NTOL_PREFIX); 84 strcat(path, ma 183 char path[MAXNAMLEN + 1]; local 304 char path[MAXNAMLEN + 1]; local [all...] |
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_krb.c | 206 smb_ccache_remove(char *path) argument 208 if ((remove(path) < 0) && (errno != ENOENT)) 210 path);
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | init.c | 434 create_directory(const char *path, uid_t uid, gid_t gid) argument 438 if ((rc = mkdir(path, 0700)) < 0 && errno != EEXIST) { 440 path, strerror(errno)); 444 if (lchown(path, uid, gid) < 0) { 446 path, strerror(errno)); 448 (void) rmdir(path);
|
/illumos-gate/usr/src/cmd/boot/installboot/sparc/ |
H A D | installboot.h | 43 char *path; member in struct:_ib_device
|
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | devicename.c | 37 static int i386_parsedev(struct i386_devdesc **dev, const char *devspec, const char **path); 41 * path in (devspec). If it contains an explicit device specification, 45 i386_getdev(void **vdev, const char *devspec, const char **path) argument 51 * If it looks like this is just a path and no 59 (path != NULL)) 60 *path = devspec; 67 return(i386_parsedev(dev, devspec, path)); 73 * text in (path). 85 i386_parsedev(struct i386_devdesc **dev, const char *devspec, const char **path) argument 115 err = disk_parsedev((struct disk_devdesc *)idev, np, path); [all...] |
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/ |
H A D | devicename.c | 40 * path in (devspec). If it contains an explicit device specification, 44 ofw_getdev(void **vdev, const char *devspec, const char **path) argument 50 * If it looks like this is just a path and no 58 (path != NULL)) 59 *path = devspec; 66 return(ofw_parsedev(dev, devspec, path)); 72 * text in (path). 75 ofw_parsedev(struct ofw_devdesc **dev, const char *devspec, const char **path) argument 108 if (path != NULL) 109 *path [all...] |
H A D | ofw_net.c | 183 char path[64]; local 187 pathlen = OF_getprop(chosen, "bootpath", path, 64); 188 if ((ch = strchr(path, ':')) != NULL) 190 netdev = OF_finddevice(path); 200 if ((netinstance = OF_open(path)) == -1) { 226 printf("Could not boot from %s.\n", path); 242 ofwn_getunit(const char *path) 247 OF_canon(path, newpath, 254); 251 if (strcmp(path, ofwninfo[i].ofwn_path) == 0)
|
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/ |
H A D | devicename.c | 38 const char **path); 42 * path in (devspec). If it contains an explicit device specification, 46 uboot_getdev(void **vdev, const char *devspec, const char **path) argument 52 * If it looks like this is just a path and no 59 && (path != NULL)) 60 *path = devspec; 67 return (uboot_parsedev(dev, devspec, path)); 73 * text in (path). 86 const char **path) 118 err = disk_parsedev((struct disk_devdesc *)idev, np, path); 85 uboot_parsedev(struct uboot_devdesc **dev, const char *devspec, const char **path) argument [all...] |
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/ |
H A D | devicename.c | 41 static int userboot_parsedev(struct disk_devdesc **dev, const char *devspec, const char **path); 45 * path in (devspec). If it contains an explicit device specification, 49 userboot_getdev(void **vdev, const char *devspec, const char **path) argument 55 * If it looks like this is just a path and no 63 (path != NULL)) 64 *path = devspec; 71 return(userboot_parsedev(dev, devspec, path)); 77 * text in (path). 89 userboot_parsedev(struct disk_devdesc **dev, const char *devspec, const char **path) argument 119 err = disk_parsedev(idev, np, path); [all...] |
/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | MP_GetAssociatedPathOidList.c | 49 di_path_t path = DI_PATH_NIL; local 134 path = di_path_next(ph_node, DI_PATH_NIL); 136 if (DI_PATH_NIL == path) { 139 " - path is DI_PATH_NIL"); 142 while (DI_PATH_NIL != path) { 144 sv_node = di_path_client_node(path); 185 path = di_path_next(ph_node, path); 203 di_path_t path = DI_PATH_NIL; local 306 path [all...] |
H A D | MP_GetMPLogicalUnitProperties.c | 37 char *path; member in struct:walk_devlink
|
H A D | MP_GetMPLuOidListFromTPG.c | 136 di_path_t path = DI_PATH_NIL; local 229 path = di_path_next(child_node, path); 233 while (DI_PATH_NIL != path) { 236 (void) di_path_prop_lookup_strings(path, 250 path = di_path_next(child_node, path);
|