/illumos-gate/usr/src/uts/common/os/ |
H A D | autoconf.c | 61 static char *rootname; /* node name of top_devinfo */ variable 158 rootname = kmem_zalloc(size, KM_SLEEP); in impl_create_root_class() 159 (void) BOP_GETPROP(bootops, "mfg-name", rootname); in impl_create_root_class() 167 for (cp = rootname; *cp; cp++) in impl_create_root_class() 174 if (make_mbind(rootname, major, NULL, mb_hashtab) != 0) { in impl_create_root_class() 179 "/etc/driver_aliases and reboot.", rootname); in impl_create_root_class() 185 delete_mbind(rootname, mb_hashtab); in impl_create_root_class() 186 if (make_mbind(rootname, major, NULL, mb_hashtab) != 0) in impl_create_root_class() 381 top_devinfo = i_ddi_alloc_node(NULL, rootname, in create_devinfo_tree() 395 i_ddi_set_binding_name(top_devinfo, rootname); in create_devinfo_tree()
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | sec_svc.c | 369 sec_svc_inrootlist(int flavor, caddr_t rootname, int count, caddr_t *roots) in sec_svc_inrootlist() argument 377 namelen = strlen(rootname) + 1; in sec_svc_inrootlist() 379 if (bcmp(rootname, roots[i], namelen) == 0) in sec_svc_inrootlist() 384 gssp = (rpc_gss_principal_t)rootname; in sec_svc_inrootlist()
|
/illumos-gate/usr/src/boot/libsa/zfs/ |
H A D | zfs.c | 1559 static char rootname[ZFS_MAXNAMELEN]; in zfs_parsedev() local 1581 memcpy(rootname, sep, end - sep); in zfs_parsedev() 1582 rootname[end - sep] = '\0'; in zfs_parsedev() 1585 rootname[0] = '\0'; in zfs_parsedev() 1591 rv = zfs_lookup_dataset(spa, rootname, &dev->root_guid); in zfs_parsedev() 1603 static char rootname[ZFS_MAXNAMELEN]; in zfs_bootfs() local 1619 if (zfs_rlookup(spa, dev->root_guid, rootname)) { in zfs_bootfs() 1623 if (zfs_lookup_dataset(spa, rootname, &objnum)) { in zfs_bootfs() 1663 static char rootname[ZFS_MAXNAMELEN]; in zfs_fmtdev() local 1690 if (zfs_rlookup(spa, dev->root_guid, rootname)) { in zfs_fmtdev() [all …]
|
/illumos-gate/usr/src/uts/common/fs/autofs/ |
H A D | auto_vfsops.c | 220 char rootname[sizeof ("root_fnnode_zone_") + ZONEID_WIDTH]; in autofs_zone_init() local 225 (void) snprintf(rootname, sizeof (rootname), "root_fnnode_zone_%d", in autofs_zone_init() 227 fngp->fng_rootfnnodep = auto_makefnnode(VNON, NULL, rootname, CRED(), in autofs_zone_init()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | fhtab.c | 876 char *str, *rootname, parent[MAXPATHLEN]; in fh_print_absolute() local 929 rootname = fhrecp->name; in fh_print_absolute() 933 rootname = update_export_point( in fh_print_absolute() 937 if (rootname != NULL) { /* *fhrecp is the export point */ in fh_print_absolute() 938 len = strlen(rootname) + 2; in fh_print_absolute() 950 if (rootname != NULL) { /* *fhrecp is the export point */ in fh_print_absolute() 951 (void) strcpy(str, rootname); in fh_print_absolute()
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/schumacher/common/ |
H A D | schumacher.c | 1577 char *rootname; in print_usb_devices() local 1588 &rootname); in print_usb_devices() 1595 " %s Devices "), rootname); in print_usb_devices() 1602 free(rootname); in print_usb_devices() 1610 rootname, hubnum); in print_usb_devices() 1613 " %s Devices "), rootname); in print_usb_devices() 1619 free(rootname); in print_usb_devices()
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/ |
H A D | picldiag.c | 1670 char *rootname; in print_usb_devices() local 1681 &rootname); in print_usb_devices() 1688 " %s Devices "), rootname); in print_usb_devices() 1695 free(rootname); in print_usb_devices() 1703 rootname, hubnum); in print_usb_devices() 1706 " %s Devices "), rootname); in print_usb_devices() 1712 free(rootname); in print_usb_devices()
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/lw8/common/ |
H A D | lw8.c | 1664 char *rootname; in print_usb_devices() local 1675 &rootname); in print_usb_devices() 1682 " %s Devices "), rootname); in print_usb_devices() 1689 free(rootname); in print_usb_devices() 1697 rootname, hubnum); in print_usb_devices() 1700 " %s Devices "), rootname); in print_usb_devices() 1706 free(rootname); in print_usb_devices()
|