/freebsd-11-stable/tools/tools/ath/athsurvey/ |
H A D | athsurvey.c | 54 get_survey_stats(int s, const char *ifname, HAL_CHANNEL_SURVEY *hs) argument 65 atd.ad_out_data = (caddr_t) hs; 76 process_survey_stats(HAL_CHANNEL_SURVEY *hs) argument 91 if (hs->samples[i].cycle_count == 0) 98 cycle_count = hs->samples[i].cycle_count; 105 tx = (float) hs->samples[i].tx_busy * 100.0 / 106 hs->samples[i].cycle_count; 107 rx = (float) hs->samples[i].rx_busy * 100.0 / 108 hs->samples[i].cycle_count; 109 cc = (float) hs 194 HAL_CHANNEL_SURVEY hs; local [all...] |
/freebsd-11-stable/sys/contrib/ck/src/ |
H A D | ck_rhs.c | 102 typedef long ck_rhs_probe_cb_t(struct ck_rhs *hs, 252 ck_rhs_set_load_factor(struct ck_rhs *hs, unsigned int load_factor) argument 254 struct ck_rhs_map *map = hs->map; 259 hs->load_factor = load_factor; 260 map->max_entries = (map->capacity * (unsigned long)hs->load_factor) / 100; 262 if (ck_rhs_grow(hs, map->capacity << 1) == false) 264 map = hs->map; 279 ck_rhs_next(struct ck_rhs *hs, struct ck_rhs_iterator *i, void **key) argument 281 struct ck_rhs_map *map = hs->map; 291 if (hs 304 ck_rhs_stat(struct ck_rhs *hs, struct ck_rhs_stat *st) argument 314 ck_rhs_count(struct ck_rhs *hs) argument 329 ck_rhs_destroy(struct ck_rhs *hs) argument 337 ck_rhs_map_create(struct ck_rhs *hs, unsigned long entries) argument 401 ck_rhs_reset_size(struct ck_rhs *hs, unsigned long capacity) argument 416 ck_rhs_reset(struct ck_rhs *hs) argument 494 ck_rhs_grow(struct ck_rhs *hs, unsigned long capacity) argument 573 ck_rhs_rebuild(struct ck_rhs *hs) argument 580 ck_rhs_map_probe_rm(struct ck_rhs *hs, struct ck_rhs_map *map, unsigned long *n_probes, long *priority, unsigned long h, const void *key, const void **object, unsigned long probe_limit, enum ck_rhs_probe_behavior behavior) argument 692 ck_rhs_map_probe(struct ck_rhs *hs, struct ck_rhs_map *map, unsigned long *n_probes, long *priority, unsigned long h, const void *key, const void **object, unsigned long probe_limit, enum ck_rhs_probe_behavior behavior) argument 827 ck_rhs_gc(struct ck_rhs *hs) argument 842 ck_rhs_add_wanted(struct ck_rhs *hs, long end_offset, long old_slot, unsigned long h) argument 869 ck_rhs_remove_wanted(struct ck_rhs *hs, long offset, long limit) argument 906 ck_rhs_put_robin_hood(struct ck_rhs *hs, long orig_slot, struct ck_rhs_entry_desc *desc) argument 989 ck_rhs_do_backward_shift_delete(struct ck_rhs *hs, long slot) argument 1069 ck_rhs_fas(struct ck_rhs *hs, unsigned long h, const void *key, void **previous) argument 1131 ck_rhs_apply(struct ck_rhs *hs, unsigned long h, const void *key, ck_rhs_apply_fn_t *fn, void *cl) argument 1235 ck_rhs_set(struct ck_rhs *hs, unsigned long h, const void *key, void **previous) argument 1315 ck_rhs_put_internal(struct ck_rhs *hs, unsigned long h, const void *key, enum ck_rhs_probe_behavior behavior) argument 1371 ck_rhs_put(struct ck_rhs *hs, unsigned long h, const void *key) argument 1380 ck_rhs_put_unique(struct ck_rhs *hs, unsigned long h, const void *key) argument 1389 ck_rhs_get(struct ck_rhs *hs, unsigned long h, const void *key) argument 1418 ck_rhs_remove(struct ck_rhs *hs, unsigned long h, const void *key) argument 1438 ck_rhs_move(struct ck_rhs *hs, struct ck_rhs *source, ck_rhs_hash_cb_t *hf, ck_rhs_compare_cb_t *compare, struct ck_malloc *m) argument 1459 ck_rhs_init(struct ck_rhs *hs, unsigned int mode, ck_rhs_hash_cb_t *hf, ck_rhs_compare_cb_t *compare, struct ck_malloc *m, unsigned long n_entries, unsigned long seed) argument [all...] |
H A D | ck_hs.c | 109 _ck_hs_next(struct ck_hs *hs, struct ck_hs_map *map, struct ck_hs_iterator *i, void **key) argument 119 if (hs->mode & CK_HS_MODE_OBJECT) 122 (void)hs; /* Avoid unused parameter warning. */ 144 ck_hs_next(struct ck_hs *hs, struct ck_hs_iterator *i, void **key) argument 146 return _ck_hs_next(hs, hs->map, i, key); 150 ck_hs_next_spmc(struct ck_hs *hs, struct ck_hs_iterator *i, void **key) argument 154 m = i->map = ck_pr_load_ptr(&hs->map); 156 return _ck_hs_next(hs, m, i, key); 160 ck_hs_stat(struct ck_hs *hs, struc argument 171 ck_hs_count(struct ck_hs *hs) argument 186 ck_hs_destroy(struct ck_hs *hs) argument 194 ck_hs_map_create(struct ck_hs *hs, unsigned long entries) argument 250 ck_hs_reset_size(struct ck_hs *hs, unsigned long capacity) argument 265 ck_hs_reset(struct ck_hs *hs) argument 328 ck_hs_grow(struct ck_hs *hs, unsigned long capacity) argument 401 ck_hs_map_postinsert(struct ck_hs *hs, struct ck_hs_map *map) argument 412 ck_hs_rebuild(struct ck_hs *hs) argument 419 ck_hs_map_probe(struct ck_hs *hs, struct ck_hs_map *map, unsigned long *n_probes, const void ***priority, unsigned long h, const void *key, const void **object, unsigned long probe_limit, enum ck_hs_probe_behavior behavior) argument 551 ck_hs_gc(struct ck_hs *hs, unsigned long cycles, unsigned long seed) argument 640 ck_hs_fas(struct ck_hs *hs, unsigned long h, const void *key, void **previous) argument 684 ck_hs_apply(struct ck_hs *hs, unsigned long h, const void *key, ck_hs_apply_fn_t *fn, void *cl) argument 755 ck_hs_set(struct ck_hs *hs, unsigned long h, const void *key, void **previous) argument 811 ck_hs_put_internal(struct ck_hs *hs, unsigned long h, const void *key, enum ck_hs_probe_behavior behavior) argument 853 ck_hs_put(struct ck_hs *hs, unsigned long h, const void *key) argument 862 ck_hs_put_unique(struct ck_hs *hs, unsigned long h, const void *key) argument 871 ck_hs_get(struct ck_hs *hs, unsigned long h, const void *key) argument 898 ck_hs_remove(struct ck_hs *hs, unsigned long h, const void *key) argument 918 ck_hs_move(struct ck_hs *hs, struct ck_hs *source, ck_hs_hash_cb_t *hf, ck_hs_compare_cb_t *compare, struct ck_malloc *m) argument 938 ck_hs_init(struct ck_hs *hs, unsigned int mode, ck_hs_hash_cb_t *hf, ck_hs_compare_cb_t *compare, struct ck_malloc *m, unsigned long n_entries, unsigned long seed) argument [all...] |
/freebsd-11-stable/lib/libc/net/ |
H A D | ntoh.c | 42 htons(uint16_t hs) argument 45 return (__htons(hs));
|
/freebsd-11-stable/usr.bin/ruptime/ |
H A D | ruptime.c | 57 static struct hs { struct 60 } *hs; variable in typeref:struct:hs 162 #define HS(a) ((const struct hs *)(a)) 191 struct hs *hsp; 216 if ((hs = 217 realloc(hs, (hspace += 40) * sizeof(*hs))) == NULL) 219 hsp = hs + nhosts; 260 qsort(hs, nhosts, sizeof(hs[ [all...] |
/freebsd-11-stable/contrib/xz/src/liblzma/lz/ |
H A D | lz_encoder.c | 303 uint32_t hs; local 306 hs = 0xFFFF; 310 hs = lz_options->dict_size - 1; 311 hs |= hs >> 1; 312 hs |= hs >> 2; 313 hs |= hs >> 4; 314 hs | [all...] |
/freebsd-11-stable/contrib/libreadline/ |
H A D | history.h | 53 #define HISTENT_BYTES(hs) (strlen ((hs)->line) + strlen ((hs)->timestamp))
|
H A D | history.c | 320 HIST_ENTRY *hs; local 322 hs = the_history[history_length - 1]; 323 FREE (hs->timestamp); 324 hs->timestamp = savestring (string);
|
/freebsd-11-stable/usr.bin/top/ |
H A D | Makefile | 34 .SUFFIXES: .xs .x .hs .h 35 .xs.x .hs.h:
|
/freebsd-11-stable/contrib/ntp/sntp/ag-tpl/0-old/ |
H A D | mdoc2texi | 18 use Mdoc qw(ns pp hs mapwords gen_encloser nl); 67 Mdoc::def_macro( '.Ss', sub { "\@subsubsection", hs, @_ }); 70 "\@node", hs, "$name\n", ns, "\@subsection", hs, $name 72 Mdoc::def_macro( '.Ss', sub { "\@subsubsection", hs, @_ }); 132 Mdoc::def_macro('.It', sub { '@item', hs, @_ });
|
H A D | mdoc2man | 14 use Mdoc qw(hs ns pp mapwords son soff stoggle gen_encloser); 20 Mdoc::def_macro( '.Sh', sub { '.SH', hs, @_ }, raw => 1); 21 Mdoc::def_macro( '.Ss', sub { '.SS', hs, @_ }, raw => 1); 99 my @ret = (".TP$width\n.NOP", hs); 111 ".TP$width\n.NOP", hs, @_
|
/freebsd-11-stable/contrib/ntp/sntp/ag-tpl/ |
H A D | mdoc2man | 40 use Mdoc qw(hs ns pp mapwords son soff stoggle gen_encloser); 46 Mdoc::def_macro( '.Sh', sub { '.SH', hs, @_ }, raw => 1); 47 Mdoc::def_macro( '.Ss', sub { '.SS', hs, @_ }, raw => 1); 125 my @ret = (".TP$width\n.NOP", hs); 137 ".TP$width\n.NOP", hs, @_
|
/freebsd-11-stable/sbin/savecore/ |
H A D | savecore.c | 345 int he, hs, nr, nw, wl; local 370 for (hs = nw; hs < nr; hs += BLOCKSIZE) { 371 for (he = hs; he < nr && buf[he] == 0; 375 if (he >= hs + BLOCKSIZE) 388 if (hs + BLOCKSIZE > nr) 389 hs = he = nr; 393 * nw <= hs <= he <= nr 394 * If hs > n [all...] |
/freebsd-11-stable/sys/net80211/ |
H A D | ieee80211_hwmp.c | 253 struct ieee80211_hwmp_state *hs; local 258 hs = IEEE80211_MALLOC(sizeof(struct ieee80211_hwmp_state), M_80211_VAP, 260 if (hs == NULL) { 264 hs->hs_maxhops = IEEE80211_HWMP_DEFAULT_MAXHOPS; 265 callout_init(&hs->hs_roottimer, 1); 266 vap->iv_hwmp = hs; 272 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local 274 callout_drain(&hs->hs_roottimer); 283 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local 290 callout_drain(&hs 798 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local 831 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local 872 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local 946 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local 1266 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local 1638 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local 1735 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local 1850 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local 1905 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local 2036 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local 2059 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; local [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | FormatString.h | 334 : start(amountStart), length(amountLength), hs(howSpecified), amt(amount), 338 : start(nullptr),length(0), hs(valid ? NotSpecified : Invalid), amt(0), 342 : start(nullptr), length(0), hs(Constant), amt(Amount), 346 return hs == Invalid; 349 HowSpecified getHowSpecified() const { return hs; } 350 void setHowSpecified(HowSpecified h) { hs = h; } 352 bool hasDataArgument() const { return hs == Arg; } 360 assert(hs == Constant); 370 assert(hs == Constant); 390 HowSpecified hs; member in class:clang::analyze_format_string::OptionalAmount [all...] |
/freebsd-11-stable/usr.sbin/tcpdrop/ |
H A D | tcpdrop.c | 162 sockinfo(const struct sockaddr *sa, struct host_service *hs) argument 167 rv = getnameinfo(sa, sa->sa_len, hs->hs_host, sizeof hs->hs_host, 168 hs->hs_service, sizeof hs->hs_service, flags);
|
/freebsd-11-stable/contrib/gcclibs/libcpp/ |
H A D | Makefile.in | 129 localedir.h: localedir.hs; @true 130 localedir.hs: Makefile 133 echo timestamp > localedir.hs 172 localedir.hs $(DEPDIR)/*.Po
|
/freebsd-11-stable/tools/tools/locale/tools/ |
H A D | charmaps.pm | 85 my $hs = $attrs{hex}; 86 $d{T}{$e}{$k}{hex} = $hs;
|
/freebsd-11-stable/bin/sh/ |
H A D | histedit.c | 163 sethistsize(const char *hs) argument 169 if (hs == NULL || !is_number(hs)) 172 histsize = atoi(hs);
|
/freebsd-11-stable/lib/clang/ |
H A D | llvm.build.mk | 45 LLVM_TARGET_TRIPLE?= ${TARGET_ARCH:C/amd64/x86_64/:C/[hs]f$//:S/mipsn32/mips64/}-${VENDOR}-${OS_VERSION}${TARGET_ABI} 46 LLVM_BUILD_TRIPLE?= ${BUILD_ARCH:C/amd64/x86_64/:C/[hs]f$//:S/mipsn32/mips64/}-${VENDOR}-${OS_VERSION}
|
/freebsd-11-stable/contrib/apr/network_io/unix/ |
H A D | sockaddr.c | 548 struct hostent hs; local 564 hs.h_addr_list = (char **)addr_list; 565 hp = &hs; 572 gethostbyname_r(hostname, &hs, &hd); 573 hp = &hs; 577 gethostbyname_r(hostname, &hs, tmp, GETHOSTBYNAME_BUFLEN - 1, 581 hp = gethostbyname_r(hostname, &hs, tmp, GETHOSTBYNAME_BUFLEN - 1, 817 struct hostent hs, *hptr; 822 sizeof(struct in_addr), AF_INET, &hs, &hd); 823 hptr = &hs; [all...] |
/freebsd-11-stable/contrib/binutils/binutils/ |
H A D | rclex.c | 857 const char *hs = NULL; local 863 hs = yylval.s; 866 hs = yylval.s = yylval.ss.s; 869 if (! hs) 874 else if (! strcmp (hs, "StringFileInfo")) 876 else if (! strcmp (hs, "VarFileInfo"))
|
/freebsd-11-stable/sys/dev/ath/ |
H A D | if_ath_beacon.c | 388 HAL_SURVEY_SAMPLE hs; local 392 bzero(&hs, sizeof(hs)); 394 ret = ath_hal_get_mib_cycle_counts(sc->sc_ah, &hs); 413 hs.tx_busy, 414 hs.rx_busy, 415 hs.chan_busy, 416 hs.ext_chan_busy, 417 hs.cycle_count);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/arm/ |
H A D | umodsi3.S | 106 IT(hs); \
|
/freebsd-11-stable/sys/dev/videomode/ |
H A D | videomode.c | 29 #define M(nm,hr,vr,clk,hs,he,ht,vs,ve,vt,f) \ 30 { clk, hr, hs, he, ht, vr, vs, ve, vt, f, nm }
|