Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 19 files:

Smatch caller information:

fs/cramfs/uncompress.c cramfs_uncompress_init() -> zlib_inflate_workspacesize()

Type Parameter Key Value

drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_gunzip_init() -> zlib_inflate_workspacesize()

Type Parameter Key Value
TASK_NOT_RUNNING
LOCK2 &o->one_pending_mutex
TYPE_LOCK (struct bnx2x_func_sp_obj)->one_pending_mutex

crypto/deflate.c deflate_alloc_stream() -> zlib_inflate_workspacesize()

Type Parameter Key Value
TASK_NOT_RUNNING

drivers/net/ethernet/qlogic/qed/qed_main.c qed_alloc_stream_mem() -> zlib_inflate_workspacesize()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/net/ppp/ppp_deflate.c z_decomp_alloc() -> zlib_inflate_workspacesize()

Type Parameter Key Value
LOCK2 global &ppp_mutex

fs/squashfs/zlib_wrapper.c zlib_init() -> zlib_inflate_workspacesize()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &stream->mutex

lib/zlib_inflate/infutil.c zlib_inflate_blob() -> zlib_inflate_workspacesize()

Type Parameter Key Value

fs/isofs/compress.c zisofs_init() -> zlib_inflate_workspacesize()

Type Parameter Key Value

fs/btrfs/zlib.c zlib_alloc_workspace() -> zlib_inflate_workspacesize()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/erofs/decompressor_deflate.c z_erofs_load_deflate_config() -> zlib_inflate_workspacesize()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &deflate_resize_mutex
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 &sb->s_umount

kernel/module/decompress.c module_gzip_decompress() -> zlib_inflate_workspacesize()

Type Parameter Key Value

fs/jffs2/compr_zlib.c alloc_workspaces() -> zlib_inflate_workspacesize()

Type Parameter Key Value

drivers/block/zram/backend_deflate.c deflate_create() -> zlib_inflate_workspacesize()

Type Parameter Key Value

lib/decompress_inflate.c __gunzip() -> zlib_inflate_workspacesize()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/pstore/platform.c pstore_get_backend_records() -> zlib_inflate_workspacesize()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &psinfo_lock