Searched refs:rpath (Results 1 - 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_bargs.c101 char rpath[BOOTARGS_MAX]; local
133 if ((rc = resolvepath(path, rpath, sizeof (rpath))) == -1)
136 rpath[rc] = 0;
137 if (strcmp(rpath, path) != 0)
140 rc = get_kernel_fd(rpath, &fbarg->gba_kernel_fd);
/illumos-gate/usr/src/cmd/sendmail/db/mp/
H A Dmp_fopen.c91 char *rpath; local
95 rpath = NULL;
141 DB_APP_DATA, NULL, path, 0, NULL, &rpath)) != 0)
143 if ((ret = __db_open(rpath,
146 __db_err(dbenv, "%s: %s", rpath, strerror(ret));
163 if ((ret = __os_ioinfo(rpath,
165 __db_err(dbenv, "%s: %s", rpath, strerror(ret));
173 rpath);
191 if ((ret = __os_fileid(dbenv, rpath, 0, idbuf)) != 0)
264 if (__db_mapfile(rpath,
[all...]
H A Dmp_bh.c555 char *rpath; local
576 NULL, R_ADDR(dbmp, mfp->path_off), 0, NULL, &rpath)) != 0)
578 if (__db_open(rpath, 0, 0, 0, &fd) != 0) {
588 __os_freestr(rpath);
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_subr2.c218 char *p, *rpath; local
235 rpath = tmpbuf;
238 rpath = kmem_alloc(rpalloc, KM_SLEEP);
240 p = rpath;
249 ASSERT(p == rpath + rplen);
256 np = sn_hashfind(mi, rpath, rplen, NULL);
258 np = make_smbnode(mi, rpath, rplen, &newnode);
262 kmem_free(rpath, rpalloc);
316 const char *rpath,
331 np = sn_hashfind(mi, rpath, rple
314 make_smbnode( smbmntinfo_t *mi, const char *rpath, int rplen, int *newnode) argument
715 sn_hashfind( smbmntinfo_t *mi, const char *rpath, int rplen, avl_index_t *pwhere) argument
825 char *rpath; local
[all...]
H A Dsmbfs_node.c94 smbfs_gethash(const char *rpath, int rplen) argument
98 v = smbfs_hash(FNV1_32_INIT, rpath, rplen);
H A Dsmbfs_subr.h259 uint32_t smbfs_gethash(const char *rpath, int prlen);
/illumos-gate/usr/src/cmd/fstyp/
H A Dfstyp.c222 char *rpath; local
226 rpath = malloc(size);
228 if ((path == NULL) || (rpath == NULL) || (cwd == NULL)) {
238 if (realpath(path, rpath) == NULL) {
239 free(rpath);
240 rpath = NULL;
250 return (rpath);
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevalloc.c66 char rpath[MAXPATHLEN + 4]; /* for ",raw" */ local
77 if ((p = realpath(path, rpath)) == NULL) {
81 p = rpath;
83 (void) snprintf(path, dstsize, "%s%s", rpath, ",raw");
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dmountd.c799 char *path, rpath[MAXPATHLEN]; local
817 if (realpath(path, rpath) == NULL) {
834 p.pc_link_max = pathconf(rpath, _PC_LINK_MAX);
837 p.pc_name_max = pathconf(rpath, _PC_NAME_MAX);
840 p.pc_path_max = pathconf(rpath, _PC_PATH_MAX);
843 if (pathconf(rpath, _PC_NO_TRUNC) == 1)
845 if (pathconf(rpath, _PC_CHOWN_RESTRICTED) == 1)
861 checkrootmount(share_t *sh, char *rpath) argument
867 if (strcmp(sh->sh_path, rpath) != 0)
896 mount_enoent_error(struct cln *cln, char *path, char *rpath, in argument
986 enqueue_logging_data(char *host, SVCXPRT *transp, char *path, char *rpath, int status, int error) argument
1213 char *path, rpath[MAXPATHLEN]; local
1643 find_lofsentry(char *rpath, int *done_flag) argument
3121 char rpath[MAXPATHLEN]; local
[all...]
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dldmain.c286 char *rpath; local
288 if (((rpath = getenv(MSG_ORIG(MSG_LD_RUN_PATH))) != NULL) &&
289 rpath[0])
290 ofl->ofl_rpath = rpath;
H A Dfiles.c2120 char *str, *rpath = NULL; local
2139 if ((rpath = str + (size_t)dyn->d_un.d_val) == NULL)
2146 * Now look for any needed dependencies (which may use the rpath)
2187 if (rpath && (sdf->sdf_rpath == NULL))
2188 sdf->sdf_rpath = rpath;
3636 char *rpath, *next; local
3638 rpath = libld_malloc(strlen(sdf->sdf_rpath) + 1);
3639 if (rpath == NULL)
3641 (void) strcpy(rpath, sdf->sdf_rpath);
3642 DBG_CALL(Dbg_libs_path(ofl->ofl_lml, rpath,
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/
H A Dshp.c288 char *rpath; local
297 if ((rpath = malloc(strlen(physpath) + 1)) == NULL)
300 (void) strcpy(rpath, physpath);
304 if (strncmp(rpath, DEVICES_DIR SLASH, len + strlen(SLASH)) == 0) {
305 (void) memmove(rpath, rpath + len,
306 strlen(rpath + len) + 1);
310 if ((cp = GET_DYN(rpath)) != NULL) {
315 if ((cp = strrchr(rpath, ':')) == NULL) {
316 free(rpath);
[all...]
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzoneadm.c866 char rpath[MAXPATHLEN]; /* resolved path */ local
868 char rpath_copy[MAXPATHLEN]; /* copy of original rpath */
899 res = resolvepath(path_copy, rpath, sizeof (rpath));
912 rpath[res] = '\0';
914 (void) snprintf(rpath_copy, sizeof (rpath_copy), "%s/", rpath);
923 target_zone, path, ze->zone_name, rpath);
940 char rpath[MAXPATHLEN]; /* resolved path */ local
951 if ((res = resolvepath(path, rpath, sizeof (rpath)))
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Doptim.c627 char path[STSIZ], rpath[STSIZ]; local
651 nstrcpy(rpath, sizeof (rpath), path);
655 optimimp(path, rpath);
659 optimex(path, rpath);
662 for (cp2 = rpath; *cp2 != 0; cp2++) {
/illumos-gate/usr/src/cmd/backup/restore/
H A Dutilities.c1079 * complex, the returned file descriptor will be AT_FDCWD and rpath
1099 resolve(char *path, int *fd, char **rpath) argument
1104 *rpath = path;
1105 path = *rpath + strlen(*rpath) +1;
1107 (*fd = openat64(tfd, *rpath, O_RDONLY)) > 0) {
1110 *rpath = path;
1111 path = *rpath + strlen(*rpath) +1;
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_snap.c160 char *rpath; local
167 rpath = alloca(len + 2);
168 (void) snprintf(rpath, len + 2, "%s/", rootdir);
170 rpath = (char *)rootdir;
172 thp->th_rootdir = topo_hdl_strdup(thp, rpath);
/illumos-gate/usr/src/cmd/fs.d/
H A Dmount.c152 char *rpath; /* resolved pathname so far */ member in struct:vfsent
1279 newargv[i++] = vp->rpath;
1519 if (vp->rpath)
1520 free(vp->rpath);
1521 if ((vp->rpath = strdup(realdir)) == NULL)
1523 vp->mlevel = fsgetmlevel(vp->rpath);
/illumos-gate/usr/src/lib/libcfgadm/common/
H A Dconfig_admin.c1925 char *cp, *rpath; local
1931 if ((rpath = config_calloc_check(1, strlen(physpath) + 1,
1936 (void) strcpy(rpath, physpath);
1940 if (strncmp(rpath, DEVICES_DIR SLASH, len + strlen(SLASH)) == 0) {
1941 (void) memmove(rpath, rpath + len,
1942 strlen(rpath + len) + 1);
1946 if ((cp = GET_DYN(rpath)) != NULL) {
1951 if ((cp = strrchr(rpath, ':')) != NULL) {
1966 wnode = di_lookup_node(rnode, rpath);
[all...]
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dinspect.c510 char rpath[PATH_MAX], *npath, *nfile; local
517 if (realpath(opath, rpath) == NULL)
520 if (strcmp(opath, rpath)) {
521 npath = rpath;
/illumos-gate/usr/src/cmd/sendmail/src/
H A Ddeliver.c1328 char *rpath; /* translated return path */ local
1393 rpath = remotename(p, m, RF_SENDERADDR|RF_CANONICAL, &rcode, e);
1394 if (strlen(rpath) > MAXNAME)
1396 rpath = shortenstring(rpath, MAXSHORTSTR);
1400 syserr("remotename: huge return path %s", rpath);
1402 rpath = sm_rpool_strdup_x(e->e_rpool, rpath);
1403 macdefine(&e->e_macro, A_PERM, 'g', rpath);
1422 *pvp++ = rpath;
[all...]
/illumos-gate/usr/src/uts/common/fs/
H A Dvnode.c2974 char *rpath; local
3016 rpath = kmem_alloc(rpathalloc, KM_SLEEP);
3021 kmem_free(rpath, rpathalloc);
3024 bcopy(base->v_path, rpath, rpathlen);
3028 rpath[rpathlen++] = '/';
3029 bcopy(path, rpath + rpathlen, plen);
3030 rpath[rpathlen + plen] = '\0';
3035 kmem_free(rpath, rpathalloc);
3037 vp->v_path = rpath;
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Delf.c1660 Xword rpath = 0; local
1911 rpath = dyn->d_un.d_val;
2240 if (rpath)
2241 RPATH(lmp) = (char *)(rpath + (char *)STRTAB(lmp));
/illumos-gate/usr/src/cmd/mv/
H A Dmv.c1222 getrealpath(char *path, char *rpath) argument
1224 if (realpath(path, rpath) == NULL) {
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_subr.c199 kstat_named_t rpath; /* bytes used to store rpaths */ member in struct:clstat_debug
2568 clstat_debug.rpath.value.ui64 += len;
2581 clstat_debug.rpath.value.ui64 += 2;
2664 clstat_debug.rpath.value.ui64 -= len;
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c1518 char path[MAXPATHLEN], zonepath[MAXPATHLEN], rpath[MAXPATHLEN]; local
1535 if ((res = resolvepath(zonepath, rpath, sizeof (rpath))) == -1) {
1546 rpath[res] = '\0';
1547 if (strcmp(zonepath, rpath) != 0) {
1548 if ((error = zonecfg_set_zonepath(handle, rpath)) != Z_OK)

Completed in 167 milliseconds

12