/freebsd/share/man/man4/ |
H A D | ng_vlan_rotate.4 | 1 .\"- 2 .\" SPDX-License-Identifier: BSD-2-Clause 4 .\" Copyright (c) 2019-2021 IKS Service GmbH 119 .Bl -tag -width incomplete 143 .Bl -tag -width foo 145 Read the current configuration. 147 Set the current configuration. 149 Read the current statistics. 153 Read the current statistics and zeroize it in one step. 156 The first example demonstrates how to rotate double or triple tagged [all …]
|
/freebsd/usr.sbin/newsyslog/ |
H A D | newsyslog.conf.5 | 67 .Bl -tag -width indent 116 This does not consider the current log file. 141 .So Li \&@ Sc Ns No -sign 161 seconds component in the current implementation, since the only comparison is 166 The lead-in character for a restricted 188 current date; optional time fields default to midnight; hence if today 192 .Bl -item -compact -offset indent 217 The lead-in character for day, week, and month specification is a 229 .Bl -tag -width indent -offset indent -compact 244 .Bl -tag -width indent -offset indent -compact [all …]
|
H A D | ptimes.c | 1 /*- 2 * ------+---------+---------+---------+---------+---------+---------+---------* 8 * Copyright (c) 2003 - Garance Alistair Drosehn <gad@FreeBSD.org>. 36 * ------+---------+---------+---------+---------+---------+---------+---------* 37 * This is intended to be a set of general-purpose routines to process times. 40 * ------+---------+---------+---------+---------+---------+---------+---------* 56 * Bit-values which indicate which components of time were specified 58 * calculate what time-in-the-future will match that string. 67 #define TNYET_ADJ4DST -10 /* DST has "not yet" been adjusted */ 98 * We are usually called with a 'tm-year' value in days_pmonth() [all …]
|
H A D | newsyslog.c | 1 /*- 2 * ------+---------+---------+-------- + --------+---------+---------+---------* 4 * Copyright (c) 2003, 2004 - Garance Alistair Drosehn <gad@FreeBSD.org>. 28 * ------+---------+---------+-------- + --------+---------+---------+---------* 52 * newsyslog - roll over selected logs at the appropriate time, keeping the a 104 * Bit-values for the 'flags' parsed from a config-file entry. 112 #define CE_SIGNALGROUP 0x0080 /* Signal a process-group instead of a single */ 119 #define CE_NOEMPTY 0x2000 /* Do not rotate the file when its size */ 143 static const char *gzip_flags[] = { "-f" }; 146 static const char *zstd_flags[] = { "-q", "-T0", "--adapt", "--long", "--rm" }; [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/iio/temperature/ |
H A D | adi,ltc2983.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices LTC2983, LTC2986, LTM2985 Multi-sensor Temperature system 10 - Nuno Sá <nuno.sa@analog.com> 13 Analog Devices LTC2983, LTC2984, LTC2986, LTM2985 Multi-Sensor Digital 16 https://www.analog.com/media/en/technical-documentation/data-sheets/2983fc.pdf 17 https://www.analog.com/media/en/technical-documentation/data-sheets/2984fb.pdf 18 https://www.analog.com/media/en/technical-documentation/data-sheets/29861fa.pdf 19 https://www.analog.com/media/en/technical-documentation/data-sheets/ltm2985.pdf [all …]
|
/freebsd/contrib/bearssl/T0/ |
H A D | CPU.cs | 49 * stack uses frames; 'rsp' points to the current top frame. 58 stackPtr = -1; in CPU() 76 * Exit the current function. 86 * Get the current stack depth (number of elements). 99 return stackBuf[stackPtr --]; in Pop() 122 return stackBuf[stackPtr - depth]; in Peek() 126 * Rotate the stack at depth 'depth': the value at that depth 131 TValue v = stackBuf[stackPtr - depth]; in Rot() 132 Array.Copy(stackBuf, stackPtr - (depth - 1), in Rot() 133 stackBuf, stackPtr - depth, depth); in Rot() [all …]
|
/freebsd/sys/netgraph/ |
H A D | ng_vlan_rotate.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2019-2021 IKS Service GmbH 174 vrp->conf.max = NG_VLANROTATE_MAX_VLANS; in ng_vlanrotate_constructor() 176 vrp->stats.drops = counter_u64_alloc(M_WAITOK); in ng_vlanrotate_constructor() 177 vrp->stats.excessive = counter_u64_alloc(M_WAITOK); in ng_vlanrotate_constructor() 178 vrp->stats.incomplete = counter_u64_alloc(M_WAITOK); in ng_vlanrotate_constructor() 180 vrp->stats.histogram[i] = counter_u64_alloc(M_WAITOK); in ng_vlanrotate_constructor() 196 dst = &vrp->ordered_hook; in ng_vlanrotate_newhook() 198 dst = &vrp->original_hook; in ng_vlanrotate_newhook() [all …]
|
/freebsd/crypto/openssh/regress/ |
H A D | hostkey-rotate.sh | 1 # $OpenBSD: hostkey-rotate.sh,v 1.10 2022/01/05 08:25:05 djm Exp $ 4 tid="hostkey rotate" 8 # fail to find ssh host keys in the hostkey-rotate test. If we have those 12 case `grep --version 2>&1 | awk '/GNU grep/{print $4}'` in 25 rm -f $OBJ/hkr.* $OBJ/ssh_proxy.orig $OBJ/ssh_proxy.orig 27 grep -vi 'hostkey' $OBJ/sshd_proxy > $OBJ/sshd_proxy.orig 29 grep -vi 'globalknownhostsfile' $OBJ/ssh_proxy.orig > $OBJ/ssh_proxy 36 primary="ssh-ed25519" 43 ${SSHKEYGEN} -qt $k -f $OBJ/hkr.$k -N '' || fatal "ssh-keygen $k" 48 ssh-rsa) [all …]
|
/freebsd/contrib/bmake/mk/ |
H A D | newlog.sh | 4 # newlog - rotate log files 11 # The "logs" are kept compressed except for the current and 16 # -C "compress" 20 # -E "ext" 24 # -G "gens" 28 # -N Don't actually do anything, just show us. 30 # -R Rotate rather than save logs by default. 33 # - [all...] |
/freebsd/sys/contrib/device-tree/Bindings/ |
H A D | xilinx.txt | 10 Each IP-core has a set of parameters which the FPGA designer can use to 20 properties of the device node. In general, device nodes for IP-cores 23 (name): (generic-name)@(base-address) { 24 compatible = "xlnx,(ip-core-name)-(HW_VER)" 27 interrupt-parent = <&interrupt-controller-phandle>; 29 xlnx,(parameter1) = "(string-value)"; 30 xlnx,(parameter2) = <(int-value)>; 33 (generic-name): an open firmware-style name that describes the 36 (ip-core-name): the name of the ip block (given after the BEGIN 38 and all underscores '_' converted to dashes '-'. [all …]
|
/freebsd/contrib/tcsh/ |
H A D | ed.inputl.c | 4 /*- 39 /* ed.inputl -- routines to get a single line from the input. */ 44 static Char mismatch[] = { '\\', '-', '%', '\0' }; 45 /* don't Strchr() for '\0', obey current history character settings */ 56 static int rotate = 0; variable 70 curchoice = -1; in Repair() 71 return (int) (LastChar - InputBuf); in Repair() 103 MacroLvl = -1; /* editor was interrupted during input */ in Inputl() 105 if (imode && imode->vec != NULL) { in Inputl() 106 if (!Strcmp(*(imode->vec), STRinsert)) in Inputl() [all …]
|
/freebsd/sys/security/audit/ |
H A D | audit_worker.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 1999-2008 Apple Inc. 5 * Copyright (c) 2006-2008, 2016, 2018 Robert N. M. Watson 10 * contract FA8650-15-C-7558 ("CADETS"), as part of the DARPA Transparent 90 * when the kernel has delivered a trigger to auditd to rotate the trail, and 153 mp = vp->v_mount; in audit_record_write() 163 mnt_stat = &mp->mnt_stat; in audit_record_write() 175 * We handle four different space-related limits: in audit_record_write() 177 * - A fixed (hard) limit on the minimum free blocks we require on in audit_record_write() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | Hashing.h | 1 //===-- llvm/ADT/Hashing.h - Utilities for hashing --------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // arbitrary data and building hash functions for user-defined types. This 16 // -- 'hash_code' class is an opaque type representing the hash code for some 26 // -- 'hash_value' is a function designed to be overloaded for each 27 // user-defined type which wishes to be used within a hashing context. It 28 // should be overloaded within the user-defined type's namespace and found 31 // -- 'hash_combine' and 'hash_combine_range' are functions designed to aid 40 // under 32-bytes. [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVPrepareFunctions.cpp | 1 //===-- SPIRVPrepareFunctions.cpp - modify function signatures --*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 // restore correct SPIR-V types of function arguments and return values. 14 // generated functions (as the Khronos LLVM/SPIR-V Translator does). 16 // NOTE: this pass is a module-level one due to the necessity to modify 19 //===----------------------------------------------------------------------===// 68 INITIALIZE_PASS(SPIRVPrepareFunctions, "prepare-functions", 72 Function *IntrinsicFunc = II->getCalledFunction(); in lowerLLVMIntrinsicName() 74 std::string FuncName = IntrinsicFunc->getName().str(); in lowerLLVMIntrinsicName() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
H A D | SourceLocationEncoding.h | 1 //===--- SourceLocationEncoding.h - Small serialized locations --*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 // module file may not affect the contents of the current module file. Then the 18 // |-----------------------|-----------------------| 22 // here is necessary since we wish 0 stands for the current module file. 25 // * C: The macro bit. We rotate it to the lowest bit so that we can save some 31 //===----------------------------------------------------------------------===// 46 // Macro locations have the top bit set, we rotate by one so it is the low bit. 52 return (Raw << 1) | (Raw >> (UIntBits - 1)); in encodeRaw() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelDAGToDAG.cpp | 1 //===-- SystemZISelDAGToDAG.cpp - A dag to dag inst selector for SystemZ --===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 23 #define DEBUG_TYPE "systemz-isel" 24 #define PASS_NAME "SystemZ DAG->DAG Pattern Instruction Selection" 47 // flags -- single/pair, 128-bit, etc. -- but it hardly seems worth it. 79 Base.getNode()->dump(DAG); in dump() 86 Index.getNode()->dump(DAG); in dump() 103 return (uint64_t(1) << Count) - 1; in allOnes() [all …]
|
/freebsd/crypto/openssl/crypto/sha/asm/ |
H A D | sha1-586.pl | 2 # Copyright 1998-2020 The OpenSSL Project Authors. All Rights Reserved. 18 # functions were re-implemented to address P4 performance issue [see 24 # It was noted that Intel IA-32 C compiler generates code which 25 # performs ~30% *faster* on P4 CPU than original *hand-coded* 27 # prove that humans are still better than machines:-), the 33 # Pentium -16% +48% 37 # As you can see Pentium came out as looser:-( Yet I reckoned that 39 # re-tuned code to 0.9.7 and later. 40 # ---------------------------------------------------------------- 48 # degradation on other CPUs:-). Also, the code was revised to maximize [all …]
|
/freebsd/sys/net/ |
H A D | bpfdesc.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 57 * sbuf (store) - Receive interrupt puts packets here. 58 * hbuf (hold) - When sbuf is full, put buffer here and 60 * fbuf (free) - When read is done, put buffer here. 66 int bd_hbuf_in_use; /* don't rotate buffers */ 67 int bd_slen; /* current length of store buffer */ 68 int bd_hlen; /* current length of hold buffer */ 83 u_char bd_writer; /* non-zero if d is writer-only */ 88 int bd_async; /* non-zero if packet reception should generate signal */ [all …]
|
/freebsd/crypto/openssl/crypto/des/asm/ |
H A D | des_enc.m4 | 1 ! Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved. 8 ! To expand the m4 macros: m4 -B 8192 des_enc.m4 > des_enc.S 15 ! Assemble through gcc: gcc -c -mcpu=ultrasparc -o des_enc.o des_enc.S 17 ! Assemble through cc: cc -c -xarch=v8plusa -o des_enc.o des_enc.S 21 ! 32-bit build: 22 ! 23% faster than cc-5.2 -xarch=v8plus -xO5 23 ! 115% faster than gcc-3.2.1 -m32 -mcpu=ultrasparc -O5 24 ! 64-bit build: 25 ! 50% faster than cc-5.2 -xarch=v9 -xO5 26 ! 100% faster than gcc-3.2.1 -m64 -mcpu=ultrasparc -O5 [all …]
|
/freebsd/contrib/diff/src/ |
H A D | io.c | 21 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 25 #include <file-type.h> 29 /* Rotate an unsigned value to the left. */ 30 #define ROL(v, n) ((v) << (n) | (v) >> (sizeof (v) * CHAR_BIT - (n))) 51 /* Hash-table: array of buckets, each being a chain of equivalence classes. 52 buckets[-1] is reserved for incomplete lines. */ 55 /* Number of buckets in the hash table array, not counting buckets[-1]. */ 59 The bucket-chains go through the elements in this array. 72 file_block_read (struct file_data *current, size_t size) in file_block_read() argument 74 if (size && ! current->eof) in file_block_read() [all …]
|
/freebsd/crypto/openssl/crypto/rc4/asm/ |
H A D | rc4-x86_64.pl | 2 # Copyright 2005-2020 The OpenSSL Project Authors. All Rights Reserved. 19 # 2.22x RC4 tune-up:-) It should be noted though that my hand [as in 20 # "hand-coded assembler"] doesn't stand for the whole improvement 34 # results in even higher performance gain of 3.3x:-) At least on 35 # Opteron... For reference, 1x in this case is RC4_CHAR C-code 51 # P4 EM64T core appears to be "allergic" to 64-bit inc/dec. Replacing 58 # performance by >30% [unlike P4 32-bit case that is]. But this is 61 # as my IA-64 implementation. On Opteron this resulted in modest 5% 64 # If executed on Xeon, current RC4_CHAR code-path is 2.7x faster than 65 # RC4_INT code-path. While if executed on Opteron, it's only 25% [all …]
|
/freebsd/contrib/bearssl/src/ssl/ |
H A D | ssl_rec_cbc.c | 35 cc->vtable = &br_sslrec_in_cbc_vtable; in in_cbc_init() 36 cc->seq = 0; in in_cbc_init() 37 bc_impl->init(&cc->bc.vtable, bc_key, bc_key_len); in in_cbc_init() 38 br_hmac_key_init(&cc->mac, dig_impl, mac_key, mac_key_len); in in_cbc_init() 39 cc->mac_len = mac_out_len; in in_cbc_init() 41 memset(cc->iv, 0, sizeof cc->iv); in in_cbc_init() 42 cc->explicit_IV = 1; in in_cbc_init() 44 memcpy(cc->iv, iv, bc_impl->block_size); in in_cbc_init() 45 cc->explicit_IV = 0; in in_cbc_init() 66 blen = cc->bc.vtable->block_size; in cbc_check_length() [all …]
|
/freebsd/contrib/pf/pflogd/ |
H A D | pflogd.8 | 37 .Bk -words 66 closes and then re-opens the log file when it receives 70 to rotate logfiles automatically. 74 to flush the current logfile buffers to the disk, thus making the most 107 .Bl -tag -width Ds 149 .Bl -tag -width /var/run/pflogd.pid -compact 158 (useful with a log-all rule to dump complete sessions): 159 .Bd -literal -offset indent 160 # pflogd -s 1600 -f suspicious.log port 80 and host evilhost 166 .Bd -literal -offset indent [all …]
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | krb5_openlog.3 | 1 .\" Copyright (c) 1997, 1999, 2001 - 2002 Kungliga Tekniska Högskolan 48 Kerberos 5 Library (libkrb5, -lkrb5) 131 non-standard logging you can use the 138 being a string specifying the current time, and 149 max of infinity, pass -1. 161 .Bl -tag -width "xxx" -offset indent 169 makes it possible to rotate logs). The truncating form is mainly for 199 .Li min-max/ . 210 .Bd -literal -offset indent 213 kdc = 1-/SYSLOG:INFO:USER [all …]
|
/freebsd/usr.sbin/etcupdate/ |
H A D | etcupdate.sh | 3 # SPDX-License-Identifier: BSD-2-Clause 5 # Copyright (c) 2010-2013 Hudson River Trading LLC 39 # modifications is to perform a three-way merge between the original 44 # To that end, etcupdate uses a strategy where the current unmodified 45 # tree is kept in WORKDIR/current and the previous unmodified tree is 59 # - automatable conflict resolution 64 usage: etcupdate [-npBFN] [-d workdir] [-r | -s source | -t tarball] 65 [-A patterns] [-D destdir] [-I patterns] [-L logfile] 66 [-M options] [-m make] 67 etcupdate build [-BN] [-d workdir] [-s source] [-L logfile] [-M options] [all …]
|