Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

mm/zswap.c zswap_compress() -> zs_malloc()

Type Parameter Key Value
PARAM_VALUE 1 size 1-4096
PARAM_VALUE 2 gfp 75786
PARAM_VALUE 3 nid 0-1023
FUZZY_MAX 1 size 4096
UNITS 1 size unit_byte
LOCK2 &acomp_ctx->mutex
TYPE_LOCK (struct crypto_acomp_ctx)->mutex

drivers/block/zram/zram_drv.c recompress_slot() -> zs_malloc()

Type Parameter Key Value
PARAM_VALUE 0 pool 4096-ptr_max
PARAM_VALUE 2 gfp 11274
PARAM_VALUE 3 nid 0-1023
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/block/zram/zram_drv.c write_incompressible_page() -> zs_malloc()

Type Parameter Key Value
PARAM_VALUE 1 size 4096
PARAM_VALUE 2 gfp 11274
PARAM_VALUE 3 nid 0-1023
UNITS 1 size unit_byte

drivers/block/zram/zram_drv.c zram_write_page() -> zs_malloc()

Type Parameter Key Value
PARAM_VALUE 2 gfp 11274
PARAM_VALUE 3 nid 0-1023
CAPPED_DATA 1 size 1
RX_PATH
TASK_NOT_RUNNING