Searched defs:path (Results 551 - 575 of 1135) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dmkservice.c410 register char* path; local
433 if (error_info.errors || !(var = *argv++) || !(path = *argv++) || *argv)
444 if((fd = sh_open(path, O_SERVICE|O_RDWR))<=0)
447 error(ERROR_exit(1), "%s: cannot start service", path);
455 nv_putval(np, path, 0);
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_retire.c227 char *path; local
231 path = di_devfs_path(node);
232 if (path == NULL) {
243 path);
247 path);
251 di_devfs_path_free(path);
263 char *path; local
269 path = di_devfs_path(node);
270 if (strncmp(path, "/pseudo/", strlen("/pseudo/")) == 0 ||
271 strcmp(path, "/pseud
485 char *path; local
674 char path[PATH_MAX]; local
[all...]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Ddisks_private.h61 typedef struct path { struct
68 struct path *next;
87 struct path **paths;
119 path_t *path; member in union:descriptor::__anon3126
H A Dinuse_svm.c438 char path[MAXPATHLEN]; local
440 (void) strlcpy(path, dpath, sizeof (path));
441 if (strncmp(path, "/dev/rdsk/", 10) == 0) {
446 for (p = path + 5; *p; p++) {
449 } else if (strncmp(path, "/dev/did/rdsk/", 14) == 0) {
454 for (p = path + 9; *p; p++) {
462 (void) snprintf(slice, sizeof (slice), "%ss%d", path, i);
H A Dslice.c531 /* determine the slice number for this path */
830 char path[MAXPATHLEN]; local
832 slice_rdsk2dsk(devp->devpath, path, sizeof (path));
833 if (libdiskmgt_str_eq(path, name)) {
/illumos-gate/usr/src/lib/libdll/common/
H A Ddlfcn.c67 extern void* dlopen(const char* path, int mode) argument
71 if (!path)
75 if (!(dll = (void*)shl_load(path, mode, 0L)))
133 extern void* dlopen(const char* path, int mode) argument
137 if (!(dll = (void*)load((char*)path, mode, getenv("LIBPATH"))))
277 extern void* dlopen(const char* path, int mode) argument
282 if (!(dll = (void*)dllload(path)))
328 char path[1]; member in struct:Dll_s
363 extern void* dlopen(const char* path, int mode) argument
381 if (!path)
506 dlopen(const char* path, int mode) argument
[all...]
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfs_dfstab.c45 char *path; member in struct:dfstab_entry
139 if (headp->path != NULL) {
140 free(headp->path);
185 sprintf(tempstr, "%s\n", new_entry->path);
292 dfstablist->path = strdup(arglist[argcount]);
293 if (dfstablist->path == NULL) {
338 if (strcmp(old_entry->path,
339 temp_list->path) == 0) {
436 char *path,
450 if (path !
435 fs_set_DFStab_ent( char *path, char *fstype, char *options, char *description, int *err) argument
644 fs_del_All_DFStab_ents_with_Path(char *path, int *err) argument
668 fs_check_for_duplicate_DFStab_paths(char *path, int *err) argument
[all...]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dcplfile.c84 PathName *path; /* The buffer in which to accumulate the path */ member in struct:CompleteFile
146 cf->path = NULL;
171 cf->path = _new_PathName();
172 if(!cf->path)
197 cf->path = _del_PathName(cf->path);
256 _pn_clear_path(cf->path);
293 if(strcmp(cf->path->name, FS_ROOT_DIR) == 0 &&
311 * Copy the rest of the path, stoppin
[all...]
/illumos-gate/usr/src/lib/libtnfctl/
H A Dprb_proc.c70 char path[MAXPATHLEN]; local
73 (void) sprintf(path, PROCFORMAT, (int)pid);
76 tnf_string, opening_proc_on, path);
78 retval = open(path, oflg);
82 path, strerror(errno)));
H A Dutil.c391 char path[MAXPATHLEN]; local
440 /* absolute path to tracefile specified */
445 (void) strcpy(path, trace_file_name);
449 /* relative path to tracefile specified */
456 /* path name too long */
459 (void) sprintf(path, "%s/%s", cwd, trace_file_name);
468 tnf_string, tracefile_name, path,
472 (void) unlink(path);
475 fd = open(path, O_CREAT | O_RDWR | O_TRUNC, 0644);
498 miscstat = hndl->p_write(hndl->proc_p, name_addr, path,
[all...]
/illumos-gate/usr/src/lib/libwrap/
H A Doptions.c96 static void banners_option(); /* execute "banners path" option */
229 char path[MAXPATHNAMELEN]; local
236 sprintf(path, "%s/%s", value, eval_daemon(request));
237 if ((fp = fopen(path, "r")) != 0) {
/illumos-gate/usr/src/lib/libpkg/common/
H A Dverify.c74 static int clear_target(char *path, char *ftype, int is_a_dir);
76 unsigned long compute_checksum(int *r_err, char *path);
117 * of the file at the path provided
120 * path - path to file
133 * - VE_EXIST = path name does not exist
134 * - VE_FTYPE = path file type is not recognized, is not supported,
136 * - VE_ATTR = path mode/group/user is not what was expected
144 cverify(int fix, char *ftype, char *path, struct cinfo *cinfo, argument
159 if (stat(path,
340 clear_target(char *path, char *ftype, int is_a_dir) argument
348 reperr(pkg_gt(ERR_RMDIR), path); local
385 averify(int fix, char *ftype, char *path, struct ainfo *ainfo) argument
558 reperr(pkg_gt(ERR_FTYPED), path); local
840 fverify(int fix, char *ftype, char *path, struct ainfo *ainfo, struct cinfo *cinfo) argument
854 reperr(pkg_gt(WRN_QV_SIZE), path); local
860 reperr(pkg_gt(WRN_QV_MTIME), path); local
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPzone.c89 * ignore lofs mounts where the source path is the same
90 * as the target path. (This can happen when a non-global
92 * the source path can't expose information about global
126 pn_push(path_node_t **pnp, char *path) argument
133 if ((pn->pn_path = strdup(path)) == NULL) {
162 pn_pop(path_node_t **pnp, char *path) argument
173 if (path == NULL) {
177 (void) strlcpy(path, pn->pn_path, PATH_MAX);
179 return (path);
297 * Plofspath() takes a path, "pat
311 Plofspath(const char *path, char *s, size_t n) argument
518 Pzonepath(struct ps_prochandle *P, const char *path, char *s, size_t n) argument
745 Pfindobj(struct ps_prochandle *P, const char *path, char *s, size_t n) argument
[all...]
/illumos-gate/usr/src/lib/libproc/sparcv9/
H A DPisadep.c180 char path[64]; local
185 (void) snprintf(path, sizeof (path), "/proc/%d/lwp/%d/gwindows",
188 if (stat64(path, &st) == -1 || st.st_size == 0)
191 if ((fd = open64(path, O_RDONLY)) >= 0) {
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnftw.c35 * int nftw(char *path, int (*fn)(), int depth, int flags);
40 * path. It uses the generic directory reading library so it works
44 * walk down any path the crosses itself.
495 nftw(const char *path, argument
505 const char *savepath = path;
527 if (*path == '/')
535 while (*path) {
536 *dp = *path;
539 dp++, path++;
543 if (*path) {
613 cdstat(const char *path, struct stat *statp, struct Save *lp, int flags) argument
623 cdlstat(const char *path, struct stat *statp, struct Save *lp, int flags) argument
633 nocdstat(const char *path, struct stat *statp, struct Save *lp, int flags) argument
656 nocdlstat(const char *path, struct stat *statp, struct Save *lp, int flags) argument
680 cdopendir(const char *path) argument
689 nocdopendir(const char *path) argument
731 get_unrooted(const char *path) argument
[all...]
/illumos-gate/usr/src/lib/libcmd/common/
H A Dcp.c157 int postsiz; /* state.path post index */
158 int presiz; /* state.path pre index */
172 int pathsiz; /* state.path buffer size */
175 char* path; /* to pathname buffer */ member in struct:State_s
191 preserve(State_t* state, const char* path, struct stat* ns, struct stat* os) argument
195 if (tmxtouch(path, tmxgetatime(os), tmxgetmtime(os), TMX_NOTIME, 0))
196 error(ERROR_SYSTEM|2, "%s: cannot reset access and modify times", path);
198 if (n && chown(state->path, os->st_uid, os->st_gid))
202 error(ERROR_SYSTEM|2, "%s: cannot reset group to %s", path, fmtgid(os->st_gid));
205 error(ERROR_SYSTEM|2, "%s: cannot reset owner to %s", path, fmtui
[all...]
/illumos-gate/usr/src/lib/libhotplug/common/
H A Dlibhotplug.c61 hp_init(const char *path, const char *connection, uint_t flags) argument
68 i_hp_dprintf("hp_init: path=%p, connection=%p, flags=0x%x\n",
69 (void *)path, (void *)connection, flags);
72 if ((path == NULL) || !HP_INIT_FLAGS_VALID(flags)) {
79 if ((args = i_hp_set_args(HP_CMD_GETINFO, path, connection, flags,
137 /* Extract and free base path */
436 * Return the path (and maybe connection name) of a node.
440 hp_path(hp_node_t node, char *path, char *connection) argument
448 i_hp_dprintf("hp_path: node=%p, path=%p, connection=%p\n", (void *)node,
449 (void *)path, (voi
513 char path[MAXPATHLEN]; local
595 char path[MAXPATHLEN]; local
655 char path[MAXPATHLEN]; local
1279 i_hp_set_args(hp_cmd_t cmd, const char *path, const char *connection, uint_t flags, const char *options, int state) argument
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ssldap/
H A Dclientinit.c126 /* move backwards to the first path separator */
132 /* if we are sitting on top of a path */
336 * return database name by appending "dbname" to "path".
341 GetDBName(const char *dbname, const char *path) argument
351 if ((path == NULL) || (*path == 0)) {
354 pathlen = PL_strlen(path);
356 addslash = ( path[pathlen - 1] != '/' );
361 PL_strcpy( result, path );
384 * it is assumed to be a full path t
[all...]
/illumos-gate/usr/src/cmd/ucodeadm/
H A Ducodeadm.c102 (void) fprintf(stderr, "\t%s -i [-R path] microcode-file\n", cmdname);
236 ucode_gen_files_amd(uint8_t *buf, int size, char *path) argument
247 (void) snprintf(common_path, PATH_MAX, "%s/%s", path, "container");
249 dprintf("path = %s\n", common_path);
272 (void) snprintf(common_path, PATH_MAX, "%s/%s", path,
276 dprintf("path = %s\n", common_path);
308 (void) snprintf(common_path, PATH_MAX, "%s/%04X-%02X", path,
314 ucode_gen_files_intel(uint8_t *buf, int size, char *path) argument
321 (void) snprintf(common_path, PATH_MAX, "%s/%s", path,
381 "%s/%08X-%02X", path, uh
480 char *path = NULL; local
[all...]
/illumos-gate/usr/src/common/fs/
H A Dufsops.c77 static ino_t find(fileid_t *filep, char *path);
78 static ino_t dlook(fileid_t *filep, char *path);
143 find(fileid_t *filep, char *path) argument
153 if (path == NULL || *path == '\0') {
154 printf("null path\n");
158 dprintf("openi: %s\n", path);
161 bcopy(path, lpath, strlen(path));
194 /* copy rest of unprocessed path u
281 dlook(fileid_t *filep, char *path) argument
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_cvt.c147 * Given a xport path and dynamic ap_id, returns the physical
148 * path in pathpp. If the dynamic ap is not configured pathpp set to NULL
175 * If it is configured the devfs path will be stored in pathpp.
194 di_path_t path = DI_PATH_NIL; local
254 * when there is no child and path info node the
259 path = di_path_next_client(root, path);
260 if ((dev_node == DI_NODE_NIL) && (path == DI_PATH_NIL)) {
322 * now checks the path info node to find
326 if (path !
[all...]
/illumos-gate/usr/src/cmd/pfexecd/
H A Dpfexecd.c64 * Remove the isaexec path of an executable if we can't find the
144 removeisapath(char *path) argument
148 if (!cansplice || regexec(&regc, path, NMATCH, match, 0) != 0)
160 /* match[0].rm_eo == strlen(path) */
161 (void) memmove(path + match[1].rm_so, path + match[1].rm_eo,
202 get_uid(const char *v, boolean_t *ok, char *path) argument
214 syslog(LOG_ERR, "%s: %s: unknown username\n", path, v);
219 get_gid(const char *v, boolean_t *ok, char *path) argument
231 syslog(LOG_ERR, "%s: %s: unknown groupname\n", path,
236 get_privset(const char *s, boolean_t *ok, char *path) argument
361 char *path = pap->pfa_path; local
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/common/memcfg/
H A Dpiclmemcfg_comm.c705 char path[PATH_MAX]; local
728 (void) strcpy(path, MC_DIR);
729 (void) strcat(path, retp->d_name);
731 if ((fd = open(path, O_RDONLY, 0)) != -1) {
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpicllibdevinfo.c55 char path[PICL_PROPNAMELEN_MAX]; member in struct:__anon1208
288 load_drivers(char *path) argument
291 if (path == NULL) {
295 rnode = di_init(path, DINFOSUBTREE|DINFOMINOR);
496 char *path = NULL; local
543 /* build the fru path name */
549 (void) snprintf(devinfo->path, sizeof (devinfo->path),
579 path = di_devfs_path(node);
580 (void) strncpy(devinfo->path, pat
[all...]
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DDecisionHistory.java488 public static DecisionHistory loadFromFile(String path) argument
491 return (load(new FileInputStream(path)));
498 public void syncToFile(String path) throws IOException argument
500 FileOutputStream fos = new FileOutputStream(path);

Completed in 181 milliseconds

<<21222324252627282930>>