Home
last modified time | relevance | path

Searched refs:h2 (Results 1 – 24 of 24) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Druptime.c240 hscmp(struct hs *h1, struct hs *h2) in hscmp() argument
243 return (rflg * strcmp(h1->hs_wd->wd_hostname, h2->hs_wd->wd_hostname)); in hscmp()
250 lcmp(struct hs *h1, struct hs *h2) in lcmp() argument
254 if (down(h2)) in lcmp()
255 return (tcmp(h1, h2)); in lcmp()
258 else if (down(h2)) in lcmp()
262 (h2->hs_wd->wd_loadav[0] - h1->hs_wd->wd_loadav[0])); in lcmp()
269 ucmp(struct hs *h1, struct hs *h2) in ucmp() argument
273 if (down(h2)) in ucmp()
274 return (tcmp(h1, h2)); in ucmp()
[all …]
/illumos-gate/usr/src/cmd/eqn/
H A Dshift.c21 int shval, d1, h1, b1, h2, b2; in bshiftb() local
30 h2 = eht[p2]; in bshiftb()
45 shval = - d1 + h2 - b2; in bshiftb()
46 if (d1+b1 > h2) /* move little sub down */ in bshiftb()
48 ebase[yyval] = b1 + max(0, h2-b1-d1); in bshiftb()
49 eht[yyval] = h1 + max(0, h2-b1-d1); in bshiftb()
66 if (VERT(4*(h1-b1)/10) + h2 < h1-b1) /* raise little super */ in bshiftb()
69 if (VERT(1) + h2 < h1-b1) /* raise little super */ in bshiftb()
71 shval = -(h1-b1) + h2-b2 - d1; in bshiftb()
73 eht[yyval] = h1 + max(0, h2-VERT((6*(h1-b1))/10)); in bshiftb()
[all …]
/illumos-gate/usr/src/cmd/audio/utilities/
H A Dhdr_misc.c187 audio_cmp_hdr(Audio_hdr *h1, Audio_hdr *h2) in audio_cmp_hdr() argument
189 if ((h1->encoding != h2->encoding) || in audio_cmp_hdr()
190 (h1->bytes_per_unit != h2->bytes_per_unit) || in audio_cmp_hdr()
191 (h1->channels != h2->channels) || in audio_cmp_hdr()
192 (h1->samples_per_unit != h2->samples_per_unit)) in audio_cmp_hdr()
195 if (h1->sample_rate != h2->sample_rate) in audio_cmp_hdr()
/illumos-gate/usr/src/cmd/mandoc/
H A Dmansearch.c323 struct ohash *hand, *h1, *h2; in manmerge_and() local
335 h2 = manmerge(e, NULL); in manmerge_and()
336 if (ohash_entries(h2) < ohash_entries(hand)) { in manmerge_and()
337 h1 = h2; in manmerge_and()
338 h2 = hand; in manmerge_and()
348 if (ohash_find(h2, ohash_lookup_memory(h2, in manmerge_and()
360 for (res = ohash_first(h2, &slot2); res != NULL; in manmerge_and()
361 res = ohash_next(h2, &slot2)) in manmerge_and()
363 ohash_delete(h2); in manmerge_and()
364 free(h2); in manmerge_and()
/illumos-gate/usr/src/lib/libmvec/common/
H A D__vlog.c666 double h0, h1, h2, h3; in __vlog() local
738 h2 = d2 * TBL[i2]; in __vlog()
748 s2 = h2 + l2; in __vlog()
766 *y = (n2 * ln2hi + TBL[i2+2]) + (h2 + (l2 + in __vlog()
/illumos-gate/usr/src/lib/libm/common/C/
H A D__lgamma.c84 h2 = 1.346701454311101692290052e7, variable
244 q = h0+y*(h1+y*(h2+y*(h3+y*(h4+y*(h5+y*(h6+y* in __k_lgamma()
253 q = h0+y*(h1+y*(h2+y*(h3+y*(h4+y*(h5+y*(h6+y*(h7+y))))))); in __k_lgamma()
/illumos-gate/usr/src/cmd/fm/schemes/hc/
H A Dscheme.c211 nvlist_t **h1 = NULL, **h2 = NULL; in fru_compare() local
223 (void) nvlist_lookup_nvlist_array(f2, FM_FMRI_HC_LIST, &h2, in fru_compare()
225 if (h1sz == h2sz && hclist_contains(h1, h1sz, h2, h2sz) == 1) in fru_compare()
/illumos-gate/usr/src/cmd/rpcbind/
H A Dpmap_svc.c260 int h1, h2, h3, h4, p1, p2; in pmapproc_getport() local
276 if (sscanf(ua, "%d.%d.%d.%d.%d.%d", &h1, &h2, &h3, in pmapproc_getport()
281 h1, h2, h3, h4, p1, p2); in pmapproc_getport()
H A Drpcb_svc_com.c1173 int h1, h2, h3, h4, p1, p2; in rpcbproc_callit_com() local
1177 &h1, &h2, &h3, &h4, &p1, &p2) != 6) in rpcbproc_callit_com()
1606 int h1, h2, h3, h4, p1, p2; in add_pmaplist() local
1620 &h1, &h2, &h3, &h4, &p1, &p2) != 6) in add_pmaplist()
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dhment.c127 hment_t *h2 = (hment_t *)hm2; in hment_compare() local
130 diff = (uintptr_t)h1->hm_htable - (uintptr_t)h2->hm_htable; in hment_compare()
132 diff = h1->hm_entry - h2->hm_entry; in hment_compare()
134 diff = h1->hm_pfn - h2->hm_pfn; in hment_compare()
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vnops.c1776 const struct hio *h2 = x2; in hsched_deadline_compare() local
1778 if (h1->io_timestamp < h2->io_timestamp) in hsched_deadline_compare()
1780 if (h1->io_timestamp > h2->io_timestamp) in hsched_deadline_compare()
1783 if (h1->io_lblkno < h2->io_lblkno) in hsched_deadline_compare()
1785 if (h1->io_lblkno > h2->io_lblkno) in hsched_deadline_compare()
1788 if (h1 < h2) in hsched_deadline_compare()
1790 if (h1 > h2) in hsched_deadline_compare()
1800 const struct hio *h2 = x2; in hsched_offset_compare() local
1802 if (h1->io_lblkno < h2->io_lblkno) in hsched_offset_compare()
1804 if (h1->io_lblkno > h2->io_lblkno) in hsched_offset_compare()
[all …]
/illumos-gate/usr/src/cmd/smbsrv/testoplock/
H A Dcase06.txt16 # ind_break will "move" the lease to h2 (1:R 2:R)
/illumos-gate/usr/src/lib/libnsl/key/
H A Dxcrypt.c553 uint32_t h2; member
588 weakDESkeys[i].h2 == db.key.low) in weak_DES_key()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Drequest.c526 #define LDAP_CONN_SAMEHOST( h1, h2 ) \ argument
527 (( (h1) == NULL && (h2) == NULL ) || \
528 ( (h1) != NULL && (h2) != NULL && strcasecmp( (h1), (h2) ) == 0 ))
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dnetdir_inet_sundry.c184 int h1, h2, h3, h4, p1, p2; in ip_uaddr2taddr() local
206 if (sscanf(addr, "%d.%d.%d.%d.%d.%d", &h1, &h2, &h3, &h4, in ip_uaddr2taddr()
214 inaddr = (h1 << 24) + (h2 << 16) + (h3 << 8) + h4; in ip_uaddr2taddr()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzap_leaf.c430 #define HCD_GTEQ(h1, cd1, h2, cd2) \ argument
431 ((h1 > h2) ? TRUE : ((h1 == h2 && cd1 >= cd2) ? TRUE : FALSE))
/illumos-gate/usr/src/uts/common/os/
H A Dcallout.c231 #define CALLOUT_SWAP(h1, h2) \ argument
236 *h1 = *h2; \
237 *h2 = tmp; \
/illumos-gate/usr/src/lib/libmvec/common/vis/
H A D__vlog.S191 ! f54 h2,f2-(c2-h2)
H A D__vlog_ultra3.S2192 ! f54 h2,f2-(c2-h2)
/illumos-gate/usr/src/cmd/datadm/
H A Ddatadm.c776 datadm_hca_entry_match(datadm_hca_entry_t *h1, datadm_hca_entry_t *h2) in datadm_hca_entry_match() argument
778 if (!datadm_str_match(h1->he_name, h2->he_name)) { in datadm_hca_entry_match()
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_fflp_hw.h1465 uint32_t h2 : 16; /* 55 : 40 */ member
1471 uint32_t h2 : 16; /* 55 : 40 */
/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_impl.c1602 struct nlm_host *h2 = (struct nlm_host *)p2; in nlm_host_cmp() local
1605 res = strcmp(h1->nh_netid, h2->nh_netid); in nlm_host_cmp()
1609 res = nlm_netbuf_addrs_cmp(&h1->nh_addr, &h2->nh_addr); in nlm_host_cmp()
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_fflp.c803 nxge_fflp_set_hash2(p_nxge_t nxgep, uint16_t h2) in nxge_fflp_set_hash2() argument
811 p_class_cfgp->init_h2 = h2; in nxge_fflp_set_hash2()
814 rs = npi_fflp_cfg_hash_h2poly(handle, h2); in nxge_fflp_set_hash2()
817 " nxge_fflp_init_h2 %x failed ", h2)); in nxge_fflp_set_hash2()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dspd.c852 ipsec_policy_hash_t *h1, *h2; in ipsec_swap_policy() local
855 h2 = inactive->iph_root[dir].ipr_hash; in ipsec_swap_policy()
856 active->iph_root[dir].ipr_hash = h2; in ipsec_swap_policy()