Home
last modified time | relevance | path

Searched refs:hostid (Results 1 – 25 of 43) sorted by last modified time

12

/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c2214 uint64_t hostid = 0; in show_import() local
2459 hostid = fnvlist_lookup_uint64(nvinfo, in show_import()
2465 (unsigned long) hostid); in show_import()
2525 uint64_t hostid = 0; in zfs_force_import_required() local
2529 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_HOSTID, &hostid); in zfs_force_import_required()
2579 uint64_t hostid = 0; in do_import() local
2586 hostid = fnvlist_lookup_uint64(nvinfo, in do_import()
2593 name, hostname, (unsigned long) hostid); in do_import()
2601 uint64_t hostid = 0; in do_import() local
2612 hostid = fnvlist_lookup_uint64(config, in do_import()
[all …]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c1940 uint64_t hostid = 0; in zpool_import_props() local
1953 hostid = fnvlist_lookup_uint64(nvinfo, in zpool_import_props()
1962 hostname, (unsigned long) hostid); in zpool_import_props()
/illumos-gate/usr/src/contrib/bhyve/dev/nvme/
H A Dnvme.h1543 uint64_t hostid; /* Host Identifier */ member
1554 uint64_t hostid[2]; /* Host Identifier */ member
2088 s->ctrlr[i].hostid = le64toh(s->ctrlr[i].hostid); in nvme_resv_status_swapbytes()
2107 nvme_le128toh((void *)s->ctrlr[i].hostid); in nvme_resv_status_ext_swapbytes()
/illumos-gate/usr/src/pkg/manifests/
H A DSUNWcs.p5m389 $(i386_ONLY)file path=lib/svc/manifest/system/hostid.xml group=sys mode=0444
451 $(i386_ONLY)file path=lib/svc/method/svc-hostid mode=0555
632 file path=usr/bin/hostid mode=0555
H A DSUNWcs.man1.inc135 file path=usr/share/man/man1/hostid.1
H A Dcompatibility-ucb.p5m113 link path=usr/ucb/hostid target=../bin/hostid
/illumos-gate/usr/src/cmd/
H A DMakefile203 hostid \
H A DMakefile.check113 hostid/smf \
/illumos-gate/usr/src/lib/libzutil/common/
H A Dzutil_import.c488 uint64_t hostid; in get_configs() local
600 hostid = 0; in get_configs()
602 ZPOOL_CONFIG_HOSTID, &hostid) == 0) { in get_configs()
604 ZPOOL_CONFIG_HOSTID, hostid); in get_configs()
851 if (hostid != 0) { in get_configs()
853 hostid) == 0); in get_configs()
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/mpt_sas/
H A Dmptsas_var.h1222 #define MPTSAS_SET_HOST_ID(hostid) (hostid | ((1 << hostid) << 16)) argument
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa.c2453 uint64_t hostid = 0; in spa_activity_check_required() local
2502 hostid = fnvlist_lookup_uint64(label, ZPOOL_CONFIG_HOSTID); in spa_activity_check_required()
2504 if (hostid == spa_get_hostid()) in spa_activity_check_required()
2685 uint64_t hostid = 0; in spa_activity_check() local
2696 hostid = fnvlist_lookup_uint64(mmp_label, in spa_activity_check()
2699 ZPOOL_CONFIG_MMP_HOSTID, hostid); in spa_activity_check()
2720 uint64_t hostid; in spa_verify_host() local
2725 ZPOOL_CONFIG_HOSTID, &hostid) == 0) { in spa_verify_host()
2731 if (hostid != 0 && myhostid != 0 && hostid != myhostid) { in spa_verify_host()
2736 spa_name(spa), hostname, (u_longlong_t)hostid); in spa_verify_host()
[all …]
H A Dspa_config.c368 unsigned long hostid = 0; in spa_config_generate() local
418 hostid = spa_get_hostid(); in spa_config_generate()
419 if (hostid != 0) { in spa_config_generate()
420 fnvlist_add_uint64(config, ZPOOL_CONFIG_HOSTID, hostid); in spa_config_generate()
/illumos-gate/usr/src/test/zfs-tests/include/
H A Dcommands.cfg62 hostid
/illumos-gate/usr/src/cmd/hostid/
H A DMakefile26 PROG= hostid
/illumos-gate/usr/src/uts/common/os/
H A Dsunddi.c7844 uint32_t hostid; in ddi_devid_init() local
7858 hostid = zone_get_hostid(NULL); in ddi_devid_init()
7859 *cp++ = hibyte(hiword(hostid)); in ddi_devid_init()
7860 *cp++ = lobyte(hiword(hostid)); in ddi_devid_init()
7861 *cp++ = hibyte(loword(hostid)); in ddi_devid_init()
7862 *cp++ = lobyte(loword(hostid)); in ddi_devid_init()
/illumos-gate/usr/src/man/man1/
H A DMakefile161 hostid.1 \
/illumos-gate/usr/src/uts/i86pc/os/
H A Dstartup.c2820 int32_t hostid = (int32_t)HW_INVALID_HOSTID; in set_soft_hostid() local
2840 hostid = (int32_t)atoi(hw_serial); in set_soft_hostid()
2848 if ((hostid == HW_INVALID_HOSTID) && in set_soft_hostid()
2853 hostid = uuid_to_hostid(smsys.smbs_uuid); in set_soft_hostid()
2861 if (hostid == HW_INVALID_HOSTID) { in set_soft_hostid()
2862 hostid = tsc_read() & 0x0CFFFFF; in set_soft_hostid()
2898 hostid = (int32_t)tmp; in set_soft_hostid()
2912 if (hostid == HW_INVALID_HOSTID) /* didn't find a hostid */ in set_soft_hostid()
2923 return (hostid); in set_soft_hostid()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_if.c17406 ulong_t hostid; in ip_ipmp_v6intfid() local
17412 (void) ddi_strtoul(hw_serial, NULL, 10, &hostid); in ip_ipmp_v6intfid()
17413 ic.ic_hostid = htonl((uint32_t)hostid); in ip_ipmp_v6intfid()
/illumos-gate/usr/src/ucblib/libucb/port/sys/
H A Dgethostid.c54 unsigned long hostid; in gethostid() local
66 hostid = strtoul(name, &end, 10); in gethostid()
67 if (hostid == 0 && end == name) { in gethostid()
70 return ((long) hostid); in gethostid()
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c4682 unsigned int hostid; in setup_zone_hostid() local
4693 hostid = (unsigned int)strtoul(hostidp, NULL, 16); in setup_zone_hostid()
4694 if ((res = zone_setattr(zoneid, ZONE_ATTR_HOSTID, &hostid, in setup_zone_hostid()
4695 sizeof (hostid))) != 0) { in setup_zone_hostid()
/illumos-gate/usr/src/cmd/sysdef/
H A Dsysdef.c202 char hostid[256], *end; in main() local
239 if (sysinfo(SI_HW_SERIAL, hostid, sizeof (hostid)) == -1) { in main()
243 hostval = strtoul(hostid, &end, 10); in main()
244 if (hostval == 0 && end == hostid) { in main()
246 "sysinfo not numeric: \"%s\"\n", hostid); in main()
/illumos-gate/usr/src/cmd/make/bin/
H A Dmain.cc204 hostid = gethostid(); in main()
H A Ddoname.cc1647 hostid, in run_command()
/illumos-gate/usr/src/cmd/boot/filelist/i386/
H A Dfilelist.ramdisk20 etc/hostid
/illumos-gate/usr/src/ucbcmd/
H A DMakefile105 hostid \

12