/titanic_41/usr/src/uts/common/io/lvm/hotspares/ |
H A D | hotspares.c | 68 set_hot_spare_state(hot_spare_t *hs, hotspare_states_t newstate) in set_hot_spare_state() argument 70 hs->hs_state = newstate; in set_hot_spare_state() 71 uniqtime32(&hs->hs_timestamp); in set_hot_spare_state() 77 hot_spare_t *hs; in lookup_hot_spare() local 79 for (hs = (hot_spare_t *)md_set[setno].s_hs; hs; hs = hs->hs_next) { in lookup_hot_spare() 80 if (hs->hs_record_id == hs_id) in lookup_hot_spare() 81 return (hs); in lookup_hot_spare() 160 hot_spare_t *hs; in seths_add() local 193 hs = (hot_spare_t *)md_set[setno].s_hs; in seths_add() 194 while (hs) { in seths_add() [all …]
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | ruptime.c | 56 struct hs { struct 80 struct hs *hs; in main() local 81 struct hs *hsp; in main() 116 if ((hs = malloc(hostslim * sizeof (struct hs))) == NULL) { in main() 120 hsp = hs; in main() 154 hoff = hsp - hs; in main() 155 hs = realloc(hs, hostslim * sizeof (struct hs)); in main() 156 if (hs == NULL) { in main() 160 hsp = hs + hoff; in main() 187 qsort((char *)hs, nhosts, sizeof (hs[0]), cmp); in main() [all …]
|
/titanic_41/usr/src/lib/libwrap/ |
H A D | misc.c | 138 static struct hostent *hs; /* freehostent() on next call */ local 142 if (hs) 143 freehostent(hs); 144 return (hs = getipnodebyname(host, AF_INET6, 0, &err)); 150 if (hs) 151 freehostent(hs); 152 return (hs = getipnodebyname(host, AF_INET6, 0, &err));
|
/titanic_41/usr/src/lib/libnsl/netdir/ |
H A D | netdir.c | 344 struct nd_hostservlist *hs; /* the results */ in __classic_netdir_getbyaddr() local 353 hs = (*(t->gba))(tp, addr); in __classic_netdir_getbyaddr() 354 if (hs) { in __classic_netdir_getbyaddr() 355 *serv = hs; in __classic_netdir_getbyaddr() 370 hs = (*(t->gba))(tp, addr); in __classic_netdir_getbyaddr() 371 if (hs) { in __classic_netdir_getbyaddr() 372 *serv = hs; in __classic_netdir_getbyaddr() 568 struct nd_hostserv *hs; in netdir_free() local 600 hs = (struct nd_hostserv *)ptr; in netdir_free() 601 if (hs->h_host) in netdir_free() [all …]
|
/titanic_41/usr/src/lib/libc/i386/gen/ |
H A D | byteorder.s | 55 / unsigned short htons( hs ) 56 / short hs; 58 / reverses the byte order in hs. 61 movl 4(%esp), %eax / %eax = hs 68 movl 4(%esp), %eax / %eax = hs
|
/titanic_41/usr/src/common/lzma/ |
H A D | LzFind.c | 186 UInt32 hs; in MatchFinder_Create() local 191 hs = (1 << 16) - 1; in MatchFinder_Create() 194 hs = historySize - 1; in MatchFinder_Create() 195 hs |= (hs >> 1); in MatchFinder_Create() 196 hs |= (hs >> 2); in MatchFinder_Create() 197 hs |= (hs >> 4); in MatchFinder_Create() 198 hs |= (hs >> 8); in MatchFinder_Create() 199 hs >>= 1; in MatchFinder_Create() 201 hs |= 0xFFFF; /* don't change it! It's required for Deflate */ in MatchFinder_Create() 202 if (hs > (1 << 24)) in MatchFinder_Create() [all …]
|
/titanic_41/usr/src/cmd/boot/common/ |
H A D | bblk_einfo.c | 255 compute_hash(bblk_hs_t *hs, unsigned char *dest, bblk_hash_t *hash) in compute_hash() argument 257 if (hs == NULL || dest == NULL || hash == NULL) in compute_hash() 260 hash->compute_hash(dest, hs->src_buf, hs->src_size); in compute_hash() 265 prepare_and_write_einfo(unsigned char *dest, char *infostr, bblk_hs_t *hs, in prepare_and_write_einfo() argument 289 if (compute_hash(hs, data, hashinfo) < 0) { in prepare_and_write_einfo() 334 einfo_should_update(bblk_einfo_t *disk_einfo, bblk_hs_t *hs, char *verstr) in einfo_should_update() argument 382 if (compute_hash(hs, local_hash, hashing) < 0) { in einfo_should_update()
|
H A D | mboot_extra.c | 157 add_einfo(char *extra, char *updt_str, bblk_hs_t *hs, uint32_t avail_space) in add_einfo() argument 176 ret = prepare_and_write_einfo(dest, updt_str, hs, avail_space, in add_einfo()
|
/titanic_41/usr/src/lib/libast/common/cdt/ |
H A D | dthash.c | 40 reg Dtlink_t *t, *r, *p, **s, **hs, **is, **olds; local 82 for(hs = s+n-1; hs >= olds; --hs) 83 *hs = NIL(Dtlink_t*); 84 for(hs = s; hs < olds; ++hs) 85 { for(p = NIL(Dtlink_t*), t = *hs; t; t = r) 87 if((is = s + HINDEX(n,t->hash)) == hs) 92 else *hs = r;
|
/titanic_41/usr/src/lib/libc/sparc/fp/ |
H A D | _Q_cplx_div.c | 100 int ha, hb, hc, hd, hz, hw, hs, i, j; local 177 hs = (((hw >> 2) - hw) + 0x6ffd7fff) & 0xffff0000; 180 hs = (((0x40e90000 - hw) >> 1) & 0xffff0000) 183 ss.i[0] = hs;
|
H A D | _D_cplx_div.c | 93 int ha, hb, hc, hd, hz, hw, hs, i, j; in _D_cplx_div() local 233 hs = (((hw >> 2) - hw) + 0x6fd7ffff) & 0xfff00000; in _D_cplx_div() 236 hs = (((0x47100000 - hw) >> 1) & 0xfff00000) in _D_cplx_div() 239 ss.i[0] = hs; in _D_cplx_div()
|
/titanic_41/usr/src/cmd/fs.d/nfs/nfs4cbd/ |
H A D | nfs4cbd.c | 232 struct nd_hostserv hs; in get_uaddr() local 247 hs.h_host = me; in get_uaddr() 248 hs.h_serv = "nfs"; in get_uaddr() 249 if (netdir_getbyname(nconf, &hs, &nas)) { in get_uaddr()
|
/titanic_41/usr/src/lib/libnsl/nss/ |
H A D | netdir_inet.c | 2170 struct nd_hostserv *hs; in hsents2ndhostservs() local 2188 if ((hs = calloc(hosts * servs, sizeof (struct nd_hostserv))) == 0) { in hsents2ndhostservs() 2194 result->h_hostservs = hs; in hsents2ndhostservs() 2201 hs->h_host = strdup(he->h_name); in hsents2ndhostservs() 2203 hs->h_host = strdup(*hn); in hsents2ndhostservs() 2206 hs->h_serv = strdup(se->s_name); in hsents2ndhostservs() 2212 hs->h_serv = strdup(stmp); in hsents2ndhostservs() 2215 hs->h_serv = strdup(*sn++); in hsents2ndhostservs() 2217 if ((hs->h_host == 0) || (hs->h_serv == 0)) { in hsents2ndhostservs() 2222 hs++; in hsents2ndhostservs() [all …]
|
/titanic_41/usr/src/cmd/rpcsvc/ |
H A D | rusers.c | 244 struct nd_hostservlist *hs; in collectnames() local 251 if (netdir_getbyaddr(nconf, &hs, raddrp)) { in collectnames() 260 hs->h_hostservs->h_host); in collectnames() 261 netdir_free((char *)hs, ND_HOSTSERVLIST); in collectnames() 370 struct nd_hostservlist *hs; in collectnames_3() local 377 if (netdir_getbyaddr(nconf, &hs, raddrp)) { in collectnames_3() 386 hs->h_hostservs->h_host); in collectnames_3() 387 netdir_free((char *)hs, ND_HOSTSERVLIST); in collectnames_3()
|
H A D | rup.c | 318 struct nd_hostservlist *hs; local 363 if (netdir_getbyaddr(nconf, &hs, &taddr->addr) == ND_OK) 365 hs->h_hostservs->h_host); 428 struct nd_hostservlist *hs; in printnames() local 435 if (netdir_getbyaddr(ep->nconf, &hs, ep->addr) == ND_OK) in printnames() 436 sprintf(buf, "%s", hs->h_hostservs->h_host); in printnames()
|
/titanic_41/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_resolve.c | 283 struct nd_hostserv hs; in setup_nb_parms() local 285 hs.h_host = hostname; in setup_nb_parms() 288 hs.h_serv = "nfs"; in setup_nb_parms() 290 hs.h_serv = NULL; in setup_nb_parms() 292 if (netdir_getbyname(nconf, &hs, &retaddrs) != ND_OK) { in setup_nb_parms()
|
H A D | nfs_tbind.c | 283 struct nd_hostserv *hs, int backlog) in nfslib_bindit() argument 305 if (strcmp(hs->h_serv, "nfs4_callback") == 0) { in nfslib_bindit() 311 } else if (netdir_getbyname(nconf, hs, &addrlist) != 0) { in nfslib_bindit() 315 nconf->nc_netid, hs->h_host, hs->h_serv); in nfslib_bindit() 1643 struct nd_hostserv hs; in bind_to_provider() local 1645 hs.h_host = HOST_SELF; in bind_to_provider() 1646 hs.h_serv = serv_name_to_port_name(serv); in bind_to_provider() 1656 return (nfslib_bindit(nconf, addr, &hs, in bind_to_provider() 1673 struct nd_hostserv hs; in bind_to_proto() local 1675 hs.h_host = HOST_SELF; in bind_to_proto() [all …]
|
/titanic_41/usr/src/lib/libnsl/rpc/ |
H A D | auth_time.c | 128 struct nd_hostserv hs; in get_server() local 133 hs.h_host = host; in get_server() 134 hs.h_serv = "rpcbind"; in get_server() 139 if (! netdir_getbyname(nc, &hs, &addrs)) { in get_server()
|
H A D | clnt_bcast.c | 136 struct nd_hostserv hs; in rpc_broadcast_exp() local 328 hs.h_host = HOST_BROADCAST; in rpc_broadcast_exp() 329 hs.h_serv = "rpcbind"; in rpc_broadcast_exp() 375 if (netdir_getbyname(fdlist[i].nconf, &hs, in rpc_broadcast_exp()
|
H A D | clnt_generic.c | 302 struct nd_hostserv hs; in clnt_create_service_timed() local 356 hs.h_host = hostname; in clnt_create_service_timed() 357 hs.h_serv = port ? NULL : serv; in clnt_create_service_timed() 414 if (netdir_getbyname(nconf, &hs, &raddrs) != ND_OK) { in clnt_create_service_timed()
|
/titanic_41/usr/src/lib/librdc/common/ |
H A D | netaddrs.c | 151 struct nd_hostserv hs; in self_check() local 173 hs.h_host = hostname; in self_check() 174 hs.h_serv = "rpcbind"; in self_check() 175 if (netdir_getbyname(nconfp, &hs, &retaddrs) != ND_OK) { in self_check()
|
/titanic_41/usr/src/uts/common/io/lvm/md/ |
H A D | md_error.c | 202 ip->hs.hsp = hsp; in mdhserror() 203 ip->hs.dev = dev; in mdhserror()
|
/titanic_41/usr/src/cmd/avs/rdc/ |
H A D | sndrd.c | 1681 struct nd_hostserv *hs, int backlog) in rdcd_bindit() argument 1698 if (netdir_getbyname(nconf, hs, &addrlist) != 0) { in rdcd_bindit() 1702 nconf->nc_netid, hs->h_host, hs->h_serv); in rdcd_bindit() 1803 struct nd_hostserv hs; in bind_to_provider() local 1805 hs.h_host = HOST_SELF; in bind_to_provider() 1806 hs.h_serv = RDC_SERVICE; /* serv_name_to_port_name(serv); */ in bind_to_provider() 1816 return (rdcd_bindit(nconf, addr, &hs, listen_backlog)); in bind_to_provider()
|
/titanic_41/usr/src/cmd/fs.d/autofs/ |
H A D | nfs_cast.c | 132 struct nd_hostserv hs; in nfs_cast() local 220 hs.h_host = mfs->mfs_host; in nfs_cast() 221 hs.h_serv = "rpcbind"; in nfs_cast() 222 if (netdir_getbyname(nconf, &hs, &retaddrs) == ND_OK) { in nfs_cast()
|
/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_statconcise.c | 570 hot_spare_t *hs; in process_hotspare() local 574 hs = (hot_spare_t *)mdrec->record; in process_hotspare() 583 ((hot_spare_t *)hs)->hs_key) { in process_hotspare() 590 state = meta_get_hs_state(hs->hs_state); in process_hotspare() 1240 hot_spare_t *hs; in extract_mduser_data() local 1429 hs = (hot_spare_t *)mdrec->record; in extract_mduser_data() 1432 mdrec->hs_record_id = hs->hs_record_id; in extract_mduser_data()
|