/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb2_setinfo_quota.c | 41 char *root_path; local 62 root_path = kmem_zalloc(MAXPATHLEN, KM_SLEEP); 63 if (smb_node_getmntpath(tnode, root_path, MAXPATHLEN) != 0) { 65 kmem_free(root_path, MAXPATHLEN); 75 request.qs_root_path = root_path; 84 kmem_free(root_path, MAXPATHLEN);
|
H A D | smb_nt_transact_quota.c | 223 char *root_path; local 269 root_path = kmem_zalloc(MAXPATHLEN, KM_SLEEP); 270 if (smb_node_getmntpath(tnode, root_path, MAXPATHLEN) != 0) { 274 kmem_free(root_path, MAXPATHLEN); 284 request.qs_root_path = root_path; 293 kmem_free(root_path, MAXPATHLEN);
|
H A D | smb_vss.c | 79 char *root_path; local 91 root_path = kmem_zalloc(MAXPATHLEN, KM_SLEEP); 92 if (smb_node_getmntpath(tnode, root_path, MAXPATHLEN) != 0) 96 count = smb_vss_get_count(sr->tid_tree, root_path); 105 smb_vss_get_snapshots(sr->tid_tree, root_path, 113 kmem_free(root_path, MAXPATHLEN);
|
/illumos-gate/usr/src/cmd/lvm/util/ |
H A D | metaroot.c | 331 char *root_path = NULL; local 390 root_path = optarg; 407 if ((ckmv_flag != 0) && (root_path != NULL)) { 446 if ((ckmv_flag == 0) && (root_path == NULL)) { 483 if ((ckmv_flag == 0) && (root_path == NULL)) { 500 if (root_path != NULL) { 501 root_path_size = strlen(root_path); 515 "%s%s", root_path, map->dm_default); 522 if (root_path != NULL) { 528 if (root_path ! [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_utils.c | 417 char *root_path, *cp = NULL, *init_path; local 423 if ((root_path = strdup(physpath)) == NULL) { 430 if (strncmp(root_path, DEVICES_DIR SLASH, 432 cp = root_path + len; 433 (void) memmove(root_path, cp, strlen(cp) + 1); 434 } else if (*root_path != '/') { 441 if ((cp = GET_DYN(root_path)) != NULL) { 446 if ((cp = strrchr(root_path, ':')) != NULL) { 453 init_path = root_path; 470 walk_root = di_lookup_node(root, root_path); 783 char *root_path, *cp, *client_path, devpath[MAXPATHLEN]; local [all...] |
H A D | cfga_cvt.c | 303 char *root_path, *devpath, *cp; local 313 if ((root_path = strdup(hba_phys)) == NULL) { 320 if (strncmp(root_path, DEVICES_DIR SLASH, 322 cp = root_path + len; 323 (void) memmove(root_path, cp, strlen(cp) + 1); 324 } else if (*root_path != '/') { 326 S_FREE(root_path); 331 if ((cp = GET_DYN(root_path)) != NULL) { 336 if ((cp = strrchr(root_path, ':')) != NULL) { 347 S_FREE(root_path); [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_common.c | 353 char *root_path; local 387 root_path = pn.pn_path; 405 if (error = mount_root(*name ? name : "root", root_path, NFS_V4, 427 if (error = mount_root(*name ? name : "root", root_path, 451 root_path, NFS_VERSION, &args, &vfsflags)) {
|
H A D | nfs3_vfsops.c | 1658 char *root_path; local 1693 root_path = pn.pn_path; 1712 if (error = mount_root(*name ? name : "root", root_path, NFS_V3, 1764 (void) strcpy(&rootfs.bo_name[size + 1], root_path);
|
H A D | nfs_vfsops.c | 1663 char *root_path; local 1698 root_path = pn.pn_path; 1717 if (error = mount_root(*name ? name : "root", root_path, NFS_VERSION, 1766 (void) strcpy(&rootfs.bo_name[size + 1], root_path);
|
H A D | nfs4_vfsops.c | 2956 char *root_path; local 2993 root_path = pn.pn_path; 3014 if (error = mount_root(*name ? name : "root", root_path, NFS_V4, 3032 svp->sv_pathlen = (int)(strlen(root_path) + 1); 3034 (void) strcpy(svp->sv_path, root_path); 3087 (void) strcpy(&rootfs.bo_name[size + 1], root_path);
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_utils.c | 503 char *root_path, *cp = NULL; local 511 if ((root_path = strdup(physpath)) == NULL) { 518 if (strncmp(root_path, DEVICES_DIR SLASH, 520 cp = root_path + len; 521 (void) memmove(root_path, cp, strlen(cp) + 1); 522 } else if (*root_path != '/') { 529 if ((cp = GET_DYN(root_path)) != NULL) { 534 if ((cp = strrchr(root_path, ':')) != NULL) { 567 root_path, strlen(root_path)))) { [all...] |
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | mount.c | 437 * Do a lookup to get to the root_path. This is nice since it can 562 char *root_path = &root_pathbuf[0]; /* to make XDR happy */ local 719 if (nfsmountroot(root_path, &roothandle) == 0) 723 if (nfs3mountroot(root_path, &roothandle) == 0) 733 if (istcp && nfs4init(root_path, nfs_port) == 0) { 747 if (istcp && nfs4init(root_path, nfs_port) == 0) { 754 if (nfs3mountroot(root_path, &roothandle) == 0) 757 if ((status = nfsmountroot(root_path, &roothandle)) != 0)
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | devinfo_impl.h | 161 char root_path[1]; /* path to actual snapshot root */ member in struct:di_all 430 char root_path[MAXPATHLEN]; member in struct:dinfo_io
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | fixpath.c | 875 export_client_env(char *root_path) argument 891 len = strlen(root_path) + strlen(INST_RELEASE) + 2; 897 (void) snprintf(inst_release_path, len, "%s/%s", root_path,
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | devinfo.c | 285 strcmp(DI_ALL_PTR(st)->root_path, "/") == 0) 742 * Initial memlist always holds di_all and the root_path - and 746 sizeof (((struct dinfo_io *)(NULL))->root_path); 770 sizeof (((struct dinfo_io *)(NULL))->root_path), &size) != 0) { 775 (void) strcpy(all->root_path, all->req_path); 776 off += size; /* real length of root_path */ 804 arg += sizeof (((struct dinfo_io *)(NULL))->root_path); 1357 if (ddi_aliases_present == B_TRUE && strcmp(all->root_path, "/") != 0) { 1358 /* If there is no redirected alias, use root_path as is */ 1359 rootnode = ddi_alias_redirect(all->root_path); [all...] |
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo.c | 174 (void) sprintf(dinfo_io.root_path, "/"); 176 (void) snprintf(dinfo_io.root_path, sizeof (dinfo_io.root_path), 179 (void) snprintf(dinfo_io.root_path, sizeof (dinfo_io.root_path), 339 if (strcmp(DI_ALL(pa)->root_path, "/") != 0) 1101 name[depth] = DI_ALL(pa)->root_path; 3765 if (strcmp(dap->root_path, "/") != 0) { 3766 DPRINTF((DI_ERR, "snapshot root not / : %s\n", dap->root_path));
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl_picl.c | 95 static char root_path[MAXSTRLEN]; local 144 (void) strlcpy(root_path, parent_path, prop_size); 221 err = get_lane_width(root_path, pci_card.slot, pci_card.dev_no,
|