| /freebsd/crypto/openssh/ |
| H A D | srclimit.c | 22 #include <openbsd-compat/sys-tree.h> 58 const char *reason; member 76 if (addr_netmask(addr->af, bits, &xmask) != 0 || in srclimit_mask_addr() 79 return -1; in srclimit_mask_addr() 99 srclimit_init(int max, int persource, int ipv4len, int ipv6len, in srclimit_init() argument 104 max_children = max; in srclimit_init() 119 debug("%s: max connections %d, per source %d, masks %d,%d", __func__, in srclimit_init() 120 max, persource, ipv4len, ipv6len); in srclimit_init() 121 if (max <= 0) in srclimit_init() 122 fatal("%s: invalid number of sockets: %d", __func__, max); in srclimit_init() [all …]
|
| /freebsd/contrib/pam_modules/pam_passwdqc/ |
| H A D | passwdqc_check.c | 2 * Copyright (c) 2000-2002 by Solar Designer. See LICENSE. 50 x = ((fixed)(charset - 1) << FIXED_BITS) / charset; in expected_different() 52 while (--length > 0) y = (y * x) >> FIXED_BITS; in expected_different() 53 z = (fixed)charset * (((fixed)1 << FIXED_BITS) - y); in expected_different() 94 if (uppers && isascii(c) && isupper(c)) uppers--; in is_simple() 95 c = (unsigned char)newpass[length - 1]; in is_simple() 96 if (digits && isascii(c) && isdigit(c)) digits--; in is_simple() 99 * that there're no non-ASCII characters for digits. */ in is_simple() 107 for (; classes > 0; classes--) in is_simple() 110 if (length >= params->min[0] && in is_simple() [all …]
|
| H A D | pam_passwdqc.c | 2 * Copyright (c) 2000-2002 by Solar Designer. See LICENSE. 66 40, /* max */ 81 "Re-type new password: " 150 return conv->conv(1, (lo_const struct pam_message **)&pmsg, resp, in converse() 151 conv->appdata_ptr); in converse() 182 if ((int)strlen(newpass) > params->qc.max) { in check_max() 183 if (params->qc.max != 8) { in check_max() 185 return -1; in check_max() 214 if (i && (int)v > params->qc.min[i - 1]) break; in parse() 215 params->qc.min[i] = v; in parse() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCMachineScheduler.cpp | 1 //===- PPCMachineScheduler.cpp - MI Scheduler for PowerPC -------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 15 DisableAddiLoadHeuristic("disable-ppc-sched-addi-load", 19 EnableAddiHeuristic("ppc-postra-bias-addi", 25 return Cand.SU->getInstr()->getOpcode() == PPC::ADDI || in isADDIInstr() 26 Cand.SU->getInstr()->getOpcode() == PPC::ADDI8; in isADDIInstr() 37 if (isADDIInstr(FirstCand) && SecondCand.SU->getInstr()->mayLoad()) { in biasAddiLoadCandidate() 38 TryCand.Reason = Stall; in biasAddiLoadCandidate() 41 if (FirstCand.SU->getInstr()->mayLoad() && isADDIInstr(SecondCand)) { in biasAddiLoadCandidate() [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
| H A D | msm8916-longcheer-l8150.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 6 #include "msm8916-modem-qdsp6.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/leds/common.h> 16 chassis-type = "handset"; 25 stdout-path = "serial0"; [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineScheduler.cpp | 1 //===- MachineScheduler.cpp - Machine Instruction Scheduler ---------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 51 #include "llvm/Config/llvm-config.h" 74 #define DEBUG_TYPE "machine-scheduler" 80 cl::opt<bool> ForceTopDown("misched-topdown", cl::Hidden, 81 cl::desc("Force top-down list scheduling")); 82 cl::opt<bool> ForceBottomUp("misched-bottomup", cl::Hidden, 83 cl::desc("Force bottom-up list scheduling")); [all …]
|
| /freebsd/contrib/ofed/libibverbs/man/ |
| H A D | ibv_create_qp.3 | 1 .\" -*- nroff -*- 2 .\" Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md 4 .TH IBV_CREATE_QP 3 2006-10-31 libibverbs "Libibverbs Programmer's Manual" 6 ibv_create_qp, ibv_destroy_qp \- create or destroy a queue pair (QP) 40 uint32_t max_send_wr; /* Requested max number of outstanding WRs in the SQ */ 41 uint32_t max_recv_wr; /* Requested max number of outstanding WRs in the RQ */ 42 uint32_t max_send_sge; /* Requested max number of scatter/gather (s/g) elements in… 43 uint32_t max_recv_sge; /* Requested max number of s/g elements in a WR in the SQ */ 44 uint32_t max_inline_data;/* Requested max number of data (bytes) that can be posted … 52 .I qp_init_attr\fB\fR->cap [all …]
|
| H A D | ibv_create_qp_ex.3 | 1 .\" -*- nroff -*- 2 .\" Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md 4 .TH IBV_CREATE_QP_EX 3 2013-06-26 libibverbs "Libibverbs Programmer's Manual" 6 ibv_create_qp_ex, ibv_destroy_qp \- create or destroy a queue pair (QP) 47 uint32_t max_send_wr; /* Requested max number of outstanding WRs in the SQ */ 48 uint32_t max_recv_wr; /* Requested max number of outstanding WRs in the RQ */ 49 uint32_t max_send_sge; /* Requested max number of scatter/gather (s/g) elements in… 50 uint32_t max_recv_sge; /* Requested max number of s/g elements in a WR in the SQ */ 51 uint32_t max_inline_data;/* Requested max number of data (bytes) that can be posted … 76 .I qp_init_attr_ex\fB\fR->cap [all …]
|
| H A D | ibv_create_srq.3 | 1 .\" -*- nroff -*- 2 .\" Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md 4 .TH IBV_CREATE_SRQ 3 2006-10-31 libibverbs "Libibverbs Programmer's Manual" 6 ibv_create_srq, ibv_destroy_srq \- create or destroy a shared receive queue (SRQ) 35 uint32_t max_wr; /* Requested max number of outstanding work requests (WRs) … 36 uint32_t max_sge; /* Requested max number of scatter elements per WR */ 58 returns 0 on success, or the value of errno on failure (which indicates the failure reason).
|
| H A D | ibv_create_wq.3 | 1 .\" -*- nroff -*- 2 .\" Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md 4 .TH IBV_CREATE_WQ 3 2016-07-27 libibverbs "Libibverbs Programmer's Manual" 6 ibv_create_wq, ibv_destroy_wq \- create or destroy a Work Queue (WQ). 29 uint32_t max_wr; /* Requested max number of outstanding WRs in the WQ */ 30 uint32_t max_sge; /* Requested max number of scatter/gather (s/g) elements … 53 .I wq_init_attr\fB\fR->max_wr 55 .I wq_init_attr\fB\fR->max_sge 56 fields with the actual \s-1WQ\s0 values of the WQ that was created; 67 returns 0 on success, or the value of errno on failure (which indicates the failure reason).
|
| H A D | ibv_create_srq_ex.3 | 1 .\" -*- nroff -*- 2 .\" Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md 4 .TH IBV_CREATE_SRQ_EX 3 2013-06-26 libibverbs "Libibverbs Programmer's Manual" 6 ibv_create_srq_ex, ibv_destroy_srq \- create or destroy a shared receive queue (SRQ) 39 uint32_t max_wr; /* Requested max number of outstanding work requests (WRs) … 40 uint32_t max_sge; /* Requested max number of scatter elements per WR */ 62 returns 0 on success, or the value of errno on failure (which indicates the failure reason).
|
| H A D | ibv_query_device_ex.3 | 1 .\" -*- nroff -*- 2 .\" Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md 4 .TH IBV_QUERY_DEVICE_EX 3 2014-12-17 libibverbs "Libibverbs Programmer's Manual" 6 ibv_query_device_ex \- query an RDMA device's attributes 27 struct ibv_odp_caps odp_caps; /* On-Demand Paging capabilities */ 33 uint32_t max_wq_type_rq; /* Max Work Queue from type RQ */ 53 IBV_ODP_SUPPORT_SEND = 1 << 0, /* Send operations support on-demand paging */ 54 IBV_ODP_SUPPORT_RECV = 1 << 1, /* Receive operations support on-demand paging */ 55 IBV_ODP_SUPPORT_WRITE = 1 << 2, /* RDMA-Write operations support on-demand paging */ 56 IBV_ODP_SUPPORT_READ = 1 << 3, /* RDMA-Read operations support on-demand paging */ [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/reserved-memory/ |
| H A D | ramoops.txt | 5 recovered after a reboot. This is a child-node of "/reserved-memory", and 10 as kernel log messages, or for optional ECC error-correction data. The total 17 At least one of "record-size", "console-size", "ftrace-size", or "pmsg-size" 18 must be set non-zero, but are otherwise optional as listed below. 23 - compatible: must be "ramoops" 25 - reg: region of memory that is preserved between reboots 30 - ecc-size: enables ECC support and specifies ECC buffer size in bytes 33 - record-size: maximum size in bytes of each kmsg dump. 36 - console-size: size in bytes of log buffer reserved for kernel messages 39 - ftrace-size: size in bytes of log buffer reserved for function tracing and [all …]
|
| H A D | ramoops.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/reserved-memory/ramoops.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 recovered after a reboot. This is a child-node of "/reserved-memory", and 16 as kernel log messages, or for optional ECC error-correction data. The total 23 At least one of "record-size", "console-size", "ftrace-size", or "pmsg-size" 24 must be set non-zero, but are otherwise optional as listed below. 27 - Kees Cook <keescook@chromium.org> 30 - $ref: reserved-memory.yaml [all …]
|
| /freebsd/sys/netpfil/pf/ |
| H A D | pf_norm.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright 2011-2018 Alexander Bluhm <bluhm@openbsd.org> 170 key->fn_src.v4 = ip->ip_src; in pf_ip2key() 171 key->fn_dst.v4 = ip->ip_dst; in pf_ip2key() 172 key->fn_af = AF_INET; in pf_ip2key() 173 key->fn_proto = ip->ip_p; in pf_ip2key() 225 if ((diff = a->fn_proto - b->fn_proto) != 0) in pf_frnode_compare() 227 if ((diff = a->fn_af - b->fn_af) != 0) in pf_frnode_compare() 229 if ((diff = pf_addr_cmp(&a->fn_src, &b->fn_src, a->fn_af)) != 0) in pf_frnode_compare() [all …]
|
| /freebsd/secure/lib/libcrypto/man/man7/ |
| H A D | provider-base.7 | 1 .\" -*- mode: troff; coding: utf-8 -*- 57 .IX Title "PROVIDER-BASE 7ossl" 58 .TH PROVIDER-BASE 7ossl 2025-09-30 3.5.4 OpenSSL 64 provider\-base 65 \&\- The basic OpenSSL library <\-> provider functions 91 \& uint32_t reason, const char *fmt, va_list args); 206 macros in \fBopenssl\-core_dispatch.h\fR\|(7), as follows: 299 This function is useful only for built-in providers such as the default 301 built-in as the OSSL_LIB_CTX of the library loading the provider might be 324 sets the \fIreason\fR for the error, along with any addition data. [all …]
|
| /freebsd/contrib/unbound/validator/ |
| H A D | val_nsec3.c | 2 * validator/val_nsec3.c - validator NSEC3 denial of existence functions. 63 * Max number of NSEC3 calculations at once, suspend query for later. 72 #define MAX_NSEC3_ERRORS -1 75 * This function we get from ldns-compat or from base system 81 * This function we get from ldns-compat or from base system 89 * Contains the ce and the next-closer (nc) proof. 128 rrset->entry.data; in rrset_get_count() 130 return d->count; in rrset_get_count() 138 rrset->entry.data; in nsec3_unknown_flags() 139 log_assert(d && r < (int)d->count); in nsec3_unknown_flags() [all …]
|
| H A D | val_nsec3.h | 2 * validator/val_nsec3.h - validator NSEC3 denial of existence functions. 46 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 48 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 50 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 52 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 54 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 59 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 61 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 63 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 84 * +-+-+-+-+-+-+-+-+ [all …]
|
| /freebsd/crypto/openssl/test/recipes/30-test_evp_data/ |
| H A D | evppkey_rsa_common.txt | 2 # Copyright 2001-2024 The OpenSSL Project Authors. All Rights Reserved. 19 PrivateKey = RSA-2048 20 -----BEGIN PRIVATE KEY----- 47 -----END PRIVATE KEY----- 51 PublicKey = RSA-2048-PUBLIC 52 -----BEGIN PUBLIC KEY----- 60 -----END PUBLIC KEY----- 62 PrivPubKeyPair = RSA-2048:RSA-2048-PUBLIC 66 # generated using (openssl genpkey -algorithm RSA -pkeyopt bits:1024) 67 PrivateKey = RSA-1024 [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | SmallVector.cpp | 1 //===- llvm/ADT/SmallVector.cpp - 'Normally small' vectors -------- 63 std::string Reason = "SmallVector unable to grow. Requested capacity (" + report_size_overflow() local 78 std::string Reason = report_at_maximum_capacity() local [all...] |
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | GCNSchedStrategy.cpp | 1 //===-- GCNSchedStrategy.cpp - GCN Scheduler Strategy ---------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 18 /// Generally, the reason for having multiple scheduling stages is to account 19 /// for the kernel-wide effect of register usage on occupancy. Usually, only a 24 //===----------------------------------------------------------------------===// 31 #define DEBUG_TYPE "machine-scheduler" 36 "amdgpu-disable-unclustered-high-rp-reschedule", cl::Hidden, 42 "amdgpu-disable-clustered-low-occupancy-reschedule", cl::Hidden, 48 "amdgpu-schedule-metric-bias", cl::Hidden, [all …]
|
| /freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/ |
| H A D | BEGEMOT-WIRELESS-MIB.txt | 1 -- 2 -- Copyright (C) 2010 The FreeBSD Foundation 3 -- 4 -- This documentation was written by Shteryana Sotirova Shopova under 5 -- sponsorship from the FreeBSD Foundation. 6 -- 7 -- Redistribution and use in source and binary forms, with or without 8 -- modification, are permitted provided that the following conditions 9 -- are met: 10 -- 1. Redistributions of source code must retain the above copyright [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | InlineCost.h | 1 //===- InlineCost.h - Cost analysis for inliner -----------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 37 /// Use when optsize (-Os) is specified. 40 /// Use when minsize (-Oz) is specified. 43 /// Use when -O3 is specified. 60 "function-inline-cost-multiplier"; 62 const char MaxInlineStackSizeAttributeName[] = "inline-max-stacksize"; 65 // The cost-benefit pair computed by cost-benefit analysis. [all …]
|
| /freebsd/sys/contrib/openzfs/include/sys/ |
| H A D | mmp.h | 1 // SPDX-License-Identifier: CDDL-1.0 37 #define MMP_INTERVAL_OK(interval) MAX(interval, MMP_MIN_INTERVAL) 38 #define MMP_FAIL_INTVS_OK(fails) (fails == 0 ? 0 : MAX(fails, \ 52 int mmp_skip_error; /* reason for last skipped write */ 55 uint32_t mmp_seq; /* intra-second update counter */
|
| /freebsd/contrib/libxo/doc/ |
| H A D | xolint-errors.rst | 17 properly converted to a libxo-style format string. 35 The hn-* modifiers (hn-decimal, hn-space, hn-1000) 47 xo_emit("{T:Min} T{:Max}"); 53 xo_emit("{T:Min} {T:Max}"); 71 xo_emit("{:name/%6.6s %04d/%s-%d}", name, number); 83 xo_emit("{LT:Max}"); 89 xo_emit("{T:Max}"); 98 xo_emit("{T:%6.6s}\n", "Max"); 104 xo_emit("{T:/%6.6s}\n", "Max"); 117 xo_emit("{T:Max//%s}", "Max"); [all …]
|