| /spdk/lib/util/ |
| H A D | pipe.c | 25 uint32_t read; member 94 uint32_t read; in spdk_pipe_writer_get_buffer() local 97 read = pipe->read; in spdk_pipe_writer_get_buffer() 110 if (read <= write) { in spdk_pipe_writer_get_buffer() 119 sz = spdk_min(requested_sz, read); in spdk_pipe_writer_get_buffer() 128 sz = spdk_min(requested_sz, read - write); in spdk_pipe_writer_get_buffer() 143 uint32_t read; in spdk_pipe_writer_advance() local 146 read = pipe->read; in spdk_pipe_writer_advance() 153 if (read <= write) { in spdk_pipe_writer_advance() 154 if (requested_sz > (pipe->sz - write) + read) { in spdk_pipe_writer_advance() [all …]
|
| /spdk/test/unit/lib/util/pipe.c/ |
| H A D | pipe_ut.c | 44 CU_ASSERT(pipe->read == 0); in test_write_get_buffer() 56 CU_ASSERT(pipe->read == 0); in test_write_get_buffer() 68 CU_ASSERT(pipe->read == 0); in test_write_get_buffer() 83 CU_ASSERT(pipe->read == 0); in test_write_get_buffer() 95 CU_ASSERT(pipe->read == 0); in test_write_get_buffer() 99 /* Advance the read pointer 3 bytes in. */ in test_write_get_buffer() 100 pipe->read = 3; in test_write_get_buffer() 110 CU_ASSERT(pipe->read == 3); in test_write_get_buffer() 122 CU_ASSERT(pipe->read == 3); in test_write_get_buffer() 126 /* Advance the read pointe in test_write_get_buffer() [all...] |
| /spdk/test/json_config/ |
| H A D | config_filter.py | 55 data = json.loads(sys.stdin.read()) 76 data = json.loads(sys.stdin.read()) 78 raise EOFError("Can't read config!") 111 o = json.loads('{ "the_object": ' + sys.stdin.read() + ' }')
|
| /spdk/scripts/env_dpdk/22.11/ |
| H A D | 23.11-rte_bus_pci.h.patch | 30 - * < 0: An error in PCI config space read. 53 - * < 0: An error in PCI config space read. 72 * 0 on success, -1 on error in PCI config space read/write. 88 - * 0 on success, -1 on error in PCI config space read/write. 113 - * A data buffer where the bytes should be read into. 119 - * Number of bytes read on success, negative on error.
|
| H A D | 23.07-rte_bus_pci.h.patch | 16 - * A data buffer where the bytes should be read into. 22 - * Number of bytes read on success, negative on error.
|
| /spdk/scripts/bash-completion/ |
| H A D | spdk | 21 while read -r; do 23 read -r pos _ <<< "$REPLY" && echo "$pos" 30 while read -r; do 38 IFS=", " read -ra aliases <<< "${BASH_REMATCH[4]}" 159 while read -r _ mount fs _; do 178 IFS=", " read -ra g_masks <<< "${BASH_REMATCH[1]}" 189 IFS=", " read -ra logflags <<< "${BASH_REMATCH[1]}"
|
| /spdk/module/bdev/ftl/ |
| H A D | bdev_ftl_rpc.c | 253 spdk_json_write_named_object_begin(w, "read"); in _rpc_bdev_ftl_get_stats() 254 spdk_json_write_named_uint64(w, "ios", stats->entries[i].read.ios); in _rpc_bdev_ftl_get_stats() 255 spdk_json_write_named_uint64(w, "blocks", stats->entries[i].read.blocks); in _rpc_bdev_ftl_get_stats() 257 spdk_json_write_named_uint64(w, "media", stats->entries[i].read.errors.media); in _rpc_bdev_ftl_get_stats() 258 spdk_json_write_named_uint64(w, "crc", stats->entries[i].read.errors.crc); in _rpc_bdev_ftl_get_stats() 259 spdk_json_write_named_uint64(w, "other", stats->entries[i].read.errors.other); in _rpc_bdev_ftl_get_stats()
|
| /spdk/scripts/ |
| H A D | spdk-gpt.py | 22 return int(lbs.read()) 28 data = os.read(b, length)
|
| H A D | rpc_http_proxy.py | 99 data_string = self.rfile.read(int(self.headers['Content-Length'])) 107 chunk = self.rfile.read(chunk_length)
|
| H A D | sma-client.py | 68 request = json.loads(sys.stdin.read())
|
| /spdk/test/ftl/config/fio/ |
| H A D | randw-verify-qd2048-ext.fio | 22 [read]
|
| /spdk/doc/ |
| H A D | vhost_processing.md | 61 > device back-end processing read and write to a virtual disk. 128 uint32_t type; // READ, WRITE, FLUSH (read-only) 129 uint64_t offset; // offset in the disk (read-only) 130 struct iovec buffers[]; // scatter-gatter list (read/write) 138 struct virtio_scsi_cmd_req *req; // request data (read-only) 159 /* This marks a buffer as device write-only (otherwise device read-only). */
|
| H A D | bdev_module.md | 52 * communication with a backend. The main commands are read/write API 168 `spdk_bdev_open_ext()` may be used to open the underlying bdev read-only. If a 169 read-only bdev descriptor successfully claims a bdev with 171 the bdev descriptor is promoted to read-write. 179 be released with `spdk_bdev_module_release_bdev()`. If a read-only bdev 180 descriptor is passed, it is promoted to read-write. NULL may be passed instead
|
| H A D | blob.md | 54 …Blobs are read and written in units of pages by specifying an offset from the start of the blob. A… 132 With external snapshots (see @ref blob_pg_esnap_and_esnap_clone), a read from a blob may lead to 169 …snapshot and register a blobstore device that will satisfy read requests. See @ref blob_pg_esnap_a… 173 Blobstore is only capable of doing page sized read/write operations. If the application 324 * **read from blocks on an owned cluster**: The read is serviced by reading directly from the 326 * **read from other blocks**: The read is passed on to the blob's *back device* and the back 327 device services the read. The back device may be another blob or it may be a zeroes device. 342 blob's back device is a *zeroes device*. A read from a zeroes device fills the read buffer with 354 A snapshot is a read-only blob that may have clones. A snapshot may itself be a clone of one other 358 When blob1 is snapshotted, a new read-only blob is created and blob1 becomes a clone of this new [all …]
|
| H A D | sma.md | 118 QoS limits like read IOPS, write IOPS, read/write IOPS, read bandwidth, 119 write bandwidth, read/write bandwidth.
|
| H A D | ssd_internals.md | 48 is called trim. When a user attempts to read a block that doesn't have a 51 1. Immediately complete the read request successfully, without performing any 85 performance on random read and write workloads, if the workload is filling up
|
| H A D | jsonrpc_proxy.md | 54 …': {}, u'supported_io_types': {u'reset': True, u'nvme_admin': False, u'unmap': True, u'read': True,
|
| H A D | concurrency.md | 23 that you read from top to bottom. 55 data isn't mutated very often, but is read very frequently, and is often 169 Don't split these functions up - keep them as a nice unit that can be read from bottom to top. 264 This is complex, of course, but the `run_state_machine` function can be read
|
| H A D | bdevperf.md | 75 - read
|
| H A D | compression.md | 37 Storage from the backing storage device will be allocated, read, and written to in 4KB units for 182 * Since no data has been written to this chunk, return all 0's to satisfy the read I/O. 188 do a read-modify-write. 189 * Chunk map 1 only specifies one backing IO unit (2). Allocate a 16KB buffer and read block
|
| /spdk/test/spdkcli/match_files/ |
| H A D | spdkcli_details_vhost.test.match | 33 "read": $(S),
|
| /spdk/test/unit/lib/blob/blob.c/ |
| H A D | ext_dev.c | 75 dev->read = ext_dev_read; in init_ext_dev()
|
| /spdk/test/nvme/overhead/ |
| H A D | README | 3 It runs a random read, queue depth = 1 workload to a single device,
|
| /spdk/test/vhost/windows/ |
| H A D | windows_scsi_compliance.py | 53 log_text = fh.read()
|
| /spdk/python/spdk/sma/ |
| H A D | qmp.py | 160 raise QMPSocketError('Receive: socket read failed') from e 162 raise QMPSocketError('Receive: socket read got unexpected EOF') from e 192 Execute QMP cmd and read result. Returns resulting message, error or optionally 252 data = json.loads(sys.stdin.read())
|