Home
last modified time | relevance | path

Searched +full:lock +full:- +full:step (Results 1 – 25 of 417) sorted by relevance

12345678910>>...17

/freebsd/crypto/openssl/providers/implementations/rands/
H A Ddrbg_hash.c2 * Copyright 2011-2025 The OpenSSL Project Authors. All Rights Reserved.
43 /* 888 bits from SP800-90Ar1 10.1 table 2 */
46 /* 440 bits from SP800-90Ar1 10.1 table 2 */
64 * SP800-90Ar1 10.3.1 Derivation function using a Hash Function (Hash_df).
66 * inbyte - An optional leading byte (ignore if equal to INBYTE_IGNORE)
67 * in - input string 1 (A Non NULL value).
68 * in2 - optional input string (Can be NULL).
69 * in3 - optional input string (Can be NULL).
78 PROV_DRBG_HASH *hash = (PROV_DRBG_HASH *)drbg->data; in hash_df()
79 EVP_MD_CTX *ctx = hash->ctx; in hash_df()
[all …]
H A Ddrbg_hmac.c2 * Copyright 2011-2025 The OpenSSL Project Authors. All Rights Reserved.
41 * Called twice by SP800-90Ar1 10.1.2.2 HMAC_DRBG_Update_Process.
49 * hmac->K = HMAC(hmac->K, hmac->V || inbyte || [in1] || [in2] || [in3])
50 * hmac->V = HMAC(hmac->K, hmac->V)
59 EVP_MAC_CTX *ctx = hmac->ctx; in do_hmac()
61 if (!EVP_MAC_init(ctx, hmac->K, hmac->blocklen, NULL) in do_hmac()
63 || !EVP_MAC_update(ctx, hmac->V, hmac->blocklen) in do_hmac()
68 || !EVP_MAC_final(ctx, hmac->K, NULL, sizeof(hmac->K))) in do_hmac()
72 return EVP_MAC_init(ctx, hmac->K, hmac->blocklen, NULL) in do_hmac()
73 && EVP_MAC_update(ctx, hmac->V, hmac->blocklen) in do_hmac()
[all …]
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_addr.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0
5 * Copyright (c) 2002-2005, Network Appliance, Inc. All rights reserved.
6 * Copyright (c) 1999-2019, Mellanox Technologies, Inc. All rights reserved.
19 * - Redistributions of source code must retain the above
23 * - Redistributions in binary form must reproduce the above
74 static DEFINE_MUTEX(lock);
81 switch (addr->sa_family) { in rdma_addr_size()
114 atomic_set(&client->refcount, 1); in rdma_addr_register_client()
115 init_completion(&client->comp); in rdma_addr_register_client()
[all …]
/freebsd/contrib/ntp/html/
H A Ddiscipline.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
7 <!-- Changed by: stenn, 03-Jan-2020 -->
13 <!-- #BeginDate format:En2m -->3-Jan-2020 02:12<!-- #EndDate -->
18 <li class="inline"><a href="#pll">Phase-Lock Loop Operations</a></li>
24-lock feedback loop. It is an intricately crafted algorithm that automatically adapts for optimum…
29 …ed update <em>V<sub>s</sub></em>. The loop filter implements a type-2 proportional-integrator con…
34 … and a step offset change of 100 ms, the time response crosses zero in about 50 min and overshoots…
36step amplitudes and poll intervals has the same characteristic shape, but scaled differently in am…
43 …reference implementation first measures the oscillator frequency over a five-min interval. This g…
[all …]
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DFunctionCaller.cpp1 //===-- FunctionCaller.cpp ------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
52 assert(m_jit_process_wp.lock()); in FunctionCaller()
57 lldb::ProcessSP process_sp(m_jit_process_wp.lock()); in ~FunctionCaller()
59 lldb::ModuleSP jit_module_sp(m_jit_module_wp.lock()); in ~FunctionCaller()
61 process_sp->GetTarget().GetImages().Remove(jit_module_sp); in ~FunctionCaller()
74 lldb::ProcessSP jit_process_sp(m_jit_process_wp.lock()); in WriteFunctionWrapper()
82 if (process->GetState() != lldb::eStateStopped) { in WriteFunctionWrapper()
97 Status jit_error(m_parser->PrepareForExecution( in WriteFunctionWrapper()
[all …]
/freebsd/sys/dev/random/
H A Dfortuna.c1 /*-
3 * Copyright (c) 2013-2015 Mark R V Murray
31 * ISBN 978-0-470-47424-2 "Cryptography Engineering" by Ferguson, Schneier
41 #include <sys/lock.h>
62 #include <crypto/rijndael/rijndael-api-fst.h>
118 /* Reseed lock */
128 * 1. Concurrent full-rate devrandom readers can achieve similar throughput to
130 * non-concurrent design falls over at 2 readers).
137 * mutexes assume that a lock holder currently on CPU will release the lock
140 * (There is no reason rand_harvestq necessarily has to use the same lock as
[all …]
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DStopInfo.cpp1 //===-- StopInfo.cpp ------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
35 m_stop_id(thread.GetProcess()->GetStopID()), in StopInfo()
36 m_resume_id(thread.GetProcess()->GetResumeID()), m_value(value), in StopInfo()
41 ThreadSP thread_sp(m_thread_wp.lock()); in IsValid()
43 return thread_sp->GetProcess()->GetStopID() == m_stop_id; in IsValid()
48 ThreadSP thread_sp(m_thread_wp.lock()); in MakeStopInfoValid()
50 m_stop_id = thread_sp->GetProcess()->GetStopID(); in MakeStopInfoValid()
51 m_resume_id = thread_sp->GetProcess()->GetResumeID(); in MakeStopInfoValid()
[all …]
H A DThreadPlanStepRange.cpp1 //===-- ThreadPlanStepRange.cpp -------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
29 // ThreadPlanStepRange: Step through a stack range, either stepping over or
45 m_stack_id = thread.GetStackFrameAtIndex(0)->GetStackID(); in ThreadPlanStepRange()
48 m_parent_stack_id = parent_stack->GetStackID(); in ThreadPlanStepRange()
61 error->PutCString( in ValidatePlan()
69 Log *log = GetLog(LLDBLog::Step); in ShouldReportStop()
85 // the work to disassemble this range if I don't step into it. in AddRange()
95 s->Printf(" %" PRIu64 ": ", uint64_t(i)); in DumpRanges()
[all …]
H A DThreadList.cpp1 //===-- ThreadList.cpp ----------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
40 // process. Same process implies same mutex, which means it's enough to lock in operator =()
54 // Clear the thread list. Clear will take the mutex lock which will ensure in ~ThreadList()
112 if (m_threads[idx]->GetID() == tid) { in FindThreadByID()
130 if (m_threads[idx]->GetProtocolID() == tid) { in FindThreadByProtocolID()
148 if (m_threads[idx]->GetID() == tid) { in RemoveThreadByID()
168 if (m_threads[idx]->GetProtocolID() == tid) { in RemoveThreadByProtocolID()
200 if (m_threads[idx]->GetBackingThread() == real_thread) { in GetBackingThread()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/remoteproc/
H A Dxlnx,zynqmp-r5fss.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/remoteproc/xlnx,zynqmp-r5fss.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ben Levinsky <ben.levinsky@amd.com>
11 - Tanmay Shah <tanmay.shah@amd.com>
14 The Xilinx platforms include a pair of Cortex-R5F processors (RPU) for
15 real-time processing based on the Cortex-R5F processor core from ARM.
16 The Cortex-R5F processor implements the Arm v7-R architecture and includes a
17 floating-point unit that implements the Arm VFPv3 instruction set.
[all …]
/freebsd/sbin/ipf/libipf/
H A Dinterror.c63 { 35, "copyout failed for resolving function name -> addr" },
64 { 36, "copyout failed for resolving function addr -> name" },
67 { 39, "group map hash-table in/out do not match rule" },
139 { 111, "error copying in new lock state for ipfilter" },
150 { 122, "need write permissions to set ipf lock status" },
168 { 140, "dup-to interface name index incorrect" },
169 { 141, "reply-to interface name index incorrect" },
185 /* -------------------------------------------------------------------------- */
188 { 10003, "need write permissions to set auth lock" },
205 /* -------------------------------------------------------------------------- */
[all …]
/freebsd/sys/dev/ufshci/
H A Dufshci_req_queue.c1 /*-
5 * SPDX-License-Identifier: BSD-2-Clause
62 req_queue = &ctrlr->task_mgmt_req_queue; in ufshci_utmr_req_queue_construct()
63 req_queue->queue_mode = UFSHCI_Q_MODE_SDB; in ufshci_utmr_req_queue_construct()
64 req_queue->qops = sdb_utmr_qops; in ufshci_utmr_req_queue_construct()
66 error = req_queue->qops.construct(ctrlr, req_queue, UFSHCI_UTRM_ENTRIES, in ufshci_utmr_req_queue_construct()
75 ctrlr->task_mgmt_req_queue.qops.destroy(ctrlr, in ufshci_utmr_req_queue_destroy()
76 &ctrlr->task_mgmt_req_queue); in ufshci_utmr_req_queue_destroy()
82 ctrlr->task_mgmt_req_queue.qops.disable(ctrlr, in ufshci_utmr_req_queue_disable()
83 &ctrlr->task_mgmt_req_queue); in ufshci_utmr_req_queue_disable()
[all …]
/freebsd/share/man/man4/
H A Dddb.422 .\" Pittsburgh PA 15213-3890
35 .Bd -ragged -offset indent
42 .Bd -ragged -offset indent
48 .Bd -ragged -offset indent
54 .Bd -ragged -offset indent
63 .Bd -ragged -offset indent
83 MIB variable is set non-zero,
97 is already set non-zero.
146 of -1 is equivalent to a missing
161 .Dq Li --More--
[all …]
/freebsd/contrib/ntp/ntpd/
H A Dntp_loopfilter.c2 * ntp_loopfilter.c - implements the NTP loop filter algorithm
33 * in UDel TR 97-4-3, as amended. It operates as an adaptive parameter,
34 * hybrid phase/frequency-lock loop. A number of sanity checks are
38 #define CLOCK_MAX .128 /* default step threshold (s) */
41 #define CLOCK_PHI 15e-6 /* max frequency error (s/s) */
47 #define CLOCK_LIMIT 30 /* poll-adjust threshold */
48 #define CLOCK_PGATE 4. /* poll-adjust gate */
58 * State < step > ste
[all...]
/freebsd/sys/dev/sound/pci/hda/
H A Dhdaa.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
6 * Copyright (c) 2008-2012 Alexander Motin <mav@FreeBSD.org>
46 /* 9 - 25 = anything else */
53 /* 26 - 31 = vrefs */
67 #define HDAA_AMP_VOL_DEFAULT (-1)
140 int mute, step, size, offset; member
189 struct mtx *lock; member
245 ((0 - (ctl)->offset) * ((ctl)->size + 1))
248 (((ctl)->step - (ctl)->offset) * ((ctl)->size + 1))
[all …]
/freebsd/contrib/ofed/librdmacm/examples/
H A Dcmtime.c11 * - Redistributions of source code must retain the above
15 * - Redistributions in binary form must reproduce the above
56 enum step { enum
93 pthread_mutex_t lock; member
98 #define INIT_LIST(x) ((x)->prev = (x)->next = (x))
110 #define start_perf(n, s) gettimeofday(&((n)->times[s][0]), NULL)
111 #define end_perf(n, s) gettimeofday(&((n)->times[s][1]), NULL)
118 prev = list->prev; in __list_delete()
119 next = list->next; in __list_delete()
120 prev->next = next; in __list_delete()
[all …]
/freebsd/sys/dev/al_eth/
H A Dal_init_eth_kr.c1 /*-
38 * @brief auto-negotiation and link training algorithms and state machines
44 * - preparation - waiting till the link partner (lp) will be ready and
46 * - measurement (per coefficient) - issue decrement for the coefficient
49 * - completion - indicate the receiver is ready and wait for the lp to
54 /* timeout in mSec before auto-negotiation will be terminated */
67 WAIT_BEGIN, /* wait for initial training lock */
137 rc = al_eth_kr_an_init(kr_data->adapter, an_adv); in al_eth_kr_an_run()
140 kr_data->adapter->name, __func__); in al_eth_kr_an_run()
144 rc = al_eth_kr_an_start(kr_data->adapter, AL_ETH_AN__LT_LANE_0, in al_eth_kr_an_run()
[all …]
/freebsd/crypto/openssl/crypto/dh/
H A Ddh_key.c2 * Copyright 1995-2025 The OpenSSL Project Authors. All Rights Reserved.
37 * See SP800-56Ar3 Section 5.7.1.1
38 * Finite Field Cryptography Diffie-Hellman (FFC DH) Primitive
45 int ret = -1; in ossl_dh_compute_key()
47 if (BN_num_bits(dh->params.p) > OPENSSL_DH_MAX_MODULUS_BITS) { in ossl_dh_compute_key()
52 if (dh->params.q != NULL in ossl_dh_compute_key()
53 && BN_num_bits(dh->params.q) > OPENSSL_DH_MAX_MODULUS_BITS) { in ossl_dh_compute_key()
58 if (BN_num_bits(dh->params.p) < DH_MIN_MODULUS_BITS) { in ossl_dh_compute_key()
63 ctx = BN_CTX_new_ex(dh->libctx); in ossl_dh_compute_key()
72 if (dh->priv_key == NULL) { in ossl_dh_compute_key()
[all …]
/freebsd/share/misc/
H A Dscsi_modes35 # 'i' is a byte-sized integral types, followed by a field width of
38 # 'b' is a bit-sized integral type
39 # 't' is a bitfield type- followed by a bit field width
42 # 'z' values are null-padded strings
81 {Extended Self-Test Completion Time} i2
95 0x02 "Disconnect-Reconnect" {
111 0x16 "Extended Device-Type Specific";
154 0x18 "Protocol-Specific Logical Unit";
156 0x19 "Protocol-Specific Port";
172 {Background Pre-Scan Time Limit} i2
[all …]
/freebsd/contrib/llvm-project/libunwind/src/
H A Dlibunwind.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
10 //===----------------------------------------------------------------------===//
20 // that we can later check for the presence of ASan in a compiler-neutral way.
91 co->setInfoBasedOnIPRegister(); in __unw_init_local()
104 if (co->validReg(regNum)) { in _LIBUNWIND_WEAK_ALIAS()
105 *value = co->getReg(regNum); in _LIBUNWIND_WEAK_ALIAS()
120 if (co->validReg(regNum)) { in _LIBUNWIND_WEAK_ALIAS()
121 co->setReg(regNum, (pint_t)value); in _LIBUNWIND_WEAK_ALIAS()
122 // special case altering IP to re-find info (being called by personality in _LIBUNWIND_WEAK_ALIAS()
[all …]
/freebsd/sys/powerpc/include/
H A Dpsl.h1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause
40 * Machine State Register (MSR) - All cores
43 #define PSL_VSX 0x00800000UL /* Vector-Scalar unit available */
53 /* Machine State Register - Book-E cores */
55 #define PSL_CM 0x80000000UL /* Computation Mode (64-bit) */
59 #define PSL_UCLE 0x04000000UL /* User mode cache lock enable */
62 #define PSL_UBLE 0x00000400UL /* BTB lock enable - e500 only */
63 #define PSL_DWE 0x00000400UL /* Debug Wait Enable - 440 only*/
68 /* Machine State Register (MSR) - AIM cores */
[all …]
/freebsd/sys/dev/hwt/
H A Dhwt_hook.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2023-2025 Ruslan Bukin <br@bsdpad.com>
67 p = td->td_proc; in hwt_switch_in()
75 if (ctx->state != CTX_STATE_RUNNING) { in hwt_switch_in()
87 thr->thread_id, td->td_tid, cpu_id); in hwt_switch_in()
89 hwt_backend_configure(ctx, cpu_id, thr->thread_id); in hwt_switch_in()
103 p = td->td_proc; in hwt_switch_out()
111 if (ctx->state != CTX_STATE_RUNNING) { in hwt_switch_out()
122 thr->thread_id, td->td_tid, cpu_id); in hwt_switch_out()
[all …]
/freebsd/usr.bin/lockf/
H A Dlockf.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
63 static sig_atomic_t child = -1;
64 static int lockfd = -1;
82 if (strncmp(name, FDLOCK_PREFIX, sizeof(FDLOCK_PREFIX) - 1) != 0) in fdlock_implied()
86 name += sizeof(FDLOCK_PREFIX) - 1; in fdlock_implied()
97 * Execute an arbitrary command while holding a file lock.
115 waitsec = -1; /* Infinite. */ in main()
116 while ((ch = getopt(argc, argv, "knpsTt:w")) != -1) { in main()
148 argc -= optind; in main()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/pcie/gen1_2/
H A Dtrans.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2007-2015, 2018-2024 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
22 #include "iwl-drv.h"
23 #include "iwl-trans.h"
24 #include "iwl-csr.h"
25 #include "iwl-prph.h"
26 #include "iwl-scd.h"
27 #include "iwl-agn-hw.h"
[all …]
/freebsd/sys/dev/fxp/
H A Drcvbundl.h1 /*-
2 SPDX-License-Identifier: BSD-3-Clause
4 Copyright (c) 1999-2001, Intel Corporation
43 D101 A-step, D101 B-step, D101M (B-step only), D101S, D102 B-step,
44 D102 B-step with TCO work around, D102 C-step and D102 E-step.
48 cause the controller to lock up and stop responding to the driver. Each micro
60 * All CPUSaver parameters are 16-bit literals that are part of a
65 * CPUSAVER_DWORD - This is the location of the instruction that loads
66 * the dead-man timer with its initial value. By writing a 16-bit
70 * range of x200 - x1000.
[all …]

12345678910>>...17