/illumos-gate/usr/src/lib/libgrubmgmt/common/ |
H A D | libgrub_bargs.c | 101 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 D | mp_fopen.c | 91 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 D | mp_bh.c | 555 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 D | smbfs_node.c | 94 smbfs_gethash(const char *rpath, int rplen) argument 98 v = smbfs_hash(FNV1_32_INIT, rpath, rplen);
|
H A D | smbfs_subr2.c | 218 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...] |
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | devalloc.c | 66 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");
|
H A D | devfsadm.c | 3194 char *rpath, *dir; local 3204 rpath = path + strlen(dev_dir) + 1; 3207 if (*rpath == *dir) { 3208 if (strcmp(rpath, dir) == 0) {
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | ldmain.c | 286 char *rpath; local 288 if (((rpath = getenv(MSG_ORIG(MSG_LD_RUN_PATH))) != NULL) && 289 rpath[0]) 290 ofl->ofl_rpath = rpath;
|
H A D | files.c | 2120 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/cmd/sgs/crle/common/ |
H A D | inspect.c | 510 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/lib/fm/topo/libtopo/common/ |
H A D | topo_snap.c | 160 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/fstyp/ |
H A D | fstyp.c | 222 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/mailx/ |
H A D | optim.c | 627 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 D | utilities.c | 1079 * 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/cmd/mv/ |
H A D | mv.c | 1222 getrealpath(char *path, char *rpath) argument 1224 if (realpath(path, rpath) == NULL) {
|
/illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/ |
H A D | shp.c | 288 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/sendmail/src/ |
H A D | deliver.c | 1328 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/cmd/sgs/rtld/common/ |
H A D | elf.c | 1660 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/fs.d/ |
H A D | mount.c | 152 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/cmd/fs.d/nfs/mountd/ |
H A D | mountd.c | 799 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/lib/libcfgadm/common/ |
H A D | config_admin.c | 1925 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/uts/common/fs/nfs/ |
H A D | nfs_subr.c | 199 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/cmd/zoneadm/ |
H A D | zoneadm.c | 866 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/uts/common/fs/ |
H A D | vnode.c | 2974 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/uts/common/nfs/ |
H A D | nfs4_clnt.h | 208 kstat_named_t rpath; /* bytes used to store rpaths */ member in struct:clstat4_debug
|