Searched defs:path (Results 276 - 300 of 1135) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_crontab.c52 audit_crontab_modify(char *path, char *tmp_path, int sorf) argument
68 r = audit_crontab_get_diffs(path, tmp_path, &diffs);
89 anc_name = audit_cron_make_anc_name(path);
111 aug_save_path(path);
123 audit_crontab_delete(char *path, int sorf) argument
131 anc_name = audit_cron_make_anc_name(path);
141 aug_save_path(path);
/illumos-gate/usr/src/lib/libc/port/gen/
H A D_xftw.c35 * int _xftw(path, fn, depth) char *path; int (*fn)(); int depth;
37 * Given a path name, _xftw starts from the file given by that path
43 * The first contains the path name of the object, the second
121 _xftw(int ver, const char *path, argument
129 rc = fwalk(path, fn, depth, &var);
137 fwalk(const char *path, int (*fn)(const char *, const struct stat *, int), argument
157 if (nocdstat(path, &sb, vp, 0) < 0) {
160 if ((nocdstat(path,
275 nocdopendir(const char *path, struct Var *vp) argument
322 nocdstat(const char *path, struct stat *statp, struct Var *vp, int sym) argument
374 get_unrooted(const char *path) argument
[all...]
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dsem.c57 sem_open(const char *path, int oflag, /* mode_t mode, int value */ ...) argument
69 if (__pos4obj_check(path) == -1)
73 if (__pos4obj_lock(path, SEM_LOCK_TYPE) < 0)
96 if ((fd = __pos4obj_open(path, SEM_DATA_TYPE,
121 strcmp(path, next->sad_name) == 0) {
124 (void) __pos4obj_unlock(path, SEM_LOCK_TYPE);
157 if (__pos4obj_unlock(path, SEM_LOCK_TYPE) == 0) {
164 (void) strcpy(next->sad_name, path);
174 (void) __pos4obj_unlink(path, SEM_DATA_TYPE);
179 (void) __pos4obj_unlock(path, SEM_LOCK_TYP
206 sem_unlink(const char *path) argument
[all...]
/illumos-gate/usr/src/lib/libcmd/common/
H A Dgetconf.c104 "\n[ name [ path [ value ] ] ... ]\n"
113 " corresponding path, \b-\b if no path is applicable, and"
126 const char* path; member in struct:Path_s
134 register char* path; local
225 path = 0;
229 if (path = *++argv)
232 if (streq(path, empty))
233 path = 0;
239 astconflist(sfstdout, path, flag
[all...]
H A Drm.c107 register char* path; local
141 path = ent->fts_name;
142 if (path[0] == '.' && (!path[1] || path[1] == '.' && !path[2]) && (ent->fts_level > 0 || path[1]))
160 chmod(path, (ent->fts_statp->st_mode & S_IPERM)|S_IRWXU);
169 path = ent->fts_accpath;
171 v = !stat(path,
[all...]
/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_utils.c38 * _z_is_directory - determine if specified path exists and is a directory
278 * Description: determine if specified path exists and is a directory
279 * Arguments: path - pointer to string representing the path to verify
286 _z_is_directory(char *path) argument
292 assert(path != NULL);
293 assert(*path != '\0');
295 /* return error if path does not exist */
297 if (stat(path, &statbuf) != 0) {
301 /* return error if path i
[all...]
/illumos-gate/usr/src/lib/libipd/common/
H A Dlibipd.c104 ipd_open(const char *path) argument
108 if (path == NULL)
109 path = IPD_DEV_PATH;
111 fd = open(path, O_RDWR);
114 "unable to open %s: %s", path, strerror(errno)));
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dmapping.c119 char *path = NULL; local
133 path = kmf_get_attr_ptr(KMF_MAPPER_PATH_ATTR, attrlist, numattr);
136 if (path != NULL) {
140 tmppath = strdup(path);
143 /* If we only have a name and possibly a dir, we can find the path. */
147 * If we were given name but the returned path is still NULL,
164 * If we were given name but the returned path is still NULL,
243 * This is a new mapper path, clean up the old data and open the
/illumos-gate/usr/src/lib/abi/apptrace/common/
H A Dabienv.c262 build_interceptor_path(char *buf, size_t l, char const *path) argument
270 /* Duplicate the path */
271 if ((p = strdup(path)) == NULL)
308 * Now we can build a path name.
309 * This path is only a guess that'll be checked later in appendlist().
314 * the file in the direct path name we generate exists, and if not,
/illumos-gate/usr/src/cmd/newgrp/
H A Dnewgrp.c72 char *path = PATH; variable
171 envinit[1] = path;
/illumos-gate/usr/src/cmd/pathchk/
H A Dpathchk.c137 checkPathConf(const char *path, int type, long *valp) argument
140 *valp = pathconf(path, type);
153 (void) fprintf(stderr, gettext(pathconfprob), path,
181 checkpathname(char *path, int pflag) argument
190 p = path;
216 (void) fprintf(stderr, gettext(pathtoolong), path);
238 * the path provided, so we were
258 gettext(badchar), path, *p, *p);
261 gettext(badbyte), path, *p);
289 if (stat(path,
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcplugin/
H A Dpsvcplugin.c93 char path[256]; member in struct:node_file
262 err = ptree_get_node_by_path(dev_pr_info[i].path, &dev_pr_node);
264 syslog(LOG_ERR, "Bad path: %s", dev_pr_info[i].path);
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/psvcplugin/
H A Dpsvcplugin.c89 char path[256]; member in struct:node_file
184 err = ptree_get_node_by_path(dev_pr_info[i].path, &dev_pr_node);
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Ddisk_discovery.c32 static char *device_get_disk_name_from_dir(char *basedir, char *path);
216 device_get_disk_name_from_dir(char *basedir, char *path) argument
225 loc_err = stat(path, &srcstat);
H A Dmdescplugin.c68 char *path; member in struct:disk_lookup
78 char path[PICL_PROPNAMELEN_MAX]; local
80 status = ptree_get_propval_by_name(node, "Path", (void *)&path,
86 if (strcmp(path, lookup->path) == 0) {
169 char *path; local
174 * retrieve the device's physical path from the event arg
179 if (nvlist_lookup_string(nvlp, "devfs-path", &path))
182 lookup.path
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/piclsbl/
H A Dpiclsbl.h37 char *path; member in struct:disk_lookup
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/pri/
H A Dio_dev_label.c51 char path[PICL_PROPNAMELEN_MAX]; local
117 * Now get the nac and raw path from the PRI.
127 if (md_get_prop_str(mdp, components[i], "path", &pri_path) ==
130 "io_add_devlabel: can't get path value for "
135 (void) strlcpy(path, pri_path, sizeof (path));
138 "%d, type <%s>, nac <%s>, path <%s>\n", i, type, nac,
139 path);
142 * This loop visits each path component where those
144 * Each path componen
[all...]
/illumos-gate/usr/src/cmd/print/printer-info/
H A Dprinter-info.c48 get_printer_description(char *path, printer_description_t *info) argument
56 if ((fd = open(path, O_RDWR)) < 0)
121 printf("Usage: %s [-aMmdCc] (path) ...\n", program);
166 char *path = av[optind++]; local
169 rc = get_printer_description(path, &info);
171 printf("%s:\n", path);
193 perror(path);
/illumos-gate/usr/src/cmd/ptools/pmap/
H A Dpmap_common.c71 char path[PATH_MAX]; local
79 /* Verify that the path exists */
90 /* first see if we can find a path via /proc */
91 (void) snprintf(path, sizeof (path), "/proc/%d/path/%s",
93 len = readlink(path, buf, bufsz - 1);
100 (void) snprintf(path, sizeof (path),
102 if (stat(path,
[all...]
/illumos-gate/usr/src/cmd/ptools/preap/
H A Dpreap.c56 char path[64]; local
60 (void) snprintf(path, sizeof (path), "/proc/%d/usage", (int)pid);
66 if ((fd = open64(path, O_RDONLY)) >= 0) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dwait.c186 char path[MAXPATHLEN]; local
191 (void) snprintf(path, sizeof (path), "/proc/%u/psinfo", pid);
193 if ((fd = open(path, O_RDONLY)) >= 0) {
203 path, strerror(errno));
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevalloc.c65 char path[MAXPATHLEN + 4]; local
68 dstsize = sizeof (path);
70 if (strlcat(path, root_dir, dstsize) >= dstsize)
72 len = strlen(path);
76 (void) snprintf(path, dstsize - len, "%s", link);
77 if ((p = realpath(path, rpath)) == NULL) {
78 p = path;
83 (void) snprintf(path, dstsize, "%s%s", rpath, ",raw");
84 p = path;
H A Dsgen_link.c186 char path[PATH_MAX + 1]; local
201 (void) strcpy(path, devfspath);
202 (void) strcat(path, ":");
203 (void) strcat(path, mn);
207 * Use controller (parent) component of device path
209 if (disk_enumerate_int(path, RULE_INDEX, &buf, rules, 3) ==
225 if (devfsadm_enumerate_int(path, RULE_INDEX, &buf, rules, 3)) {
/illumos-gate/usr/src/cmd/mdb/common/kmdb/kctl/
H A Dkctl_dmod.c74 /* If they gave us an absolute path, we don't need to search */
92 const char *path = kctl_dmod_path->dpth_path[i]; local
94 if (strlen(path) + 1 + strlen(modname) + 1 > fullnamelen) {
96 "name too long", path, modname);
100 (void) snprintf(fullname, fullnamelen, "%s/%s", path, modname);
387 kctl_dprintf("changing dmod path to: %p", pth);
391 kctl_dprintf("changing dmod path to NULL");
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_demangle.c47 mdb_dem_load(const char *path) argument
52 if (access(path, F_OK) == -1)
55 if ((hdl = dlmopen(LM_ID_BASE, path, RTLD_LAZY | RTLD_LOCAL)) == NULL) {
67 (void) strncpy(dmp->dm_pathname, path, MAXPATHLEN);
266 const char *path = LIB_DEMANGLE; local
274 path = argv->a_un.a_str;
282 if ((mdb.m_demangler = mdb_dem_load(path)) != NULL) {
286 mdb_warn("failed to load C++ demangler %s", path);

Completed in 1902 milliseconds

<<11121314151617181920>>