Searched defs:path (Results 701 - 725 of 1135) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/cmd/mdb/common/modules/libtopo/
H A Dlibtopo.c155 char name[36], path[36], root[36]; local
170 if (mdb_readstr(path, sizeof (path), (uintptr_t)tm.tm_path) < 0) {
171 (void) mdb_snprintf(path, sizeof (path), "<%p>", tm.tm_path);
205 mdb_printf("%-12s %-36s %-30s\n", "tm_path", path,
/illumos-gate/usr/src/cmd/modload/
H A Dadd_drv.c230 /* extract module name out of path */
486 * Searches for the driver module along the module path (returned
487 * from modctl) and returns a string (in drv_path) representing the path
950 * isa-specific path . The list is ordered depending on the machine
995 remove_slashes(char *path) argument
997 char *slash = path;
1009 pathlen = strlen(path);
1010 if ((pathlen > 1) && path[pathlen - 1] == '/')
1011 path[pathlen - 1] = '\0';
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_module.c175 fmd_module_create(const char *path, const fmd_modops_t *ops) argument
184 (void) strlcpy(buf, fmd_strbasename(path), sizeof (buf));
193 mp->mod_path = fmd_strdup(path, FMD_SLEEP);
285 fmd_error(EFMD_MOD_THR, "failed to create thread for %s", path);
320 path, fmd_strerror(err));
968 * If 'dict' is an absolute path, dictdir = $rootdir/`dirname dict`
969 * If 'dict' is not an absolute path, dictdir = $dictdir/`dirname dict`
1058 char path[PATH_MAX]; local
1078 (void) snprintf(path, sizeof (path), "
1197 fmd_modhash_load(fmd_modhash_t *mhp, const char *path, const fmd_modops_t *ops) argument
[all...]
H A Dfmd_rpc_adm.c219 fmd_adm_modload_1_svc(char *path, int *rvp, struct svc_req *req) argument
234 if (access(path, F_OK) != 0) {
239 if ((p = strrchr(path, '.')) != NULL && strcmp(p, ".so") == 0)
240 mp = fmd_modhash_load(fmd.d_mod_hash, path, &fmd_rtld_ops);
242 mp = fmd_modhash_load(fmd.d_mod_hash, path, &fmd_proc_ops);
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dhotplug_mgr.c81 config_list_ext_poll(int num, char * const *path, argument
92 switch ((e = config_list_ext(num, path, list_array,
386 * The AP path comes in two forms; for SATA devices,
405 * The disk device path is of the form:
425 * Returns the diskmon that corresponds to the physical disk path
446 * The AP path specified in the configuration properties is
447 * the path to an attachment point minor node whose port number is
450 * construct an AP string to compare to the AP path in the diskmon.
587 * event is received, the device path sent as part of the event is matched
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Deval.c60 * begins_with -- return true if rhs path begins with everything in lhs path
220 char *path; local
271 path = ipath2str(NULL, ipath(nodep));
272 cp = config_lookup(croot, path, 0);
273 FREE((void *)path);
277 out(O_ALTFP|O_VERB3, "%s: path ", funcname);
300 "%s: \"%s\" not found for path ",
351 path = ipath2str(NULL, ipath(lhs));
352 matchthis[1] = stable(path);
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/
H A Dfx_subr.c534 char *path, *scheme; local
543 &path) != 0)
545 (void) strncpy(rcpath, path, FM_MAX_CLASS);
549 * itself. In this case convert HC scheme to dev path.
551 if (fab_hc2dev_nvl(hdl, detector, &path)) {
552 (void) strncpy(rcpath, path, FM_MAX_CLASS);
553 fmd_hdl_strfree(hdl, path);
562 * Extract the RC path by taking the first device in the dev path
568 path
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_memerr_arch.c317 char *path = NULL; local
326 * Lookup device path of host bridge.
329 (void) nvlist_lookup_string(det, FM_FMRI_DEV_PATH, &path);
332 * get Jbus port id from the device path
334 portid_str = strrchr(path, '@') + 1;
356 * Need to send in the io_jpid that we get from the device path above
392 char *path = NULL; local
416 * Lookup device path of host bridge.
419 (void) nvlist_lookup_string(det, FM_FMRI_DEV_PATH, &path);
422 * get Jbus port id from the device path
[all...]
/illumos-gate/usr/src/cmd/fruadm/
H A Dfruadm.c120 pathmatch(const char *path) argument
125 ((match = strstr(path, frupath)) != NULL) &&
126 ((match + strlen(frupath)) == (path + strlen(path))) &&
127 ((match == path) || (*(match - 1) == '/'))) {
587 /* add a new Iterated Record if complete path is not given */
786 char *name, path[PATH_MAX]; local
807 * Build the current path
809 if (snprintf(path, sizeof (path), "
[all...]
/illumos-gate/usr/src/cmd/sendmail/aux/
H A Dmail.local.c719 handle_error(err_num, bouncequota, path)
722 char *path;
726 mailerr("552 5.2.2", "%s: %s", path, sm_errstring(err_num));
729 mailerr("450 4.2.0", "%s: %s", path, sm_errstring(err_num));
741 char biffmsg[100], buf[8*1024], path[MAXPATHLEN]; local
779 path[0] = '\0';
780 (void) snprintf(path, sizeof (path), "%s/%s", _PATH_MAILDIR, name);
812 if (lstat(path, &sb)) {
813 mbfd = open(path, O_APPEN
[all...]
/illumos-gate/usr/src/cmd/allocate/
H A Dmkdevalloc.c1094 char path[MAXPATHLEN]; local
1149 (void) snprintf(path, sizeof (path), "%s%s", "/dev/rdsk/",
1151 if ((fd = open(path, O_RDONLY | O_NONBLOCK)) < 0)
1180 rmdisk_r[i].name = strdup(path);
/illumos-gate/usr/src/cmd/audio/audioplay/
H A Daudioplay.c132 /* path to search for audio files */
143 static int path_open(char *fname, int flags, mode_t mode, char *path);
911 * Search for fname in path and open. Ignore path not opened O_RDONLY.
912 * Note: in general path can be a list of ':' separated paths to search
916 path_open(char *fname, int flags, mode_t mode, char *path) argument
918 char fullpath[MAXPATHLEN]; /* full path of file */
928 * cases where we don't bother checking path:
929 * - no path
931 * - not a relative path (
[all...]
/illumos-gate/usr/src/cmd/avs/nsctl/
H A Dnskernd.c581 zvol_bsize(char *path, uint64_t *size, const int pnum) argument
591 if ((fd = open(path, O_RDONLY)) < 0) {
615 get_bsize(uint64_t raw_fd, uint64_t *size, int *partitionp, char *path) argument
655 zvol_bsize(path, size, *partitionp);
/illumos-gate/usr/src/cmd/avs/sdbc/
H A Dsd_diag.c199 set_part_size(char *path, nsc_fd_t *sdfd) argument
208 (void) fprintf(stderr, " for %s\n", path);
213 (void) printf("Partition %s, size:%" NSC_SZFMT " blocks\n", path,
/illumos-gate/usr/src/cmd/avs/sv/
H A Dsvadm.c101 static int find_in_hash(char *path);
103 static void remove_from_cfgfile(char *path, int setnumber);
300 sv_check_cluster(char *path) argument
318 if (!sv_iscluster || sv_islocal || path == NULL) {
326 if (cfg_dgname(path, dgname, sizeof (dgname)) == NULL) {
328 "disk group name for %s"), path);
334 * Do dgislocal check now in case path did not contain
373 dgname, path);
639 enable_one_sv(caddr_t path) argument
647 (void) strncpy(svn.svn_path, path, sizeo
901 disable_dev(const caddr_t path) argument
1139 disable_one_sv(char *path) argument
1173 compare_tag(char *path) argument
1401 compare_one_sv(char *path) argument
1457 find_in_hash(char *path) argument
1490 remove_from_cfgfile(char *path, int setnumber) argument
[all...]
/illumos-gate/usr/src/cmd/backup/restore/
H A Dutilities.c111 * specified path (starting with "./") or a simple temporary
1076 * a file descriptor and a relative path. The file descriptor
1078 * named by the relative path. If the provided path is not
1080 * will equal path.
1087 * the attribute file (via the path-relative xxxat() system calls
1099 resolve(char *path, int *fd, char **rpath) argument
1104 *rpath = path;
1105 path = *rpath + strlen(*rpath) +1;
1106 while (*path !
[all...]
/illumos-gate/usr/src/cmd/bart/
H A Drules.c307 } /* end while loop looking down the path */
688 * add the path to the next linked list, which
791 add_single_rule(char *path) argument
808 (void) strlcpy(current_rule->subtree, path,
/illumos-gate/usr/src/cmd/biosdev/
H A Dbiosdev.c68 int disklist_index; /* index to disk_list of the mapped path */
115 static int search_disklist_match_path(char *path);
308 * returns the index to the disklist to the disk with matching path
311 search_disklist_match_path(char *path) argument
315 if (strcmp(disk_list[i], path) == 0) {
356 * path exists. Return the index of in disk_list for the mapped
357 * path on success, -1 on failure.
464 * Interprete the first field of device path
502 * one from bdd. On the first match, return the index of path in
614 /* Try to match based on device/interface path inf
[all...]
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_kef_util.c645 * Determine if the kernel provider name, path, is a device
650 is_device(char *path) argument
652 if (strchr(path, SEP_SLASH) != NULL) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dnetcat.c482 unix_connect(char *path) argument
493 if (strlcpy(sunaddr.sun_path, path, sizeof (sunaddr.sun_path)) >=
511 unix_listen(char *path) argument
523 if (strlcpy(sunaddr.sun_path, path, sizeof (sunaddr.sun_path)) >=
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_statd.c463 char path[MAXPATHLEN]; local
488 (void) strcpy(path, BACKUP);
489 (void) strcat(path, "/");
490 (void) strcat(path, name);
491 if (is_symlink(path)) {
492 n = readlink(path, rname, MAXNAMELEN);
497 "link %s\n", path);
502 tail = strrchr(path, '/') + 1;
507 delete_file(path);
509 printf("thr_call_statd: path ove
1026 char path[MAXPATHLEN+MAXNAMELEN+SM_MAXPATHLEN]; /* why > MAXPATHLEN? */ local
1179 char path[MAXPATHLEN+MAXNAMELEN+SM_MAXPATHLEN]; local
1304 char path[MAXPATHLEN]; local
[all...]
H A Dsm_svc.c355 char path[MAXPATHLEN+MAXNAMELEN+2]; local
371 (void) strcpy(path, from_dir);
372 (void) strcat(path, "/");
373 (void) strcat(path, dirp->d_name);
375 if (is_symlink(path)) {
380 n = readlink(path, rname, MAXNAMELEN);
384 "read link %s\n", path);
395 (void) strcpy(path, to_dir);
396 (void) strcat(path, "/");
397 (void) strcat(path, dir
827 nftw_owner(const char *path, const struct stat *statp, int info, struct FTW *ftw) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/fssnap/
H A Dfssnap.c263 die(gettext("No backing store path specified.\n"));
390 open_backpath(int mountfd, u_offset_t max_bf_size, char **path, argument
410 if (stat(*path, &st) < 0) {
416 (void) open_multi_backfile(*path, num_back_files, fd_array, 1);
417 *unlinkpath = strdup(*path);
424 len = strlen(*path) - 1;
425 if ((*path)[len] == '/')
426 (*path)[len] = '\0';
430 /* cannot use tempnam, since TMPDIR overrides path */
432 *path, uni
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/
H A Dquota.c354 strncmp(rl[0].path, "//", 2) == 0) {
381 rc = getnfsquota(rl[0].host, rl[0].path, uid, &dqblk);
762 getnfsquota(char *hostp, char *path, uid_t uid, struct dqblk *dqp) argument
770 gq_args.gqa_pathp = path;
/illumos-gate/usr/src/cmd/geniconvtbl/
H A Ditmcomp.c564 char path[MAXPATHLEN]; local
569 path[0] = '\0';
582 (void) memcpy(path, p, dir_len);
584 ('/' != path[dir_len - 1])) {
585 path[dir_len] = '/';
589 (void) memcpy(path + dir_len, base_name, base_len + 1);
590 if (0 == access(path, X_OK)) {
591 return (strdup_vital(path));

Completed in 882 milliseconds

<<21222324252627282930>>