numam-spdk/lib/scsi/spdk_scsi.map
Shuhei Matsumoto f61d81e47c scsi: Add spdk_scsi_dev_get_first/next_lun() to traverse all LUNs
Add two public APIs spdk_scsi_dev_get_first_lun() and
spdk_scsi_dev_get_next_lun() to remove the dependency on the macro
constant SPDK_SCSI_DEV_MAX_LUN from lib/iscsi and lib/vhost.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I6546697f823fe9f4fa34e1161f5c7fa912dd2d59
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9608
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: GangCao <gang.cao@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2021-10-11 10:08:22 +00:00

54 lines
1.3 KiB
Plaintext

{
global:
# Public functions
spdk_scsi_init;
spdk_scsi_fini;
spdk_scsi_lun_get_id;
spdk_scsi_lun_get_bdev_name;
spdk_scsi_lun_get_dev;
spdk_scsi_lun_is_removing;
spdk_scsi_dev_get_name;
spdk_scsi_dev_get_id;
spdk_scsi_dev_get_lun;
spdk_scsi_dev_get_first_lun;
spdk_scsi_dev_get_next_lun;
spdk_scsi_dev_has_pending_tasks;
spdk_scsi_dev_destruct;
spdk_scsi_dev_queue_mgmt_task;
spdk_scsi_dev_queue_task;
spdk_scsi_dev_add_port;
spdk_scsi_dev_delete_port;
spdk_scsi_dev_find_port_by_id;
spdk_scsi_dev_allocate_io_channels;
spdk_scsi_dev_free_io_channels;
spdk_scsi_dev_construct;
spdk_scsi_dev_delete_lun;
spdk_scsi_dev_add_lun;
spdk_scsi_port_create;
spdk_scsi_port_free;
spdk_scsi_port_get_name;
spdk_scsi_task_construct;
spdk_scsi_task_put;
spdk_scsi_task_set_data;
spdk_scsi_task_scatter_data;
spdk_scsi_task_gather_data;
spdk_scsi_task_build_sense_data;
spdk_scsi_task_set_status;
spdk_scsi_task_copy_status;
spdk_scsi_task_process_null_lun;
spdk_scsi_task_process_abort;
spdk_scsi_lun_open;
spdk_scsi_lun_close;
spdk_scsi_lun_allocate_io_channel;
spdk_scsi_lun_free_io_channel;
spdk_scsi_lun_get_dif_ctx;
spdk_scsi_port_set_iscsi_transport_id;
spdk_scsi_lun_id_int_to_fmt;
spdk_scsi_lun_id_fmt_to_int;
spdk_scsi_dev_construct_ext;
spdk_scsi_dev_add_lun_ext;
local: *;
};