Home
last modified time | relevance | path

Searched refs:length (Results 1 – 25 of 109) sorted by relevance

12345

/spdk/test/unit/lib/blob/
H A Dbs_dev_common.c125 uint64_t offset, length; in dev_read()
140 length = lba_count * dev->blocklen; in dev_read()
141 SPDK_CU_ASSERT_FATAL(offset + length <= DEV_BUFFER_SIZE); in dev_read()
143 if (length > 0) { in dev_read()
144 memcpy(payload, &g_dev_buffer[offset], length); in dev_read()
145 g_dev_read_bytes += length; in dev_read()
159 uint64_t offset, length; in dev_write()
174 length = lba_count * dev->blocklen; in dev_write()
175 SPDK_CU_ASSERT_FATAL(offset + length <= DEV_BUFFER_SIZE); in dev_write()
177 memcpy(&g_dev_buffer[offset], payload, length); in dev_write()
120 uint64_t offset, length; dev_read() local
154 uint64_t offset, length; dev_write() local
182 __check_iov(struct iovec * iov,int iovcnt,uint64_t length) __check_iov() argument
199 uint64_t offset, length; dev_readv() local
250 uint64_t offset, length; dev_writev() local
322 uint64_t offset, length; dev_unmap() local
352 uint64_t offset, length; dev_write_zeroes() local
[all...]
/spdk/test/unit/lib/blob/blob.c/
H A Dext_dev.c36 uint64_t offset, length; in ext_dev_read() local
39 length = lba_count * dev->blocklen; in ext_dev_read()
40 SPDK_CU_ASSERT_FATAL(offset + length <= EXT_DEV_BUFFER_SIZE); in ext_dev_read()
42 if (length > 0) { in ext_dev_read()
43 memcpy(payload, &g_ext_dev_buffer[offset], length); in ext_dev_read()
54 uint64_t offset, length; in ext_dev_write() local
57 length = lba_count * dev->blocklen; in ext_dev_write()
58 SPDK_CU_ASSERT_FATAL(offset + length <= EXT_DEV_BUFFER_SIZE); in ext_dev_write()
60 memcpy(&g_ext_dev_buffer[offset], payload, length); in ext_dev_write()
/spdk/test/unit/lib/nvmf/rdma.c/
H A Drdma_ut.c63 ibv_reg_mr(struct ibv_pd *pd, void *addr, size_t length, int access) in ibv_reg_mr()
66 if (length > 0) { in ibv_reg_mr()
133 rdma_req->req.length = 0; in reset_nvmf_rdma_request()
145 rdma_req->data.wr.sg_list[i].length = 0; in reset_nvmf_rdma_request()
204 sgl->keyed.length = rtransport.transport.opts.io_unit_size / 2; in test_spdk_nvmf_rdma_request_parse_sgl()
210 CU_ASSERT(rdma_req.req.length == rtransport.transport.opts.io_unit_size / 2); in test_spdk_nvmf_rdma_request_parse_sgl()
218 CU_ASSERT(rdma_req.data.wr.sg_list[0].length == rtransport.transport.opts.io_unit_size / 2); in test_spdk_nvmf_rdma_request_parse_sgl()
223 sgl->keyed.length = rtransport.transport.opts.io_unit_size * RDMA_UT_UNITS_IN_MAX_IO; in test_spdk_nvmf_rdma_request_parse_sgl()
228 CU_ASSERT(rdma_req.req.length == rtransport.transport.opts.io_unit_size * RDMA_UT_UNITS_IN_MAX_IO); in test_spdk_nvmf_rdma_request_parse_sgl()
235 CU_ASSERT(rdma_req.data.wr.sg_list[i].length in test_spdk_nvmf_rdma_request_parse_sgl()
62 ibv_reg_mr(struct ibv_pd * pd,void * addr,size_t length,int access) ibv_reg_mr() argument
[all...]
/spdk/include/spdk/
H A Dblobfs.h287 uint64_t length);
319 void *payload, uint64_t offset, uint64_t length);
333 void *payload, uint64_t offset, uint64_t length);
396 struct iovec *iovs, uint32_t iovcnt, uint64_t offset, uint64_t length,
412 struct iovec *iovs, uint32_t iovcnt, uint64_t offset, uint64_t length,
494 void spdk_file_truncate_async(struct spdk_file *file, uint64_t length,
509 void *payload, uint64_t offset, uint64_t length,
524 void *payload, uint64_t offset, uint64_t length,
H A Dopal_spec.h170 uint32_t length; member
185 uint8_t length; member
331 uint32_t length; member
343 uint32_t length; member
351 uint32_t length; member
/spdk/test/unit/lib/bdev/raid/bdev_raid_sb.c/
H A Dbdev_raid_sb_ut.c142 CU_ASSERT(nbytes == spdk_divide_round_up(sb->length, data_block_size) * bdev->blocklen); in spdk_bdev_write()
182 sb->length = sizeof(*sb); in prepare_sb()
183 sb->crc = spdk_crc32c_update(sb, sb->length, 0); in prepare_sb()
226 CU_ASSERT(memcmp(raid_bdev.sb, g_buf, raid_bdev.sb->length) == 0); in test_raid_bdev_write_superblock()
229 raid_bdev.sb->length = RAID_BDEV_SB_MAX_LENGTH; in test_raid_bdev_write_superblock()
243 CU_ASSERT(memcmp(raid_bdev.sb, g_buf, raid_bdev.sb->length) == 0); in test_raid_bdev_write_superblock()
254 CU_ASSERT(memcmp(sb, g_buf, sb->length) == 0); in load_sb_cb()
292 sb->length = data_block_size * 3; in test_raid_bdev_load_base_bdev_superblock()
293 memset(sb->base_bdevs, 0xef, sb->length - offsetof(struct raid_bdev_superblock, base_bdevs)); in test_raid_bdev_load_base_bdev_superblock()
305 sb->length = data_block_size * 3; in test_raid_bdev_load_base_bdev_superblock()
[all …]
/spdk/test/unit/lib/nvmf/vfio_user.c/
H A Dvfio_user_ut.c139 cmd.dptr.sgl1.unkeyed.length = len; in test_nvme_cmd_map_sgls()
150 sgl[0].unkeyed.length = 2048; in test_nvme_cmd_map_sgls()
153 sgl[1].unkeyed.length = len - 2048; in test_nvme_cmd_map_sgls()
157 cmd.dptr.sgl1.unkeyed.length = 2 * sizeof(*sgl); in test_nvme_cmd_map_sgls()
169 sgl[0].unkeyed.length = 2048; in test_nvme_cmd_map_sgls()
172 sgl[1].unkeyed.length = 2 * sizeof(*sgl); in test_nvme_cmd_map_sgls()
176 sgl[9].unkeyed.length = 4096; in test_nvme_cmd_map_sgls()
179 sgl[10].unkeyed.length = 2048; in test_nvme_cmd_map_sgls()
183 cmd.dptr.sgl1.unkeyed.length = 2 * sizeof(*sgl); in test_nvme_cmd_map_sgls()
199 sgl[0].unkeyed.length in test_nvme_cmd_map_sgls()
[all...]
/spdk/lib/nvmf/
H A Dtransport.c875 nvmf_request_set_buffer(struct spdk_nvmf_request *req, void *buf, uint32_t length, in nvmf_request_get_buffers()
879 req->iov[req->iovcnt].iov_len = spdk_min(length, io_unit_size); in nvmf_request_get_buffers()
880 length -= req->iov[req->iovcnt].iov_len; in nvmf_request_get_buffers()
883 return length; in nvmf_request_get_buffers()
887 nvmf_request_set_stripped_buffer(struct spdk_nvmf_request *req, void *buf, uint32_t length, in spdk_nvmf_request_get_buffers()
893 data->iov[data->iovcnt].iov_len = spdk_min(length, io_unit_size); in spdk_nvmf_request_get_buffers()
894 length -= data->iov[data->iovcnt].iov_len; in spdk_nvmf_request_get_buffers()
897 return length; in spdk_nvmf_request_get_buffers()
906 uint32_t length, uint32_t io_unit_size, in spdk_nvmf_request_get_buffers()
917 num_buffers = SPDK_CEIL_DIV(length, io_unit_siz in nvmf_request_set_stripped_buffer()
842 nvmf_request_set_buffer(struct spdk_nvmf_request * req,void * buf,uint32_t length,uint32_t io_unit_size) nvmf_request_set_buffer() argument
857 nvmf_request_get_buffers(struct spdk_nvmf_request * req,struct spdk_nvmf_transport_poll_group * group,struct spdk_nvmf_transport * transport,uint32_t length,uint32_t io_unit_size,set_buffer_callback cb_func) nvmf_request_get_buffers() argument
890 spdk_nvmf_request_get_buffers(struct spdk_nvmf_request * req,struct spdk_nvmf_transport_poll_group * group,struct spdk_nvmf_transport * transport,uint32_t length) spdk_nvmf_request_get_buffers() argument
910 nvmf_request_set_stripped_buffer(struct spdk_nvmf_request * req,void * buf,uint32_t length,uint32_t io_unit_size) nvmf_request_set_stripped_buffer() argument
942 nvmf_request_get_stripped_buffers(struct spdk_nvmf_request * req,struct spdk_nvmf_transport_poll_group * group,struct spdk_nvmf_transport * transport,uint32_t length) nvmf_request_get_stripped_buffers() argument
[all...]
H A Dauth.c204 if (len != req->length) {
205 AUTH_ERRLOG(qpair, "invalid length: %"PRIu32" != %"PRIu32"\n", len, req->length);
215 if (req->length > 0 && req->iovcnt == 1 && req->iov[0].iov_len >= size) {
254 if (req->length < sizeof(*msg) || req->length != sizeof(*msg) + msg->napd * sizeof(*desc)) { in nvmf_auth_negotiate_exec()
255 AUTH_ERRLOG(qpair, "invalid message length: %"PRIu32"\n", req->length); in nvmf_auth_negotiate_exec()
359 if (req->length < sizeof(*msg)) { in nvmf_auth_reply_exec()
360 AUTH_ERRLOG(qpair, "invalid message length in nvmf_auth_reply_exec()
584 nvmf_auth_recv_complete(struct spdk_nvmf_request * req,uint32_t length) nvmf_auth_recv_complete() argument
[all...]
H A Dtcp.c1996 if ((h2c_data->datao + h2c_data->datal) > tcp_req->req.length) { in nvmf_tcp_h2c_data_payload_handle()
1998 "tcp_req(%p), tqpair=%p, (datao=%u + datal=%u) exceeds requested length=%u\n", in nvmf_tcp_h2c_data_payload_handle()
1999 tcp_req, tqpair, h2c_data->datao, h2c_data->datal, tcp_req->req.length); in nvmf_tcp_h2c_data_payload_handle()
2052 if (spdk_unlikely(tcp_req->pdu->rw_offset < tcp_req->req.length)) { in nvmf_tcp_h2c_term_req_hdr_handle()
2053 SPDK_DEBUGLOG(nvmf_tcp, "sending another C2H part, offset %u length %u\n", tcp_req->pdu->rw_offset,
2054 tcp_req->req.length);
2077 if (tcp_req->h2c_offset == tcp_req->req.length) { in _nvmf_tcp_pdu_payload_handle()
2105 r2t->r2tl = tcp_req->req.length; in data_crc32_calc_done()
2132 if (tcp_req->h2c_offset == tcp_req->req.length && in nvmf_tcp_pdu_payload_handle()
2480 SPDK_ERRLOG("PDU type=0x%02x, Expected ICReq header length in nvmf_tcp_sock_process()
2553 uint32_t length, error_offset = 0; nvmf_tcp_req_parse_sgl() local
[all...]
H A Dctrlr_discovery.c207 uint32_t iovcnt, uint64_t offset, uint32_t length, in nvmf_get_discovery_log_page() argument
221 copy_len = spdk_min(tmp->iov_len, length); in nvmf_get_discovery_log_page()
227 length -= copy_len; in nvmf_get_discovery_log_page()
229 if (log_page_size <= offset || length == 0) { in nvmf_get_discovery_log_page()
H A Dctrlr_bdev.c383 if (spdk_unlikely(num_blocks * block_size > req->length)) { in nvmf_bdev_ctrlr_write_cmd()
384 SPDK_ERRLOG("Read NLB %" PRIu64 " * block size %" PRIu32 " > SGL length %" PRIu32 "\n", in nvmf_bdev_ctrlr_write_cmd()
385 num_blocks, block_size, req->length);
436 if (spdk_unlikely(num_blocks * block_size > req->length)) { in nvmf_bdev_ctrlr_compare_and_write_cmd()
437 SPDK_ERRLOG("Write NLB %" PRIu64 " * block size %" PRIu32 " > SGL length %" PRIu32 "\n", in nvmf_bdev_ctrlr_compare_and_write_cmd()
438 num_blocks, block_size, req->length); in nvmf_bdev_ctrlr_compare_and_write_cmd()
482 if (spdk_unlikely(num_blocks * block_size > req->length)) { in nvmf_bdev_ctrlr_compare_and_write_cmd()
483 SPDK_ERRLOG("Compare NLB %" PRIu64 " * block size %" PRIu32 " > SGL length %" PRIu32 "\n", in nvmf_bdev_ctrlr_compare_and_write_cmd()
484 num_blocks, block_size, req->length);
536 if (spdk_unlikely(write_num_blocks * block_size > write_req->length)) { in nvmf_bdev_ctrlr_flush_cmd()
[all...]
/spdk/lib/rocksdb/
H A Denv_spdk.cc80 input_tmp = input.substr(mount_directory.length(), input.length()); in sanitize_path()
115 virtual Status InvalidateCache(size_t offset, size_t length) override;
150 __attribute__((unused)) size_t length) in InvalidateCache() argument
163 virtual Status InvalidateCache(size_t offset, size_t length) override;
190 __attribute__((unused)) size_t length) in InvalidateCache() argument
278 __attribute__((unused)) size_t length) override in InvalidateCache() argument
377 if (fname.compare(0, mDirectory.length(), mDirectory) == 0) { in NewSequentialFile()
405 if (fname.compare(0, mDirectory.length(), mDirectory) == 0) { in NewRandomAccessFile()
429 if (fname.compare(0, mDirectory.length(), mDirectory) == 0) { in NewWritableFile()
554 if (dir.compare(0, mDirectory.length(), mDirectory) == 0) { in GetChildren()
[all …]
/spdk/test/unit/lib/nvme/nvme_rdma.c/
H A Dnvme_rdma_ut.c89 ibv_reg_mr(struct ibv_pd *pd, void *addr, size_t length, int access) in ibv_reg_mr() argument
92 if (length > 0) { in ibv_reg_mr()
161 nvme_rdma_ut_next_sge(void *cb_arg, void **address, uint32_t *length) in nvme_rdma_ut_next_sge() argument
175 *length = iov->iov_len; in nvme_rdma_ut_next_sge()
223 CU_ASSERT(req.cmd.dptr.sgl1.keyed.length == req.payload_size); in test_nvme_rdma_build_sgl_request()
226 CU_ASSERT(rdma_req.send_sgl[0].length == sizeof(struct spdk_nvme_cmd)); in test_nvme_rdma_build_sgl_request()
240 CU_ASSERT(req.cmd.dptr.sgl1.unkeyed.length == 4 * sizeof(struct spdk_nvme_sgl_descriptor)); in test_nvme_rdma_build_sgl_request()
242 CU_ASSERT(rdma_req.send_sgl[0].length == 4 * sizeof(struct spdk_nvme_sgl_descriptor) + sizeof( in test_nvme_rdma_build_sgl_request()
247 CU_ASSERT(cmd.sgl[i].keyed.length == bio.iovs[i].iov_len); in test_nvme_rdma_build_sgl_request()
271 /* Test case 5: SGL length exceed in test_nvme_rdma_build_sgl_request()
[all...]
/spdk/lib/nvme/
H A Dnvme_pcie_common.c1344 uint32_t length; in nvme_pcie_qpair_build_contig_hw_sgl_request()
1355 length = req->payload_size; in nvme_pcie_qpair_build_contig_hw_sgl_request()
1360 while (length > 0) { in nvme_pcie_qpair_build_contig_hw_sgl_request()
1372 mapping_length = length; in nvme_pcie_qpair_build_contig_hw_sgl_request()
1379 mapping_length = spdk_min(length, mapping_length);
1381 length -= mapping_length; in nvme_pcie_qpair_build_hw_sgl_request()
1385 sgl->unkeyed.length = mapping_length; in nvme_pcie_qpair_build_hw_sgl_request()
1402 req->cmd.dptr.sgl1.unkeyed.length = tr->u.sgl[0].unkeyed.length; in nvme_pcie_qpair_build_hw_sgl_request()
1409 req->cmd.dptr.sgl1.unkeyed.length in nvme_pcie_qpair_build_hw_sgl_request()
1305 uint32_t length; nvme_pcie_qpair_build_contig_hw_sgl_request() local
1386 uint32_t remaining_transfer_len, remaining_user_sge_len, length; nvme_pcie_qpair_build_hw_sgl_request() local
1519 uint32_t remaining_transfer_len, length; nvme_pcie_qpair_build_prps_sgl_request() local
[all...]
H A Dnvme_rdma.c70 * The max length of keyed SGL data block (3 bytes)
287 size_t length;
839 SPDK_DEBUGLOG(nvme, "local addr %p length 0x%x lkey 0x%x\n", \ in nvme_rdma_create_rsps()
840 (void *)(sg_list)->addr, (sg_list)->length, (sg_list)->lkey); \ in nvme_rdma_create_rsps()
900 rsp_sgl->length = sizeof(struct spdk_nvme_cpl); in nvme_rdma_create_rsps()
987 * an NVMe-oF SGL is required, the length of in nvme_rdma_route_resolved()
1411 _ctx->length, &dma_translation); in nvme_rdma_build_null_request()
1420 _ctx->length = dma_translation.iov.iov_len; in nvme_rdma_build_null_request()
1422 rc = spdk_rdma_utils_get_translation(rqpair->mr_map, _ctx->addr, _ctx->length, &rdma_translation);
1453 rdma_req->send_sgl[0].length in nvme_rdma_build_contig_inline_request()
281 size_t length; global() member
1632 uint32_t length; nvme_rdma_build_sgl_inline_request() local
[all...]
/spdk/scripts/
H A Ddpdk_mem_info.py248 name, length, addr, trash = info.split(',', 3)
253 trash, length = length.split(':', 1)
256 return memzone(name, int(length, 0), int(addr, 0))
260 trash, addr, iova, length, pagesz = line.split(':')
262 length, trash = length.strip().split(' ')
264 return segment(int(length, 0), int(addr, 0))
367 trash, length, trash = line.split(maxsplit=2)
370 … element = heap_element(int(length, 0), heap_elem_status.FREE, int(address, 0))
372 … element = heap_element(int(length, 0), heap_elem_status.BUSY, int(address, 0))
/spdk/module/bdev/raid/
H A Dconcat.c18 uint64_t length; member
194 if (offset_blocks >= block_range[i].start + block_range[i].length) { in concat_submit_null_payload_request()
208 pd_blocks = spdk_min(num_blocks, block_range[i].length - pd_lba); in concat_submit_null_payload_request()
226 assert(offset_blocks < block_range[i].start + block_range[i].length); in concat_submit_null_payload_request()
228 pd_blocks = spdk_min(num_blocks, block_range[i].length - pd_lba); in concat_submit_null_payload_request()
292 block_range[idx].length = pd_block_cnt; in concat_start()
H A Dbdev_raid_sb.c82 sb->length = sizeof(*sb) + sizeof(*sb_base_bdev) * sb->base_bdevs_size; in raid_bdev_init_superblock()
101 raid_bdev->sb_io_buf_size = spdk_divide_round_up(sb->length, in raid_bdev_alloc_sb_io_buf()
109 raid_bdev->sb_io_buf_size = SPDK_ALIGN_CEIL(sb->length, raid_bdev->bdev.blocklen); in raid_bdev_alloc_sb_io_buf()
120 sb->crc = spdk_crc32c_update(sb, sb->length, 0); in raid_bdev_sb_update_crc()
148 if (spdk_divide_round_up(sb->length, spdk_bdev_get_data_block_size(bdev)) > in raid_bdev_parse_superblock()
150 if (sb->length > RAID_BDEV_SB_MAX_LENGTH) { in raid_bdev_parse_superblock()
207 ctx->buf_size = spdk_divide_round_up(spdk_min(sb->length, RAID_BDEV_SB_MAX_LENGTH), in raid_bdev_read_sb_remainder()
/spdk/test/unit/lib/nvmf/auth.c/
H A Dauth_ut.c105 (_req)->length = _len; \
213 /* Bad length (send) */ in test_auth_send_recv_error()
217 send_cmd.tl = req.length + 1; in test_auth_send_recv_error()
224 send_cmd.tl = req.length; in test_auth_send_recv_error()
226 /* Bad length (recv) */ in test_auth_send_recv_error()
230 recv_cmd.al = req.length - 1; in test_auth_send_recv_error()
237 recv_cmd.al = req.length; in test_auth_send_recv_error()
239 /* Bad length (smaller than common header) */ in test_auth_send_recv_error()
243 send_cmd.tl = req.length = sizeof(struct nvmf_auth_common_header) - 1; in test_auth_send_recv_error()
249 send_cmd.tl = req.length in test_auth_send_recv_error()
[all...]
/spdk/lib/virtio/
H A Dvirtio_pci.c268 void *dst, int length) in modern_read_dev_config() argument
280 for (i = 0; i < length; i++) { in modern_read_dev_config()
293 const void *src, int length) in modern_write_dev_config() argument
300 for (i = 0; i < length; i++) { in modern_write_dev_config()
521 uint32_t length = cap->length; in get_cfg_addr() local
529 if (offset + length < offset) { in get_cfg_addr()
531 offset, length); in get_cfg_addr()
535 if (offset + length > hw->pci_bar[bar].len) { in get_cfg_addr()
537 offset + length, hw->pci_bar[bar].len); in get_cfg_addr()
582 pos, cap.cfg_type, cap.bar, cap.offset, cap.length); in virtio_read_caps()
H A Dvirtio_vfio_user.c28 void *dst, int length) in virtio_vfio_user_read_dev_config() argument
32 SPDK_DEBUGLOG(virtio_vfio_user, "offset 0x%lx, length 0x%x\n", offset, length); in virtio_vfio_user_read_dev_config()
35 length, dst, false); in virtio_vfio_user_read_dev_config()
40 const void *src, int length) in virtio_vfio_user_write_dev_config() argument
44 SPDK_DEBUGLOG(virtio_vfio_user, "offset 0x%lx, length 0x%x\n", offset, length); in virtio_vfio_user_write_dev_config()
47 length, (void *)src, true); in virtio_vfio_user_write_dev_config()
/spdk/test/unit/lib/blobfs/blobfs_sync_ut/
H A Dblobfs_sync_ut.c143 uint64_t length; in cache_read_after_write() local
157 length = (4 * 1024 * 1024); in cache_read_after_write()
158 rc = spdk_file_truncate(g_file, channel, length); in cache_read_after_write()
164 CU_ASSERT(spdk_file_get_length(g_file) == length); in cache_read_after_write()
321 CU_ASSERT(g_file->length == buf_length); in append_write_to_extend_blob()
330 CU_ASSERT(g_file->length == buf_length + 2); in append_write_to_extend_blob()
402 uint64_t length; in cache_write_null_buffer() local
415 length = 0; in cache_write_null_buffer()
416 rc = spdk_file_truncate(g_file, channel, length); in cache_write_null_buffer()
/spdk/doc/
H A Dtwo.min.js27 …nction(c){var k=0;return $jscomp.iteratorPrototype(function(){return k<c.length?{done:!1,value:c[k…
28 …terator();c instanceof String&&(c+="");var m=0,l={next:function(){if(m<c.length){var h=m++;return{…
29 …{m=$jscomp.global;c=c.split(".");for(l=0;l<c.length-1;l++){var h=c[l];h in m||(m[h]={});m=m[h]}c=c…
30 …"Array.prototype.fill",function(c){return c?c:function(c,m,l){var h=this.length||0;0>m&&(m=Math.ma…
31 …trigger(p.Events.resize,c,a)}function m(){L(m);for(var a=0;a<p.Instances.length;a++){var c=p.Insta…
33 …=a?!0:q&&(d.isArray(a)||d.isString(a)||d.isArguments(a))?0===a.length:0===d.keys(a).length},isElem…
34 …{if(d.natural.indexOf)return d.natural.indexOf.call(a,c);for(var f=0;f<a.length;f++)if(a[f]===c)re…
35 …ents,1),f=0;f<c.length;f++){var e=c[f],d;for(d in e)a[d]=e[d]}return a},defaults:function(a){for(v…
36length;e++)f.push(a[c[e]]);return f},each:function(a,c,f){f=f||this;for(var e=!q(a)&&d.keys(a),g=(…
37 …w?l.performance:Date,r=Math.pow(2,53)-1,q=function(a){a=null==a?void 0:a.length;return"number"==ty…
[all …]
/spdk/test/unit/lib/nvmf/ctrlr_bdev.c/
H A Dctrlr_bdev_ut.c490 write_req.length = (write_cmd.cdw12 + 1) * bdev.blocklen; in test_spdk_nvmf_bdev_ctrlr_compare_and_write_cmd()
506 write_req.length = (write_cmd.cdw12 + 1) * bdev.blocklen; in test_nvmf_bdev_ctrlr_identify_ns()
522 write_req.length = (write_cmd.cdw12 + 1) * bdev.blocklen; in test_nvmf_bdev_ctrlr_identify_ns()
538 write_req.length = (write_cmd.cdw12 + 1) * bdev.blocklen - 1; in test_nvmf_bdev_ctrlr_identify_ns()
684 write_req.length = (write_cmd.cdw12 + 1) * bdev.blocklen; in test_nvmf_bdev_ctrlr_cmd()
695 write_req.length = (write_cmd.cdw12 + 1) * bdev.blocklen; in test_nvmf_bdev_ctrlr_cmd()
706 write_req.length = (write_cmd.cdw12 + 1) * bdev.blocklen - 1; in test_nvmf_bdev_ctrlr_cmd()
731 req.length = 4096; in test_nvmf_bdev_ctrlr_cmd()
749 /* SGL length invalid */ in test_nvmf_bdev_ctrlr_cmd()
751 req.length in test_nvmf_bdev_ctrlr_cmd()
[all...]

12345