/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_ibt.c | 405 ibt_path_info_t path; local 419 * Get the reversible path information for this destination 426 bzero(&path, sizeof (ibt_path_info_t)); 428 &attr, 1, &path, NULL); 429 if ((ret != IBT_SUCCESS) || (path.pi_hca_guid == 0)) { 439 bcopy(&path.pi_prim_cep_path.cep_adds_vect, &av->av_vect, 960 * speed from the loopback path information (for debug purposes). For 971 ibt_path_info_t path; local 982 &path_attr, 1, &path, &num_paths); 984 switch (srate = path [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_intr.c | 1088 char *path; local 1097 path = "????"; 1100 path = pwrk->phy->path; 1113 "(tag 0x%x) %s on %s", __func__, htag, emsg, path); 1124 __func__, htag, path); 1139 char *path = NULL; local 1162 path = pptr->path; 1186 __func__, htag, emsg, path); 1213 char *path; local [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | sysmsg.c | 127 #define SYSPATHLEN 255 /* length of device path */ 329 bind_consadm_conf(char *path) argument 338 if (vn_open(path, UIO_SYSSPACE, FREAD, 0, &vp, 0, 0) != 0) 343 path, err); 354 path, err);
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | dr_io.c | 536 * Construct the path of the device as it will be if it 723 char *path = kmem_alloc(MAXPATHLEN, KM_SLEEP); local 726 __func__, (void *)path, MAXPATHLEN); 731 (void) ddi_pathname(fdip, path); 734 (void) ddi_pathname(dip, path); 738 __func__, path, (fdip) ? (void *)fdip : (void *)dip); 743 __func__, (void *)path, MAXPATHLEN); 744 kmem_free(path, MAXPATHLEN);
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | gptwocfg.c | 436 char *path = kmem_alloc(MAXPATHLEN, KM_SLEEP); local 442 (void) ddi_pathname(fdip, path); 445 (void) ddi_pathname(saf_dip, path); 449 path, fdip ? (void *)fdip : (void *)saf_dip); 451 kmem_free(path, MAXPATHLEN);
|
H A D | ppm_xgsubr.c | 275 char path[MAXNAMELEN]; local 279 (void) ddi_pathname(dip, path); 283 if (strcmp(path, dbp->name) == 0) 285 } else if (strncmp(path, dbp->name, dbp->plen) == 0) 306 char path[MAXNAMELEN]; local 309 domp->name, ddi_pathname(dip, path))); 324 char path[MAXNAMELEN]; local 329 (void) ddi_pathname(dip, path); 341 new->path = kmem_zalloc(strlen(path) [all...] |
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | cpr_sparc.c | 198 * a fully qualified device path can be truncated when stored 350 * Convert a full device path to its shortest unambiguous equivalent. 351 * For example, a path which starts out /iommu@x,y/sbus@i,j/espdma . . . 353 * problems at any point, just output the unabbreviated path. 421 * Return a pointer to the next component of a device path or NULL if 422 * the entire path has been consumed. Note that we update the caller's 426 cpr_next_component(char **path) argument 430 int len = strlen(*path); 435 if ((slash = strchr(*path, '/'))) { 436 len = slash - *path; [all...] |
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | mp_xen.c | 941 const char *path = vec[XS_WATCH_PATH]; local 945 if ((s = strstr(path, "cpu/")) != NULL &&
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | disp1.c | 82 char *path; local 114 path = makepath(Lp_Tmp, req_file, (char *)0); 115 (void) chownmod(path, Lp_Uid, Lp_Gid, 0644); 116 Free(path); 269 path = makepath(Lp_Temp, tmpName, (char *)0); 271 if (stat(path, &tmpBuf) == 0) { 274 "attribute file ='%s'", path); 282 (void) chownmod(path, Lp_Uid, 284 Free(path); 342 char *path; local 454 char *path; local 1092 char *path; local [all...] |
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | x86_adm.c | 222 int adm_reserve(char *path) { argument 228 int adm_release(char *path) { argument
|
/illumos-gate/usr/src/cmd/dumpadm/ |
H A D | dconf.c | 291 open_stat64(const char *path, struct stat64 *stp) argument 293 int fd = open64(path, O_RDONLY);
|
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_spool.c | 159 char path[MAXPATHLEN]; local 171 path, &ipaddr) == 0) { 173 username, path, SMBD_CUPS_DOCNAME); 194 smbd_spool_copyfile(smb_inaddr_t *ipaddr, char *username, char *path, argument 209 if (stat(path, &sbuf)) { 211 path, strerror(errno)); 220 if (remove(path) != 0) 223 path, strerror(errno)); 256 (void) strlcpy(pjob.pj_filename, path, SMBD_PJOBLEN); 436 * All print shares use the path fro [all...] |
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | display.c | 255 /* display the requested path components */ 657 /* get the requested path components */ 660 pathcomponents(char *path, int components) argument 665 s = path + strlen(path) - 1; 667 while (s > path && *--s != '/') { 671 if (s > path && *s == '/') {
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | swapgeneric.c | 82 static dev_info_t *path_to_devinfo(char *path); 291 /* Give it another try with the 'disk' path */ 364 * Get the root fstype and root device path from boot. 459 * Fetch the "netdev-path" boot property (if it exists), and 462 proplen = BOP_GETPROPLEN(bootops, "netdev-path"); 465 if (BOP_GETPROP(bootops, "netdev-path", 468 "\"netdev-path\" failed\n"); 597 "boot-path", bootpath) == -1) 856 load_parent_drivers(dev_info_t *dip, char *path) argument 864 /* check for path 1114 path_to_devinfo(char *path) argument [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | external.c | 636 open(const char *path, int oflag, ...) argument 645 return (__open(path, oflag, mode)); 649 openat(int fd, const char *path, int oflag, ...) argument 658 return (__openat(fd, path, oflag, mode));
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | zcons.c | 499 char path[MAXPATHLEN]; local 501 (void) snprintf(path, sizeof (path), CONSOLE_SOCKPATH, zone_name); 502 (void) unlink(path);
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | utssys.c | 810 * file or mounted file system (path). Normally return 0. In case of an 818 uts_fusers(char *path, int flags, intptr_t userbp) argument 849 error = lookupname(path, UIO_USERSPACE, FOLLOW, NULLVPP, &fvp);
|
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/panic/ |
H A D | panic_diag.c | 199 char *dumpdir, *path, *uuid; local 228 * the panic to anything specific (e.g., a path to a module and 231 * to misunderstanding. So we choose a path based on <dumpdir> 233 * There's no file at that path (*) but no matter. We can't use 245 path = alloca(strlen(dumpdir) + 1 + 1 + 36 + 1); 247 (void) sprintf(path, "%s/.%s", dumpdir, uuid); 248 rsrc = panic_sw_fmri(hdl, path);
|
/illumos-gate/usr/src/cmd/pcidr/ |
H A D | pcidr.c | 366 char *path, *pathp, *pathend; local 374 path = strdup(opath); 375 lp = parse_macros(path, &lplen); 377 return (path); 381 pathlen = strlen(path); 382 pathend = &path[pathlen - 1]; 383 pathp = path; 418 free(path); 426 * returns allocated string containing plugin path which caller must free; 435 char *path local 469 do_plugin(char *path, nvlist_t *attrlistp, pcidr_opt_t *optp) argument [all...] |
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | sw.c | 363 char *path, *root; local 387 * The 'object' nvlist is required. It must include the path, 391 !lookup_string(object, FM_FMRI_SW_OBJ_PATH, &path, B_TRUE) || 427 * :path=<object.path> 467 /* :path=... */ 468 topo_fmristr_build(&size, buf, buflen, path,
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip_amd.c | 311 char path[64]; local 314 (void) snprintf(path, sizeof (path), "/dev/mc/mc%d", id); 315 fd = open(path, O_RDONLY); 323 (void) snprintf(path, sizeof (path), 326 fd = open(path, O_RDONLY); 337 path, strerror(errno));
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_ncache.c | 145 "/etc/devices/devname_cache", /* path to cache */ 221 * Unpack a device path/nvlist pair to internal data list format. 360 char *path; local 375 path = np->nvp_paths[i]; 376 n = strlen(path) + 1; 380 bcopy(path, lp->ncn_name, n); 660 char *path; local 671 path = kmem_alloc(n, KM_SLEEP); 672 (void) sprintf(path, "%s/%s", dv->sdev_path, nm); 675 if ((lp = sdev_nc_findpath(ncl, path)) ! 749 sdev_nc_findpath(sdev_nc_list_t *ncl, char *path) argument 848 sdev_nc_path_exists(sdev_nc_list_t *ncl, char *path) argument [all...] |
/illumos-gate/usr/src/cmd/newtask/ |
H A D | newtask.c | 67 static char *path = PATH; variable 239 env[2] = (pw->pw_uid == 0 ? supath : path); 376 * execution path) and then stopped again. We need to ensure that our cached 398 * running at this point because it may be in the execution path of the 780 * getprojbyname()'s execution path which would make it unsafe
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_dtime.c | 178 * Create the dumpdates file full path name. 238 * Get the path name from the buffer passed. 240 * Returns the beginning of the path name. The buffer pointer is moved 346 * Print the dump path name to the dumpdates file. It escapes the space, 347 * '\t' and new line characters in the path name. The same characters are 633 * Put the record specified by path, level and backup date to the file. 641 putdumptime(char *path, int level, time_t ddate) argument 650 if (!path) 654 NDMP_LOG(LOG_DEBUG, "Lbr: [%s][%c][%u]", path, level, ddate); 656 NDMP_LOG(LOG_DEBUG, "[%s][%d][%u]", path, leve 743 append_dumptime(char *fname, char *path, int level, time_t ddate) argument 810 find_date(dumpdates_t *ddp, char *path, int level, time_t t) argument 832 ndmpd_get_dumptime(char *path, int *level, time_t *ddate) argument 958 ndmpd_put_dumptime(char *path, int level, time_t ddate) argument 995 ndmpd_append_dumptime(char *fname, char *path, int level, time_t ddate) argument [all...] |
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_upgrade.c | 52 char path[PATH_MAX]; local 60 (void) snprintf(path, sizeof (path), "%s/%s", 63 if (stat(path, &sb) == -1) { 69 fp = fopen(path, "r"); 73 bam_error(_("failed to open file: %s: %s\n"), path, 102 path, strerror(error)); 218 char path[PATH_MAX]; local 228 (void) snprintf(path, sizeof (path), " 348 char path[PATH_MAX], path_64[PATH_MAX]; local [all...] |