/freebsd/contrib/ofed/include/ |
H A D | udma_barrier.h | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 41 are looking for barriers to use with cache-coherent multi-threaded 47 - CPU attached address space (the CPU memory could be a range of things: 48 cached/uncached/non-temporal CPU DRAM, uncached MMIO space in another 53 - A DMA initiator on a bus. For instance a PCI-E device issuing 57 happens if a MemRd TLP is sent in via PCI-E relative to a CPU WRITE to the 58 same memory location. 65 /* Ensure that the device's view of memory matches the CPU's view of memory. [all …]
|
/freebsd/usr.bin/localedef/ |
H A D | charmap.c | 1 /*- 6 * provided under BSD-style license terms by Nexenta Systems, Inc. 21 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 50 wchar_t wc; member 88 { "vertical-tab", '\v' }, 90 { "form-feed", '\f' }, 92 { "carriage-return", '\r' }, 117 { "exclamation-mark", '!' }, 118 { "quotation-mark", '"' }, 119 { "number-sign", '#' }, [all …]
|
H A D | collate.c | 1 /*- 6 * provided under BSD-style license terms by Nexenta Systems, Inc. 21 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 87 * because no active character set needs that bit to carry significant 119 * for collating-symbols, this is the value assigned for them until the 126 * this is used for forward references. A collating-symbol can never 192 wchar_t wc; member 224 * starting point is exclusive -- i.e. the starting point is not 275 fprintf(stderr,"out of memory\n"); in new_pri() 276 return (-1); in new_pri() [all …]
|
H A D | ctype.c | 1 /*- 7 * provided under BSD-style license terms by Nexenta Systems, Inc. 22 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 80 wchar_t wc; member 96 return (wchar_cmp(c1->wc, c2->wc)); in ctype_compare() 111 ctn->ctype |= (_ISUPPER | _ISALPHA | _ISGRAPH | _ISPRINT); in add_ctype_impl() 114 ctn->ctype |= (_ISLOWER | _ISALPHA | _ISGRAPH | _ISPRINT); in add_ctype_impl() 117 ctn->ctype |= (_ISALPHA | _ISGRAPH | _ISPRINT); in add_ctype_impl() 120 ctn->ctype |= (_ISDIGIT | _ISGRAPH | _ISPRINT | _ISXDIGIT | _E4); in add_ctype_impl() 124 * This can be troublesome as <form-feed>, <newline>, in add_ctype_impl() [all …]
|
H A D | scanner.c | 1 /*- 6 * provided under BSD-style license terms by Nexenta Systems, Inc. 21 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 119 { T_COLLATING_SYMBOL, "collating-symbol" }, 120 { T_COLLATING_ELEMENT, "collating-element" }, 189 { -1, NULL }, 201 { -1, NULL }, 244 (isdigit(x) ? (x - '0') : ((islower(x) ? (x - 'a') : (x - 'A')) + 10)) 267 nextline--; in unscanc() 305 b = c1 - '0'; in scan_dec_byte() [all …]
|
H A D | wide.c | 1 /*- 7 * provided under BSD-style license terms by Nexenta Systems, Inc. 22 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 85 { "UTF-8", "UTF-8", 21, towide_utf8, tomb_utf8 }, 86 { "UTF8", "UTF-8", 21, towide_utf8, tomb_utf8 }, 87 { "utf8", "UTF-8", 21, towide_utf8, tomb_utf8 }, 88 { "utf-8", "UTF-8", 21, towide_utf8, tomb_utf8 }, 90 { "EUC-CN", "EUC-CN", 16, towide_euccn, tomb_mbs }, 91 { "eucCN", "EUC-CN", 16, towide_euccn, tomb_mbs }, 93 * Because the 3-byte form of EUC-JP use the same leading byte, [all …]
|
/freebsd/sys/dev/iser/ |
H A D | iser_verbs.c | 1 /*- 16 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 34 ISER_ERR("got cq event %d", cause->event); in iser_cq_event_callback() 40 ISER_ERR("got qp event %d", cause->event); in iser_qp_event_callback() 48 event->event, event->device->name, in iser_event_handler() 49 event->element.port_num); in iser_event_handler() 53 * is_iser_tx_desc - Indicate if the completion wr_id 58 * Since we cannot rely on wc opcode in FLUSH errors 66 void *start = iser_conn->rx_descs; in is_iser_tx_desc() 67 u64 len = iser_conn->num_rx_descs * sizeof(*iser_conn->rx_descs); in is_iser_tx_desc() [all …]
|
/freebsd/contrib/ofed/libcxgb4/ |
H A D | cq.c | 2 * Copyright (c) 2006-2016 Chelsio, Inc. All rights reserved. 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 40 #include "cxgb4-abi.h" 47 wq, cq, cq->sw_cidx, cq->sw_pidx); in insert_recv_cqe() 53 V_CQE_QPID(wq->sq.qid)); in insert_recv_cqe() 54 cqe.bits_type_ts = htobe64(V_CQE_GENBIT((u64)cq->gen)); in insert_recv_cqe() 55 cq->sw_queue[cq->sw_pidx] = cqe; in insert_recv_cqe() 62 int in_use = wq->rq.in_use - count; in c4iw_flush_rq() [all …]
|
H A D | t4.h | 2 * Copyright (c) 2006-2016 Chelsio, Inc. All rights reserved. 14 * - Redistributions of source code must retain the above 17 * - Redistributions in binary form must reproduce the above 25 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 54 #define ROUND_UP(x, n) (((x) + (n) - 1u) & ~((n) - 1u)) 55 #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d)) 82 #define T4_MAX_EQ_SIZE (65520 - T4_EQ_STATUS_ENTRIES) 83 #define T4_MAX_IQ_SIZE (65520 - 1) 84 #define T4_MAX_RQ_SIZE (8192 - T4_EQ_STATUS_ENTRIES) 85 #define T4_MAX_SQ_SIZE (T4_MAX_EQ_SIZE - 1) [all …]
|
/freebsd/contrib/unbound/validator/ |
H A D | validator.c | 2 * validator/validator.c - secure validator DNS query response module 26 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 86 && rep->reason_bogus != LDNS_EDE_NONE in update_reason_bogus() 87 && rep->reason_bogus != LDNS_EDE_DNSSEC_BOGUS) return; in update_reason_bogus() 88 rep->reason_bogus = reason_bogus; in update_reason_bogus() 105 log_err("out of memory"); in fill_nsec3_iter() 129 if(i>0 && (*keysize)[i-1] >= (*keysize)[i]) { in fill_nsec3_iter() 131 (int)(*keysize)[i-1], (int)(*keysize)[i]); 167 free(val_env->nsec3_keysize); in val_apply_cfg() 168 free(val_env->nsec3_maxite in val_apply_cfg() 974 uint8_t* wc = NULL; validate_positive_response() local 1104 uint8_t* wc = NULL; /* for wildcard nodata responses. wildcard nsec */ validate_nodata_response() local 1371 uint8_t* wc = NULL; validate_any_response() local 1495 uint8_t* wc = NULL; validate_cname_response() local 1628 uint8_t* wc = NULL; /* for wildcard nodata responses. wildcard nsec */ validate_cname_noanswer_response() local [all...] |
/freebsd/sys/dev/vt/hw/efifb/ |
H A D | efifb.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 21 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 108 * a segment of memory that doesn't support one or both of these. We in vt_efifb_init() 109 * should likely be consulting the memory map for any applicable in vt_efifb_init() 115 * We'll allow WC but it's currently the default, UC is the only in vt_efifb_init() 118 if (strcasecmp(attr, "wc") != 0 && in vt_efifb_init() 122 printf("efifb: expected \"wc\" or \"uc\"\n"); in vt_efifb_init() 131 info = vd->vd_softc; in vt_efifb_init() 133 info = vd->vd_softc = (void *)&local_info; in vt_efifb_init() [all …]
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_agent.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0 8 * Copyright (c) 2004-2007 Voltaire Corporation. All rights reserved. 21 * - Redistributions of source code must retain the above 25 * - Redistributions in binary form must reproduce the above 33 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 64 if (entry->agent[1]->device == device && in __ib_get_agent_port() 65 entry->agent[1]->port_num == port_num) in __ib_get_agent_port() 84 const struct ib_wc *wc, const struct ib_device *device, in agent_send_response() argument 99 dev_err(&device->dev, "Unable to find port agent\n"); in agent_send_response() [all …]
|
H A D | ib_verbs.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0 22 * - Redistributions of source code must retain the above 26 * - Redistributions in binary form must reproduce the above 34 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 99 [IB_WC_MW_BIND_ERR] = "memory management operation error", 150 default: return -1; in ib_rate_to_mult() 208 default: return -1; in ib_rate_to_mbps() 236 if (device->get_link_layer) in rdma_port_get_link_layer() 237 return device->get_link_layer(device, port_num); in rdma_port_get_link_layer() [all …]
|
/freebsd/lib/libc/stdio/ |
H A D | ungetwc.3 | 25 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 39 .Nd un-get wide character from input stream 46 .Fn ungetwc "wint_t wc" "FILE *stream" 51 .Fa wc 56 The pushed-backed wide characters will be returned by subsequent reads on the 66 One wide character of push-back is guaranteed, 68 sufficient memory, an effectively infinite amount of pushback is allowed. 70 If a character is successfully pushed-back, 71 the end-of-file indicator for the stream is cleared. 77 the wide character pushed-back after the conversion, or [all …]
|
/freebsd/sys/dev/cxgbe/iw_cxgbe/ |
H A D | cq.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2009-2013 Chelsio, Inc. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 28 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 55 struct adapter *sc = rdev->adap; in destroy_cq() 64 wr = alloc_wrqe(wr_len, &sc->sge.ctrlq[0]); in destroy_cq() 69 res_wr->op_nres = cpu_to_be32( in destroy_cq() 73 res_wr->len16_pkd = cpu_to_be32(DIV_ROUND_UP(wr_len, 16)); in destroy_cq() [all …]
|
H A D | t4.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2009-2013 Chelsio, Inc. All rights reserved. 16 * - Redistributions of source code must retain the above 19 * - Redistributions in binary form must reproduce the above 27 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 66 #define T4_PAGESIZE_MASK 0xffffffff000 /* 4KB-8TB */ 72 __be32 rsvd1; /* flit 0 - hw owns */ 77 u8 qp_err; /* flit 1 - sw owns */ 89 #define T4_MAX_SEND_SGE ((T4_SQ_NUM_BYTES - sizeof(struct fw_ri_send_wr) - \ [all …]
|
/freebsd/bin/sh/ |
H A D | output.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 25 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 63 #define MEM_OUT -2 /* output to dynamically allocated memory */ 128 wchar_t wc; in outdqstr() local 133 while ((clen = mbrtowc(&wc, p, end - p + 1, &mbs)) != 0) { in outdqstr() 134 if (clen == (size_t)-2) { in outdqstr() 139 if (clen == (size_t)-1) { in outdqstr() 144 if (wc == L'\n') in outdqstr() 146 else if (wc == L'\r') in outdqstr() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/sram/ |
H A D | sram.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic on-chip SRAM 10 - Rob Herring <robh@kernel.org> 13 Simple IO memory regions to be managed by the genalloc API. 15 Each child of the sram node specifies a region of reserved memory. Each 17 reserved memory. 19 Following the generic-names recommended practice, node names should 30 - mmio-sram [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | __config | 1 // -*- C++ -*- 2 //===------ [all...] |
/freebsd/contrib/ofed/librdmacm/ |
H A D | rdma_verbs.h | 2 * Copyright (c) 2010-2014 Intel Corporation. All rights reserved. 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 49 ret = -1; in rdma_seterrno() 65 * Memory registration helpers. 70 return ibv_reg_mr(id->pd, addr, length, IBV_ACCESS_LOCAL_WRITE); in rdma_reg_msgs() 76 return ibv_reg_mr(id->pd, addr, length, IBV_ACCESS_LOCAL_WRITE | in rdma_reg_read() 83 return ibv_reg_mr(id->pd, addr, length, IBV_ACCESS_LOCAL_WRITE | in rdma_reg_write() 96 * Support multiple scatter-gather entries. [all …]
|
/freebsd/contrib/ofed/libmlx4/ |
H A D | cq.c | 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 28 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 53 CQ_EMPTY = -1, 54 CQ_POLL_ERR = -2 99 return cq->buf.buf + entry * cq->cqe_size; in get_cqe() 104 struct mlx4_cqe *cqe = get_cqe(cq, n & cq->ibv_cq.cqe); in get_sw_cqe() 105 struct mlx4_cqe *tcqe = cq->cqe_size == 64 ? cqe + 1 : cqe; in get_sw_cqe() 107 return (!!(tcqe->owner_sr_opcode & MLX4_CQE_OWNER_MASK) ^ in get_sw_cqe() 108 !!(n & (cq->ibv_cq.cqe + 1))) ? NULL : cqe; in get_sw_cqe() [all …]
|
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_rx.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 28 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 41 /* Like tcp_fin - called when SDP_MID_DISCONNECT is received */ 46 sdp_dbg(ssk->socket, "%s\n", __func__); in sdp_handle_disconn() 49 if (TCPS_HAVERCVDFIN(ssk->state) == 0) in sdp_handle_disconn() 50 socantrcvmore(ssk->socket); in sdp_handle_disconn() 52 switch (ssk->state) { in sdp_handle_disconn() [all …]
|
/freebsd/usr.bin/sed/ |
H A D | process.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 26 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 111 cp = cp->next; in process() 114 switch (cp->code) { in process() 116 cp = cp->u.c; in process() 125 appends[appendx].s = cp->t; in process() 126 appends[appendx].len = strlen(cp->t); in process() 130 cp = cp->u.c; in process() 135 if (cp->a2 == NULL || lastaddr || lastline()) in process() [all …]
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | pcics_reg_driver.h | 2 * Copyright (c) 2017-2018 Cavium, Inc. 18 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 176 * again.WC 185 * VF register space WC 252 * Since registers from 0x000-0x7ff are spilt across functions, each PF will 258 #define PXPCS_TL_CONTROL_5_UNKNOWNTYPE_ERR_ATTN (1 << 29) /*WC*/ 259 #define PXPCS_TL_CONTROL_5_BOUNDARY4K_ERR_ATTN (1 << 28) /*WC*/ 260 #define PXPCS_TL_CONTROL_5_MRRS_ERR_ATTN (1 << 27) /*WC*/ 261 #define PXPCS_TL_CONTROL_5_MPS_ERR_ATTN (1 << 26) /*WC*/ 262 #define PXPCS_TL_CONTROL_5_TTX_BRIDGE_FORWARD_ERR (1 << 25) /*WC*/ [all …]
|
/freebsd/contrib/tcsh/ |
H A D | glob.c | 23 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 114 #define RANGE '-' 133 #define M_RNG META('-') 156 return (-1); in globcharcoll() 170 * strcoll does not guarantee case sorting, so we pre-process now: in globcharcoll() 179 return (-1); in globcharcoll() 187 return (c1 - c2); in globcharcoll() 211 if (stat(str, &st) == -1 || !S_ISDIR(st.st_mode)) in Opendir() 225 if (*fn != 0 && strend(fn)[-1] == '/' && !S_ISDIR(sb->st_mode)) in Lstat() 226 st = -1; in Lstat() [all …]
|