Searched defs:path (Results 826 - 850 of 1135) sorted by relevance

<<31323334353637383940>>

/illumos-gate/usr/src/cmd/allocate/
H A Dallocate3.c111 char **path; member in struct:zone_path
721 dprintf("Allocating %s\n", zpath->path[i]);
722 if ((error = _newdac(zpath->path[i], uid, gid,
724 (void) _newdac(zpath->path[i], ALLOC_ERRID,
891 exec_clean(int optflag, char *devname, char *path, uid_t uid, char *zonename, argument
930 if (path == NULL)
932 if ((cmd = strrchr(path, '/')) == NULL)
933 cmd = path;
944 (void) strncpy(wdwpath, path, PATH_MAX);
958 path, mod
[all...]
/illumos-gate/usr/src/cmd/chmod/
H A Dchmod.c144 char *file, char *path, o_mode_t *group_clear_bits,
147 static int chmodr(char *dir, char *path, mode_t mode, mode_t umsk,
150 static int dochmod(char *name, char *path, mode_t umsk, sec_args_t *secp,
274 dochmod(char *name, char *path, mode_t umsk, sec_args_t *secp, argument
282 errmsg(2, 0, gettext("can't access %s\n"), path);
289 errmsg(2, 0, gettext("can't access %s\n"), path);
296 return (chmodr(name, path, st.st_mode, umsk, secp, attrnames));
308 if (chmod(name, newmode_common(ms, st.st_mode, umsk, name, path,
310 errmsg(2, 0, gettext("can't change %s\n"), path);
329 chmodr(char *dir, char *path, mode_ argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Ddbtab.c68 char *path; /* dbm filepair path */ member in struct:db_list
240 if ((newp->path = malloc(strlen(fhpath) + 2 + strlen(fsidstr)))
248 (void) sprintf(newp->path, "%s.%s", fhpath, fsidstr);
252 if ((newp->db = dbm_open(newp->path, create_flag | O_RDWR, 0666))
257 newp->path, strerror(*errorp));
279 (void) printf("db_get_db: db %s opened\n", newp->path);
288 if (newp->path != NULL) {
289 free(newp->path);
298 * when any database will do - typically to retrieve the path fo
[all...]
H A Dfhtab.c102 static void add_fh_to_export_cache(fhandle_t *fh, char *path);
103 static char *update_export_point(char *fhpath, fhandle_t *fh, char *path);
485 #define FH_ADD(path, dfh, fh, name) \
486 fh_add(path, dfh, fh, name)
567 /* Delete the multi-component path if exists */
604 /* Delete the multi-component path if exists */
644 /* Delete the multi-component path if exists */
745 * cannot have the path for it determined, or we failed store it.
746 * Usually the path of an export handle can be identified in the NFSLOGTAB
747 * and since every path fo
768 add_fh_to_export_cache(fhandle_t *fh, char *path) argument
809 update_export_point(char *fhpath, fhandle_t *fh, char *path) argument
860 get_export_path(fhandle_t *fh, char *path) argument
[all...]
H A Dnfslog_trans.c105 char *path; /* pathname of file */ member in struct:nfslog_trans_file
183 /* if path names match, then return */
271 if (transrec->path != NULL) {
274 transrec->path);
275 free(transrec->path);
282 * 'path', 'output_type' and 'transtolog'. The reference count for this
288 char *path,
295 if ((strcmp(path, tfp->path) == 0) &&
299 (void) printf("Found transfile '%s'\n", path);
287 nfslog_trans_file_find( char *path, uint32_t output_type, uint32_t transtolog) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/
H A Dfsdb.c953 * Path is absolute path
956 inode_from_path(char *path, uint32_t *in, uint8_t *fl) argument
970 if (strcmp(path, "/") == 0) {
978 (void) strcpy(dname, path);
992 gettext("Path %s is not a directory\n"), path);
/illumos-gate/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c253 * Take this path when "/usr/lib/fs/ufs/df" is specified, and
255 * E.g., these command lines take us down this path
656 * Return the suffix of path obtained by stripping off the prefix
658 * value isn't obtainable or if it's not a prefix of path, return NULL.
661 zap_chroot(char *path) argument
663 return (pathsuffix(path, chrootpath));
682 * Given a name like /dev/dsk/c1d0s2, returns the mounted path, like /usr.
747 * Find the entry in mlist that corresponds to the file named by path
749 * path lies). The pstat argument must point to stat information for
750 * path
768 findmntent(char *path, struct stat64 *pstat, struct mntlist *mlist) argument
[all...]
/illumos-gate/usr/src/cmd/grep_xpg4/
H A Dgrep.c390 process_path(const char *path) argument
397 if (stat(path, &st) != -1 &&
405 if (path[strlen(path) - 1] != '/') {
406 (void) asprintf(&buf, "%s/", path);
408 path = buf;
412 * Search through subdirs if path is directory.
418 if (nftw(path, recursive, MAX_DEPTH, walkflags) != 0) {
422 cmdname, path);
428 process_file(path,
[all...]
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_storage.c84 static gboolean dos_to_dev(char *path, char **devpath, int *partnum);
85 static gboolean is_dos_path(char *path, int *partnum);
1402 is_dos_path(char *path, int *partnum) argument
1406 if ((p = strrchr (path, ':')) == NULL) {
1413 dos_to_dev(char *path, char **devpath, int *partnum) argument
1417 if ((p = strrchr (path, ':')) == NULL) {
1424 *devpath = strdup(path);
/illumos-gate/usr/src/cmd/hal/hald/
H A Dutil.c75 hal_util_remove_trailing_slash (gchar *path) argument
79 if (path == NULL) {
83 c = strrchr (path, '/');
85 HAL_WARNING (("Invalid path %s", path));
94 /** Given a path, /foo/bar/bat/foobar, return the last element, e.g.
97 * @param path Path
115 /** Given a path, this functions finds the path representing the
118 * @param path Pat
122 hal_util_get_parent_path(const gchar *path) argument
177 gchar path[HAL_PATH_MAX]; local
227 gchar path[HAL_PATH_MAX]; local
277 gchar path[HAL_PATH_MAX]; local
367 gchar path[HAL_PATH_MAX]; local
456 hal_util_path_ascend(gchar *path) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dcap.c518 char path[PATH_MAX], *dst; local
542 for (dst = path, src = dname; *src; dst++, src++)
575 pd.pd_pname = path;
756 * Null out the path name descriptor entry, and continue the
H A Ddlfcns.c640 dlmopen_core(Lm_list *lml, Lm_list *olml, const char *path, int mode, argument
649 (path ? path : MSG_ORIG(MSG_STR_ZERO)), in_nfavl, mode));
664 * If the path specified is null then we're operating on global
667 if (path == NULL) {
748 if (LM_FIX_NAME(clmp)(path, clmp, &palp, AL_CNT_NEEDED, orig) == NULL)
809 remove_lmc(lml, clmp, olmco, path);
828 * cache any failed full path loads, secondary dlopen() and dlsym() requests
856 dlmopen_intn(Lm_list *lml, const char *path, int mode, Rt_map *clmp, argument
909 ghp = dlmopen_core(lml, olml, path, mod
973 dlmopen_check(Lm_list *lml, const char *path, int mode, Rt_map *clmp) argument
1016 dlopen(const char *path, int mode) argument
1041 dlmopen(Lmid_t lmid, const char *path, int mode) argument
1944 Dl_serpath_t *path; local
[all...]
/illumos-gate/usr/src/cmd/stat/fsstat/
H A Dfsstat.c684 char path[PATH_MAX]; local
717 if (realpath(original_name, path) == NULL) {
723 * Now that we have the path, walk through the mnt_list and
727 if (strncmp(path, mntp->m_mntpt, strlen(mntp->m_mntpt)) == 0) {
748 "Can't find mount point for %s\n"), path);
763 * no match then test to see if the path is valid. If the path is valid,
804 /* If we didn't find it, see if it's a path */
/illumos-gate/usr/src/cmd/stmsboot/
H A Dstmsboot_util.c55 #define NVL_PATH "nvl-path"
344 "devfs path for\n"));
378 * prints the device path (/dev/rdsk) that devname maps to
390 * prints the physical devfs path for devname. Only used to
713 logmsg(MSG_INFO, "Invalid device path provided\n");
801 * If we see a physical path here it means that
858 * According to devfs path name, it will print device node name.
891 * print the device node name which device path is same as
984 char *path = NULL; local
996 gettext("Unable to determine devfs path fo
1116 char *path; local
[all...]
/illumos-gate/usr/src/cmd/su/
H A Dsu.c75 #define PATH "/usr/bin:" /* path for users other than root */
76 #define SUPATH "/usr/sbin:/usr/bin" /* path for root */
157 char path[PATH_MAX] = "PATH="; variable
261 (void) strlcat(path, (Path) ? Path : PATH, sizeof (path));
502 envinit[++envidx] = ((uid == (uid_t)ROOT) ? supath : path);
1501 * Return a pointer to the last path component of a.
/illumos-gate/usr/src/cmd/listen/
H A Dlisten.c1326 char *path; local
1337 path = *argvp;
1470 execve(path, argvp, environ);
1503 * no environment. If so, supply a reasonable default path. Parent already
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Ddryrun.c437 if (!write_string(fd_drb, extptr[n]->cf_ent.path))
586 char path[PATH_MAX], local[PATH_MAX], *local_ptr; local
607 if (read_string(fd_cnb, &path[0]) == NULL)
636 seed_pkgobjmap(&ext_entry, path, local_ptr);
678 init_drfile(char **targ_ptr, char *path) argument
683 *targ_ptr = strdup(path);
897 * continuation binary file. The path for the
H A Dsml.c1753 * Description; Given a file status structure and path name, encode the
1760 * path - [RO, *RO] - (char *)
1761 * Pointer to path name of file to encode
1767 smlSetFileStatInfo(SML_TAG **tag, struct stat *statbuf, char *path) argument
1797 if (path != (char *)NULL) {
1798 smlSetParam(rtag, "st_path", path);
1815 * Description: Given a file status structure and path name, look for the
1823 * path - [RO, *RO] - (char *)
1824 * Pointer to path name of file to compare
1831 smlFstatCompareEq(struct stat *statbuf, SML_TAG *tag, char *path) argument
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/
H A Dlock.c113 * file ever changes, this path should be updated with a later "uuid"
305 /* if root directory is not absolute path, error */
1173 /* generate path to lock directory */
1184 /* generate path to lock file */
1856 char path[MAXPATHLEN]; local
1884 pkgstrPrintf_r(path, sizeof (path), "/proc/%d", pll->lockPid);
1885 if (access(path, F_OK) == 0) {
1887 pll->lockPid, path);
1892 path);
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgcond/
H A Dmain.c39 * can_add_driver [path]
40 * can_remove_driver [path]
41 * can_update_driver [path]
42 * is_alternative_root [path]
43 * is_boot_environment [path]
44 * is_diskless_client [path]
45 * is_global_zone [path]
46 * is_mounted_miniroot [path]
47 * is_netinstall_image [path]
48 * is_nonglobal_zone [path]
3022 setCmdLinePath(char **path, char **args, int num_args) argument
3402 findToken(char *path, char *token) argument
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dmain.c88 static char path[PATH_MAX]; variable
157 struct cfextra **extlist; /* pkgmap structure and other path info */
277 (void) memset(path, '\0', sizeof (path));
356 * user. Unless a full path name is given, pkgadd first
427 * device. device can be a full path name to a directory
668 * Same as pkgadd: Define the full path name of a
1013 * this function will call quit(99) if any required path cannot
1022 * create path to temporary directory "installXXXXXX" - if TMPDIR
1164 /* establish path an
2724 char path[PATH_MAX]; local
2802 char path[PATH_MAX]; local
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/
H A Dmain.c165 static void ckmissing(char *path, char type);
398 ckmissing(eptlist[i]->path, eptlist[i]->ftype);
401 if (strcmp(eptlist[i]->path, "pkginfo") == 0)
445 progerr(gettext(ERR_NOPARAM), "PKG", svept->path);
458 progerr(gettext(ERR_NOPARAM), "NAME", svept->path);
495 progerr(gettext(ERR_NOPARAM), "CATEGORY", svept->path);
641 if (strcmp(eptlist[i]->path, "pkginfo") == 0) {
707 char *svpt, *path, temp[PATH_MAX]; local
750 eptlist[i]->path);
751 path
788 ckmissing(char *path, char type) argument
829 logerr(gettext(WRN_MISSINGDIR), path); local
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgrm/
H A Dmain.c193 static boolean_t path_valid(char *path);
431 * Public interface: defines the full path name of a
610 /* initialize path parameters */
814 * the path specified to the -b option to pkgremove.
1179 char path[PATH_MAX]; local
1196 /* generate path to pkgremove */
1198 (void) snprintf(path, sizeof (path), "%s/pkgremove",
1213 /* first argument is path to executable */
1215 arg[nargs++] = strdup(path);
1402 char path[PATH_MAX]; local
1651 char path[PATH_MAX]; local
2656 path_valid(char *path) argument
[all...]
/illumos-gate/usr/src/cmd/sysdef/
H A Dsysdef.c545 fprintf(stderr, "sysdef: fail to get module path length\n");
553 fprintf(stderr, "sysdef: fail to get module path\n");
581 char line[100], path[100], *pathptr = ""; local
591 * Make sure the module path is present.
666 /* remember path of each subdirectory */
669 (void) strcpy(path, &line[curr_len]);
670 tmp = strtok(&path[1], ":");
674 pathptr = &path[1];
687 * Printing the (inode, path, module)
713 sscanf(line, "%d %s", &ino, path);
[all...]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_vfsops.c327 * Resolve path name of special file being mounted.
797 char *path, cred_t *cr, int isroot, void *raw_argsp, int args_len)
984 "log for %s; Please run fsck(1M)", path);
1113 (void) copystr(path, fsp->fs_fsmnt, sizeof (fsp->fs_fsmnt) - 1, &len);
1324 "failed mount of %s", path);
796 mountfs(struct vfs *vfsp, enum whymountroot why, struct vnode *devvp, char *path, cred_t *cr, int isroot, void *raw_argsp, int args_len) argument

Completed in 877 milliseconds

<<31323334353637383940>>