/freebsd-src/contrib/processor-trace/libipt/src/ |
H A D | pt_sync.c | 2 * Copyright (c) 2013-2019, Intel Corporation 33 #include "intel-pt.h" 36 /* A psb packet contains a unique 2-byte repeating pattern. 59 return truncate(pointer + alignment - 1, alignment); in align() 68 const struct pt_config *config) in pt_find_psb() argument 73 if (!pos || !config) in pt_find_psb() 76 begin = config->begin; in pt_find_psb() 77 end = config->end; in pt_find_psb() 100 * We're right after the psb payload and within the buffer. in pt_find_psb() 103 pos -= ptps_psb; in pt_find_psb() [all …]
|
H A D | pt_query_decoder.c | 2 * Copyright (c) 2014-2019, Intel Corporation 38 #include "intel-pt.h" 63 return -pte_internal; in pt_qry_find_header_fup() 72 switch (packet->type) { in pt_qry_find_header_fup() 89 const struct pt_config *config) in pt_qry_decoder_init() argument 94 return -pte_invalid; in pt_qry_decoder_init() 98 errcode = pt_config_from_user(&decoder->config, config); in pt_qry_decoder_init() 102 pt_last_ip_init(&decoder->ip); in pt_qry_decoder_init() 103 pt_tnt_cache_init(&decoder->tnt); in pt_qry_decoder_init() 104 pt_time_init(&decoder->time); in pt_qry_decoder_init() [all …]
|
H A D | pt_insn_decoder.c | 2 * Copyright (c) 2013-2019, Intel Corporation 35 #include "intel-pt.h" 51 decoder->mode = ptem_unknown; in pt_insn_reset() 52 decoder->ip = 0ull; in pt_insn_reset() 53 decoder->status = 0; in pt_insn_reset() 54 decoder->enabled = 0; in pt_insn_reset() 55 decoder->process_event = 0; in pt_insn_reset() 56 decoder->speculative = 0; in pt_insn_reset() 57 decoder->process_insn = 0; in pt_insn_reset() 58 decoder->bound_paging = 0; in pt_insn_reset() [all …]
|
H A D | pt_time.c | 2 * Copyright (c) 2014-2019, Intel Corporation 32 #include "intel-pt.h" 50 return -pte_internal; in pt_time_query_tsc() 52 *tsc = time->tsc; in pt_time_query_tsc() 55 *lost_mtc = time->lost_mtc; in pt_time_query_tsc() 57 *lost_cyc = time->lost_cyc; in pt_time_query_tsc() 59 if (!time->have_tsc) in pt_time_query_tsc() 60 return -pte_no_time; in pt_time_query_tsc() 68 return -pte_internal; in pt_time_query_cbr() 70 if (!time->have_cbr) in pt_time_query_cbr() [all …]
|
/freebsd-src/crypto/openssl/Configurations/ |
H A D | descrip.mms.tmpl | 3 ## {- join("\n## ", @autowarntext) -} 4 {- 9 (our $osslprefix_q = platform->osslprefix()) =~ s/\$/\\\$/; 11 our $sover_dirname = platform->shlib_version_as_filename(); 12 our $osslver = sprintf "%02d", split(/\./, $config{version}); 14 our $sourcedir = $config{sourcedir}; 15 our $builddir = $config{builddir}; 18 (my $vol, my $dirs, my $file) = File::Spec->splitpath($_[0]); 19 my @dirs = File::Spec->splitdir($dirs); 23 return File::Spec::Unix->catpath( [all …]
|
/freebsd-src/contrib/tcpdump/cmake/Modules/ |
H A D | FindPCAP.cmake | 6 # lib subdirectories for pcap.dll (e.g WpdPack or npcap-sdk). 8 # (e.g cmake -DPCAP_ROOT=C:\path\to\pcap [...]) 15 # libpcap isn't set up to install .pc files or pcap-config on Windows, 27 # they're not supposed to be cache entries, and find_path() and 32 # The 64-bit Packet.lib is located under /x64 35 # For the WinPcap and Npcap SDKs, the Lib subdirectory of the top-level 36 # directory contains 32-bit libraries; the 64-bit libraries are in the 71 # because, if pkg-config isn't found, or it is but it has no .pc 73 # libpcap isn't available - not all systems ship pkg-config, and 81 # First, try pkg-config. [all …]
|
/freebsd-src/contrib/atf/atf-c/ |
H A D | tc_test.c | 26 #include "atf-c/tc.h" 31 #include <atf-c.h> 33 #include "atf-c/detail/test_helpers.h" 35 /* --------------------------------------------------------------------- 37 * --------------------------------------------------------------------- */ 49 atf_tc_set_md_var(tc, "test-var", "Test text"); in ATF_TC_HEAD() 52 /* --------------------------------------------------------------------- 54 * --------------------------------------------------------------------- */ 65 RE(atf_tc_init(&tc, "test1", ATF_TC_HEAD_NAME(empty), in ATF_TC_BODY() 68 ATF_REQUIRE(!atf_tc_has_md_var(&tc, "test-var")); in ATF_TC_BODY() [all …]
|
/freebsd-src/tools/tools/shlib-compat/ |
H A D | shlib-compat.py | 2 #- 31 import re 34 class Config(object): class 57 if outname and outname != '-': 91 self.re_exclude = [ re.compile(x) for x in self.exclude ] 92 self.re_include = [ re.compile(x) for x in self.include ] 145 warn(Config.w_cached, "Item is already cached: %d (%s, %s)" % \ 159 self.added = self.new - self.common 160 self.removed = self.orig - self.common 399 s = re.sub(r'\(.+\)', '', self.subranges[0].upper_bound) [all …]
|
/freebsd-src/share/man/man5/ |
H A D | mount.conf.5 | 44 .Bl -enum 46 The kernel will synthesize in memory a config file 56 Next, the kernel will parse the in-memory config file created in step 1 60 for the format of the config file. 64 will be re-mounted on the 76 this file will be parsed, and the kernel will use this new config 77 file to try to re-mount the root file system. 80 for the format of the config file. 84 directory, the old root file system will be re-mounted 100 .Bl -tag -width "XXXXXXXXXX" [all …]
|
/freebsd-src/sbin/devd/ |
H A D | devd.cc | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause AND BSD-2-Clause 4 * Copyright (c) 2002-2010 M. Warner Losh <imp@FreeBSD.org> 63 // - devd needs to document the unix domain socket 64 // - devd.conf needs more details on the supported statements. 122 * The kernel sets it to the minimum of a hard-coded maximum value and sbcc * 143 static const char detach = '-'; 171 static config cfg; 175 event_proc::event_proc() : _prio(-1) in event_proc() 192 event_proc::matches(config &c) const in matches() [all …]
|
/freebsd-src/contrib/wpa/src/eap_peer/ |
H A D | eap.c | 3 * Copyright (c) 2004-2019, Jouni Malinen <j@w1.fi> 14 * operations and to add functionality needed for fast re-authentication 59 return sm->eapol_cb->get_bool(sm->eapol_ctx, var); in eapol_get_bool() 66 sm->eapol_cb->set_bool(sm->eapol_ctx, var, value); in eapol_set_bool() 72 return sm->eapol_c in eapol_get_int() 141 eap_config_allowed_method(struct eap_sm * sm,struct eap_peer_config * config,int vendor,u32 method) eap_config_allowed_method() argument 404 struct eap_peer_config *config = eap_get_config(sm); SM_STATE() local 443 eap_get_realm(struct eap_sm * sm,struct eap_peer_config * config) eap_get_realm() argument 619 eap_peer_get_erp_info(struct eap_sm * sm,struct eap_peer_config * config,const u8 ** username,size_t * username_len,const u8 ** realm,size_t * realm_len,u16 * erp_next_seq_num,const u8 ** rrk,size_t * rrk_len) eap_peer_get_erp_info() argument 1047 struct eap_peer_config *config = eap_get_config(sm); SM_STATE() local 1213 struct eap_peer_config *config = eap_get_config(sm); eap_peer_sm_allow_canned() local 1672 struct eap_peer_config *config = eap_get_config(sm); eap_sm_buildIdentity() local 2435 struct eap_peer_config *config; eap_sm_request() local 2615 struct eap_peer_config *config = eap_get_config(sm); eap_sm_notify_ctrl_attached() local 2682 eap_get_phase2_types(struct eap_peer_config * config,size_t * count) eap_get_phase2_types() argument 2763 struct eap_peer_config *config = eap_get_config(sm); eap_get_config_identity() local 2779 eap_get_ext_password(struct eap_sm * sm,struct eap_peer_config * config) eap_get_ext_password() argument 2817 struct eap_peer_config *config = eap_get_config(sm); eap_get_config_password() local 2853 struct eap_peer_config *config = eap_get_config(sm); eap_get_config_password2() local 2893 struct eap_peer_config *config = eap_get_config(sm); eap_get_config_new_password() local 2909 struct eap_peer_config *config = eap_get_config(sm); eap_get_config_otp() local 2927 struct eap_peer_config *config = eap_get_config(sm); eap_clear_config_otp() local 2944 struct eap_peer_config *config = eap_get_config(sm); eap_get_config_phase1() local 2958 struct eap_peer_config *config = eap_get_config(sm); eap_get_config_phase2() local 2967 struct eap_peer_config *config = eap_get_config(sm); eap_get_config_fragment_size() local [all...] |
/freebsd-src/tests/sys/cddl/zfs/tests/cli_root/zpool_upgrade/ |
H A D | zpool_upgrade_008_pos.ksh | 1 #!/usr/local/bin/ksh93 -p 38 # Zpool upgrade should be able to upgrade pools to a given version using -V 42 # (latest pool version - 1) 44 # we're running. 52 # CODING_STATUS: COMPLETED (2007-09-27) 62 destroy_upgraded_pool $config 66 "Zpool upgrade should be able to upgrade pools to a given version using -V" 68 $ZPOOL upgrade --help 2>&1 | $GREP "V version" > /dev/null 69 if [ $? -ne 0 ] 71 log_unsupported "Zpool upgrade -V not supported on this release." [all …]
|
/freebsd-src/crypto/openssl/ |
H A D | configdata.pm.in | 1 #! {- $config{HASHBANGPERL} -} 2 # -*- mode: perl -*- 3 {- 24 (my $vol, my $dirs, my $file) = File::Spec->splitpath($path); 25 my @dirs = File::Spec->splitdir($dirs); 29 $dirs = File::Spec::Unix->catdir('', $vol, @dirs); 30 $path = File::Spec::Unix->catpath('', $dirs, $file); 36 return _fixup_path(File::Spec->catdir($config{sourcedir}, @_)) 39 return _fixup_path(File::Spec->catfile($config{sourcedir}, @_)) 43 -} [all …]
|
/freebsd-src/usr.bin/dpv/ |
H A D | dpv.c | 1 /*- 2 * Copyright (c) 2013-2016 Devin Teske <dteske@FreeBSD.org> 58 static int fd = -1; 64 static uint8_t multiple = FALSE; /* `-m' */ 84 if (realpath(file->path, rpath) == 0 || in operate_common() 86 warn("%s", file->path); in operate_common() 87 file->status = DPV_STATUS_FAILED; in operate_common() 88 return (-1); in operate_common() 100 close(fd--); in operate_common() 111 fd -= 1; in operate_common() [all …]
|
/freebsd-src/contrib/ntp/html/hints/ |
H A D | bsdi | 10 use another compiler you will need to add -D__bsdi__ to catch the various 13 The Kinemetrics/Truetime GPS-TM/TMD driver is known to work on this system. 14 The GPS-805 and GOES should also work fine. Hell, they should all work fine 18 can only handle one refclock per daemon. We're working this out with the 21 The config file is machine/bsdi, and the following steps should be all that 30 rm -f Config.local 38 This will place all of the executables in /usr/local/etc. The config 42 Craft a config file and a key file, and put them in the right places. 47 if you're going to authenticate. 52 echo -n 'starting local daemons:' [all …]
|
/freebsd-src/contrib/llvm-project/compiler-rt/lib/xray/ |
H A D | xray_log_interface.cpp | 1 //===-- xray_log_interface.cpp --------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 36 // when it should be a map because we're avoiding having to depend on C++ 72 for (ModeImpl *it = ModeImpls; it != &SentinelModeImpl; it = it->Next) { in __xray_log_register_mode() 73 if (!internal_strcmp(Mode, it->Mode)) in __xray_log_register_mode() 77 NewModeImpl->Next = ModeImpls; in __xray_log_register_mode() 78 NewModeImpl->Mode = internal_strdup(Mode); in __xray_log_register_mode() 79 NewModeImpl->Impl = Impl; in __xray_log_register_mode() [all …]
|
/freebsd-src/contrib/smbfs/ |
H A D | INSTALL | 4 Copy config.in file to the config.local and edit it for your needs. Build 6 to use encrypted passwords you'll need an src/sys/crypto directory (sys-crypto 9 Note for FreeBSD-current: it have kernel module sources in the base 11 config file. smbfs can be either compiled in the kernel or loaded as module. 18 If you're running any previous version of smbfs, unmount all mounted 28 If you're running smbfs for the first time, it is also necessary to 56 mount_smbfs -I hostname //bp@myserver/myshare /mnt
|
/freebsd-src/sbin/dhclient/ |
H A D | dhclient.c | 3 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 50 * Consortium DHCP server uses. Much system-specific configuration code 53 * system-specific configuration code to these operating systems - instead, 102 static int nullfd = -1; 120 * the end of time (~2038 when a 32-bi [all...] |
/freebsd-src/crypto/openssl/VMS/ |
H A D | openssl_ivp.com.in | 7 $ INSTALLTOP := {- $config{INSTALLTOP} -} 8 $ OPENSSLDIR := {- $config{OPENSSLDIR} -} 12 $ INSTALLTOP_ = F$PARSE("A.;",INSTALLTOP,,,"NO_CONCEAL") - 13 - ".][000000" - "[000000." - "][" - "]A.;" + "." 14 $ OPENSSLDIR_ = F$PARSE("A.;",OPENSSLDIR,,,"NO_CONCEAL") - 15 - ".][000000" - "[000000." - "][" - "]A.;" + "." 17 $ v := {- sprintf "%02d", split(/\./, $config{version}) -} 18 $ pz := {- $target{pointer_size} -} 23 $ IF F$SEARCH("OSSL$LIBCRYPTO''pz'") .EQS. "" - 24 .OR. F$SEARCH("OSSL$LIBSSL''pz'") .EQS. "" {- output_off() if $disabled{shared}; "" -}- [all …]
|
/freebsd-src/sys/dev/qcom_clk/ |
H A D | qcom_clk_rcg2.c | 1 /*- 52 ((sc)->cmd_rcgr + (sc)->cfg_offset + QCOM_CLK_RCG2_CFG_REG) 54 ((sc)->cmd_rcgr + QCOM_CLK_RCG2_CMD_REG) 56 ((sc)->cmd_rcgr + (sc)->cfg_offset + QCOM_CLK_RCG2_M_REG) 58 ((sc)->cmd_rcgr + (sc)->cfg_offset + QCOM_CLK_RCG2_N_REG) 60 ((sc)->cmd_rcgr + (sc)->cfg_offset + QCOM_CLK_RCG2_D_REG) 88 CLKDEV_READ_4(clknode_get_device(sc->clknode), in qcom_clk_rcg2_update_config_locked() 91 CLKDEV_WRITE_4(clknode_get_device(sc->clknode), in qcom_clk_rcg2_update_config_locked() 99 CLKDEV_READ_4(clknode_get_device(sc->clknode), in qcom_clk_rcg2_update_config_locked() 108 CLKDEV_READ_4(clknode_get_device(sc->clknode), in qcom_clk_rcg2_update_config_locked() [all …]
|
/freebsd-src/contrib/libpcap/ |
H A D | aclocal.m4 | 44 AC_ARG_WITH(gcc, [ --without-gcc don't use gcc]) 47 $1="-I\$(srcdir)" 52 if test -z "$CC" ; then 64 if test -z "$CC" -a "$with_gcc" = no ; then 71 dnl Determine which compiler we're using (cc or gcc) 75 dnl use -O (AC_PROG_CC will use - [all...] |
H A D | CMakeLists.txt | 13 # on a "long-term support" version # of some OS and that 45 # WE KNOW WHAT WE'RE DOING, WE'RE DOING EVERYTHING THE WAY THAT NEWER 95 # If you set an architecture flag such as -m32 or -m64 in CFLAGS 102 # 64-bit, and Oracle Studio's C++ compiler, which will default to 103 # building 32-bit, the size for C++ will win, and, again, hilarity 113 # shipping a pre-built shared library cache, at least), and we do the 121 # For getting raw lists of --lib [all...] |
H A D | configure.ac | 11 # https://ftp.gnu.org/gnu/config/README 13 # for the URLs to use to fetch new versions of config.guess and 14 # config.sub. 24 # These are the variables that are used in Makefile, pcap-config, and 28 # for flags required for the platform for which we're building (and 38 # we're finished doing configuration tests for the modules. 42 # pcap-config, so that "pcap-confi [all...] |
/freebsd-src/sys/dev/qcom_qup/ |
H A D | qcom_spi.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 69 { "qcom,spi-qup-v1.1.1", QCOM_SPI_HW_QPI_V1_1 }, 70 { "qcom,spi-qup-v2.1.1", QCOM_SPI_HW_QPI_V2_1 }, 71 { "qcom,spi-qu [all...] |
/freebsd-src/contrib/wpa/hostapd/ |
H A D | ChangeLog | 3 2024-07-20 - v2.11 4 * Wi-Fi Easy Connect 5 - add support for DPP release 3 6 - allow Configurator parameters to be provided during config exchange 7 * HE/IEEE 802.11ax/Wi-Fi 6 8 - various fixes 9 * EHT/IEEE 802.11be/Wi-F [all...] |