Home
last modified time | relevance | path

Searched refs:ref (Results 1 – 25 of 71) sorted by relevance

123

/spdk/test/unit/lib/iscsi/conn.c/
H A Dconn_ut.c94 task->scsi.ref = 1; in iscsi_task_get()
98 parent->scsi.ref++; in iscsi_task_get()
116 CU_ASSERT(scsi_task->ref > 0); in spdk_scsi_task_put()
117 scsi_task->ref--; in spdk_scsi_task_put()
230 task->scsi.ref = 1; in ut_conn_task_get()
234 parent->scsi.ref++; in ut_conn_task_get()
281 primary.scsi.ref = 1; in read_task_split_in_order_case()
292 CU_ASSERT(primary.scsi.ref == 0); in read_task_split_in_order_case()
295 CU_ASSERT(task->scsi.ref == 0); in read_task_split_in_order_case()
317 primary.scsi.ref = 1; in read_task_split_reverse_order_case()
[all …]
/spdk/test/unit/lib/util/xor.c/
H A Dxor_ut.c22 uint8_t *ref, *dest; in test_xor_gen() local
40 ref = malloc(BUF_SIZE); in test_xor_gen()
41 SPDK_CU_ASSERT_FATAL(ref != NULL); in test_xor_gen()
43 memset(ref, 0, BUF_SIZE); in test_xor_gen()
46 ref[j] ^= ((uint8_t *)bufs[i])[j]; in test_xor_gen()
53 ret = memcmp(ref, dest, BUF_SIZE); in test_xor_gen()
60 ret = memcmp(ref, dest, BUF_SIZE - 1); in test_xor_gen()
69 memset(ref, 0, BUF_SIZE); in test_xor_gen()
72 ref[j] ^= ((uint8_t *)bufs2[i])[j]; in test_xor_gen()
79 ret = memcmp(ref, dest, BUF_SIZE - SRC_BUF_COUNT); in test_xor_gen()
[all …]
/spdk/doc/
H A Dapplications.md9 - @ref iscsi
10 - @ref nvmf
11 - @ref vhost
30 -c | --config | string | | @ref cmd_arg_config_file
31 -d | --limit-coredump | flag | false | @ref cmd_arg_limit_coredump
32 -e | --tpoint-group | integer | | @ref cmd_arg_limit_tpoint_g…
33 -g | --single-file-segments | flag | | @ref cmd_arg_single_file_se…
35 -i | --shm-id | integer | | @ref cmd_arg_multi_process
36 -m | --cpumask | CPU mask | 0x1 | application @ref cpu_mask
40 -s | --mem-size | integer | all hugepage memory | @ref cmd_arg_memory_size
[all …]
H A Dvmd.md5 * @ref vmd_intro
6 * @ref vmd_interface
7 * @ref vmd_key_functions
8 * @ref vmd_config
9 * @ref vmd_app_frame
10 * @ref vmd_app
11 * @ref vmd_led
H A Dtemplate_pg.md5 @ref componentname_pg_audience
6 @ref componentname_pg_intro
7 @ref componentname_pg_theory
8 @ref componentname_pg_design
9 @ref componentname_pg_examples
10 @ref componentname_pg_config
11 @ref componentname_pg_component
12 @ref componentname_pg_sequences
H A Ddistributions.md5 * @ref distros_overview
6 * @ref linux_list
7 * @ref freebsd_list
H A Dshfmt.md5 * @ref shfmt_overview
6 * @ref shfmt_usage
7 * @ref shfmt_installation
8 * @ref shfmt_examples
39 is run with. Additionally, @ref shfmt_examples has more details on how
H A Dvirtio.md14 The driver, just like the SPDK @ref vhost, is using pollers instead of standard
20 @ref bdev_config_virtio_scsi and @ref bdev_config_virtio_blk.
H A Doverview.md18 need. For more information on this abstraction, see @ref concurrency.
27 library based on DPDK. However, that implementation can be swapped out. See @ref
33 components. For a full overview, see @ref app_overview.
37 JSON-RPC. See @ref jsonrpc for additional information.
44 - @ref bdev
45 - @ref nvme
H A Dvhost.md5 - @ref vhost_intro
6 - @ref vhost_prereqs
7 - @ref vhost_start
8 - @ref vhost_config
9 - @ref vhost_qemu_config
10 - @ref vhost_example
11 - @ref vhost_advanced_topics
12 - @ref vhost_bugs
24 The diagram, and the vhost protocol itself is described in @ref vhost_processing doc.
33 This guide assumes the SPDK has been built according to the instructions in @ref
[all …]
H A Dvhost_processing.md5 - @ref vhost_processing_intro
6 - @ref vhost_processing_qemu
7 - @ref vhost_processing_init
8 - @ref vhost_processing_io_path
9 - @ref vhost_spdk_optimizations
39 See also @ref vhost_spdk_optimizations
193 be discussed in this document. For the highest performance, a poll-mode @ref virtio
H A Duserspace.md34 drivers. See @ref memory for full details.
44 This includes a [block device abstraction layer](@ref bdev) primarily, but
45 also [block allocators](@ref blob) and [filesystem-like components](@ref blobfs).
50 [MMIO](https://en.wikipedia.org/wiki/Memory-mapped_I/O) directly. The SPDK @ref
H A Dabout.md17 written as a C library with a single public header. See @ref nvme for more
24 management. See @ref bdev for more information.
H A Dcontainers.md9 * @ref spdk_in_docker
10 * @ref spdk_docker_suite
11 * @ref kata_containers_with_spdk_vhost
/spdk/lib/rdma_utils/
H A Drdma_utils.c22 int ref;
38 uint32_t ref;
263 if (!dev->removed || dev->ref > 0) { in rdma_remove_dev()
391 dev->ref++; in spdk_rdma_utils_get_pd()
413 assert(dev->ref > 0); in spdk_rdma_utils_put_pd()
414 dev->ref--; in spdk_rdma_utils_put_pd()
432 dev->ref = 0; in _rdma_utils_fini()
453 domain->ref++; in spdk_rdma_utils_get_memory_domain()
482 domain->ref = 1; in spdk_rdma_utils_get_memory_domain()
511 assert(domain->ref > in spdk_rdma_utils_put_memory_domain()
20 int ref; global() member
36 uint32_t ref; global() member
[all...]
/spdk/test/unit/lib/iscsi/
H A Dcommon.c48 parent->scsi.ref++; in iscsi_task_get()
80 pdu->ref--; in iscsi_put_pdu()
81 if (pdu->ref < 0) { in iscsi_put_pdu()
83 pdu->ref = 0; in iscsi_put_pdu()
86 if (pdu->ref == 0) { in iscsi_put_pdu()
110 pdu->ref = 1; in iscsi_get_pdu()
/spdk/test/common/nvme/
H A Dfunctions.sh17 local ref=$1 reg val
20 local -gA "$ref=()"
23 && eval "${ref}[${reg//[[:space:]]/}]=\"${val##+([[:space:]])}\""
/spdk/lib/scsi/
H A Dtask.c31 assert(task->ref > 0); in spdk_scsi_task_put()
32 task->ref--; in spdk_scsi_task_put()
34 if (task->ref == 0) { in spdk_scsi_task_put()
59 task->ref++; in spdk_scsi_task_construct()
H A Dlun.c517 lun->ref++; in scsi_lun_allocate_io_channel()
529 lun->ref = 1; in scsi_lun_allocate_io_channel()
545 lun->ref--; in scsi_lun_free_io_channel()
546 if (lun->ref == 0) { in scsi_lun_free_io_channel()
/spdk/module/bdev/rbd/
H A Dbdev_rbd.c30 uint32_t ref; member
85 uint32_t ref; member
152 assert(entry->ref > 0); in bdev_rbd_put_cluster()
153 entry->ref--; in bdev_rbd_put_cluster()
169 assert(entry->ref > 0); in bdev_rbd_put_pool_ctx()
170 entry->ref--; in bdev_rbd_put_pool_ctx()
171 if (entry->ref == 0) { in bdev_rbd_put_pool_ctx()
313 entry->ref++; in bdev_rbd_get_cluster()
369 entry->ref++; in bdev_rbd_get_pool_ctx()
392 entry->ref = 1; in bdev_rbd_get_pool_ctx()
[all …]
/spdk/module/bdev/ocf/
H A Dvolume.h20 int ref; global() member
/spdk/lib/thread/
H A Dthread_internal.h23 uint32_t ref; member
/spdk/test/unit/lib/bdev/part.c/
H A Dpart_ut.c270 SPDK_CU_ASSERT_FATAL(base->ref == 1); in part_test()
274 SPDK_CU_ASSERT_FATAL(base->ref == 2); in part_test()
278 SPDK_CU_ASSERT_FATAL(base->ref == 2); in part_test()
418 SPDK_CU_ASSERT_FATAL(base->ref == 1); in part_construct_ext()
/spdk/lib/iscsi/
H A Dinit_grp.h28 int ref; member
/spdk/scripts/bpf/
H A Dnvme.bt8 printf("%d.%06d: release controller %s with ref %d\n",

123