/freebsd/sys/cddl/dev/kinst/ |
H A D | kinst.c | 2 * SPDX-License-Identifier: CDDL 1.0 13 #include <sys/conf.h> 87 while (len--) in kinst_memcpy() 160 kp->kp_id = dtrace_probe_create(kinst_id, lf->filename, in kinst_probe_create() 161 kp->kp_func, kp->kp_name, 3, kp); in kinst_probe_create() 163 LIST_INSERT_HEAD(KINST_GETPROBE(kp->kp_patchpoint), kp, kp_hashnext); in kinst_probe_create() 184 dtrace_kinst_probedesc_t *pd; in kinst_linker_file_cb() local 186 pd = arg; in kinst_linker_file_cb() 187 if (pd->kpd_mod[0] != '\0' && strcmp(pd->kpd_mod, lf->filename) != 0) in kinst_linker_file_cb() 201 dtrace_kinst_probedesc_t *pd; in kinst_ioctl() local [all …]
|
/freebsd/sys/dev/pbio/ |
H A D | pbio.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2000-2004 40 #include <sys/conf.h> /* cdevsw stuff */ 68 /* Per-port buffer size */ 83 #define pbio_addr(dev) ((dev)->si_drv1) 104 char buff[PBIO_BUFSIZ]; /* Per-port data buffer */ 111 struct portdata pd[PBIO_NPORTS];/* Per port data */ member 113 /* The real port is write-only */ 141 return (bus_read_1(scp->res, off)); in pbinb() [all …]
|
/freebsd/sys/contrib/openzfs/module/icp/core/ |
H A D | kcf_prov_tabs.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 60 * prov_tab entries are not updated from kcf.conf or by cryptoadm(1M). 117 prov_desc->pd_prov_id = i; in kcf_prov_tab_add_provider() 120 * The KCF-private provider handle is defined as the internal in kcf_prov_tab_add_provider() 123 prov_desc->pd_kcf_prov_handle = in kcf_prov_tab_add_provider() 124 (crypto_kcf_provider_handle_t)prov_desc->pd_prov_id; in kcf_prov_tab_add_provider() 140 * Validate provider id, since it can be specified by a 3rd-party in kcf_prov_tab_rem_provider() 209 desc->pd_mech_indx[i][j] = KCF_INVALID_INDX; in kcf_alloc_provider_desc() 211 desc->pd_prov_id = KCF_PROVID_INVALID; in kcf_alloc_provider_desc() 212 desc->pd_state = KCF_PROV_ALLOCATED; in kcf_alloc_provider_desc() [all …]
|
/freebsd/sys/i386/i386/ |
H A D | minidump_machdep_base.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 34 #include <sys/conf.h> 82 maxdumpsz = min(di->maxiosize, MAXDUMPPGS * PAGE_SIZE); in blk_write() 99 /* If we're doing a virtual dump, flush any pre-existing pa pages */ in blk_write() 105 len = maxdumpsz - fragsz; in blk_write() 117 sz -= len; in blk_write() 123 sz -= len; in blk_write() 135 if (c != -1) in blk_write() 136 printf(" (CTRL-C to abort) "); in blk_write() [all …]
|
/freebsd/contrib/unbound/validator/ |
H A D | val_anchor.c | 2 * validator/val_anchor.c - validator trust anchor storage. 66 if(n1->dclass != n2->dclass) { in anchor_cmp() 67 if(n1->dclass < n2->dclass) in anchor_cmp() 68 return -1; in anchor_cmp() 71 return dname_lab_cmp(n1->name, n1->namelabs, n2->name, n2->namelabs, in anchor_cmp() 81 a->tree = rbtree_create(anchor_cmp); in anchors_create() 82 if(!a->tree) { in anchors_create() 86 a->autr = autr_global_create(); in anchors_create() 87 if(!a->autr) { in anchors_create() 91 lock_basic_init(&a->lock); in anchors_create() [all …]
|
/freebsd/sys/amd64/amd64/ |
H A D | minidump_machdep.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 35 #include <sys/conf.h> 91 maxdumpsz = min(di->maxiosize, MAXDUMPPGS * PAGE_SIZE); in blk_write() 108 /* If we're doing a virtual dump, flush any pre-existing pa pages */ in blk_write() 114 len = maxdumpsz - fragsz; in blk_write() 117 progress - in blk_write() 167 uint64_t *pml4, *pdp, *pd, *pt, pa; cpu_minidumpsys() local [all...] |
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/ |
H A D | dtrace.c | 72 #define DMODE_VERS 0 /* display version information and exit (-V) */ 73 #define DMODE_EXEC 1 /* compile program for enabling (-a/e/E) */ 74 #define DMODE_ANON 2 /* compile program for anonymous tracing (-A) */ 75 #define DMODE_LINK 3 /* compile program for linking with ELF (-G) */ 76 #define DMODE_LIST 4 /* compile program and list probes (-l) */ 77 #define DMODE_HEADER 5 /* compile program for headergen (-h) */ 126 "* \"dtrace -A\" without additional arguments. See the \"Anonymous Tracing\"", 137 (void) fprintf(fp, "Usage: %s [-32|-64] [-aACdeFGhHlqSvVwZ] " in usage() 138 "[-b bufsz] [-c cmd] [-D name[=def]]\n\t[-I path] [-L path] " in usage() 139 "[-o output] [-p pid] [-s script] [-U name]\n\t" in usage() [all …]
|
/freebsd/tools/tools/sysbuild/ |
H A D | sysbuild.sh | 3 # Copyright (c) 1994-2009 Poul-Henning Kamp. 29 set -e 33 if [ `uname -m` = "i386" -o `uname -m` = "amd64" ] ; then 43 FREEBSD_PART=`sed -n \ 44 -e 's/#.*//' \ 45 -e '/[ ]\/freebsd[ ]/!d' \ 46 -e 's/[ ].*//p' \ 52 GPART_SUGGESTION="gpart set -a active -i $TARGET_SLICE /dev/$TARGET_DISK" 70 #SRCCONF="SRCCONF=/usr/src/src.conf" 72 # -j arg to make(1) [all …]
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | p2p_supplicant.c | 2 * wpa_supplicant - P2P 3 * Copyright (c) 2009-2010, Atheros Communications 4 * Copyright (c) 2010-2014, Jouni Malinen <j@w1.fi> 73 * How many seconds to wait for initial 4-way handshake to get completed after 74 * WPS provisioning step or after the re-invocation of a persistent group on a 82 * How many seconds to wait for initial 4-way handshake to get completed after 92 * How many seconds to wait for initial 4-way handshake to get completed after 93 * re-invocation of a persistent group on the GO when the client is expected 99 #define P2P_MGMT_DEVICE_PREFIX "p2p-dev-" 102 * How many seconds to wait to re-attempt to move GOs, in case previous attempt [all …]
|
H A D | ChangeLog | 3 2024-07-20 - v2.11 4 * Wi-Fi Easy Connect 5 - add support for DPP release 3 6 - allow Configurator parameters to be provided during config exchange 8 - add support for GCM-AES-256 cipher suite 9 - remove incorrect EAP Session-Id length constraint 10 - add hardware offload support for additional drivers 11 * HE/IEEE 802.11ax/Wi-Fi 6 12 - support BSS color updates 13 - various fixes [all …]
|
H A D | README-P2P | 1 wpa_supplicant and Wi-Fi P2P 4 This document describes how the Wi-Fi P2P implementation in 10 Introduction to Wi-Fi P2P 11 ------------------------- 15 More information about Wi-Fi P2P is available from Wi-Fi Alliance: 16 http://www.wi-fi.org/Wi-Fi_Direct.php 20 ----------------------------- 26 ---------------------------- 28 Wi-Fi P2P is an optional component that needs to be enabled in the 30 configuration that includes Wi-Fi P2P support and Linux nl80211 [all …]
|
/freebsd/usr.sbin/syslogd/ |
H A D | syslog.conf.5 | 32 .Nm syslog.conf 47 .Em property-based filter 65 keyword can be used to include all files with names ending in '.conf' and not 71 might be incompatible with other Unices or Unix-like systems. 73 (e.g.,\& it is possible to cut-and-paste into 91 with no intervening white-space. 158 .Em property-based filter 164 .Em property-based filter 202 .Ql #!-prog 204 .Ql !-prog [all …]
|
H A D | syslogd.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 31 /*- 32 * SPDX-License-Identifier: BSD-2-Clause 34 * Copyright (c) 2018 Prodrive Technologies, https://prodrive-technologies.com/ 60 * syslogd -- log system messages 75 * -u and -v by Harlan Stenn. 136 static const char include_ext[] = ".conf"; 150 (((d)->s6_addr32[0] ^ (a)->s6_addr32[0]) & (m)->s6_addr32[0]) == 0 && \ 151 (((d)->s6_addr32[1] ^ (a)->s6_addr32[1]) & (m)->s6_addr32[1]) == 0 && \ [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/ |
H A D | mediatek,mt7981-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt7981-pinctr [all...] |
/freebsd/sys/arm/freescale/imx/ |
H A D | imx6_sdma.h | 1 /*- 52 #define SDMAARM_XTRIG_CONF1 0x70 /* Cross-Trigger Events Configuration Register 1 */ 53 #define SDMAARM_XTRIG_CONF2 0x74 /* Cross-Trigger Events Configuration Register 2 */ 147 uint32_t pd; member 204 struct sdma_conf *conf; member
|
/freebsd/sys/fs/udf/ |
H A D | udf_vfsops.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 40 * n - 256. It's a pretty good bet that one will exist at sector 256 though. 48 * n - 256: | 50 * |-->Main Volume Descriptor Sequence 53 * | |- 312 struct part_desc *pd; udf_mountfs() local [all...] |
/freebsd/stand/efi/loader/ |
H A D | main.c | 1 /*- 2 * Copyright (c) 2008-2010 Rui Paulo 6 * Copyright (c) 2016-2019 Netflix, Inc. written by M. Warner Losh 96 * in the event no currdev is found. -2 means always break, -1 means 133 status = BS->LocateHandle(ByProtocol, &inputid, 0, &sz, 0); in has_keyboard() 136 status = BS->LocateHandle(ByProtocol, &inputid, 0, &sz, in has_keyboard() 170 if ((EISA_ID_TO_NUM(acpi->HID) & 0xff00) == 0x300 && in has_keyboard() 171 (acpi->HID & 0xffff) == PNP_EISA_ID_CONST) { in has_keyboard() 185 if (usb->DeviceClass == 3 && /* HID */ in has_keyboard() 186 usb->DeviceSubClass == 1 && /* Boot devices */ in has_keyboard() [all …]
|
/freebsd/sys/dev/iser/ |
H A D | icl_iser.h | 1 /*- 36 #include <sys/conf.h> 100 #define MASK_4K (~(SIZE_4K-1)) 119 * supports -EAGAIN scheme where tx is suspended till the QP has room for more * 131 - ISER_MAX_TX_MISC_PDUS \ 132 - ISER_MAX_RX_MISC_PDUS - 1) / \ 158 * struct iser_hdr - iSER header 211 * struct iser_mem_reg - iSER memory registration info 230 * struct iser_data_buf - iSER data buffer 240 * @sg_single: SG-ified clone of a non SG SC or [all …]
|
/freebsd/sys/dev/usb/ |
H A D | usb_device.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2008-2023 Hans Petter Selasky 49 #include <sys/conf.h> 119 int usb_template = -1; 127 /*------------------------------------------------------------------------* 133 *------------------------------------------------------------------------*/ 147 max--; in usb_trigger_reprobe_on_off() 149 if (bus == NULL || bus->devices == NULL || in usb_trigger_reprobe_on_off() 150 bus->devices[USB_ROOT_HUB_ADDR] == NULL) { in usb_trigger_reprobe_on_off() [all …]
|
H A D | usb_dev.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2006-2023 Hans Petter Selasky 28 * usb_dev.c - An abstraction layer for creating devices under /dev/... 56 #include <sys/conf.h> 162 /*------------------------------------------------------------------------* 167 *------------------------------------------------------------------------*/ 169 usb_loc_fill(struct usb_fs_privdata* pd, struct usb_cdev_privdata *cpd) in usb_loc_fill() argument 171 cpd->bus_index = pd->bus_index; in usb_loc_fill() 172 cpd->dev_index = pd->dev_index; in usb_loc_fill() [all …]
|
/freebsd/sys/kern/ |
H A D | kern_fork.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 110 td->td_retval[0] = pid; in sys_fork() 111 td->td_retval[1] = 0; in sys_fork() 127 fr.fr_pd_flags = uap->flags; in sys_pdfork() 128 AUDIT_ARG_FFLAGS(uap->flags); in sys_pdfork() 136 td->td_retval[0] = pid; in sys_pdfork() 137 td->td_retval[1] = 0; in sys_pdfork() 138 error = copyout(&fd, uap->fdp, sizeof(fd)); in sys_pdfork() 155 td->td_retval[0] = pid; in sys_vfork() [all …]
|
/freebsd/sys/dev/mfi/ |
H A D | mfi_syspd.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 8 * Copyright 1994-2009 The FreeBSD Project. 50 #include <sys/conf.h> 106 sc->pd_dev = dev; in mfi_syspd_attach() 107 sc->pd_id = pd_info->ref.v.device_id; in mfi_syspd_attach() 108 sc->pd_unit = device_get_unit(dev); in mfi_syspd_attach() 109 sc->pd_info = pd_info; in mfi_syspd_attach() 110 sc->pd_controller = device_get_softc(device_get_parent(dev)); in mfi_syspd_attach() 111 sc->pd_flags = 0; in mfi_syspd_attach() [all …]
|
/freebsd/contrib/sendmail/src/ |
H A D | README | 1 # Copyright (c) 1998-2004 Proofpoint, Inc. and its suppliers. 3 # Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. 35 +-------------------+ 37 +-------------------+ 51 -I or -L flags on the command line, e.g., 53 sh ./Build -I/usr/sww/include -L/usr/sww/lib 56 site.config.m4 (or another file settable with the -f flag). This 60 confMAPDEF -D flags to specify database types to be included 62 confENVDEF -D flags to specify other environment information 63 confINCDIRS -I flags for finding include files during compilation [all …]
|
/freebsd/sys/dev/mrsas/ |
H A D | mrsas.h | 50 #include <sys/conf.h> /* cdevsw struct */ 119 #define MRSAS_VERSION "07.709.04.00-fbsd" 133 #define STREAM_MASK ((1 << BITS_PER_INDEX_STREAM) - 1) 156 if (sc->mrsas_debug & level) \ 157 device_printf(sc->mrsas_dev, msg, ##args); \ 706 #define mrsas_atomic_read(v) atomic_load_acq_int(&(v)->val) 707 #define mrsas_atomic_set(v,i) atomic_store_rel_int(&(v)->val, i) 708 #define mrsas_atomic_dec(v) atomic_subtract_int(&(v)->val, 1) 709 #define mrsas_atomic_inc(v) atomic_add_int(&(v)->val, 1) 714 return 1 + atomic_fetchadd_int(&(v)->val, 1); in mrsas_atomic_inc_return() [all …]
|
/freebsd/sys/dev/mpr/ |
H A D | mpr_sas_lsi.c | 1 /*- 2 * Copyright (c) 2011-2015 LSI Corp. 3 * Copyright (c) 2013-2016 Avago Technologies 4 * Copyright 2000-2020 Broadcom Inc. 28 * Broadcom Inc. (LSI) MPT-Fusion Host Adapter FreeBSD 42 #include <sys/conf.h> 107 u16 reserved1[10]; /* 0-9 */ 108 u16 serial_number[10]; /* 10-19 */ 109 u16 reserved2[7]; /* 20-26 */ 110 u16 model_number[20]; /* 27-46*/ [all …]
|