/freebsd/sys/kern/ |
H A D | subr_blist.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 30 * BLIST.C - Bitmap allocator/deallocator, using a radix tree with hinting 61 * The non-blocking nature of allocations and frees is required by swap 66 * memory) by BLIST_RADIX lower-level nodes. This is a recursive 72 * BLIST_RADIX lower-level nodes of a some nodes may not be allocated. 82 * This code can be compiled stand-alone for debugging. 130 static daddr_t blst_leaf_alloc(blmeta_t *scan, daddr_t blk, 131 int *count, int maxcount); 132 static daddr_t blst_meta_alloc(blmeta_t *scan, daddr_t cursor, int *count, [all …]
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | bgscan_learn.c | 2 * WPA Supplicant - background scan and roaming module: learn 3 * Copyright (c) 2009-2010, Jouni Malinen <j@w1.fi> 19 #include "scan.h" 47 os_free(bss->neigh); in bss_free() 73 if (ether_addr_equal(bss->bssid, bssid)) in bgscan_learn_add_neighbor() 75 if (bssid_in_array(bss->neigh, bss->num_neigh, bssid)) in bgscan_learn_add_neighbor() 78 n = os_realloc_array(bss->neigh, bss->num_neigh + 1, ETH_ALEN); in bgscan_learn_add_neighbor() 82 os_memcpy(n + bss->num_neigh * ETH_ALEN, bssid, ETH_ALEN); in bgscan_learn_add_neighbor() 83 bss->neigh = n; in bgscan_learn_add_neighbor() 84 bss->num_neigh++; in bgscan_learn_add_neighbor() [all …]
|
H A D | scan.c | 2 * WPA Supplicant - Scanning 3 * Copyright (c) 2003-2019, Jouni Malinen <j@w1.fi> 24 #include "scan.h" 39 if (wpa_s->current_ssid == NULL) { in wpa_supplicant_gen_assoc_event() 40 wpa_s->current_ssid = ssid; in wpa_supplicant_gen_assoc_event() 45 "network - generating associated event"); in wpa_supplicant_gen_assoc_event() 58 for (ssid = wpa_s->conf->ssid; ssid; ssid = ssid->next) { in wpas_wps_in_use() 59 if (!(ssid->key_mgmt & WPA_KEY_MGMT_WPS)) in wpas_wps_in_use() 64 if (ssid->eap.phase1 && os_strstr(ssid->eap.phase1, "pbc=1")) in wpas_wps_in_use() 69 if (!wpa_s->global->p2p_disabled && wpa_s->global->p2p && in wpas_wps_in_use() [all …]
|
/freebsd/contrib/less/ |
H A D | regexp.c | 2 * regcomp and regexec -- regsub and regerror are elsewhere 23 * regular-expression syntax might require a total rethink. 27 * Added regexec2 with notbol parameter. -- 4/19/99 Mark Nudelman 48 * reganch is the match anchored (at beginning-of-line only)? 64 * of a nondeterministic finite-state machine (aka syntax charts or 72 * a literal string; for others, it is a node leading into a sub-FSM. In 120 * "Next" pointers are stored as two 8-bi 214 register char *scan; global() local 659 register char *scan; global() local 839 register char *scan; /* Current node. */ global() local 1032 register int count = 0; global() local 1033 register char *scan; global() local 1242 register int count; global() local [all...] |
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_settings.cpp | 2 * kmp_settings.cpp -- Initialize environment variables 5 //===----------------------------------------------------------------------===// 9 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 11 //===----------------------------------------------------------------------===// 29 #include "ompd-specific.h" 34 bool __kmp_env_format = 0; // 0 - old format; 1 - new format 36 // ----------------------------------------------------------------------------- 78 ca -= 'a' - 'A'; in __kmp_match_with_sentinel() 80 cb -= 'a' - 'A'; in __kmp_match_with_sentinel() 124 ct -= 'a' - 'A'; in __kmp_match_str() [all …]
|
H A D | kmp_affinity.cpp | 2 * kmp_affinity.cpp -- affinity management 5 //===----------------------------------------------------------------------===// 9 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 11 //===----------------------------------------------------------------------===// 62 return __kmp_topology->restrict_to_mask(mask); in restrict_to_mask() 92 thr_bar->depth = depth; in __kmp_get_hierarchy() 93 __kmp_type_convert(machine_hierarchy.numPerLevel[0] - 1, in __kmp_get_hierarchy() 94 &(thr_bar->base_leaf_kids)); in __kmp_get_hierarchy() 95 thr_bar->skip_per_level = machine_hierarchy.skipPerLevel; in __kmp_get_hierarchy() 204 int depth = __kmp_topology->get_depth(); in compare_ids() [all …]
|
/freebsd/sys/contrib/openzfs/cmd/zpool_influxdb/ |
H A D | README.md | 6 stdout. In many ways, this is a metrics-friendly output of 18 |---|---|---| 19 | --execd | -e | For use with telegraf's `execd` plugin. When [enter] is pressed, the pools are sam… 20 | --no-histogram | -n | Do not print histogram information | 21 | --signed-int | -i | Use signed integer data type (default=unsigned) | 22 | --sum-histogram-buckets | -s | Sum histogram bucket values | 23 | --tags key=value[,key=value...] | -t | Add tags to data points. No tag sanity checking is perform… 24 | --help | -h | Print a short usage message | 28 This works well out-of-the-box with an influxdb data source and grafana's 35 Another method for storing histogram data sums the values for lower-value [all …]
|
/freebsd/contrib/wpa/src/drivers/ |
H A D | driver_nl80211_scan.c | 2 * Driver interaction with Linux nl80211/cfg80211 - Scanning 4 * Copyright (c) 2002-2014, Jouni Malinen <j@w1.fi> 6 * Copyright (c) 2009-2010, Atheros Communications 20 #include "common/qca-vendor.h" 29 unsigned int count; member 43 if (info->count >= MAX_NL80211_NOISE_FREQS) in get_noise_for_scan_results() 68 info->freq[info->count] = in get_noise_for_scan_results() 70 info->noise[info->count] = in get_noise_for_scan_results() 72 info->count++; in get_noise_for_scan_results() 93 struct wpa_driver_nl80211_data *drv = bss->drv; in nl80211_abort_scan() [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
H A D | scan.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2024 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 10 /* Scan Command 809 u8 count; global() member 984 u8 count; global() member 1005 u8 count; global() member [all...] |
/freebsd/lib/libdevinfo/ |
H A D | devinfo.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 53 * a generation count is maintained by the kernel. The initial generation 54 * count is obtained (along with the interface version) from the hw.bus 114 * Get the generation count and interface version, verify that we in devinfo_init() 131 debug("generation count is %d", ubus.ub_generation); in devinfo_init() 134 * Don't rescan if the generation count has in devinfo_init() [all...] |
/freebsd/usr.sbin/i2c/ |
H A D | i2c.8 | 2 .\" Copyright (C) 2008-2009 Semihalf, Michal Hajduk and Bartlomiej Sieka 34 .Cm -a Ar address 39 .Op Fl c Ar count 44 .Cm -h 46 .Cm -i 49 .Op Ar - 51 .Cm -r 55 .Cm -s 64 It can also scan the bus for available devices and reset the I2C controller. 67 .Bl -tag -width ".Fl d Ar direction" [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | dsl_scan.h | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 67 uint64_t scn_errors; /* scan I/O error count */ 91 uint64_t dep_errors; /* error scrub I/O error count */ 100 * in-memory information about the scan and a pointer to the on-disk 101 * representation (i.e. dsl_scan_phys_t). Most of the state of the scan 102 * is contained on-disk to allow the scan to resume in the event of a reboot 104 * running scan, some caching information, and how it should traverse the pool. 106 * The following members of this structure direct the behavior of the scan: 108 * scn_suspending - a scan that cannot be completed in a single txg or [all …]
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | spectral.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2013-2017 Qualcomm Atheros, Inc. 9 #include "wmi-ops.h" 16 if (!ar->spectral.rfs_chan_spec_scan) in send_fft_sample() 19 length = __be16_to_cpu(fft_sample_tlv->length) + in send_fft_sample() 21 relay_write(ar->spectral.rfs_chan_spec_scan, fft_sample_tlv, length); in send_fft_sample() 33 if (dc_pos < max_index || -dc_pos >= max_index) in get_max_exp() 58 bin_len -= ar->hw_params.spectral_bin_discard; in ath10k_spectral_fix_bin_size() 80 return -EINVAL; in ath10k_spectral_process_fft() 82 reg0 = __le32_to_cpu(fftr->reg0); in ath10k_spectral_process_fft() [all …]
|
H A D | spectral.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2013-2015 Qualcomm Atheros, Inc. 12 * struct ath10k_spec_scan - parameters for Atheros spectral scan 14 * @count: number of scan results requested for manual mode 15 * @fft_size: number of bins to be requested = 2^(fft_size - bin_scale) 18 u8 count; member 27 * @SPECTRAL_MANUAL: spectral scan is enabled, triggering for samples
|
/freebsd/sys/dev/iwi/ |
H A D | if_iwi.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2005-2006 Sam Leffler, Errno Consulting 33 /*- 266 for (ident = iwi_ident_table; ident->name != NULL; ident++) { in iwi_probe() 267 if (pci_get_vendor(dev) == ident->vendor && in iwi_probe() 268 pci_get_device(dev) == ident->device) { in iwi_probe() 269 device_set_desc(dev, ident->name); in iwi_probe() 280 struct ieee80211com *ic = &sc->sc_ic; in iwi_attach() 284 sc->sc_dev = dev; in iwi_attach() [all …]
|
/freebsd/sys/vm/ |
H A D | vm_pageout.c | 1 /*- 2 * SPDX-License-Identifier: (BSD-4-Clause AND MIT-CMU) 14 * The Mach Operating System project at Carnegie-Mellon University. 45 * Copyright (c) 1987, 1990 Carnegie-Mellon University. 65 * Pittsburgh PA 15213-3890 72 * The proverbial page-out daemon. 154 "Panic on the given number of out-of-memory errors instead of " 184 "back-to-back calls to oom detector to start OOM"); 195 if (error || req->newptr == NULL) in sysctl_act_scan_laundry_weight() 219 "system-wide limit to user-wired page count"); [all …]
|
/freebsd/sys/net80211/ |
H A D | ieee80211_scan_sta.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 69 * o after STA_FAILS_AGE seconds we clear the failure count 83 uint8_t se_fails; /* failure to associate count */ 84 uint8_t se_seen; /* seen during current scan */ 92 u_int se_scangen; /* iterator scan gen# */ 99 (((const uint8_t *)(addr))[IEEE80211_ADDR_LEN - 1] % STA_HASHSIZE) 105 ieee80211_scan_table_lock_t st_lock; /* on scan table */ 110 u_int st_scangen; /* scan generation # */ [all …]
|
H A D | ieee80211_sta.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting 78 ic->ic_vattach[IEEE80211_M_STA] = sta_vattach; in ieee80211_sta_attach() 94 vap->iv_newstate = sta_newstate; in sta_vattach() 95 vap->iv_input = sta_input; in sta_vattach() 96 vap->iv_recv_mgmt = sta_recv_mgmt; in sta_vattach() 97 vap->iv_recv_ctl = sta_recv_ctl; in sta_vattach() 98 vap->iv_opdetach = sta_vdetach; in sta_vattach() 99 vap->iv_bmiss = sta_beacon_miss; in sta_vattach() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | ProgramState.cpp | 1 //= ProgramState.cpp - Path-Sensitive "State" for tracking values --*- C++ -*--= 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 31 ++const_cast<ProgramState*>(state)->refCount; in ProgramStateRetain() 36 assert(state->refCount > 0); in ProgramStateRelease() 38 if (--s->refCount == 0) { in ProgramStateRelease() 39 ProgramStateManager &Mgr = s->getStateManager(); in ProgramStateRelease() 41 s->~ProgramState(); in ProgramStateRelease() 54 stateMgr->getStoreManager().incrementReferenceCount(store); in ProgramState() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/input/ |
H A D | stmpe-keypad.txt | 4 - compatible : "st,stmpe-keypad" 5 - linux,keymap : See ./matrix-keymap.txt 8 - debounce-interval : Debouncing interval time in milliseconds 9 - st,scan-count : Scanning cycles elapsed before key data is updated 10 - st,no-autorepeat : If specified device will not autorepeat 11 - keypad,num-rows : See ./matrix-keymap.txt 12 - keypad,num-columns : See ./matrix-keymap.txt 17 compatible = "st,stmpe-keypad"; 19 debounce-interval = <64>; 20 st,scan-count = <8>; [all …]
|
/freebsd/tools/pkgbase/ |
H A D | README.md | 6 `mtree -c | mtree -C` 10 metalog_reader.lua [-h] [-a | -c | -p [-count] [-size] [-f...]] [-W...] [-v] metalog-path 15 * `-a` prints all scan results. this is the default option if no option is 17 * `-c` lints the file and gives warnings/errors, including duplication and 19 * `-Wcheck-notagdir` entries with dir type and no tags will be also included 21 * `-p` list all package names found in the file as exactly specified by 23 * `-count` display the number of files of the package 24 * `-size` display the size of the package 25 * `-fsetgid` only include packages with setgid files 26 * `-fsetuid` only include packages with setuid files [all …]
|
/freebsd/sbin/camcontrol/ |
H A D | modeedit.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 95 int count, char *name); 97 int count, char *name); 99 int count, char *name); 136 return (-1); \ 142 while (isspace(string[_length = strlen(string) - 1])) \ 148 editentry_create(void *hook __unused, int letter, void *arg, int count, in editentry_create() argument 155 (newentry->name = strdup(name)) == NULL) in editentry_create() 159 RTRIM(newentry->name); in editentry_create() [all …]
|
/freebsd/usr.sbin/mfiutil/ |
H A D | mfi_foreign.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 97 warn("Failed to scan foreign configuration"); in foreign_scan() 103 info.count); in foreign_scan() 107 MFI_COMMAND(foreign, scan, foreign_scan); 142 ld_list = (char *)(config->array); in foreign_show_cfg() 145 config->array_count, config->log_drv_count, in foreign_show_cfg() 146 config->spares_count); in foreign_show_cfg() 149 for (i = 0; i < config->array_count; i++) in foreign_show_cfg() 150 ld_list += config->array_size; in foreign_show_cfg() [all …]
|
/freebsd/lib/libc/regex/ |
H A D | regcomp.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 62 * Branching context, used to keep track of branch state for all of the branch- 66 * also for whether we're in a sub-expression or not. 85 const char *end; /* end of string (-> NUL normally) */ 93 # define NPAREN 10 /* we need to remember () 1-9 for back refs */ 94 sopno pbegin[NPAREN]; /* -> ( ([0] unused) */ 95 sopno pend[NPAREN]; /* -> ) ([0] unused) */ 98 int pflags; /* other parsing flags -- legacy escapes? */ 153 static int altoffset(sop *scan, int offset); [all …]
|
/freebsd/contrib/wpa/src/common/ |
H A D | qca-vendor.h | 3 * Copyright (c) 2014-2017, Qualcomm Atheros, Inc. 4 * Copyright (c) 2018-2020, The Linux Foundation 5 * Copyright (c) 2021-2023, Qualcomm Innovation Center, Inc. 28 * enum qca_radiotap_vendor_ids - QCA radiotap vendor namespace IDs 41 * Global NSS configuration - Applies to all bands (2.4 GHz and 5/6 GHz) 62 * Per band NSS configuration - Applies to the 2.4 GHz or 5/6 GHz band 79 * Global chain configuration - Applies to all bands (2.4 GHz and 5/6 GHz) 96 * Per band chain configuration - Applies to the 2.4 GHz or 5/6 GHz band 117 * Case 1: CONFIG_NSS + CONFIG_TX_NSS/RX_NSS - Only CONFIG_NSS is applied 120 * Case 2: CONFIG_NSS + CONFIG_TX_NSS + CONFIG_RX_NSS - Same NSS values are [all …]
|