Searched refs:hw_serial (Results 1 – 11 of 11) sorted by relevance
/illumos-gate/usr/src/lib/libzpool/common/ |
H A D | kernel.c | 61 char hw_serial[HW_HOSTID_LEN]; variable 528 (void) snprintf(hw_serial, sizeof (hw_serial), "%ld", in kernel_init() 559 return (strtoul(hw_serial, NULL, 10)); in zone_get_hostid()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | systeminfo.h | 44 extern char hw_serial[]; /* machine's 32-bit hostid; a decimal string */
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | startup.c | 1642 for (cp = hw_serial; cnt >= 0; cnt--) in startup_modules() 2249 char *_hs1107 = hw_serial; 2848 if (strlen(hw_serial) > 0) in set_soft_hostid() 2849 hostid = (int32_t)atoi(hw_serial); in set_soft_hostid()
|
/illumos-gate/usr/src/uts/common/conf/ |
H A D | param.c | 510 char hw_serial[HW_HOSTID_LEN] = "0"; variable
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4x_srv.c | 202 size_t hw_len = strlen(hw_serial); in rfs4x_set_trunkinfo() 210 (void) memcpy(s + nd_len + 1, hw_serial, hw_len); in rfs4x_set_trunkinfo()
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | ddi_impl.c | 1734 (void) snprintf(hw_serial, HW_HOSTID_LEN, "%u", in parse_idprom()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_attach.c | 33 extern char hw_serial[]; 3256 (void) ddi_strtoul(hw_serial, &cp, 10, (unsigned long *)&adr); in pmcs_fabricate_wwid()
|
/illumos-gate/usr/src/uts/common/io/usbgem/ |
H A D | usbgem.c | 3623 extern char hw_serial[]; in usbgem_generate_macaddr() 3635 hw_serial_p = &hw_serial[0]; in usbgem_generate_macaddr()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa_misc.c | 2477 (void) ddi_strtoul(hw_serial, NULL, 10, &myhostid); in spa_get_hostid()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | zone.c | 3567 if (ddi_strtoul(hw_serial, NULL, 10, &machine_hostid) != 0) in zone_get_hostid()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_if.c | 17412 (void) ddi_strtoul(hw_serial, NULL, 10, &hostid); in ip_ipmp_v6intfid()
|