/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | ruptime.c | 54 struct hs { struct 78 struct hs *hs; in main() local 79 struct hs *hsp; in main() 114 if ((hs = malloc(hostslim * sizeof (struct hs))) == NULL) { in main() 118 hsp = hs; in main() 152 hoff = hsp - hs; in main() 153 hs = realloc(hs, hostslim * sizeof (struct hs)); in main() 154 if (hs == NULL) { in main() 158 hsp = hs + hoff; in main() 185 qsort((char *)hs, nhosts, sizeof (hs[0]), cmp); in main() [all …]
|
/illumos-gate/usr/src/lib/libnsl/netdir/ |
H A D | netdir.c | 342 struct nd_hostservlist *hs; /* the results */ in __classic_netdir_getbyaddr() local 351 hs = (*(t->gba))(tp, addr); in __classic_netdir_getbyaddr() 352 if (hs) { in __classic_netdir_getbyaddr() 353 *serv = hs; in __classic_netdir_getbyaddr() 368 hs = (*(t->gba))(tp, addr); in __classic_netdir_getbyaddr() 369 if (hs) { in __classic_netdir_getbyaddr() 370 *serv = hs; in __classic_netdir_getbyaddr() 566 struct nd_hostserv *hs; in netdir_free() local 598 hs = (struct nd_hostserv *)ptr; in netdir_free() 599 if (hs->h_host) in netdir_free() [all …]
|
/illumos-gate/usr/src/lib/libwrap/ |
H A D | misc.c | 137 static struct hostent *hs; /* freehostent() on next call */ local 141 if (hs) 142 freehostent(hs); 143 return (hs = getipnodebyname(host, AF_INET6, 0, &err)); 149 if (hs) 150 freehostent(hs); 151 return (hs = getipnodebyname(host, AF_INET6, 0, &err));
|
/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | byteorder.S | 58 / unsigned short htons( hs ) 59 / short hs; 61 / reverses the byte order in hs. 64 movl 4(%esp), %eax / %eax = hs 71 movl 4(%esp), %eax / %eax = hs 82 movl 4(%esp), %eax / %eax = hs 104 movl 4(%esp), %eax / %eax = hs 111 movl 4(%esp), %eax / %eax = hs
|
/illumos-gate/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 …]
|
/illumos-gate/usr/src/tools/btxld/ |
H A D | version.c | 57 bblk_hs_t hs; in add_version() local 106 hs.src_buf = (unsigned char *)buf; in add_version() 107 hs.src_size = sb.st_size; in add_version() 115 add_einfo(buf + extra, version, &hs, avail_space); in add_version()
|
/illumos-gate/usr/src/cmd/boot/common/ |
H A D | bblk_einfo.c | 284 compute_hash(bblk_hs_t *hs, unsigned char *dest, bblk_hash_t *hash) in compute_hash() argument 286 if (hs == NULL || dest == NULL || hash == NULL) in compute_hash() 289 hash->compute_hash(dest, hs->src_buf, hs->src_size); in compute_hash() 294 prepare_and_write_einfo(unsigned char *dest, char *infostr, bblk_hs_t *hs, in prepare_and_write_einfo() argument 318 if (compute_hash(hs, data, hashinfo) < 0) { in prepare_and_write_einfo() 363 einfo_should_update(bblk_einfo_t *disk_einfo, bblk_hs_t *hs, char *verstr) in einfo_should_update() argument 411 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()
|
/illumos-gate/usr/src/lib/libc/sparc/fp/ |
H A D | _Q_cplx_div.c | 98 int ha, hb, hc, hd, hz, hw, hs, i, j; local 175 hs = (((hw >> 2) - hw) + 0x6ffd7fff) & 0xffff0000; 178 hs = (((0x40e90000 - hw) >> 1) & 0xffff0000) 181 ss.i[0] = hs;
|
H A D | _D_cplx_div.c | 91 int ha, hb, hc, hd, hz, hw, hs, i, j; in _D_cplx_div() local 231 hs = (((hw >> 2) - hw) + 0x6fd7ffff) & 0xfff00000; in _D_cplx_div() 234 hs = (((0x47100000 - hw) >> 1) & 0xfff00000) in _D_cplx_div() 237 ss.i[0] = hs; in _D_cplx_div()
|
/illumos-gate/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 …]
|
/illumos-gate/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()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/tests/test_svc_tp_create/ |
H A D | test_svc_tp_create.c | 91 struct nd_hostserv hs; in test_svc_tp_create() local 110 hs.h_host = HOST_SELF_BIND; in test_svc_tp_create() 111 hs.h_serv = port_str; in test_svc_tp_create() 112 err = netdir_getbyname((struct netconfig *)nconf, &hs, &al); in test_svc_tp_create()
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | ntoh.c | 42 htons(uint16_t hs) in htons() argument 45 return (__htons(hs)); in htons()
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rusers.c | 241 struct nd_hostservlist *hs; in collectnames() local 248 if (netdir_getbyaddr(nconf, &hs, raddrp)) { in collectnames() 257 hs->h_hostservs->h_host); in collectnames() 258 netdir_free((char *)hs, ND_HOSTSERVLIST); in collectnames() 367 struct nd_hostservlist *hs; in collectnames_3() local 374 if (netdir_getbyaddr(nconf, &hs, raddrp)) { in collectnames_3() 383 hs->h_hostservs->h_host); in collectnames_3() 384 netdir_free((char *)hs, ND_HOSTSERVLIST); in collectnames_3()
|
H A D | rup.c | 305 struct nd_hostservlist *hs; local 350 if (netdir_getbyaddr(nconf, &hs, &taddr->addr) == ND_OK) 352 hs->h_hostservs->h_host); 415 struct nd_hostservlist *hs; in printnames() local 422 if (netdir_getbyaddr(ep->nconf, &hs, ep->addr) == ND_OK) in printnames() 423 sprintf(buf, "%s", hs->h_hostservs->h_host); in printnames()
|
/illumos-gate/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 …]
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | auth_time.c | 126 struct nd_hostserv hs; in get_server() local 131 hs.h_host = host; in get_server() 132 hs.h_serv = "rpcbind"; in get_server() 137 if (! netdir_getbyname(nc, &hs, &addrs)) { in get_server()
|
H A D | clnt_bcast.c | 134 struct nd_hostserv hs; in rpc_broadcast_exp() local 326 hs.h_host = HOST_BROADCAST; in rpc_broadcast_exp() 327 hs.h_serv = "rpcbind"; in rpc_broadcast_exp() 373 if (netdir_getbyname(fdlist[i].nconf, &hs, in rpc_broadcast_exp()
|
H A D | clnt_generic.c | 299 struct nd_hostserv hs; in clnt_create_service_timed() local 353 hs.h_host = hostname; in clnt_create_service_timed() 354 hs.h_serv = port ? NULL : serv; in clnt_create_service_timed() 410 if (netdir_getbyname(nconf, &hs, &raddrs) != ND_OK) { in clnt_create_service_timed()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/ |
H A D | sm_svc.c | 473 struct nd_hostserv hs; in sm_svc_tp_create() local 492 hs.h_host = HOST_SELF_BIND; in sm_svc_tp_create() 493 hs.h_serv = port_str; in sm_svc_tp_create() 494 err = netdir_getbyname((struct netconfig *)nconf, &hs, &al); in sm_svc_tp_create()
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | nfs_cast.c | 130 struct nd_hostserv hs; in nfs_cast() local 218 hs.h_host = mfs->mfs_host; in nfs_cast() 219 hs.h_serv = "rpcbind"; in nfs_cast() 220 if (netdir_getbyname(nconf, &hs, &retaddrs) == ND_OK) { in nfs_cast()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/trim/ |
H A D | autotrim_integrity.ksh | 79 log_must du -hs /$TESTPOOL
|
H A D | trim_integrity.ksh | 78 log_must du -hs /$TESTPOOL
|