/titanic_50/usr/src/ucblib/libucb/port/sys/ |
H A D | gethostid.c | 56 unsigned long hostid; in gethostid() local 68 hostid = strtoul(name, &end, 10); in gethostid() 69 if (hostid == 0 && end == name) { in gethostid() 72 return ((long) hostid); in gethostid()
|
/titanic_50/usr/src/cmd/hostid/smf/ |
H A D | svc-hostid | 36 if [ -f /etc/hostid ]; then 39 host=`/usr/bin/hostid` 40 echo "# DO NOT EDIT" > /etc/hostid 42 printf "\"%s\"\n" $r >> /etc/hostid
|
H A D | Makefile | 28 MANIFEST = hostid.xml 29 METHOD = svc-hostid
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | gethostid.c | 44 unsigned long hostid; in gethostid() local 52 hostid = strtoul(name, &end, 10); in gethostid() 55 return ((long)hostid); in gethostid()
|
/titanic_50/usr/src/cmd/fm/fmadm/common/ |
H A D | faulty.c | 201 hostid_t hostid; member 283 if (hostp->hostid.platform && in find_hostid_in_list() 284 strcmp(hostp->hostid.platform, platform) == 0 && in find_hostid_in_list() 285 hostp->hostid.server && in find_hostid_in_list() 286 strcmp(hostp->hostid.server, server) == 0 && in find_hostid_in_list() 287 (chassis == NULL || hostp->hostid.chassis == NULL || in find_hostid_in_list() 288 strcmp(chassis, hostp->hostid.chassis) == 0) && in find_hostid_in_list() 289 (product_sn == NULL || hostp->hostid.product_sn == NULL || in find_hostid_in_list() 290 strcmp(product_sn, hostp->hostid.product_sn) == 0) && in find_hostid_in_list() 291 (domain == NULL || hostp->hostid.domain == NULL || in find_hostid_in_list() [all …]
|
/titanic_50/usr/src/cmd/avs/ncall/ |
H A D | ncalladm.c | 78 char hostid[32]; in ncall_cfg_open() local 84 if (snprintf(hostid, sizeof (hostid), "%lx", gethostid()) >= in ncall_cfg_open() 85 sizeof (hostid)) { in ncall_cfg_open() 105 cfg_resource(cfg, hostid); in ncall_cfg_open()
|
/titanic_50/usr/src/lib/libzfs/common/ |
H A D | libzfs_status.c | 195 uint64_t hostid = 0; in check_status() local 218 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_HOSTID, &hostid); in check_status() 219 if (hostid != 0 && (unsigned long)hostid != gethostid() && in check_status()
|
H A D | libzfs_import.c | 454 uint64_t hostid; in get_configs() local 566 hostid = 0; in get_configs() 568 ZPOOL_CONFIG_HOSTID, &hostid) == 0) { in get_configs() 570 ZPOOL_CONFIG_HOSTID, hostid); in get_configs() 811 if (hostid != 0) { in get_configs() 813 hostid) == 0); in get_configs()
|
/titanic_50/usr/src/uts/common/fs/zfs/ |
H A D | spa_config.c | 363 unsigned long hostid = 0; in spa_config_generate() local 399 hostid = zone_get_hostid(NULL); in spa_config_generate() 405 (void) ddi_strtoul(hw_serial, NULL, 10, &hostid); in spa_config_generate() 407 if (hostid != 0) { in spa_config_generate() 409 hostid) == 0); in spa_config_generate()
|
/titanic_50/usr/src/cmd/sysdef/ |
H A D | sysdef.c | 204 char hostid[256], *end; in main() local 241 if (sysinfo(SI_HW_SERIAL, hostid, sizeof (hostid)) == -1) { in main() 245 hostval = strtoul(hostid, &end, 10); in main() 246 if (hostval == 0 && end == hostid) { in main() 248 "sysinfo not numeric: \"%s\"\n", hostid); in main()
|
/titanic_50/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_config.c | 112 ulong_t hostid; in ndmpd_config_get_host_info_v2() local 133 hostid = strtoul(hostidstr, 0, 0); in ndmpd_config_get_host_info_v2() 134 (void) snprintf(hostidstr, sizeof (hostidstr), "%lx", hostid); in ndmpd_config_get_host_info_v2() 135 reply.hostid = hostidstr; in ndmpd_config_get_host_info_v2() 295 ulong_t hostid; in ndmpd_config_get_host_info_v3() local 318 hostid = strtoul(hostidstr, 0, 0); in ndmpd_config_get_host_info_v3() 319 (void) snprintf(hostidstr, sizeof (hostidstr), "%lx", hostid); in ndmpd_config_get_host_info_v3() 320 reply.hostid = hostidstr; in ndmpd_config_get_host_info_v3()
|
H A D | ndmp.x | 372 string hostid<>; 438 string hostid<>;
|
/titanic_50/usr/src/cmd/boot/filelist/i386/ |
H A D | filelist.safe | 8 etc/hostid
|
H A D | filelist.ramdisk | 19 etc/hostid
|
/titanic_50/usr/src/cmd/hostid/ |
H A D | Makefile | 26 PROG= hostid
|
/titanic_50/usr/src/uts/i86pc/os/ |
H A D | startup.c | 2860 int32_t hostid = (int32_t)HW_INVALID_HOSTID; in set_soft_hostid() local 2884 hostid = (int32_t)atoi(hw_serial); in set_soft_hostid() 2892 if ((hostid == HW_INVALID_HOSTID) && in set_soft_hostid() 2897 hostid = uuid_to_hostid(smsys.smbs_uuid); in set_soft_hostid() 2905 if (hostid == HW_INVALID_HOSTID) { in set_soft_hostid() 2908 hostid = (int32_t)tenmicrodata & 0x0CFFFFF; in set_soft_hostid() 2910 hostid = (int32_t)tsc & 0x0CFFFFF; in set_soft_hostid() 2946 hostid = (int32_t)tmp; in set_soft_hostid() 2960 if (hostid == HW_INVALID_HOSTID) /* didn't find a hostid */ in set_soft_hostid() 2971 return (hostid); in set_soft_hostid()
|
/titanic_50/usr/src/cmd/zonecfg/ |
H A D | zonecfg_lex.l | 299 <TSTATE>hostid { return HOSTID; } 300 <CSTATE>hostid { return HOSTID; }
|
/titanic_50/usr/src/ucbcmd/ |
H A D | Makefile | 110 hostid \
|
/titanic_50/usr/src/cmd/make/bin/ |
H A D | globals.cc | 176 long int hostid; variable
|
/titanic_50/usr/src/cmd/ |
H A D | Makefile.check | 114 hostid/smf \
|
H A D | Makefile | 201 hostid \
|
/titanic_50/usr/src/uts/common/sys/scsi/adapters/mpt_sas/ |
H A D | mptsas_var.h | 1217 #define MPTSAS_SET_HOST_ID(hostid) (hostid | ((1 << hostid) << 16)) argument
|
/titanic_50/usr/src/pkg/manifests/ |
H A D | compatibility-ucb.mf | 185 link path=usr/ucb/hostid target=../bin/hostid
|
/titanic_50/usr/src/man/man1/ |
H A D | Makefile | 162 hostid.1 \
|
/titanic_50/usr/src/cmd/make/include/mk/ |
H A D | defs.h | 291 extern long int hostid;
|