| /freebsd/lib/libc/db/btree/ |
| H A D | bt_seq.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 58 * __bt_seq -- 77 t = dbp->internal; in __bt_seq() 80 if (t->bt_pinned != NULL) { in __bt_seq() 81 mpool_put(t->bt_m in __bt_seq() 143 __bt_seqset(BTREE * t,EPG * ep,DBT * key,int flags) __bt_seqset() argument 227 __bt_seqadv(BTREE * t,EPG * ep,int flags) __bt_seqadv() argument 329 EPG *ep, save; __bt_first() local [all...] |
| /freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/btree/ |
| H A D | bt_seq.c | 25 /*- 73 #include "db-int.h" 92 * __bt_seq -- 111 t = dbp->internal; in __bt_seq() 114 if (t->bt_pinned != NULL) { in __bt_seq() 115 mpool_put(t->bt_mp, t->bt_pinned, 0); in __bt_seq() 116 t->bt_pinned = NULL; in __bt_seq() 129 if (F_ISSET(&t->bt_cursor, CURS_INIT)) { in __bt_seq() 145 __bt_setcur(t, e.page->pgno, e.index); in __bt_seq() 148 __bt_ret(t, &e, key, &t->bt_rkey, data, &t->bt_rdata, 0); in __bt_seq() [all …]
|
| /freebsd/sys/dev/qlnx/qlnxe/ |
| H A D | ecore_iwarp.h | 2 * Copyright (c) 2018-2019 Cavium, Inc. 98 osal_list_t ep_free_list;/* pre-allocated ep's */ 157 /* This contains entire buffer required for ep memories. This is the 177 * with the ep. It is initialized at different entry points depending 178 * on whether the ep is the tcp connection active side or passive side 184 /* For Passive side - syn packet related data */
|
| H A D | ecore_iwarp.c | 2 * Copyright (c) 2018-2019 Cavium, Inc. 106 struct ecore_rdma_device *dev = p_hwfn->p_rdma_info->dev; in ecore_iwarp_init_devinfo() 108 dev->max_inline = IWARP_REQ_MAX_INLINE_DATA_SIZE; in ecore_iwarp_init_devinfo() 109 dev->max_qp = OSAL_MIN_T(u64, in ecore_iwarp_init_devinfo() 111 p_hwfn->p_rdma_info->num_qps) - in ecore_iwarp_init_devinfo() 114 dev->max_cq = dev->max_qp; in ecore_iwarp_init_devinfo() 116 dev->max_qp_resp_rd_atomic_resc = ECORE_IWARP_IRD_DEFAULT; in ecore_iwarp_init_devinfo() 117 dev->max_qp_req_rd_atomic_resc = ECORE_IWARP_ORD_DEFAULT; in ecore_iwarp_init_devinfo() 123 p_hwfn->rdma_prs_search_reg = PRS_REG_SEARCH_TCP; in ecore_iwarp_init_hw() 124 ecore_wr(p_hwfn, p_ptt, p_hwfn->rdma_prs_search_reg, 1); in ecore_iwarp_init_hw() [all …]
|
| /freebsd/contrib/sendmail/src/ |
| H A D | macro.c | 2 * Copyright (c) 1998-2001, 2003, 2006, 2007 Proofpoint, Inc. and its suppliers. 4 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. 16 SM_RCSID("@(#)$Id: macro.c,v 8.108 2013-11-22 20:51:55 ca Exp $") 19 #if MAXMACROID != (BITMAPBITS - 1) 37 /* table for next id in non-printable ASCII range: disallow some value */ 49 /* 9 ht */ -1, 50 /* 10 nl */ -1, 51 /* 11 vt */ -1, 52 /* 12 np */ -1, 53 /* 13 cr */ -1, [all …]
|
| H A D | alias.c | 2 * Copyright (c) 1998-2003 Proofpoint, Inc. and its suppliers. 4 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. 16 SM_RCSID("@(#)$Id: alias.c,v 8.221 2013-11-22 20:51:54 ca Exp $") 29 ** ALIAS -- Compute aliases. 33 ** Uses libdbm database if -DDBM. 36 ** a -- address to alias. 37 ** sendq -- a pointer to the head of the send queue 39 ** aliaslevel -- the current alias nesting depth. 40 ** e -- the current envelope. 45 ** Side Effects: [all …]
|
| H A D | readcf.c | 2 * Copyright (c) 1998-2006, 2008-2010, 2013 Proofpoint, Inc. and its suppliers. 4 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. 23 SM_RCSID("@(#)$Id: readcf.c,v 8.692 2013-11-22 20:51:56 ca Exp $") 54 ** INITBOUNCEQUEUE -- determine BounceQueue if option is set. 62 ** Side Effects: 83 BounceQueue = s->s_quegrp->qg_index; in initbouncequeue() 94 ** READCF -- read configuration file. 107 ** only produce one string-valued result. 108 ** Hname: value Define header with field-name 'name' 131 ** cfname -- configuration file name. [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/pci/ |
| H A D | pci-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/pci-ep.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 13 - Kishon Vijay Abraham I <kishon@kernel.org> 14 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 18 pattern: "^pcie-ep@" 20 iommu-map: 21 $ref: /schemas/types.yaml#/definitions/uint32-matrix 24 - description: Device ID (see msi-map) base [all …]
|
| H A D | nvidia,tegra194-pcie-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/nvidia,tegra194-pcie-ep.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 12 - Vidya Sagar <vidyas@nvidia.com> 16 inherits all the common properties defined in snps,dw-pcie-ep.yaml. Some 23 Note: On Tegra194's P2972-0000 platform, only C5 controller can be enabled to 29 - nvidia,tegra194-pcie-ep [all …]
|
| H A D | nvidia,tegra194-pcie.txt | 4 and thus inherits all the common properties defined in snps,dw-pcie.yaml and 5 snps,dw-pcie-ep.yaml. 10 - power-domains: A phandle to the node that controls power to the respective 20 "include/dt-bindings/power/tegra194-powergate.h" file. 21 - reg: A list of physical base address and length pairs for each set of 22 controller registers. Must contain an entry for each entry in the reg-names 24 - reg-names: Must include the following entries: 26 "config": As per the definition in snps,dw-pcie.yaml 32 - interrupts: A list of interrupt outputs of the controller. Must contain an 33 entry for each entry in the interrupt-names property. [all …]
|
| /freebsd/libexec/rbootd/ |
| H A D | bpf.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 12 * to css-dist@cs.utah.edu any improvements that they make and grant 62 static int BpfFd = -1; 67 ** BpfOpen -- Open and initialize a BPF device. 75 ** Side Effects: 116 syslog(LOG_ERR,"bpf: %s: data-link type %d unsupported", in BpfOpen() 169 { BPF_LD|BPF_B|BPF_ABS, 0, 0, (long)&RMP->hp_llc.dsap }, in BpfOpen() 171 { BPF_LD|BPF_H|BPF_ABS, 0, 0, (long)&RMP->hp_llc.cntrl }, in BpfOpen() 173 { BPF_LD|BPF_H|BPF_ABS, 0, 0, (long)&RMP->hp_llc.dxsap }, in BpfOpen() [all …]
|
| /freebsd/contrib/telnet/libtelnet/ |
| H A D | encrypt.c | 1 /*- 93 #define typemask(x) ((x) > 0 ? 1 << ((x)-1) : 0) 143 Encryptions *ep = encryptions; in findencryption() local 147 while (ep->type && ep->type != type) in findencryption() 148 ++ep; in findencryption() 149 return(ep->type ? ep : 0); in findencryption() 155 Encryptions *ep = encryptions; in finddecryption() local 159 while (ep->type && ep->type != type) in finddecryption() 160 ++ep; in finddecryption() 161 return(ep->type ? ep : 0); in finddecryption() [all …]
|
| /freebsd/crypto/heimdal/appl/telnet/libtelnet/ |
| H A D | encrypt.c | 1 /*- 94 #define typemask(x) ((x) > 0 ? 1 << ((x)-1) : 0) 143 Encryptions *ep = encryptions; in findencryption() local 147 while (ep->type && ep->type != type) in findencryption() 148 ++ep; in findencryption() 149 return(ep->type ? ep : 0); in findencryption() 155 Encryptions *ep = encryptions; in finddecryption() local 159 while (ep->type && ep->type != type) in finddecryption() 160 ++ep; in finddecryption() 161 return(ep->type ? ep : 0); in finddecryption() [all …]
|
| /freebsd/contrib/telnet/telnet/ |
| H A D | telnet.c | 70 *subpointer, *subend; /* buffer for sub-options */ 80 #define SB_LEN() (subend - subpointer) 114 char *line; /* hack around breakage in sra.c :-( !! */ 133 #define TS_SB 7 /* sub-option collection */ 134 #define TS_SE 8 /* looking for sub-option end */ 179 restartany = -1; in init_telnet() 198 * to the other side. 200 * The basic idea is that we send the negotiation if either side 218 for (i = 1; termspeeds[i].speed != -1; i++) in DoBaudRate() 221 if (termspeeds[i].speed == -1) in DoBaudRate() [all …]
|
| /freebsd/crypto/heimdal/appl/telnet/telnet/ |
| H A D | telnet.c | 41 *subpointer, *subend; /* buffer for sub-options */ 51 #define SB_LEN() (subend - subpointer) 103 #define TS_SB 7 /* sub-option collection */ 104 #define TS_SE 8 /* looking for sub-option end */ 149 restartany = -1; in init_telnet() 168 * to the other side. 170 * The basic idea is that we send the negotiation if either side 241 --do_dont_resp[option]; in willoption() 243 --do_dont_resp[option]; in willoption() 301 --do_dont_resp[option]; in wontoption() [all …]
|
| /freebsd/usr.bin/chpass/ |
| H A D | edit.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 11 * Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 71 if (display(tfn, pw) == -1) in edit() 75 case -1: in edit() 85 printf("re-edit the password file? "); in edit() 97 * display -- 98 * print out the file for the user to edit; strange side-effect: 109 return (-1); in display() 113 "#Changing user information for %s.\n", pw->pw_name); in display() [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/rockchip/ |
| H A D | rk3588-rock-5b-pcie-srns.dtso | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * DT-overlay to run the PCIe3_4L Dual Mode controller in Root Complex 6 * This device tree overlay is only needed (on the RC side) when running 8 * other board running in EP mode. 11 /dts-v1/; 15 rockchip,rx-common-refclk-mode = <0 0 0 0>;
|
| /freebsd/sys/dev/usb/controller/ |
| H A D | musb_otg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 91 #define MUSB2_REG_INDEXED_CSR 0x0010 /* EP control status register offset */ 112 /* Device Side Mode */ 122 /* Host Side Mode */ 142 #define MUSB2_MASK_CSR0H_FFLUSH 0x01 /* Device Side flush FIFO */ 143 #define MUSB2_MASK_CSR0H_DT 0x02 /* Host Side data toggle */ 144 #define MUSB2_MASK_CSR0H_DT_WREN 0x04 /* Host Side */ 145 #define MUSB2_MASK_CSR0H_PING_DIS 0x08 /* Host Side */ 242 #define MUSB2_MASK_FIFOADD 0xFFF /* unit is 8-bytes */ [all …]
|
| /freebsd/usr.bin/diff/ |
| H A D | diff.c | 20 * Materiel Command, USAF, under agreement number F39502-99-1-0512. 83 { "ignore-space-change", no_argument, 0, 'b' }, 88 { "forward-ed", no_argument, 0, 'f' }, 89 { "show-function-line", required_argument, 0, 'F' }, 90 { "speed-large-file 141 char *ep, **oargv; main() local [all...] |
| /freebsd/lib/libc/rpc/ |
| H A D | auth_time.c | 21 * Side effects : 45 #include "un-namespace.h" 68 * from internet time-service time, into UNIX time we subtract the 71 #define NYEARS (1970 - 1900) 93 sin->sin_addr.s_addr |= (a[i] & 0x000000FF) << (8 * i); in uaddr_to_sockaddr() 98 sin->sin_family = AF_INET; /* always */ in uaddr_to_sockaddr() 99 bcopy((char *)&p_bytes, (char *)&sin->sin_port, 2); in uaddr_to_sockaddr() 133 * host - name of the time host 134 * srv - nis_server struct to use. 135 * eps[] - array of endpoints [all …]
|
| /freebsd/sys/dev/usb/ |
| H A D | usb_device.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2008-2019 Hans Petter Selasky. All rights reserved. 110 * The following structure is used for power-save purposes. The data 122 * endpoints for an USB configuration in USB device side mode. 136 * endpoints for an USB configuration in USB device side mode. 139 struct usb_hw_ep_scratch_sub ep[USB_EP_MAX]; member 218 struct usb_device *parent_hs_hub; /* high-speed parent HUB */ 243 uint8_t device_index; /* device index in "bus->devices" */ 251 uint8_t hs_hub_addr; /* high-speed HUB address */ [all …]
|
| H A D | usb_device.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2008-2023 Hans Petter Selasky 119 int usb_template = -1; 125 "I", "Selected USB device side template"); 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 …]
|
| /freebsd/sbin/dmesg/ |
| H A D | dmesg.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 67 char *bp, *ep, *memf, *nextp, *nlistf, *p, *q, *visbp; in main() local 78 while ((ch = getopt(argc, argv, "acM:N:")) != -1) in main() 96 argc -= optind; in main() 103 * as a side effect. Remove nulterm (if present) so the value in main() 107 if (sysctlbyname("kern.msgbuf", NULL, &buflen, NULL, 0) == -1) in main() 114 if (sysctlbyname("kern.msgbuf", bp, &buflen, NULL, 0) == -1) in main() 116 if (buflen > 0 && bp[buflen - 1] == '\0') in main() 117 buflen--; in main() [all …]
|
| /freebsd/sys/dev/etherswitch/ |
| H A D | miiproxy.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2011-2012 Stefan Bethke. 101 rendezvous_attach(struct rendezvous_entry *e, struct rendezvous_endpoint *ep) in rendezvous_attach() argument 105 error = e->proxy.callback(RENDEZVOUS_ATTACH, e); in rendezvous_attach() 107 error = e->target.callback(RENDEZVOUS_ATTACH, e); in rendezvous_attach() 109 e->proxy.callback(RENDEZVOUS_DETACH, e); in rendezvous_attach() 110 ep->device = NULL; in rendezvous_attach() 111 ep->callback = NULL; in rendezvous_attach() 133 if (strcmp(name, e->target.name) == 0) { in rendezvous_register_proxy() [all …]
|
| /freebsd/contrib/ntp/ntpd/ |
| H A D | ntp_crypto.c | 2 * ntp_crypto.c - NTP version 4 public key routines 42 * calcomp - compare two calendar structures, ignoring yearday and weekday; like strcmp 49 diff = pjd1->year - pjd2->year; in calcomp() 50 if (diff < 0) return -1; else if (diff > 0) return 1; in calcomp() 52 diff = pjd1->month - pjd2->month; in calcomp() 53 if (diff < 0) return - in calcomp() 435 struct exten *ep, *fp; /* extension pointers */ crypto_recv() local 1095 crypto_xmit(struct peer * peer,struct pkt * xpkt,struct recvbuf * rbufp,int start,struct exten * ep,keyid_t cookie) crypto_xmit() argument 1432 crypto_verify(struct exten * ep,struct value * vp,struct peer * peer) crypto_verify() argument 1717 struct exten *ep; /* extension field pointer */ crypto_args() local 1760 crypto_send(struct exten * ep,struct value * vp,int start) crypto_send() argument 2242 crypto_bob(struct exten * ep,struct value * vp) crypto_bob() argument 2356 crypto_iff(struct exten * ep,struct peer * peer) crypto_iff() argument 2572 crypto_bob2(struct exten * ep,struct value * vp) crypto_bob2() argument 2679 crypto_gq(struct exten * ep,struct peer * peer) crypto_gq() argument 2915 crypto_bob3(struct exten * ep,struct value * vp) crypto_bob3() argument 3031 crypto_mv(struct exten * ep,struct peer * peer) crypto_mv() argument 3150 cert_sign(struct exten * ep,struct value * vp) cert_sign() argument 3287 cert_install(struct exten * ep,struct peer * peer) cert_install() argument 4150 exten_payload_size(const struct exten * ep) exten_payload_size() argument [all...] |