Commit 2fe1348d authored by Seth Howell's avatar Seth Howell Committed by Tomasz Zawadzki
Browse files

lib/util: add a map file.



Signed-off-by: default avatarSeth Howell <seth.howell@intel.com>
Change-Id: Ibfc3133aa6aa54d443d7845aa94ae2ea9cc59e95
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2302


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent b59b86ae
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -43,4 +43,6 @@ C_SRCS = base64.c bit_array.c cpuset.c crc16.c crc32.c crc32c.c crc32_ieee.c \
LIBNAME = util
LOCAL_SYS_LIBS = -luuid

SPDK_MAP_FILE = $(abspath $(CURDIR)/spdk_util.map)

include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk

lib/util/spdk_util.map

0 → 100644
+128 −0
Original line number Diff line number Diff line
{
	global:

	# public functions in base64.h
	spdk_base64_encode;
	spdk_base64_urlsafe_encode;
	spdk_base64_decode;
	spdk_base64_urlsafe_decode;

	# public functions in bit_array.h
	spdk_bit_array_capacity;
	spdk_bit_array_create;
	spdk_bit_array_free;
	spdk_bit_array_resize;
	spdk_bit_array_get;
	spdk_bit_array_set;
	spdk_bit_array_clear;
	spdk_bit_array_find_first_set;
	spdk_bit_array_find_first_clear;
	spdk_bit_array_count_set;
	spdk_bit_array_count_clear;
	spdk_bit_array_store_mask;
	spdk_bit_array_load_mask;
	spdk_bit_array_clear_mask;

	# public functions in cpuset.h
	spdk_cpuset_alloc;
	spdk_cpuset_free;
	spdk_cpuset_equal;
	spdk_cpuset_copy;
	spdk_cpuset_and;
	spdk_cpuset_or;
	spdk_cpuset_xor;
	spdk_cpuset_negate;
	spdk_cpuset_zero;
	spdk_cpuset_set_cpu;
	spdk_cpuset_get_cpu;
	spdk_cpuset_count;
	spdk_cpuset_fmt;
	spdk_cpuset_parse;

	# public functions in crc16.h
	spdk_crc16_t10dif;
	spdk_crc16_t10dif_copy;

	# public functions in crc32.h
	spdk_crc32_ieee_update;
	spdk_crc32c_update;

	# public functions in dif.h
	spdk_dif_ctx_init;
	spdk_dif_ctx_set_data_offset;
	spdk_dif_ctx_set_remapped_init_ref_tag;
	spdk_dif_generate;
	spdk_dif_verify;
	spdk_dif_update_crc32c;
	spdk_dif_generate_copy;
	spdk_dif_verify_copy;
	spdk_dif_inject_error;
	spdk_dix_generate;
	spdk_dix_verify;
	spdk_dix_inject_error;
	spdk_dif_set_md_interleave_iovs;
	spdk_dif_generate_stream;
	spdk_dif_verify_stream;
	spdk_dif_update_crc32c_stream;
	spdk_dif_get_range_with_md;
	spdk_dif_get_length_with_md;
	spdk_dif_remap_ref_tag;
	spdk_dix_remap_ref_tag;

	# public functions in fd.h
	spdk_fd_get_size;
	spdk_fd_get_blocklen;

	# public functions in file.h
	spdk_posix_file_load;

	# public functions in pipe.h
	spdk_pipe_create;
	spdk_pipe_destroy;
	spdk_pipe_writer_get_buffer;
	spdk_pipe_writer_advance;
	spdk_pipe_reader_bytes_available;
	spdk_pipe_reader_get_buffer;
	spdk_pipe_reader_advance;

	# public functions in string.h
	spdk_sprintf_alloc;
	spdk_vsprintf_alloc;
	spdk_sprintf_append_realloc;
	spdk_vsprintf_append_realloc;
	spdk_strlwr;
	spdk_strsepq;
	spdk_str_trim;
	spdk_strerror_r;
	spdk_strerror;
	spdk_str_chomp;
	spdk_strcpy_pad;
	spdk_strlen_pad;
	spdk_parse_ip_addr;
	spdk_parse_capacity;
	spdk_mem_all_zero;
	spdk_strtol;
	spdk_strtoll;

	# public functions in util.h
	spdk_u32log2;
	spdk_u64log2;
	spdk_iovcpy;

	# resolvers for functions in util.h
	spdk_u32log2.resolver;
	spdk_u64log2.resolver;

	# public functions in uuid.h
	spdk_uuid_parse;
	spdk_uuid_fmt_lower;
	spdk_uuid_compare;
	spdk_uuid_generate;
	spdk_uuid_copy;





	local: *;
};