| /freebsd/crypto/heimdal/kuser/ |
| H A D | kswitch.c | 2 * Copyright (c) 2008 - 2010 Kungliga Tekniska Högskolan 35 #include "kcc-commands.h" 65 if (opt->cache_string && opt->principal_string) in kswitch() 67 N_("Both --cache and --principal given, choose one", "")); in kswitch() 69 if (opt->interactive_flag) { in kswitch() 71 krb5_ccache *ids = NULL; in kswitch() local 90 char num[10]; in kswitch() local 100 snprintf(num, sizeof(num), "%d", (int)(len + 1)); in kswitch() 101 rtbl_add_column_entry_by_id(ct, 0, num); in kswitch() 106 ids = erealloc(ids, (len + 1) * sizeof(ids[0])); in kswitch() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/ |
| H A D | riscv,imsics.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/riscv,imsics.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: RISC-V Incoming MSI Controller (IMSIC) 10 - Anup Patel <anup@brainfault.org> 13 The RISC-V advanced interrupt architecture (AIA) defines a per-CPU incoming 14 MSI controller (IMSIC) for handling MSIs in a RISC-V platform. The RISC-V 15 AIA specification can be found at https://github.com/riscv/riscv-aia. 17 The IMSIC is a per-CPU (or per-HART) device with separate interrupt file [all …]
|
| /freebsd/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_affinity.cpp | 2 * kmp_affinity.cpp -- affinity management 5 //===----------------------------------------------------------------------===// 9 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 11 //===----------------------------------------------------------------------===// 62 return __kmp_topology->restrict_to_mask(mask); in restrict_to_mask() 85 // Adjust the hierarchy in case num threads exceeds original in __kmp_get_hierarchy() 92 thr_bar->depth = depth; in __kmp_get_hierarchy() 93 __kmp_type_convert(machine_hierarchy.numPerLevel[0] - 1, in __kmp_get_hierarchy() 94 &(thr_bar->base_leaf_kids)); in __kmp_get_hierarchy() 95 thr_bar->skip_per_level = machine_hierarchy.skipPerLevel; in __kmp_get_hierarchy() [all …]
|
| H A D | kmp_affinity.h | 2 * kmp_affinity.h -- header for affinity management 5 //===----------------------------------------------------------------------===// 9 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 11 //===----------------------------------------------------------------------===// 30 this->zero(); in Mask() 40 hwloc_bitmap_copy(mask, convert->mask); in copy() 44 hwloc_bitmap_and(mask, mask, convert->mask); in bitwise_and() 48 hwloc_bitmap_or(mask, mask, convert->mask); in bitwise_or() 53 return hwloc_bitmap_isequal(mask, convert->mask); in is_equal() 56 int end() const override { return -1; } in end() [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm/nxp/mxs/ |
| H A D | imx28-cfa10049.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * The CFA-10049 is an expansion board for the CFA-10036 module, thus we 8 * need to include the CFA-10036 DTS. 10 #include "imx28-cfa10036.dts" 13 model = "Crystalfontz CFA-1004 [all...] |
| H A D | imx28-cfa10055.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * The CFA-10055 is an expansion board for the CFA-10036 module and 9 * CFA-10037, thus we need to include the CFA-10037 DTS. 11 #include "imx28-cfa1003 [all...] |
| H A D | imx28-cfa10056.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * The CFA-10055 is an expansion board for the CFA-10036 module and 8 * CFA-10037, thus we need to include the CFA-10037 DTS. 10 #include "imx28-cfa10037.dts" 13 model = "Crystalfontz CFA-10056 Board"; 16 spi-2 { 17 compatible = "spi-gpio"; 18 pinctrl-names = "default"; 19 pinctrl-0 = <&spi2_pins_cfa10056>; 21 sck-gpios = <&gpio2 16 0>; [all …]
|
| H A D | imx28-tx28.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 4 * Copyright 2013-2017 Lothar Waßmann <LW@KARO-electronics.de> 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 13 model = "Ka-Ro electronics TX28 module"; 34 reg = <0x40000000 0>; /* will be filled in by U-Boot */ 38 compatible = "w1-gpio"; 43 reg_usb0_vbus: regulator-usb0-vbus { 44 compatible = "regulator-fixed"; [all …]
|
| /freebsd/sys/dev/acpica/ |
| H A D | acpi_hpet.c | 1 /*- 2 * Copyright (c) 2005 Poul-Henning Kamp 94 int num; member 142 sc = tc->tc_priv; in hpet_get_timecount() 143 return (bus_read_4(sc->mem_res, HPET_MAIN_COUNTER)); in hpet_get_timecount() 151 sc = tc->tc_priv; in hpet_vdso_timehands() 152 vdso_th->th_algo = VDSO_TH_ALGO_X86_HPET; in hpet_vdso_timehands() 153 vdso_th->th_x86_shift = 0; in hpet_vdso_timehands() 154 vdso_th->th_x86_hpet_idx = device_get_unit(sc->dev); in hpet_vdso_timehands() 155 vdso_th->th_x86_pvc_last_systime = 0; in hpet_vdso_timehands() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFDebugInfo.cpp | 1 //===-- DWARFDebugInfo.cpp ------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 46 m_cu_aranges_up->extract(debug_aranges_data); in GetCompileUnitAranges() 50 for (size_t n = 0; n < m_cu_aranges_up->GetNumRanges(); n++) { in GetCompileUnitAranges() 51 dw_offset_t offset = m_cu_aranges_up->OffsetAtIndex(n); in GetCompileUnitAranges() 63 if (!OF || !OF->CanTrustAddressRanges()) { in GetCompileUnitAranges() 68 dw_offset_t offset = cu->GetOffset(); in GetCompileUnitAranges() 70 cu->BuildAddressRangeTable(m_cu_aranges_up.get()); in GetCompileUnitAranges() 75 m_cu_aranges_up->Sort(minimize); in GetCompileUnitAranges() [all …]
|
| /freebsd/usr.sbin/iscsid/ |
| H A D | iscsid.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 82 fprintf(stderr, "usage: iscsid [-P pidfile][-d][-m maxproc][-t timeout]\n"); in usage() 96 conn = (struct iscsid_connection *)pdu->pdu_connection; in pdu_receive_proxy() 97 assert(conn->conn_conf.isc_iser != 0); in pdu_receive_proxy() 99 pdu->pdu_data = malloc(conn->conn.conn_max_recv_data_segment_length); in pdu_receive_proxy() 100 if (pdu->pdu_data == NULL) in pdu_receive_proxy() 104 idr.idr_session_id = conn->conn_session_id; in pdu_receive_proxy() 105 idr.idr_bhs = pdu->pdu_bhs; in pdu_receive_proxy() 106 idr.idr_data_segment_len = conn->conn.conn_max_recv_data_segment_length; in pdu_receive_proxy() [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/ti/ |
| H A D | k3-j722s-main.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 5 * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/phy/phy-cadence.h> 9 #include <dt-bindings/phy/phy-ti.h> 12 serdes_refclk: clk-0 { 13 compatible = "fixed-clock"; 14 #clock-cells = <0>; 15 clock-frequency = <0>; 21 compatible = "ti,am64-wiz-10g"; 23 #address-cells = <1>; [all …]
|
| H A D | k3-j784s4-main.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 5 * Copyright (C) 2022-2024 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/mux/mux.h> 9 #include <dt-bindings/phy/phy.h> 10 #include <dt-bindings/phy/phy-ti.h> 12 #include "k3-serdes.h" 15 serdes_refclk: clock-serdes { 16 #clock-cells = <0>; 17 compatible = "fixed-clock"; 25 compatible = "mmio-sram"; [all …]
|
| H A D | k3-j721s2-main.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 5 * Copyright (C) 2021-2024 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/phy/phy-cadence.h> 9 #include <dt-bindings/phy/phy-ti.h> 12 serdes_refclk: clock-cmnrefclk { 13 #clock-cells = <0>; 14 compatible = "fixed-clock"; 15 clock-frequency = <0>; 21 compatible = "mmio-sram"; 23 #address-cells = <1>; [all …]
|
| /freebsd/sys/dev/virtio/ |
| H A D | virtio_ring.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 38 /* This marks a buffer as write-only (otherwise read-only). */ 43 /* The Host uses this in used->flags to advise the Guest: don't kick me 47 /* The Guest uses this in avail->flags to advise the Host: don't 55 /* Address (guest-physical). */ 71 /* uint32_t is used here for ids for padding reasons. */ 86 unsigned int num; member 94 * When using pre-virtio 1.0 layout, these fall out naturally. 101 * looks like this. We assume num is a power of 2. [all …]
|
| /freebsd/share/doc/smm/06.nfs/ |
| H A D | 1.t | 50 will be improved by running nfsiod daemons that perform read-aheads 51 and write-behinds. 80 require the \fB-n\fR option to enable non-root mount request servicing. 99 \fB-b\fR 105 \fBmount -a\fR 111 with various non-BSD NFS servers. The 112 \fB-P\fR 121 \fB-c\fR 130 \fB-g=\fInum\fR 140 \fB-g=\fInum\fR [all …]
|
| /freebsd/crypto/openssh/ |
| H A D | authfd.c | 99 if ((sock = socket(AF_UNIX, SOCK_STREAM, 0)) == -1) in ssh_get_authentication_socket_path() 103 if (fcntl(sock, F_SETFD, FD_CLOEXEC) == -1 || in ssh_get_authentication_socket_path() 104 connect(sock, (struct sockaddr *)&sunaddr, sizeof(sunaddr)) == -1) { in ssh_get_authentication_socket_path() 127 *fdp = -1; in ssh_get_authentication_socket() 175 len -= l; in ssh_request_reply() 236 deserialise_identity2(struct sshbuf *ids, struct sshkey **keyp, char **commentp) in deserialise_identity2() argument 243 if ((r = sshbuf_get_string_direct(ids, &blob, &blen)) != 0 || in deserialise_identity2() 244 (r = sshbuf_get_cstring(ids, &comment, NULL)) != 0) in deserialise_identity2() 265 u_int32_t num, i; in ssh_fetch_identitylist() local 294 if ((r = sshbuf_get_u32(msg, &num)) != 0) in ssh_fetch_identitylist() [all …]
|
| /freebsd/usr.bin/clang/llvm-cov/ |
| H A D | llvm-cov.1 | 4 .nr rst2man-indent-level 0 7 \\$1 \\n[an-margin] 8 level \\n[rst2man-indent-level] 9 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] 10 - 11 \\n[rst2man-indent0] 12 \\n[rst2man-indent1] 13 \\n[rst2man-indent2] 18 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] 19 . nr rst2man-indent-level +1 [all …]
|
| /freebsd/usr.sbin/bhyve/ |
| H A D | virtio.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 42 * https://github.com/rustyrussell/virtio-spec 43 * http://people.redhat.com/pbonzini/virtio-spec.pdf 48 * Each virtqueue uses at least two 4096-byte pages, laid out thus: 50 * +-- [all...] |
| /freebsd/crypto/openssl/crypto/rsa/ |
| H A D | rsa_x931.c | 2 * Copyright 2005-2024 The OpenSSL Project Authors. All Rights Reserved. 35 * i.e. len(padding) = n - len(header) - len(hash) - len(trailer) 53 j = tlen - flen - 2; in RSA_padding_add_X931() 57 return -1; in RSA_padding_add_X931() 68 memset(p, 0xBB, j - 1); in RSA_padding_add_X931() 69 p += j - 1; in RSA_padding_add_X931() 80 const unsigned char *from, int flen, int num) in RSA_padding_check_X931() argument 86 if ((num != flen) || ((*p != 0x6A) && (*p != 0x6B))) { in RSA_padding_check_X931() 88 return -1; in RSA_padding_check_X931() 92 j = flen - 3; in RSA_padding_check_X931() [all …]
|
| /freebsd/contrib/wpa/src/common/ |
| H A D | ieee802_11_common.h | 3 * Copyright (c) 2002-2019, Jouni Malinen <j@w1.fi> 194 typedef enum { ParseOK = 0, ParseUnknown = 1, ParseFailed = -1 } ParseRes; 200 const u8 *ids, size_t num); 202 const u8 *ids, size_t num); 316 (const u8 *) (_data) + (_datalen) - (const u8 *) _elem >= \ 318 (const u8 *) (_data) + (_datalen) - (const u8 *) _elem >= \ 319 (int) sizeof(*_elem) + _elem->datalen; \ 320 _elem = (const struct element *) (_elem->data + _elem->datalen)) 324 if (element->id == (_id)) 328 if (element->id == WLAN_EID_EXTENSION && \ [all …]
|
| H A D | ieee802_11_common.c | 3 * Copyright (c) 2002-2019, Jouni Malinen <j@w1.fi> 15 #include "qca-vendor.h" 28 * sub-type. */ in ieee802_11_parse_vendor_specific() 35 return -1; in ieee802_11_parse_vendor_specific() 41 /* Microsoft/Wi-Fi information elements are further typed and in ieee802_11_parse_vendor_specific() 47 elems->wpa_ie = pos; in ieee802_11_parse_vendor_specific() 48 elems->wpa_ie_len = elen; in ieee802_11_parse_vendor_specific() 57 return -1; in ieee802_11_parse_vendor_specific() 68 elems->wmm = pos; in ieee802_11_parse_vendor_specific() 69 elems->wmm_len = elen; in ieee802_11_parse_vendor_specific() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/mtd/ |
| H A D | marvell-nand.txt | 4 - compatible: can be one of the following: 5 * "marvell,armada-8k-nand-controller" 6 * "marvell,armada370-nand-controller" 7 * "marvell,pxa3xx-nand-controller" 8 * "marvell,armada-8k-nand" (deprecated) 9 * "marvell,armada370-nand" (deprecated) 10 * "marvell,pxa3xx-nand" (deprecated) 13 - reg: NAND flash controller memory area. 14 - #address-cells: shall be set to 1. Encode the NAND CS. 15 - #size-cells: shall be set to 0. [all …]
|
| /freebsd/share/man/man9/ |
| H A D | style.9 | 2 .\" Copyright (c) 1995-2025 The FreeBSD Project 44 .Bd -literal 50 * VERY important single-line comments look like this. 53 /* Most single-line comments look like this. */ 58 * Multi-line comments look like this. Make them real sentences. Fill 64 Single-line comments should be consistently either C or C++ within a file. 65 Multi-line comments should also be consistently either C or C++, but may differ 66 from single-line comments. 68 The copyright header should be a multi-line comment like so: 69 .Bd -literal [all …]
|
| /freebsd/sys/dev/qlnx/qlnxe/ |
| H A D | storage_common.h | 2 * Copyright (c) 2017-2018 Cavium, Inc. 36 // Each Resource ID is one-one-valued mapped by the driver to a BDQ Resource ID (for instance per p… 119 __le16 cmdq_cons /* CMDQ consumer - updated by driver when CMDQ is consumed */; 142 __le16 cq_num_entries /* CQ num entries */; 143 __le16 cmdq_num_entries /* CMDQ num entries */; 144 …_resource_id /* Each function-init Ramrod maps its funciton ID to a BDQ function ID, each BDQ func… 156 …EUES_SOC_NUM_OF_BLOCKS_LOG_MASK 0x7 /* Relevant for TQe SOC option - num of blocks in SGE - log */ 166 …__le16 bdq_xoff_threshold[BDQ_NUM_IDS] /* BDQ XOFF threshold - when number of entries will be belo… 167 …__le16 cmdq_xoff_threshold /* CMDQ XOFF threshold - when number of entries will be below that TH, … 168 …__le16 bdq_xon_threshold[BDQ_NUM_IDS] /* BDQ XON threshold - when number of entries will be above … [all …]
|