Searched defs:fullpath (Results 1 - 17 of 17) sorted by relevance

/osnet-11/usr/src/lib/libfru/libfru/
H A DnameSyntaxYacc.y66 fullpath : recordpath label
/osnet-11/usr/src/lib/libcryptoutil/common/
H A Dutil.c40 * This function returns a fullpath based on the "dir" and "filepath" input
52 char *fullpath = NULL; local
65 fullpath = (char *)malloc(len);
66 if (fullpath != NULL)
67 (void) snprintf(fullpath, len, "%s/%s",
73 fullpath = (char *)strdup(filepath);
75 fullpath = (char *)strdup(dir);
78 return (fullpath);
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_shadow.c76 char fullpath[PATH_MAX]; local
100 if ((len = resolvepath(shadow, fullpath,
101 sizeof (fullpath))) < 0) {
106 fullpath[len] = '\0';
116 if (strncmp(fullpath, ZFS_SHADOW_DIR,
118 (fullpath[strlen(checkpath)] == '\0' ||
119 fullpath[strlen(checkpath)] == '/')) {
130 if (strcmp(fullpath, checkpath) == 0) {
143 if ((*path = zfs_strdup(hdl, fullpath)) == NULL)
H A Dlibzfs_diff.c579 char fullpath[MAXPATHLEN]; local
582 (void) strlcpy(fullpath, di->dsmnt, MAXPATHLEN);
583 (void) strlcat(fullpath, ZDIFF_SHARESDIR, MAXPATHLEN);
585 if (stat64(fullpath, &sb) == 0)
/osnet-11/usr/src/lib/libshadowtest/common/
H A Dlibshadowtest.c150 char fullpath[PATH_MAX]; local
156 if ((ret = resolvepath(path, fullpath, sizeof (fullpath))) < 0)
158 fullpath[ret] = '\0';
171 (strncmp(mntent.mnt_mountp, fullpath, len) == 0 &&
172 (fullpath[len] == '/' || fullpath[len] == '\0'))) {
182 return (st_error("failed to find fw root for %s", fullpath));
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dinuse_mnt.c289 char fullpath[MAXPATHLEN+1]; local
310 (void) snprintf(fullpath, sizeof (fullpath), "/dev/%s",
313 (void) strlcpy(fullpath, swapent->ste_path,
314 sizeof (fullpath));
317 currp->special = strdup(fullpath);
/osnet-11/usr/src/grub/grub2/util/
H A Ddeviceiter.c530 char fullpath[MAXPATHLEN]; local
547 snprintf(fullpath, sizeof (fullpath), "%s/%s",
550 if (stat(fullpath, &sb) < 0)
553 if (check_device_readable_unique(fullpath))
555 grub_dprintf("deviceiter", "Calling hook with %s\n", fullpath);
556 if (hook(fullpath, 0))
573 snprintf(fullpath, sizeof (fullpath), "/dev/rlofi/%s",
576 if (stat(fullpath,
[all...]
H A Dgetroot.c728 char fullpath[PATH_MAX], winpath[PATH_MAX]; local
729 cygwin_conv_to_full_posix_path (path, fullpath);
730 cygwin_conv_to_full_win32_path (fullpath, winpath);
733 if (strcmp (fullpath, winpath) == 0)
/osnet-11/usr/src/lib/sun_sas/common/
H A Ddevtree_device_disco.c44 char fullpath[MAXPATHLEN]; local
56 (void) snprintf(fullpath, MAXPATHLEN, "%s%s%s", DEVICES_DIR,
60 if ((fd = open(fullpath, O_RDONLY)) == -1) {
228 char fullpath[MAXPATHLEN+1]; local
267 (void) snprintf(fullpath, sizeof (fullpath), "%s%s",
286 fullpath);
293 fullpath);
353 fullpath);
361 fullpath);
648 char fullpath[MAXPATHLEN+1]; local
[all...]
/osnet-11/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11Conf.c304 kcfd_door_call(char *fullpath, CK_RV *rv) argument
361 (void) strlcpy(kda->da_u.filename, fullpath, strlen(fullpath) + 1);
490 char *isa, *fullpath = NULL, *dl_error; local
556 if ((fullpath = (char *)malloc(len)) == NULL) {
566 (void) snprintf(fullpath, len, "%s%s%s",
568 } else if ((fullpath = strdup(phead->puent->name)) == 0) {
585 dldesc = dlopen(fullpath, RTLD_LAZY);
596 fullpath, dl_error != NULL ? dl_error : "Unknown",
613 fullpath, conf_er
[all...]
/osnet-11/usr/src/lib/libpkg/common/
H A Dpkgserv.c147 * The fullpath parameter is used to return the result (stored in *sadmdir),
152 pkgfindrealsadmdir(char fullpath[PATH_MAX], const char *root, argument
185 if (realpath(temp, fullpath) == NULL) {
190 if (strcmp(fullpath, SADM_DIR) == 0)
193 if (testdoor(fullpath) == 0)
212 if (strncmp(xmnt.mnt_mountp, fullpath, len) == 0 &&
213 (len == 1 || fullpath[len] == '/' ||
214 fullpath[len] == '\0')) {
230 &fullpath[max]) >= PATH_MAX) {
240 *sadmdir = fullpath;
[all...]
/osnet-11/usr/src/lib/fm/libfmd_zfs/common/
H A Dfmd_zfs.c903 char *path, fullpath[MAXPATHLEN]; local
912 (void) strlcpy(fullpath, path, sizeof (fullpath));
914 fullpath[strlen(fullpath) - 2] = '\0';
917 (void) zpool_vdev_online(zhp, fullpath,
/osnet-11/usr/src/lib/libc/port/gen/
H A Dnftw.c145 char *fullpath; member in struct:Var
510 base_fullpath = vp->fullpath - vp->home;
522 vp->fullpath = vp->home + base_fullpath;
586 if (chdir(vp->fullpath) < 0) {
648 var.fullpath = dp;
651 var.fullpath = var.home;
/osnet-11/usr/src/lib/libiov/sparc/
H A Dlibiov_hp.c455 char fullpath[MAXPATHLEN]; local
465 (void) memset(fullpath, 0, MAXPATHLEN);
474 (void) snprintf(fullpath, MAXPATHLEN, "/pci@%x%s", rc_address, devpath);
475 i_iov_dprintf("fullpath: %s\n", fullpath);
477 (void) memcpy(subpath, fullpath, MAXPATHLEN);
550 (void) memcpy(subpath, fullpath, MAXPATHLEN);
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevfsmap.c1124 char fullpath[MAXPATHLEN]; local
1127 (void) snprintf(fullpath, MAXPATHLEN, "%s%s", rootdir, path);
1129 x = stat(fullpath, &stbuf);
1130 logdmsg(("file_exists: %s: %s\n", fullpath, (x == 0) ? "yes" : "no"));
/osnet-11/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c1034 char *fullpath = NULL; local
1062 fullpath = get_fullpath(dirpath, filename);
1063 if (fullpath == NULL)
1077 if (isdir(fullpath)) {
1083 if ((dirp = opendir(fullpath)) == NULL) {
1095 fname = get_fullpath(fullpath, (char *)&dp->d_name);
1153 fullpath, &certlist, &loaded_certs);
1155 free(fullpath);
1171 strdup(fullpath);
1187 free(fullpath);
1214 char *fullpath = NULL; local
1264 char *fullpath = NULL; local
2913 char *fullpath = NULL; local
3504 char *fullpath = NULL; local
4644 char *fullpath = NULL; local
4921 char *fullpath = NULL; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/fs/zfs/
H A Dzfs.c3427 dnode_get_fullpath (const char *fullpath, struct subvolume *subvol, argument
3487 ptr_at = grub_strchr (fullpath, '@');
3493 fsname = grub_strdup (fullpath);
3500 fsname = grub_malloc (ptr_at - fullpath + 1);
3503 grub_memcpy (fsname, fullpath, ptr_at - fullpath);
3504 fsname[ptr_at - fullpath] = 0;

Completed in 74 milliseconds