Home
last modified time | relevance | path

Searched refs:hostid (Results 1 – 25 of 43) sorted by relevance

12

/netbsd-src/sys/sys/
H A Ddisklabel_rdb.h53 uint32_t hostid; /* scsi target of host */ member
128 uint32_t hostid; /* scsi target of host */ member
147 uint32_t hostid; /* scsi target of host */ member
160 uint32_t hostid; /* scsi target of host */ member
185 uint32_t hostid; /* scsi target of host */ member
H A Dkernel.h47 extern long hostid;
/netbsd-src/lib/libc/compat-43/
H A Dsethostid.c47 sethostid(long hostid) in sethostid() argument
53 value = (int)hostid; in sethostid()
/netbsd-src/external/cddl/osnet/dist/lib/libzfs/common/
H A Dlibzfs_status.c206 uint64_t hostid = 0; in check_status() local
229 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_HOSTID, &hostid); in check_status()
230 if (hostid != 0 && (unsigned long)hostid != gethostid() && in check_status()
H A Dlibzfs_import.c462 uint64_t hostid; in get_configs() local
574 hostid = 0; in get_configs()
576 ZPOOL_CONFIG_HOSTID, &hostid) == 0) { in get_configs()
578 ZPOOL_CONFIG_HOSTID, hostid); in get_configs()
819 if (hostid != 0) { in get_configs()
821 hostid) == 0); in get_configs()
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dspa_config.c383 unsigned long hostid = 0; in spa_config_generate() local
415 hostid = zone_get_hostid(NULL); in spa_config_generate()
421 (void) ddi_strtoul(hw_serial, NULL, 10, &hostid); in spa_config_generate()
423 if (hostid != 0) { in spa_config_generate()
424 fnvlist_add_uint64(config, ZPOOL_CONFIG_HOSTID, hostid); in spa_config_generate()
/netbsd-src/sys/netinet6/
H A Din6_ifattach.c100 if (!hostid)
104 len = (sizeof(hostid) > 8) ? 8 : sizeof(hostid);
106 memcpy(&in6->s6_addr[off], &hostid, len);
/netbsd-src/sys/arch/amiga/dev/
H A Ddrbbc.c106 hostid = (rombuf[3] << 24) + (rombuf[2] << 16) + in drbbc_attach()
112 hostid); in drbbc_attach()
/netbsd-src/sys/compat/common/
H A Dkern_info_43.c101 *(int32_t *)retval = hostid; in compat_43_sys_gethostid()
327 uhostid = SCARG(uap, hostid); in compat_43_sys_sethostid()
/netbsd-src/sys/arch/sun2/sun2/
H A Didprom.c78 hostid = idprom_hostid(); in idprom_init()
/netbsd-src/sys/arch/sun3/sun3/
H A Didprom.c80 hostid = idprom_hostid(); in idprom_init()
/netbsd-src/sys/arch/sun3/sun3x/
H A Didprom.c82 hostid = idprom_hostid(); in idprom_init()
/netbsd-src/sys/arch/newsmips/newsmips/
H A Dnews4000.c241 hostid = idrom.id_serial; in news4000_init()
H A Dnews5000.c294 hostid = idrom.id_serial; in news5000_init()
H A Dnews3400.c312 hostid = idrom.id_serial; in news3400_init()
/netbsd-src/dist/pf/sbin/pfctl/
H A Dpfctl.c1597 if (pfctl_load_hostid(pf, pf->hostid)) in pfctl_load_options()
1760 pfctl_set_hostid(struct pfctl *pf, u_int32_t hostid) in pfctl_set_hostid() argument
1765 HTONL(hostid); in pfctl_set_hostid()
1767 pf->hostid = hostid; in pfctl_set_hostid()
1771 printf("set hostid 0x%08x\n", ntohl(hostid)); in pfctl_set_hostid()
1777 pfctl_load_hostid(struct pfctl *pf, u_int32_t hostid) in pfctl_load_hostid() argument
1779 if (ioctl(dev, DIOCSETHOSTID, &hostid)) { in pfctl_load_hostid()
H A Dpfctl_parser.h94 u_int32_t hostid; member
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
H A Dzfs_context.h169 #define zone_get_hostid(a) ((unsigned)hostid)
/netbsd-src/share/doc/psd/05.sysman/
H A Dspell.ok282 hostid
/netbsd-src/sys/arch/sparc/sparc/
H A Dpromlib.c1059 long hostid; variable
1108 hostid = h; in prom_getidprom()
/netbsd-src/sys/arch/sparc64/sparc64/
H A Dautoconf.c700 aprint_normal(": %s (%s): hostid %lx\n", machine_model, in mainbus_attach()
701 machine_banner, hostid); in mainbus_attach()
703 aprint_normal(": %s: hostid %lx\n", machine_model, hostid); in mainbus_attach()
/netbsd-src/sys/dist/pf/net/
H A Dpf_ioctl.c330 pf_status.hostid = cprng_fast32(); in pfattach()
349 pf_status.hostid = cprng_fast32(); in pf_deferred_init()
401 pfsync_clear_states(pf_status.hostid, NULL); in pfdetach()
1889 pfsync_clear_states(pf_status.hostid, psk->psk_ifname); in pfioctl()
3217 pf_status.hostid = cprng_fast32(); in pfioctl()
3219 pf_status.hostid = *hid; in pfioctl()
/netbsd-src/sys/kern/
H A Dinit_sysctl.c897 inthostid = hostid; /* XXX assumes sizeof int <= sizeof long */ in sysctl_kern_hostid()
904 hostid = (unsigned)inthostid; in sysctl_kern_hostid()
/netbsd-src/sys/compat/netbsd32/
H A Dnetbsd32_compat_43.c293 syscallarg(int32_t) hostid; in compat_43_netbsd32_sethostid()
297 NETBSD32TO64_UAP(hostid); in compat_43_netbsd32_sethostid()
/netbsd-src/external/gpl2/texinfo/dist/util/
H A Ddir-example342 * hostid: (coreutils)hostid invocation. Print numeric host identifier.

12