/freebsd/share/man/man9/ |
H A D | sglist.9 | 57 .Nd manage a scatter/gather list of physical memory addresses 117 Scatter/gather lists are read-only while they are shared. 118 If one wishes to alter an existing scatter/gather list and does not hold the 122 Each scatter/gather list object contains a reference count. 131 object consists of a header structure and a variable-length array of 132 scatter/gather list elements. 137 scatter/gather list elements. 147 function returns the number of scatter/gather list elements needed to describe 157 function returns the number of scatter/gather list elements needed to describe 168 function returns the number of scatter/gather list elements needed to describe [all …]
|
H A D | uio.9 | 38 .Bd -literal 40 struct iovec *uio_iov; /* scatter/gather list */ 41 int uio_iovcnt; /* length of scatter/gather list */ 70 system call that is being passed to a character-device driver, the 88 .Bl -tag -width ".Va uio_iovcnt" 91 In the case of scatter/gather 101 .Bl -tag -width ".Dv UIO_USERSPACE" 167 .Bd -literal 182 while (uio->uio_resid > 0) { 184 amnt = MIN(uio->uio_resid, data_available); [all …]
|
/freebsd/sys/kern/ |
H A D | subr_sglist.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 16 * 3. Neither the name of the author nor the names of any co-contributors 49 static MALLOC_DEFINE(M_SGLIST, "sglist", "scatter/gather lists"); 64 (sgsave).sg_nseg = (sg)->sg_nseg; \ 66 (sgsave).ss_len = (sg)->sg_segs[(sgsave).sg_nseg - 1].ss_len; \ 72 (sg)->sg_nseg = (sgsave).sg_nseg; \ 74 (sg)->sg_segs[(sgsave).sg_nseg - 1].ss_len = (sgsave).ss_len; \ 89 if (ss->ss_paddr + ss->ss_len == paddr) in _sglist_append_range() 90 ss->ss_len += len; in _sglist_append_range() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86IntrinsicsInfo.h | 1 //===-- X86IntrinsicsInfo.h - X86 Intrinsics ------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 24 GATHER, enumerator 25 SCATTER, enumerator 97 * IntrinsicsWithChain - the table should be sorted by Intrinsic ID - in 118 X86_INTRINSIC_DATA(avx512_gather_dpd_512, GATHER, 0, 0), 119 X86_INTRINSIC_DATA(avx512_gather_dpi_512, GATHER, 0, 0), 120 X86_INTRINSIC_DATA(avx512_gather_dpq_512, GATHER, 0, 0), [all …]
|
/freebsd/sys/dev/qat/qat_api/common/include/ |
H A D | lac_buffer_desc.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2022 Intel Corporation */ 61 * Should be used for CHA-CHA-POLY and GCM algorithms. 113 * in the scatter gather list. 119 * of the elements of the scatter gather 140 * in the scatter gather list. 146 * of the elements of the scatter gather 166 * in the scatter gather list. 171 * scatter gather list. 173 * of the elements of the scatter gather [all …]
|
/freebsd/sys/vm/ |
H A D | sg_pager.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 33 * a scatter/gather list of physical address ranges. 86 * The scatter/gather list must only include page-aligned in sg_pager_alloc() 91 for (i = 0; i < sg->sg_nseg; i++) { in sg_pager_alloc() 92 if ((sg->sg_segs[i].ss_paddr % PAGE_SIZE) != 0 || in sg_pager_alloc() 93 (sg->sg_segs[i].ss_len % PAGE_SIZE) != 0) in sg_pager_alloc() 95 npages += sg->sg_segs[i].ss_len / PAGE_SIZE; in sg_pager_alloc() 99 * The scatter/gather list has a fixed size. Refuse requests in sg_pager_alloc() 110 * scatter/gather list. It is ok for our purposes to have in sg_pager_alloc() [all …]
|
/freebsd/sys/dev/xilinx/ |
H A D | axidma.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 8 * Technology) under DARPA contract HR0011-18-C-0016 ("ECATS"), as part of the 45 #define DMASR_SGINCLD (1 << 3) /* Scatter Gather Enabled */ 49 #define DMASR_SGINTERR (1 << 8) /* Scatter Gather Internal Error. */ 50 #define DMASR_SGSLVERR (1 << 9) /* Scatter Gather Slave Error. */ 51 #define DMASR_SGDECERR (1 << 10) /* Scatter Gather Decode Error. */ 59 #define AXI_SG_CTL 0x2C /* Scatter/Gather User and Cache */
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | MVEGatherScatterLowering.cpp | 1 //===- MVEGatherScatterLowering.cpp - Gather/Scatter lowering -------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 /// This pass custom lowers llvm.gather and llvm.scatter instructions to 10 /// arm.mve.gather and arm.mve.scatter intrinsics, optimising the code to 13 //===----------------------------------------------------------------------===// 48 #define DEBUG_TYPE "arm-mve-gather-scatter-lowering" 51 "enable-arm-maskedgatscat", cl::Hidden, cl::init(true), 67 return "MVE gather/scatter lowering"; in getPassName() 81 // Check this is a valid gather with correct alignment [all …]
|
/freebsd/sys/dev/safe/ |
H A D | safereg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 33 * Register definitions for SafeNet SafeXcel-1141 crypto device. 60 #define SAFE_PE_GRNGBASE 0x0064 /* Packet Engine Gather Ring Base */ 61 #define SAFE_PE_SRNGBASE 0x0068 /* Packet Engine Scatter Ring Base */ 68 #define SAFE_HM_STAT 0x00a4 /* Host Masked Status (read-only) */ 69 #define SAFE_HI_CLR 0x00a4 /* Host Clear Interrupt (write-only) */ 129 #define SAFE_PE_CSR_PAD_16 0x08000000 /* pad to 16-byte boundary */ 130 #define SAFE_PE_CSR_PAD_32 0x10000000 /* pad to 32-byte boundary */ 131 #define SAFE_PE_CSR_PAD_64 0x20000000 /* pad to 64-byte boundary */ [all …]
|
H A D | safevar.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 37 #define SAFE_MAX_PART 64 /* Maximum scatter/gather depth */ 39 #define SAFE_MAX_DSIZE MCLBYTES /* Fixed scatter particle size */ 40 #define SAFE_MAX_SSIZE 0x0ffff /* Maximum gather particle size */ 46 #define SAFE_RNG_MAXBUFSIZ 128 /* 32-bit words */ 89 * ring entries only the ``particle descriptors'' (scatter/gather 189 u_int32_t st_coffmisaligned; /* crypto offset not 32-bit aligned */ 194 u_int32_t st_notuniform; /* non-uniform src caused copy */
|
/freebsd/sys/dev/isci/scil/ |
H A D | sati_callbacks.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0 9 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 22 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 28 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 115 * @note SATI does not manage the user scatter-gather-list. As a result, 137 * @note SATI does not manage the user scatter-gather-list. As a result, 303 * @param[in] address - write buffer address being freed 314 * @brief This method retrieves a pointer to the next scatter gather 318 * from which to retrieve the scatter gather list. [all …]
|
/freebsd/sys/contrib/xen/io/ |
H A D | vscsiif.h | 51 *------------------ Backend Device Identification (PRIVATE) ------------------ 53 * p-devname 58 * p-dev 61 * A string specifying the backend device: either a 4-tuple "h:c:t:l" 65 * v-dev 68 * A string specifying the frontend device in form of a 4-tuple "h:c:t:l" 71 *--------------------------------- Features --------------------------------- 73 * feature-sg-grant 77 * Specifies the maximum number of scatter/gather elements in grant pages 85 *----------------------- Request Transport Parameters ----------------------- [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | Scalarizer.cpp | 1 //===- Scalarizer.cpp - Scalarize vector operations -----------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 15 //===----------------------------------------------------------------------===// 53 "scalarize-variable-insert-extract", cl::init(true), cl::Hidden, 58 // makes it more likely that the -combiner-alias-analysis limits will be 61 "scalarize-load-store", cl::init(false), cl::Hidden, 68 // into a different number of fragments are currently left as-is. 70 "scalarize-min-bits", cl::init(0), cl::Hidden, 77 BasicBlock *BB = Itr->getParent(); in skipPastPhiNodesAndDbg() [all …]
|
/freebsd/contrib/ofed/librdmacm/man/ |
H A D | rdma_post_readv.3 | 1 .\" Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md 2 .TH "RDMA_POST_READV" 3 "2010-07-19" "librdmacm" "Librdmacm Programmer's Manual" librdmacm 4 rdma_post_readv \- post an RDMA read work request. 21 User-defined context associated with the request. 23 A scatter-gather list of the destination buffers of the read. 25 The number of scatter-gather array entries. 37 Returns 0 on success, or -1 on error. If an error occurs, errno will be 48 The user-defined context associated with the read request will be
|
H A D | rdma_post_sendv.3 | 1 .\" Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md 2 .TH "RDMA_POST_SENDV" 3 "2010-07-19" "librdmacm" "Librdmacm Programmer's Manual" librdmacm 4 rdma_post_sendv \- post a work request to send a message. 19 User-defined context associated with the request. 21 A scatter-gather list of memory buffers posted as a single request. 23 The number of scatter-gather entries in the slg array. 31 Returns 0 on success, or -1 on error. If an error occurs, errno will be 44 The user-defined context associated with the send request will be
|
H A D | rdma_post_recvv.3 | 1 .\" Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md 2 .TH "RDMA_POST_RECVV" 3 "2010-07-19" "librdmacm" "Librdmacm Programmer's Manual" librdmacm 4 rdma_post_recvv \- post a work request to receive incoming messages. 18 User-defined context associated with the request. 20 A scatter-gather list of memory buffers posted as a single request. 22 The number of scatter-gather entries in the sgl array. 28 Returns 0 on success, or -1 on error. If an error occurs, errno will be 42 The user-defined context associated with the receive request will be
|
H A D | rdma_post_writev.3 | 1 .\" Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md 2 .TH "RDMA_POST_WRITEV" 3 "2010-07-19" "librdmacm" "Librdmacm Programmer's Manual" librdmacm 4 rdma_post_writev \- post an RDMA write work request. 21 User-defined context associated with the request. 23 A scatter-gather list of the source buffers of the write. 25 The number of scatter-gather array entries. 37 Returns 0 on success, or -1 on error. If an error occurs, errno will be 48 The user-defined context associated with the write request will be
|
/freebsd/sys/dev/liquidio/base/ |
H A D | lio_common.h | 35 * \brief Common: Structures and macros used in PCI-NIC package by core and 70 /* pre-defined host->NIC tag values */ 82 * Subcodes are used by host driver/apps to identify the sub-operation 106 #define LIO_DRV_APP_END (LIO_DRV_INVALID_APP - 1) 117 index = index + count - max; in lio_incr_index() 144 /*--------------------------- SCATTER GATHER ENTRY -----------------------*/ 147 * The Scatter-Gather List Entry. The scatter or gather component used with 165 * \brief Add size to gather list 166 * @param sg_entry scatter/gather entry 175 sg_entry->u.size[pos] = size; in lio_add_sg_size() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVGatherScatterLowering.cpp | 1 //===- RISCVGatherScatterLowering.cpp - Gather/Scatter lowering -----------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This pass custom lowers llvm.gather and llvm.scatter instructions to 10 // RISC-V intrinsics. 12 //===----------------------------------------------------------------------===// 32 #define DEBUG_TYPE "riscv-gather-scatter-lowering" 46 // instructions we created for the first gather/scatter for the others. 63 return "RISC-V gather/scatter lowering"; in getPassName() 83 "RISC-V gather/scatter lowering pass", false, false) [all …]
|
/freebsd/sys/dev/virtio/block/ |
H A D | virtio_blk.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 38 #define VIRTIO_BLK_F_RO 0x0020 /* Disk is read-only */ 57 /* The capacity (in 512-byte sectors). */ 96 * The maximum discard sectors (in 512-byte sectors) for 111 * The maximum number of write zeroes sectors (in 512-byte sectors) in 168 * This comes first in the read scatter-gather list. 170 * this is the first element of the read scatter-gather list. 201 /* And this is the final byte of the write scatter-gather list. */
|
/freebsd/share/doc/psd/05.sysman/ |
H A D | 2.3.t | 62 #define SOCK_RDM 4 /* reliably-delivered message */ 66 messages may be lost or duplicated and may arrive out-of-order. 70 arrive unduplicated and in-order, the sender is notified if 74 The SOCK_STREAM type models connection-based virtual circuits: two-way 77 The SOCK_SEQPACKET type models a connection-based, 78 full-duplex, reliable, sequenced packet exchange; 80 duplicated or presented out-of-order. 82 out-of-band transmission to send out-of-band data. 114 An unconnected socket descriptor of a connection-oriented type 146 Once a binding is made to a connection-oriented socket, [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/arm64/fujitsu/a64fx/ |
H A D | pipeline.json | 123 …"PublicDescription": "This event counts aborted requests in L1D pipelines that due to store-load i… 126 …"BriefDescription": "This event counts aborted requests in L1D pipelines that due to store-load in… 141 …"PublicDescription": "This event counts the number of times where 2 elements of the gather instruc… 144 …"BriefDescription": "This event counts the number of times where 2 elements of the gather instruct… 147 …"PublicDescription": "This event counts the number of times where 2 elements of the gather instruc… 150 …"BriefDescription": "This event counts the number of times where 2 elements of the gather instruct… 153 …"PublicDescription": "This event counts the number of times where 2 elements of the gather instruc… 156 …"BriefDescription": "This event counts the number of times where 2 elements of the gather instruct… 159 "PublicDescription": "This event counts the number of flows of the scatter instructions.", 162 "BriefDescription": "This event counts the number of flows of the scatter instructions."
|
/freebsd/sys/dev/mlx5/mlx5_fpga/ |
H A D | sdk.h | 1 /*- 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 39 /* #include <linux/dma-direction.h> */ 46 * This header defines the in-kernel API for Innova FPGA client drivers. 55 * struct mlx5_fpga_client - Describes an Innova client driver 70 * Any SBU-specific initialization should happen at this stage 78 * SBU-specific cleanup should happen at this stage 95 * struct mlx5_fpga_dma_entry - A scatter-gather DMA entry 102 /** @dma_addr: Private member. Physical DMA-mapped address of the data */ [all …]
|
/freebsd/sys/sys/ |
H A D | uio.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 53 struct iovec *uio_iov; /* scatter/gather list */ 54 int uio_iovcnt; /* length of scatter/gather list */
|
/freebsd/sys/contrib/ncsw/inc/Peripherals/ |
H A D | dpaa_ext.h | 1 /* Copyright (c) 2008-2012 Freescale Semiconductor, Inc 96 e_DPAA_FD_FORMAT_TYPE_SHORT_MBSF = 0x4, /**< Simple frame, Scatter Gather table; Offset 98 e_DPAA_FD_FORMAT_TYPE_LONG_MBSF = 0x6, /**< Simple frame, Scatter Gather table; 100 e_DPAA_FD_FORMAT_TYPE_COMPOUND = 0x1, /**< Compound Frame (29b CONGESTION-WEIGHT 118 #define DPAA_FD_GET_ADDRH(fd) ((t_DpaaFD *)fd)->addrh /**< Macro to g… 119 #define DPAA_FD_GET_ADDRL(fd) ((t_DpaaFD *)fd)->addrl … 121 #define DPAA_FD_GET_FORMAT(fd) ((((t_DpaaFD *)fd)->length & DPAA_FD_FORMAT_MASK) >> (31-2)) … 122 #define DPAA_FD_GET_OFFSET(fd) ((((t_DpaaFD *)fd)->length & DPAA_FD_OFFSET_MASK) >> (31-11))… 123 #define DPAA_FD_GET_LENGTH(fd) (((t_DpaaFD *)fd)->length & DPAA_FD_LENGTH_MASK) … 124 #define DPAA_FD_GET_STATUS(fd) ((t_DpaaFD *)fd)->status … [all …]
|