| /spdk/test/dd/ |
| H A D | common.sh | 101 local bytes 106 bytes=({a..z} {0..9}) 108 bytes=("$@") 112 string+=${bytes[RANDOM % ${#bytes[@]}]}
|
| /spdk/module/bdev/ocf/ |
| H A D | ctx.c | 220 uint64_t from, uint64_t bytes) in vbdev_ocf_ctx_data_cpy() argument 228 bytes = MIN(bytes, s->size - from); in vbdev_ocf_ctx_data_cpy() 229 bytes = MIN(bytes, d->size - to); in vbdev_ocf_ctx_data_cpy() 230 sz = bytes; in vbdev_ocf_ctx_data_cpy() 232 while (from || bytes) { in vbdev_ocf_ctx_data_cpy() 243 n = MIN(bytes, s->iovs[it_iov].iov_len); in vbdev_ocf_ctx_data_cpy() 245 bytes -= n; in vbdev_ocf_ctx_data_cpy()
|
| H A D | volume.c | 76 size_t offset, size_t bytes) 83 while (bytes > 0) { in vbdev_ocf_volume_io_get() 85 len = MIN(bytes, orig_vec[i].iov_len - offset); 90 bytes -= len; in vbdev_ocf_volume_io_put() 144 int dir, uint64_t addr, uint64_t bytes, in vbdev_ocf_volume_submit_io_cb() 163 if (bytes == data->size) { in vbdev_ocf_volume_submit_io_cb() 187 iovcnt, offset, bytes); in prepare_submit() 192 addr, bytes, cb, (void *) token); in prepare_submit() 195 addr, bytes, cb, (void *) token); in prepare_submit() 215 uint64_t bytes in prepare_submit() 117 initialize_cpy_vector(struct iovec * cpy_vec,int cpy_vec_len,struct iovec * orig_vec,int orig_vec_len,size_t offset,size_t bytes) initialize_cpy_vector() argument [all...] |
| /spdk/scripts/env_dpdk/22.11/ |
| 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. 40 - * A data buffer containing the bytes should be written. 46 - * Number of bytes written on success, negative on error.
|
| H A D | 23.11-rte_bus_pci.h.patch | 113 - * A data buffer where the bytes should be read into. 119 - * Number of bytes read on success, negative on error. 137 - * A data buffer containing the bytes should be written. 143 - * Number of bytes written on success, negative on error.
|
| /spdk/python/spdk/sma/ |
| H A D | common.py | 15 if type(volume_id) is bytes: 16 return str(uuid.UUID(bytes=volume_id))
|
| H A D | qmp.py | 184 self._socket.sendall(bytes(json.dumps(msg) + '\r\n', 'utf-8'))
|
| /spdk/test/unit/lib/iscsi/ |
| H A D | common.c | 198 iscsi_conn_read_data(struct spdk_iscsi_conn *conn, int bytes, void *buf) in iscsi_conn_read_data() argument 209 SPDK_CU_ASSERT_FATAL((bytes % 4) == 0); in iscsi_conn_read_data() 211 for (i = 0; i < bytes; i += 4) { in iscsi_conn_read_data() 215 g_conn_read_len += bytes; in iscsi_conn_read_data() 217 return bytes; in iscsi_conn_read_data()
|
| /spdk/proto/ |
| H A D | sma.proto | 27 bytes key = 1; 29 bytes key2 = 2; 45 …// tweak is derived from nvme LBA that is internally incremented by 1 for every 512 bytes processed 50 …// tweak is derived from nvme LBA that is internally incremented by 1 for every 512 bytes processed 61 bytes volume_id = 1; 117 bytes volume_id = 1; 153 bytes volume_id = 2;
|
| /spdk/scripts/bpf/ |
| H A D | readv.bt | 2 @bytes = hist(args->ret);
|
| /spdk/module/sock/uring/ |
| H A D | uring.c | 97 * of this control message header has a size of 8 bytes, 'buf' 101 "Incorrect alignment: `buf` must be aligned to 8 bytes"); 296 ssize_t bytes; in uring_sock_getaddr() 343 bytes = spdk_iovcpy(siov, 2, diov, 2); in uring_sock_alloc_pipe() 344 spdk_pipe_writer_advance(new_pipe, bytes); in uring_sock_alloc_pipe() 797 ssize_t bytes; in uring_sock_recv_from_pipe() 809 bytes = spdk_iovcpy(siov, 2, diov, diovcnt); in uring_sock_recv_from_pipe() 811 if (bytes == 0) { in uring_sock_recv_from_pipe() 817 spdk_pipe_reader_advance(sock->recv_pipe, bytes); in sock_readv() 826 return bytes; in uring_sock_read() 313 ssize_t bytes; uring_sock_alloc_pipe() local 781 ssize_t bytes; uring_sock_recv_from_pipe() local 828 int bytes; uring_sock_read() local [all...] |
| /spdk/test/sma/ |
| H A D | common.sh | 22 print(base64.b64encode(uuid.UUID("$1").bytes).decode())
|
| /spdk/scripts/ |
| H A D | core-collector.sh | 33 "size": "$core_size bytes",
|
| H A D | rpc_http_proxy.py | 122 self.wfile.write(bytes(response.encode(encoding='ascii')))
|
| /spdk/test/ftl/ |
| H A D | trim.sh | 86 cmp --bytes=$((unmap_size_in_blocks * 4096)) $file /dev/zero
|
| /spdk/lib/ftl/ |
| H A D | ftl_layout.h | 153 /* Address size in bytes */ 183 * @param entry_size MD entry size in bytes 202 * @param bytes size of the MD region in bytes 206 uint64_t ftl_md_region_blocks(struct spdk_ftl_dev *dev, uint64_t bytes); 266 * @param blob_buf_sz Size of the blob buffer in bytes 268 * @return Number of bytes the stored blob entries take up. 0 if calculated value would exceed blob_buf_sz. 277 * @param blob_sz Size of the blob buffer in bytes
|
| H A D | ftl_layout.c | 58 ftl_md_region_blocks(struct spdk_ftl_dev *dev, uint64_t bytes) in ftl_md_region_blocks() argument 63 result = spdk_divide_round_up(bytes, alignment); in ftl_md_region_blocks()
|
| /spdk/module/sock/posix/ |
| H A D | posix.c | 292 ssize_t bytes; in posix_sock_getaddr() 338 bytes = spdk_iovcpy(siov, 2, diov, 2); in posix_sock_alloc_pipe() 339 spdk_pipe_writer_advance(new_pipe, bytes); in posix_sock_alloc_pipe() 1488 ssize_t bytes; in posix_sock_recv_from_pipe() 1500 bytes = spdk_iovcpy(siov, 2, diov, diovcnt); in posix_sock_recv_from_pipe() 1502 if (bytes == 0) { in posix_sock_recv_from_pipe() 1508 spdk_pipe_reader_advance(sock->recv_pipe, bytes); 1522 return bytes; in posix_sock_read() 308 ssize_t bytes; posix_sock_alloc_pipe() local 1472 ssize_t bytes; posix_sock_recv_from_pipe() local
|
| /spdk/test/blobstore/ |
| H A D | btest.out.match | 57 # of bytes: 1048576
|
| /spdk/python/spdk/sma/device/ |
| H A D | vhost_blk.py | 210 request.volume_id = uuid.UUID(id).bytes
|
| /spdk/lib/iscsi/ |
| H A D | conn.c | 1290 * Otherwise returns the number of bytes successfully read. in iscsi_conn_read_data() 1293 iscsi_conn_read_data(struct spdk_iscsi_conn *conn, int bytes, in iscsi_conn_read_data() 1298 if (bytes == 0) { in iscsi_conn_read_data() 1302 ret = spdk_sock_recv(conn->sock, buf, bytes); in iscsi_conn_read_data() 1281 iscsi_conn_read_data(struct spdk_iscsi_conn * conn,int bytes,void * buf) iscsi_conn_read_data() argument
|
| /spdk/test/bdev/bdevio/ |
| H A D | bdevio.c | 219 bdev_bytes_to_blocks(struct spdk_bdev *bdev, uint64_t bytes) in bdev_bytes_to_blocks() argument 223 CU_ASSERT(bytes % block_size == 0); in bdev_bytes_to_blocks() 224 return bytes / block_size; in bdev_bytes_to_blocks()
|
| /spdk/test/nvme/perf/ |
| H A D | README.md | 85 The block size in bytes used for I/O units.
|
| /spdk/lib/util/ |
| H A D | dif.c | 59 /* Size of the created iovec array in bytes */ 138 _dif_sgl_is_bytes_multiple(struct _dif_sgl *s, uint32_t bytes) in _dif_sgl_is_bytes_multiple() argument 143 if (s->iov[i].iov_len % bytes) { in _dif_sgl_is_bytes_multiple() 153 _dif_sgl_is_valid(struct _dif_sgl *s, uint32_t bytes) in _dif_sgl_is_valid_block_aligned() 162 return total >= bytes; in _dif_sgl_is_valid_block_aligned() 208 /* For metadata formats with more than 8/16 bytes (depending on in _dif_size() 209 * the PI format), if the DIF is contained in the last 8/16 bytes in _dif_size() 211 * these last 8/16 bytes. in _dif_size() 219 /* For metadata formats with more than 8/16 bytes (depending on in _get_guard_interval() 220 * the PI format), if the DIF is contained in the first 8/16 bytes in _get_guard_interval() 169 _dif_sgl_is_valid(struct _dif_sgl * s,uint32_t bytes) _dif_sgl_is_valid() argument [all...] |
| /spdk/doc/ |
| H A D | applications.md | 110 the highest page size. This option accepts a number of bytes with a possible
|