Home
last modified time | relevance | path

Searched refs:hw_serial (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/lib/libzpool/common/
H A Dkernel.c61 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 Dsysteminfo.h44 extern char hw_serial[]; /* machine's 32-bit hostid; a decimal string */
/illumos-gate/usr/src/uts/i86pc/os/
H A Dstartup.c1643 for (cp = hw_serial; cnt >= 0; cnt--) in startup_modules()
2240 char *_hs1107 = hw_serial;
2839 if (strlen(hw_serial) > 0) in set_soft_hostid()
2840 hostid = (int32_t)atoi(hw_serial); in set_soft_hostid()
/illumos-gate/usr/src/uts/common/conf/
H A Dparam.c510 char hw_serial[HW_HOSTID_LEN] = "0"; variable
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4x_srv.c202 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 Dddi_impl.c1734 (void) snprintf(hw_serial, HW_HOSTID_LEN, "%u", in parse_idprom()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_attach.c33 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 Dusbgem.c3623 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 Dspa_misc.c2477 (void) ddi_strtoul(hw_serial, NULL, 10, &myhostid); in spa_get_hostid()
/illumos-gate/usr/src/uts/common/os/
H A Dzone.c3567 if (ddi_strtoul(hw_serial, NULL, 10, &machine_hostid) != 0) in zone_get_hostid()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_if.c17412 (void) ddi_strtoul(hw_serial, NULL, 10, &hostid); in ip_ipmp_v6intfid()