/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/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> 169 key->frc_src.v4 = ip->ip_src; in pf_ip2key() 170 key->frc_dst.v4 = ip->ip_dst; in pf_ip2key() 171 key->frc_af = AF_INET; in pf_ip2key() 172 key->frc_proto = ip->ip_p; in pf_ip2key() 173 key->frc_id = ip->ip_id; in pf_ip2key() 215 if ((diff = a->fr_id - b->fr_id) != 0) in pf_frag_compare() 217 if ((diff = a->fr_proto - b->fr_proto) != 0) in pf_frag_compare() [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/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/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/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/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/sys/contrib/openzfs/include/sys/ |
H A D | mmp.h | 36 #define MMP_INTERVAL_OK(interval) MAX(interval, MMP_MIN_INTERVAL) 37 #define MMP_FAIL_INTVS_OK(fails) (fails == 0 ? 0 : MAX(fails, \ 51 int mmp_skip_error; /* reason for last skipped write */ 54 uint32_t mmp_seq; /* intra-second update counter */
|
/freebsd/crypto/openssl/ssl/statem/ |
H A D | extensions_clnt.c | 2 * Copyright 2016-2024 The OpenSSL Project Authors. All Rights Reserved. 20 if (!s->renegotiate) in tls_construct_ctos_renegotiate() 25 || !WPACKET_sub_memcpy_u8(pkt, s->s3.previous_client_finished, in tls_construct_ctos_renegotiate() 26 s->s3.previous_client_finished_len) in tls_construct_ctos_renegotiate() 39 if (s->ext.hostname == NULL) in tls_construct_ctos_server_name() 44 /* Sub-packet for server_name extension */ in tls_construct_ctos_server_name() 46 /* Sub-packet for servername list (always 1 hostname)*/ in tls_construct_ctos_server_name() 49 || !WPACKET_sub_memcpy_u16(pkt, s->ext.hostname, in tls_construct_ctos_server_name() 50 strlen(s->ext.hostname)) in tls_construct_ctos_server_name() 60 /* Push a Max Fragment Len extension into ClientHello */ [all …]
|
/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 …]
|
/freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
H A D | debug.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2018-2024 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 9 #include "dbg-tl [all...] |
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | mesh_mpm.c | 2 * WPA Supplicant - Basic mesh peer management 3 * Copyright (c) 2013-2014, cozybit, Inc. All rights reserved. 31 const u8 *reason; /* Reason Code (conditional, 2 octets) */ member 79 mpm_ie->chosen_pmk = ie + len - SAE_PMKID_LEN; in mesh_mpm_parse_peer_mgmt() 80 len -= SAE_PMKID_LEN; in mesh_mpm_parse_peer_mgmt() 87 return -1; in mesh_mpm_parse_peer_mgmt() 92 return -1; in mesh_mpm_parse_peer_mgmt() 93 mpm_ie->proto_id = ie; in mesh_mpm_parse_peer_mgmt() 94 mpm_ie->llid = ie + 2; in mesh_mpm_parse_peer_mgmt() 96 len -= 4; in mesh_mpm_parse_peer_mgmt() [all …]
|
/freebsd/sys/net80211/ |
H A D | ieee80211_ioctl.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 63 uint32_t ns_rx_drop; /* rx discard other reason */ 78 /* MIB-related state */ 84 uint32_t ns_tx_deauth_code; /* last deauth reason */ 86 uint32_t ns_tx_disassoc_code; /* last disassociation reason */ 88 /* Hardware A-MSDU decode */ 89 uint32_t ns_rx_amsdu_more; /* RX decap A-MSDU, more coming from A-MSDU */ 90 uint32_t ns_rx_amsdu_more_end; /* RX decap A-MSDU (or any other frame), no more coming */ [all …]
|