/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_builtin.c | 102 topo_builtin_create(topo_hdl_t *thp, const char *rootdir) argument
|
H A D | topo_subr.c | 263 topo_search_path(topo_mod_t *mod, const char *rootdir, const char *file) argument 272 (void) snprintf(sp, PATH_MAX, TOPO_PLATFORM_PATH, rootdir,
|
H A D | topo_snap.c | 105 topo_open(int version, const char *rootdir, int *errp) argument 125 if (rootdir != NULL && stat(rootdir, &st) < 0) 155 if (rootdir == NULL) { 156 rootdir = topo_hdl_strdup(thp, "/"); 157 thp->th_rootdir = (char *)rootdir; 162 len = strlen(rootdir); 166 if (rootdir[len - 1] != '/') { 168 (void) snprintf(rpath, len + 2, "%s/", rootdir); 170 rpath = (char *)rootdir; [all...] |
/illumos-gate/usr/src/lib/lvm/libsvm/common/ |
H A D | start_svm.c | 67 char *rootdir, *tf; local 74 rootdir = DEFAULT_ROOTDIR; 76 rootdir = mntpnt; 79 rootdir, SYSTEM_FILE)) < 0) { 84 rootdir, MD_CONF)) < 0) { 135 if ((rval = write_xlate_to_mdconf(rootdir)) != 0) { 137 rootdir); 141 if ((rval = write_targ_nm_table(rootdir)) != 0) { 187 if ((rval = get_rootmetadevice(rootdir, &mdevnamep)) == 0) { 197 "No root mirrors! ", rootdir); [all...] |
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb2_setinfo_file.c | 102 uint64_t rootdir; local 108 &flags, &rootdir, &namelen); 116 if ((rootdir != 0) || (namelen == 0) || (namelen >= SMB_MAXPATHLEN)) { 133 uint64_t rootdir; local 139 &flags, &rootdir, &namelen); 147 if ((rootdir != 0) || (namelen == 0) || (namelen >= SMB_MAXPATHLEN)) {
|
H A D | smb_set_fileinfo.c | 521 * - If rootdir is not NULL respond with NT_STATUS_INVALID_PARAMETER. 537 uint32_t rootdir, namelen; local 542 &flags, &rootdir, &namelen); 550 if ((rootdir != 0) || (namelen == 0) || (namelen >= MAXNAMELEN)) {
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_scheme.c | 253 fmd_scheme_hash_create(const char *rootdir, const char *dirpath) argument 260 (void) snprintf(path, sizeof (path), "%s/%s", rootdir, dirpath);
|
/illumos-gate/usr/src/cmd/rm/ |
H A D | rm.c | 52 static struct stat rootdir; variable in typeref:struct:stat 142 if (recursive && stat("/", &rootdir) != 0) { 351 if (temp.st_ino == rootdir.st_ino && 352 temp.st_dev == rootdir.st_dev) {
|
/illumos-gate/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_main.c | 129 dlmgmt_door_attach(zoneid_t zoneid, char *rootdir) argument 135 (void) snprintf(doorpath, sizeof (doorpath), "%s%s", rootdir, 178 char rootdir[MAXPATHLEN], tmpfsdir[MAXPATHLEN]; local 183 rootdir[0] = '\0'; 184 } else if (zone_getattr(zoneid, ZONE_ATTR_ROOT, rootdir, 185 sizeof (rootdir)) < 0) { 192 (void) snprintf(tmpfsdir, sizeof (tmpfsdir), "%s%s", rootdir, 208 return (dlmgmt_door_attach(zoneid, rootdir));
|
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_vfs.c | 50 vnode_t *rootdir = NULL; /* pointer to root inode vnode. */ variable 69 if (rootdir == NULL) { 84 rootdir = vp; 87 zone0.zone_rootvp = rootdir; 144 if ((vp = rootdir) == NULL) 159 if ((vp = rootdir) == NULL)
|
/illumos-gate/usr/src/cmd/fm/modules/common/syslog-msgs/ |
H A D | syslog.c | 341 char *facname, *tz, *rootdir, *urlbase; local 393 rootdir = fmd_prop_get_string(hdl, "fmd.rootdir"); 394 syslog_msghdl = fmd_msg_init(rootdir, FMD_MSG_VERSION); 395 fmd_prop_free_string(hdl, rootdir);
|
/illumos-gate/usr/src/common/fs/ |
H A D | pcfs.c | 415 fat_map(int blk, int rootdir) argument 420 if (rootdir) {
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | netdfs.c | 1352 char rootdir[DFS_PATH_MAX]; local 1358 status = dfs_namespace_path(unc->unc_share, rootdir, DFS_PATH_MAX); 1359 if ((status == ERROR_SUCCESS) && (chdir(rootdir) == 0)) {
|
H A D | dfs.c | 425 char rootdir[DFS_PATH_MAX]; local 428 if (dfs_namespace_path(name, rootdir, DFS_PATH_MAX) != ERROR_SUCCESS) 432 if (dfs_root_getinfo(rootdir, &info, 2) != ERROR_SUCCESS) 452 dfs_root_getinfo(const char *rootdir, dfs_info_t *info, uint32_t infolvl) argument 464 if ((xfd = dfs_root_xopen(rootdir, O_RDONLY)) > 0) { 475 * Root is specified by 'rootdir' and the target is specified by 481 dfs_root_setinfo(const char *rootdir, dfs_info_t *info, uint32_t infolvl) argument 488 if ((xfd = dfs_root_xopen(rootdir, O_RDWR)) < 0) { 938 char rootdir[DFS_PATH_MAX]; local 956 if (dfs_namespace_path(unc->unc_share, rootdir, DFS_PATH_MA 1057 char rootdir[DFS_PATH_MAX]; local 1143 dfs_root_add(const char *rootdir, dfs_info_t *info) argument 1162 dfs_root_remove(const char *rootdir) argument 1194 dfs_root_xopen(const char *rootdir, int oflag) argument [all...] |
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | devalloc.h | 152 char *rootdir; member in struct:_da_optargs
|
H A D | devalloc.c | 1171 _da_lock_devdb(char *rootdir) argument 1183 if (rootdir == NULL) { 1187 if (snprintf(path, size, "%s%s", rootdir, DA_DB_LOCK) >= size) 1238 da_open_devdb(char *rootdir, FILE **dafp, FILE **dmfp, int flag) argument 1260 if ((lockfd = _da_lock_devdb(rootdir)) == -1) 1271 if (rootdir == NULL) { 1274 if (snprintf(path, sizeof (path), "%s%s", rootdir, 1304 if (rootdir == NULL) { 1307 if (snprintf(path, sizeof (path), "%s%s", rootdir, 1503 char *rootdir local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb.c | 461 static char rootdir[MAXPATHLEN]; local 485 (void) strncpy(rootdir, execname, sizeof (rootdir)); 486 rootdir[sizeof (rootdir) - 1] = '\0'; 487 (void) strdirname(rootdir); 489 if (strcmp(strbasename(rootdir), "sparcv9") == 0 || 490 strcmp(strbasename(rootdir), "sparcv7") == 0 || 491 strcmp(strbasename(rootdir), "amd64") == 0 || 492 strcmp(strbasename(rootdir), "i8 [all...] |
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdladm.c | 810 dladm_set_rootdir(const char *rootdir) argument 814 if (rootdir == NULL || *rootdir != '/' || 815 (dp = opendir(rootdir)) == NULL) 818 (void) strncpy(dladm_rootdir, rootdir, MAXPATHLEN);
|
/illumos-gate/usr/src/lib/libinstzones/common/ |
H A D | zones.c | 1180 char *rootdir; local 1191 rootdir = _z_strdup((char *)zroot); 1192 z_canoninplace(rootdir); 1194 if (strcmp(rootdir, "/") == 0) { 1195 rootdir[0] = '\0'; 1206 if (*rootdir != '\0') { 1207 _z_global_data._z_root_dir = _z_strdup(rootdir); 1214 zonecfg_set_root(rootdir); 1216 free(rootdir);
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devfsmap.c | 728 get_driver_class(char *rootdir, char *driver_name) argument 735 logdmsg(("get_driver_class: rootdir = %s, driver name = %s\n", 736 rootdir, driver_name)); 738 (void) snprintf(buf, sizeof (buf), "%s%s", rootdir, DRIVER_CLASSES); 806 lookup_in_conf_file(char *rootdir, char *conf_file, char *path) argument 820 logdmsg(("lookup_in_conf_file: rootdir = \"%s\", conf_file = \"%s\", " 821 "path = \"%s\"\n", rootdir, conf_file, STRVAL(path))); 823 (void) snprintf(buf, MAXPATHLEN, "%s%s", rootdir, conf_file); 907 par_driver_class = get_driver_class(rootdir, par_driver_name); 978 * rootdir roo 989 compare_controller(char *rootdir, char *dev1, char *dev2) argument 1048 is_root_controller(char *rootdir, char *path) argument 1122 file_exists(char *rootdir, char *path) argument 1152 is_mpxio_disabled(char *rootdir, char *path) argument 1425 build_pathlist(char *rootdir, char *vhcipath, char **pathlist, int npaths) argument 1478 is_dev_in_vfstab(char *rootdir, char *nodepath) argument 1623 get_target_devlink(char *rootdir, char *physpath, char *buf, size_t bufsz) argument 1687 devname2physpath(char *rootdir, char *devname, char *physpath, int physpathlen) argument 1734 devfs_target2install(const char *rootdir, const char *devname, char *buf, size_t bufsz) argument 1795 devfs_install2target(const char *rootdir, const char *devname, char *buf, size_t bufsz) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/ |
H A D | mdb_ks.c | 487 uintptr_t rootdir; local 503 if (mdb_readvar(&rootdir, "rootdir") == -1) { 504 mdb_warn("failed to read 'rootdir'"); 518 if (addr == rootdir) {
|
/illumos-gate/usr/src/lib/libzpool/common/ |
H A D | kernel.c | 50 vnode_t *rootdir = (vnode_t *)0xabcd1234; variable 400 * starting vp is always rootdir (which is true for spa_directory.c, the only 498 ASSERT(startvp == rootdir); 753 if (vn_openat(name, UIO_SYSSPACE, FREAD, 0, &vp, 0, 0, rootdir,
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | vfs.c | 131 vnode_t *rootdir; /* pointer to root inode vnode. */ variable 834 * Get vnode for '/'. Set up rootdir, u.u_rdir and u.u_cdir 839 if (VFS_ROOT(rootvfs, &rootdir)) 852 PTOU(p)->u_cdir = rootdir; 861 global_zone->zone_rootvp = rootdir; 3925 if (rootdir == NULL) { 4083 if (rootdir == NULL && !modrootloaded)
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | genunix.c | 1748 uintptr_t rootdir; local 1763 if (mdb_readvar(&rootdir, "rootdir") == -1) { 1764 mdb_warn("failed to read rootdir");
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 7739 get_title(char *rootdir) argument 7748 (void) snprintf(release, sizeof (release), "%s/etc/release", rootdir);
|