Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 13 files:
- crypto/adiantum.c, line 414
- crypto/aes.c
- crypto/ahash.c
- crypto/authencesn.c
- crypto/scatterwalk.c, line 74
- crypto/scompress.c, line 238
- drivers/crypto/aspeed/aspeed-hace-hash.c, line 185
- drivers/crypto/intel/qat/qat_common/qat_comp_algs.c, line 435
- drivers/crypto/nx/nx-aes-ccm.c
- drivers/crypto/nx/nx-aes-gcm.c
- drivers/crypto/s5p-sss.c
- include/crypto/scatterwalk.h, line 249
- mm/zswap.c, line 943
Smatch caller information:
crypto/adiantum.c adiantum_crypt() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | sg | 4096-ptr_max |
| PARAM_VALUE | 3 | nbytes | 16 |
| BUF_SIZE | 0 | buf | 16 |
| CAPPED_DATA | 1 | sg->length | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/aspeed/aspeed-hace-hash.c aspeed_ahash_dma_prepare() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | buf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | buf | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| NOCHECK_CALL | |||
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/intel/ixp4xx/ixp4xx_crypto.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | nbytes | 1-u32max |
| BUF_SIZE | 0 | buf | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | buf | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| FUZZY_MAX | 3 | nbytes | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
crypto/xts.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3423156191708561408,5087817186903072768 |
| PARAM_VALUE | 2 | start | 0,16-u32max |
| PARAM_VALUE | 3 | nbytes | 0-16 |
| BUF_SIZE | 0 | buf | 16,32 |
| BUF_SIZE | 0 | buf | 16,32 |
| BUF_SIZE | 1 | sg | (-1),64 |
| BUF_SIZE | 1 | sg | (-1),64 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| BIT_INFO | 2 | start | 0x0,0x7ffffff0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| UNITS | 1 | sg | unit_byte |
crypto/scompress.c scomp_acomp_comp_decomp() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 0,18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | sg | 4096-ptr_max |
| PARAM_VALUE | 1 | sg->length | 0-4294967294 |
| PARAM_VALUE | 2 | start | 0 |
| PARAM_VALUE | 3 | nbytes | 1-u32max |
| CAPPED_DATA | 1 | sg->length | 1 |
| CAPPED_DATA | 3 | nbytes | 1 |
| PARAM_COMPARE | 1 | sg->length | < $3 |
| PARAM_COMPARE | 3 | nbytes | > $1->length |
| NOSPEC | 1 | sg->length | |
| NOSPEC | 3 | nbytes | |
| NOSPEC | 3 | nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| HOST_DATA | 3 | nbytes | 1-u32max[c] |
| USER_DATA | 1 | sg->length | 128-4095[c] |
| USER_DATA | 1 | sg->offset | 2-4095[c][u] |
| USER_DATA | 3 | nbytes | 128-4095[c] |
| NO_OVERFLOW_SIMPLE | 3 | nbytes | |
| UNITS | 1 | sg | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
| LOCK2 | bh | ||
| HALF_LOCKED2 | &acomp_ctx->mutex |
arch/x86/crypto/aegis128-aesni-glue.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | buf | 16 |
| BUF_SIZE | 0 | buf | 16 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-2147483646[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| NO_OVERFLOW_SIMPLE | 1 | sg->length | |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/crypto/qce/aead.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| BUF_SIZE | 0 | buf | 32 |
| BUF_SIZE | 0 | buf | 32 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
| HALF_LOCKED2 | &bdma_chan->lock | ||
| HALF_LOCKED2 | &ioat_chan->cleanup_lock | ||
| HALF_LOCKED2 | &mv_chan->lock | ||
| HALF_LOCKED2 | &pd_chan->lock | ||
| HALF_LOCKED2 | &plxdev->ring_lock | ||
| HALF_LOCKED2 | &swdma_chan->complete_lock | ||
| HALF_LOCKED2 | &td_chan->lock | ||
| HALF_LOCKED2 | bh |
crypto/gcm.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | buf | (-1),16 |
| BUF_SIZE | 0 | buf | (-1),16 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-2147483646[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| NO_OVERFLOW_SIMPLE | 1 | sg->length | |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
crypto/krb5enc.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | sg->length | |
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/cavium/nitrox/nitrox_aead.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | start | 0 |
| BUF_SIZE | 0 | buf | 20 |
| BUF_SIZE | 0 | buf | 20 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-2147483646[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| NO_OVERFLOW_SIMPLE | 1 | sg->length | |
| UNITS | 1 | sg | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
crypto/essiv.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 0 |
| PARAM_VALUE | 3 | nbytes | 1-4000000 |
| BUF_SIZE | 0 | buf | 1-s32max |
| BUF_SIZE | 0 | buf | 1-s32max |
| CAPPED_DATA | 3 | nbytes | 1 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | sg->length | |
| UNITS | 1 | sg | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/qce/sha.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | buf | (-1),64 |
| BUF_SIZE | 0 | buf | (-1),64 |
| BUF_SIZE | 1 | sg | (-1),64 |
| BUF_SIZE | 1 | sg | (-1),64 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| NOSPEC | 3 | nbytes | |
| NOSPEC | 3 | nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| HOST_DATA | 3 | nbytes | 0-4350,4294963202-u32max[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| USER_DATA | 3 | nbytes | 0-u32max |
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/sa2ul.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3074114382018510848 |
| BUF_SIZE | 0 | buf | 64 |
| BUF_SIZE | 0 | buf | 64 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
| HALF_LOCKED2 | &bdma_chan->lock | ||
| HALF_LOCKED2 | &ioat_chan->cleanup_lock | ||
| HALF_LOCKED2 | &mv_chan->lock | ||
| HALF_LOCKED2 | &pd_chan->lock | ||
| HALF_LOCKED2 | &plxdev->ring_lock | ||
| HALF_LOCKED2 | &swdma_chan->complete_lock | ||
| HALF_LOCKED2 | &td_chan->lock | ||
| HALF_LOCKED2 | bh |
drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | *buf | 0-255 |
| PARAM_VALUE | 1 | sg | 4096-ptr_max |
| BUF_SIZE | 1 | sg | (-1),64 |
| BUF_SIZE | 1 | sg | (-1),64 |
| CAPPED_DATA | 3 | nbytes | 1 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| HOST_DATA | 2 | start | 0-u32max[c] |
| HOST_DATA | 3 | nbytes | 1-4350[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| USER_DATA | 2 | start | 0-u32max[c][u] |
| USER_DATA | 3 | nbytes | 1-s32max[c] |
| UNITS | 1 | sg | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
crypto/seqiv.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | nbytes | 8 |
| BUF_SIZE | 0 | buf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | buf | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-2147483646[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| NO_OVERFLOW_SIMPLE | 1 | sg->length | |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
| USER_PTR | 0 | buf | |
| HALF_LOCKED2 | &pool->lock |
drivers/crypto/ccp/ccp-crypto-aes-cmac.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | buf | (-1),16 |
| BUF_SIZE | 0 | buf | (-1),16 |
| BUF_SIZE | 1 | sg | (-1),64 |
| BUF_SIZE | 1 | sg | (-1),64 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| NOSPEC | 3 | nbytes | |
| NOSPEC | 3 | nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| HOST_DATA | 3 | nbytes | 0-4350,4294963202-u32max[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| USER_DATA | 3 | nbytes | 0-u32max |
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
crypto/authenc.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-2147483646[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| NO_OVERFLOW_SIMPLE | 1 | sg->length | |
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/omap-crypto.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 2 | start | 0 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| NOCHECK_CALL | |||
| UNITS | 3 | nbytes | unit_byte |
mm/zswap.c zswap_decompress() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | sg | 3342043836256006144 |
| PARAM_VALUE | 1 | sg->offset | 0-4103 |
| PARAM_VALUE | 2 | start | 0 |
| PARAM_VALUE | 3 | nbytes | 4096 |
| BUF_SIZE | 1 | sg | 64 |
| DATA_SOURCE | 0 | buf | r kmap_local_folio |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | nbytes | unit_byte |
| LOCK2 | &acomp_ctx->mutex | ||
| TYPE_LOCK | (struct crypto_acomp_ctx)->mutex |
crypto/authencesn.c crypto_authenc_esn_decrypt() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | nbytes | 1-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| NO_OVERFLOW_SIMPLE | 1 | sg->length | |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | bh |
crypto/authencesn.c crypto_authenc_esn_decrypt() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 6304510813721493504 |
| PARAM_VALUE | 2 | start | 0 |
| PARAM_VALUE | 3 | nbytes | 8 |
| BUF_SIZE | 0 | buf | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| NO_OVERFLOW_SIMPLE | 1 | sg->length | |
| UNITS | 1 | sg | unit_byte |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | bh |
crypto/authencesn.c crypto_authenc_esn_decrypt_tail() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1705199035714228224 |
| PARAM_VALUE | 2 | start | 4 |
| PARAM_VALUE | 3 | nbytes | 4 |
| BUF_SIZE | 0 | buf | 8 |
| CAPPED_DATA | 1 | sg | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-2147483646[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| NO_OVERFLOW_SIMPLE | 1 | sg->length | |
| UNITS | 1 | sg | unit_byte |
| HALF_LOCKED2 | &pool->lock |
crypto/authencesn.c crypto_authenc_esn_decrypt_tail() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1705199035714228228 |
| PARAM_VALUE | 3 | nbytes | 4 |
| BUF_SIZE | 0 | buf | 4 |
| CAPPED_DATA | 1 | sg | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | sg->length | |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| HALF_LOCKED2 | &pool->lock |
crypto/authencesn.c crypto_authenc_esn_genicv() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 5473070962666491904 |
| PARAM_VALUE | 2 | start | 0 |
| PARAM_VALUE | 3 | nbytes | 8 |
| BUF_SIZE | 0 | buf | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| NO_OVERFLOW_SIMPLE | 1 | sg->length | |
| UNITS | 1 | sg | unit_byte |
crypto/authencesn.c crypto_authenc_esn_genicv_tail() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 6487006000946434048 |
| PARAM_VALUE | 2 | start | 4 |
| PARAM_VALUE | 3 | nbytes | 4 |
| BUF_SIZE | 0 | buf | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-2147483646[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| NO_OVERFLOW_SIMPLE | 1 | sg->length | |
| UNITS | 1 | sg | unit_byte |
crypto/authencesn.c crypto_authenc_esn_genicv_tail() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 6487006000946434052 |
| PARAM_VALUE | 3 | nbytes | 4 |
| BUF_SIZE | 0 | buf | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | sg->length | |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
crypto/aes.c crypto_aes_cbc_cts_crypt_nonlinear() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 7704894034506489856 |
| BUF_SIZE | 0 | buf | 32 |
| CAPPED_DATA | 3 | nbytes | 1 |
| NOSPEC | 2 | start | |
| NOSPEC | 2 | start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | start | 17-u32max[c] |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
crypto/aes.c crypto_aes_ccm_decrypt() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 7099818130339852288 |
| BUF_SIZE | 0 | buf | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| NO_OVERFLOW_SIMPLE | 1 | sg->length | |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | bh |
crypto/aes.c crypto_aes_gcm_decrypt_common() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 6621773042778406912 |
| BUF_SIZE | 0 | buf | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-2147483646[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| NO_OVERFLOW_SIMPLE | 1 | sg->length | |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
| HALF_LOCKED2 | &pool->lock |
crypto/aes.c crypto_aes_xts_crypt_nonlinear() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3128250141439655936 |
| PARAM_VALUE | 3 | nbytes | 17-31 |
| BUF_SIZE | 0 | buf | 32 |
| NOSPEC | 2 | start | |
| NOSPEC | 2 | start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| USER_DATA | 2 | start | 16-u32max[c] |
| USER_DATA | 3 | nbytes | 17-31[c] |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/virtio/virtio_crypto_skcipher_algs.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | nbytes | 16 |
| BUF_SIZE | 0 | buf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | buf | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| NOCHECK_CALL | |||
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
drivers/crypto/intel/keembay/keembay-ocs-aes-core.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | buf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | buf | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | sg | 1 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| NOCHECK_CALL | |||
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/intel/qat/qat_common/qat_comp_algs.c qat_comp_lz4s_zstd_callback() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | start | 0 |
| PARAM_VALUE | 3 | nbytes | 0-524280 |
| BUF_SIZE | 0 | buf | 524288 |
| BUF_SIZE | 0 | buf | 524288 |
| FUZZY_MAX | 3 | nbytes | 524280 |
| HARD_MAX | 3 | nbytes | 524280 |
| NOCHECK_CALL | |||
| UNITS | 1 | sg | unit_byte |
| LOCK2 | bh |
drivers/crypto/xilinx/zynqmp-aes-gcm.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 2 | start | 0 |
| BUF_SIZE | 0 | buf | 0-s32max |
| BUF_SIZE | 0 | buf | 0-s32max |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| NOCHECK_CALL | |||
| UNITS | 1 | sg | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/ccp/ccp-crypto-sha.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | buf | (-1),128 |
| BUF_SIZE | 0 | buf | (-1),128 |
| BUF_SIZE | 1 | sg | (-1),64 |
| BUF_SIZE | 1 | sg | (-1),64 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| NOSPEC | 3 | nbytes | |
| NOSPEC | 3 | nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| HOST_DATA | 3 | nbytes | 0-4350,4294963202-u32max[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| USER_DATA | 3 | nbytes | 0-u32max |
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/intel/qat/qat_common/qat_algs.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | nbytes | 16 |
| BUF_SIZE | 0 | buf | 16 |
| BUF_SIZE | 0 | buf | 16 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
crypto/chacha20poly1305.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3185512165346037760 |
| PARAM_VALUE | 3 | nbytes | 16 |
| BUF_SIZE | 0 | buf | 16 |
| BUF_SIZE | 0 | buf | 16 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-2147483646[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| NO_OVERFLOW_SIMPLE | 1 | sg->length | |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | sg | 4096-ptr_max |
| PARAM_VALUE | 1 | sg->dma_length | 1-u32max |
| PARAM_VALUE | 2 | start | 0 |
| PARAM_VALUE | 3 | nbytes | 1-u32max |
| BUF_SIZE | 0 | buf | 4096 |
| BUF_SIZE | 0 | buf | 4096 |
| CAPPED_DATA | 3 | nbytes | 1 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| NOCHECK_CALL | |||
| UNITS | 1 | sg | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
crypto/hctr2.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | start | 0 |
| PARAM_VALUE | 3 | nbytes | 16 |
| BUF_SIZE | 0 | buf | 16 |
| BUF_SIZE | 0 | buf | 16 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 1-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| UNITS | 1 | sg | unit_byte |
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | tfm_mutex |
crypto/echainiv.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | buf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | buf | s32min-(-2),1-s32max |
| CAPPED_DATA | 3 | nbytes | 1 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-2147483646[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| NO_OVERFLOW_SIMPLE | 1 | sg->length | |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
| USER_PTR | 0 | buf | |
| HALF_LOCKED2 | &pool->lock |
arch/x86/crypto/aesni-intel_glue.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 42045337332649984 |
| PARAM_VALUE | 1 | sg | 4096-ptr_max |
| BUF_SIZE | 0 | buf | 16 |
| BUF_SIZE | 0 | buf | 16 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | sg->length | |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/caam/caamalg_qi2.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | buf | (-1),128 |
| BUF_SIZE | 0 | buf | (-1),128 |
| BUF_SIZE | 1 | sg | (-1),64 |
| BUF_SIZE | 1 | sg | (-1),64 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| NOSPEC | 3 | nbytes | |
| NOSPEC | 3 | nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| HOST_DATA | 3 | nbytes | 0-4350,4294963202-u32max[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| USER_DATA | 3 | nbytes | 0-u32max |
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/amlogic/amlogic-gxl-cipher.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1-u64max |
| PARAM_VALUE | 3 | nbytes | 1-u32max |
| BUF_SIZE | 0 | buf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | buf | s32min-(-2),1-s32max |
| CAPPED_DATA | 3 | nbytes | 1 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| FUZZY_MAX | 3 | nbytes | 1 |
| NOCHECK_CALL | |||
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
| BYTE_COUNT | 0 | ==buf3 | 8050 |
drivers/crypto/s5p-sss.c s5p_hash_copy_sgs() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | sg | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 0-64,2147483648-u32max |
| PARAM_VALUE | 3 | nbytes | 1-u32max |
| CAPPED_DATA | 2 | start | 1 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 3 | nbytes | $2 |
| BIT_INFO | 2 | start | 0x0,0x7f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 1-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-2147483646[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/s5p-sss.c s5p_hash_prepare_request() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | *buf | 0-255 |
| PARAM_VALUE | 2 | start | 0 |
| PARAM_VALUE | 3 | nbytes | 1-64,2147483648-u32max |
| CAPPED_DATA | 3 | nbytes | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/s5p-sss.c s5p_hash_prepare_request() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/s5p-sss.c s5p_hash_prepare_request() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | start | 0 |
| PARAM_VALUE | 3 | nbytes | 0-64,2147483648-u32max |
| BUF_SIZE | 0 | buf | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| UNITS | 1 | sg | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/s5p-sss.c s5p_hash_update() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | *buf | 0-255 |
| PARAM_VALUE | 2 | start | 0 |
| PARAM_VALUE | 3 | nbytes | 1-u32max |
| BUF_SIZE | 1 | sg | (-1),64 |
| BUF_SIZE | 1 | sg | (-1),64 |
| NOSPEC | 3 | nbytes | |
| NOSPEC | 3 | nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| HOST_DATA | 3 | nbytes | 1-4605,4294963202-u32max[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| USER_DATA | 3 | nbytes | 1-u32max |
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/s5p-sss.c s5p_make_sg_cpy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | sg | 4096-ptr_max |
| PARAM_VALUE | 1 | sg->length | 1-u32max |
| PARAM_VALUE | 2 | start | 0 |
| DATA_SOURCE | 0 | buf | r get_free_pages_noprof |
| DATA_SOURCE | 1 | sg | $1 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| UNITS | 1 | sg | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
| LOCK2 | &dev->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct s5p_aes_dev)->lock |
drivers/crypto/atmel-sha.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | buf | (-1),384 |
| BUF_SIZE | 0 | buf | (-1),384 |
| BUF_SIZE | 1 | sg | (-1),32,64 |
| BUF_SIZE | 1 | sg | (-1),32,64 |
| CAPPED_DATA | 3 | nbytes | 1 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| HOST_DATA | 2 | start | 0-u32max[c] |
| HOST_DATA | 3 | nbytes | 1-4350[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| USER_DATA | 2 | start | 0-u32max[c][u] |
| USER_DATA | 3 | nbytes | 1-s32max[c] |
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | buf | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | buf | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 1-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-2147483646[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
| BYTE_COUNT | 0 | ==buf3 | 8050 |
crypto/aegis128-core.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | buf | 16 |
| BUF_SIZE | 0 | buf | 16 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-2147483646[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| NO_OVERFLOW_SIMPLE | 1 | sg->length | |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/caam/caamhash.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | buf | (-1),128 |
| BUF_SIZE | 0 | buf | (-1),128 |
| BUF_SIZE | 1 | sg | (-1),64 |
| BUF_SIZE | 1 | sg | (-1),64 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| NOSPEC | 3 | nbytes | |
| NOSPEC | 3 | nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| HOST_DATA | 3 | nbytes | 0-4350,4294963202-u32max[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| USER_DATA | 3 | nbytes | 0-u32max |
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/starfive/jh7110-aes.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | buf | 16 |
| BUF_SIZE | 0 | buf | 16 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| NOCHECK_CALL | |||
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
crypto/ahash.c ahash_update_finish() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | sg | (-1),32,64 |
| BUF_SIZE | 1 | sg | (-1),32,64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| HOST_DATA | 2 | start | 0-4606,u32max[c] |
| HOST_DATA | 3 | nbytes | 0-1[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
crypto/ahash.c crypto_ahash_update() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | *buf | 0-255 |
| PARAM_VALUE | 2 | start | 0 |
| BUF_SIZE | 1 | sg | (-1),64 |
| BUF_SIZE | 1 | sg | (-1),64 |
| NOSPEC | 3 | nbytes | |
| NOSPEC | 3 | nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| HOST_DATA | 3 | nbytes | 0-4605,4294963202-u32max[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| USER_DATA | 3 | nbytes | 0-u32max |
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
| HALF_LOCKED2 | sk |
drivers/crypto/tegra/tegra-se-hash.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | buf | (-1),1-s32max |
| BUF_SIZE | 0 | buf | (-1),1-s32max |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| NOCHECK_CALL | |||
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | buf | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | buf | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 1-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-2147483646[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
| BYTE_COUNT | 0 | ==buf3 | 8050 |
drivers/crypto/intel/qat/qat_common/qat_asym_algs.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | *buf | 0-255 |
| PARAM_VALUE | 1 | sg | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 0 |
| CAPPED_DATA | 3 | nbytes | 1 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| NOSPEC | 3 | nbytes | |
| NOSPEC | 3 | nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 3 | nbytes | 1-u16max[c] |
| NO_OVERFLOW_SIMPLE | 1 | sg->length | |
| UNITS | 0 | buf | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
crypto/ccm.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | buf | (-1),16 |
| BUF_SIZE | 0 | buf | (-1),16 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| NOSPEC | 2 | start | |
| NOSPEC | 2 | start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-2147483646[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| USER_DATA | 2 | start | 0-u32max |
| NO_OVERFLOW_SIMPLE | 1 | sg->length | |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/ccp/ccp-ops.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | buf | (-1),65-4096 |
| BUF_SIZE | 0 | buf | (-1),65-4096 |
| BUF_SIZE | 1 | sg | (-1),64 |
| BUF_SIZE | 1 | sg | (-1),64 |
| CAPPED_DATA | 3 | nbytes | 1 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| NOCHECK_CALL | |||
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/atmel-tdes.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | buf | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | buf | s32min-(-1),1-s32max |
| CAPPED_DATA | 3 | nbytes | 1 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 1-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/atmel-aes.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | buf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | buf | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 1-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/hisilicon/hpre/hpre_crypto.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1-ptr_max |
| PARAM_VALUE | 1 | sg | 1-u64max |
| PARAM_VALUE | 2 | start | 0 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 3 | nbytes | 1-u16max[u] |
| NO_OVERFLOW_SIMPLE | 1 | sg->length | |
| UNITS | 0 | buf | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
crypto/cts.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | buf | (-1),32 |
| BUF_SIZE | 0 | buf | (-1),32 |
| BUF_SIZE | 1 | sg | (-1),64 |
| BUF_SIZE | 1 | sg | (-1),64 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/aspeed/aspeed-acry.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 780607799517917184 |
| PARAM_VALUE | 2 | start | 0 |
| BUF_SIZE | 0 | buf | 2048 |
| BUF_SIZE | 0 | buf | 2048 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| NOCHECK_CALL | |||
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/tegra/tegra-se-aes.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | buf | s32min-s32max |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| NOCHECK_CALL | |||
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
drivers/crypto/cavium/nitrox/nitrox_skcipher.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | buf | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | buf | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | sg->length | 0-2147483646[c] |
| USER_DATA | 1 | sg->length | 1-u32max[c] |
| USER_DATA | 1 | sg->offset | 0-2147551739[c] |
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |
| BYTE_COUNT | 0 | ==buf3 | 8050 |
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c scatterwalk_map_and_copy() -> memcpy_from_sglist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | nbytes | 1-u32max |
| BUF_SIZE | 0 | buf | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | buf | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | sg | $1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | nbytes | $3 |
| FUZZY_MAX | 3 | nbytes | 1 |
| NOCHECK_CALL | |||
| UNITS | 0 | buf | unit_byte |
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | nbytes | unit_byte |