Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

crypto/rsa-pkcs1pad.c sg_chain() -> __sg_chain()

Type Parameter Key Value
PARAM_VALUE 0 chain_sg 4096-ptr_max
PARAM_VALUE 1 sgl 1-u64max
DATA_SOURCE 1 sgl $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 sgl->length

drivers/net/wireless/intel/iwlwifi/fw/dbg.c sg_chain() -> __sg_chain()

Type Parameter Key Value
PARAM_VALUE 0 chain_sg 4096-ptr_max
PARAM_VALUE 1 sgl 4096-ptr_max
BUF_SIZE 1 sgl 32-4096
BUF_SIZE 1 sgl 32-4096
DATA_SOURCE 1 sgl $2
MEM_ZERO 1 sgl
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fwrt->ops_ctx->mutex
HALF_LOCKED2 &fwrt->ops_ctx->wiphy->mtx
HALF_LOCKED2 &pool->lock

crypto/gcm.c sg_chain() -> __sg_chain()

Type Parameter Key Value
PARAM_VALUE 0 chain_sg 4096-ptr_max
BUF_SIZE 0 chain_sg 64
BUF_SIZE 1 sgl (-1),64
BUF_SIZE 1 sgl (-1),64
DATA_SOURCE 1 sgl $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 sgl->length 0-2147483646[c]
USER_DATA 1 sgl->length 1-u32max[c]
USER_DATA 1 sgl->offset 0-2147551739[c]

net/tls/tls_device_fallback.c sg_chain() -> __sg_chain()

Type Parameter Key Value
PARAM_VALUE 0 chain_sg 4096-ptr_max
PARAM_VALUE 1 sgl 4-u64max
DATA_SOURCE 1 sgl $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/crypto/cavium/nitrox/nitrox_aead.c sg_chain() -> __sg_chain()

Type Parameter Key Value
PARAM_VALUE 0 chain_sg 4096-ptr_max
BUF_SIZE 0 chain_sg 64
BUF_SIZE 1 sgl (-1),64
BUF_SIZE 1 sgl (-1),64
DATA_SOURCE 1 sgl $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 sgl->length 0-2147483646[c]
USER_DATA 1 sgl->length 1-u32max[c]
USER_DATA 1 sgl->offset 0-2147551739[c]

crypto/essiv.c sg_chain() -> __sg_chain()

Type Parameter Key Value
PARAM_VALUE 0 chain_sg 4096-ptr_max
BUF_SIZE 0 chain_sg 64
BUF_SIZE 1 sgl (-1),64
BUF_SIZE 1 sgl (-1),64
DATA_SOURCE 1 sgl $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 sgl->length 0-2147483646[c]
USER_DATA 1 sgl->length 1-u32max[c]
USER_DATA 1 sgl->offset 0-2147551739[c]

drivers/crypto/qce/sha.c sg_chain() -> __sg_chain()

Type Parameter Key Value
PARAM_VALUE 0 chain_sg 4096-ptr_max
BUF_SIZE 1 sgl (-1),64
BUF_SIZE 1 sgl (-1),64
DATA_SOURCE 1 sgl $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sgl unit_byte

net/sunrpc/auth_gss/gss_krb5_crypto.c sg_chain() -> __sg_chain()

Type Parameter Key Value
PARAM_VALUE 0 chain_sg 1852313690669457464,3402767278576865336
PARAM_VALUE 1 sgl 16,4096-ptr_max
DATA_SOURCE 1 sgl $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/target/target_core_rd.c sg_chain() -> __sg_chain()

Type Parameter Key Value
PARAM_VALUE 0 chain_sg 4096-ptr_max
PARAM_VALUE 1 sgl 4096-ptr_max
BUF_SIZE 1 sgl 32-65568
BUF_SIZE 1 sgl 32-65568
DATA_SOURCE 1 sgl $2
MEM_ZERO 1 sgl
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem

net/tls/tls_sw.c sg_chain() -> __sg_chain()

Type Parameter Key Value
BUF_SIZE 1 sgl (-1),608
BUF_SIZE 1 sgl (-1),608
DATA_SOURCE 1 sgl $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 sk
HALF_LOCKED2 &tls_ctx->tx_lock

lib/scatterlist.c get_next_sg() -> __sg_chain()

Type Parameter Key Value
PARAM_VALUE 0 chain_sg 4096-ptr_max
PARAM_VALUE 1 sgl 16,4096-ptr_max
BUF_SIZE 1 sgl (-1)-4064
BUF_SIZE 1 sgl (-1)-4064
DATA_SOURCE 0 chain_sg r sg_next
DATA_SOURCE 1 sgl r sg_kmalloc
MEM_ZERO 1 sgl
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 chain_sg->length 0-s32max[c]
USER_DATA 0 chain_sg->length 0-u32max[c]
USER_DATA 0 chain_sg->offset 0-4095[c]

lib/scatterlist.c sg_chain() -> __sg_chain()

Type Parameter Key Value
PARAM_VALUE 1 sgl 1-u64max
BUF_SIZE 1 sgl (-1)-4064,4128-s32max
BUF_SIZE 1 sgl (-1)-4064,4128-s32max
DATA_SOURCE 1 sgl $2
MEM_ZERO 1 sgl
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sgl unit_byte

crypto/krb5/rfc8009_aes2.c sg_chain() -> __sg_chain()

Type Parameter Key Value
PARAM_VALUE 0 chain_sg 3538506481204174856,9137460963549790216
PARAM_VALUE 1 sgl 4096-ptr_max
BUF_SIZE 1 sgl (-1),256,512
BUF_SIZE 1 sgl (-1),256,512
DATA_SOURCE 1 sgl $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

crypto/af_alg.c sg_chain() -> __sg_chain()

Type Parameter Key Value
BUF_SIZE 1 sgl (-1),4064
BUF_SIZE 1 sgl (-1),4064
DATA_SOURCE 1 sgl $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sgl unit_byte
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 sk

crypto/scatterwalk.c sg_chain() -> __sg_chain()

Type Parameter Key Value
PARAM_VALUE 0 chain_sg 4096-ptr_max
PARAM_VALUE 1 sgl 4-u64max
DATA_SOURCE 1 sgl $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 sgl->length 2-2147483646[c]
USER_DATA 1 sgl->length 2-u32max[c]
USER_DATA 1 sgl->offset 0-2147551739[c]
HALF_LOCKED2 _T->lock

drivers/crypto/s5p-sss.c sg_chain() -> __sg_chain()

Type Parameter Key Value
PARAM_VALUE 0 chain_sg 4096-ptr_max
PARAM_VALUE 1 sgl 4096-ptr_max
DATA_SOURCE 1 sgl $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 sgl->length 1-2147483646[c]
USER_DATA 1 sgl->length 1-2147483646[c]
USER_DATA 1 sgl->offset 0-2147551739[c]
UNITS 1 sgl unit_byte

drivers/infiniband/ulp/srpt/ib_srpt.c sg_chain() -> __sg_chain()

Type Parameter Key Value
PARAM_VALUE 1 sgl 16,4096-ptr_max
DATA_SOURCE 1 sgl $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

net/sunrpc/xdr.c sg_chain() -> __sg_chain()

Type Parameter Key Value
PARAM_VALUE 0 chain_sg 2564027771357270072,5146663525939888184
PARAM_VALUE 1 sgl 16,4096-ptr_max
BUF_SIZE 1 sgl 32
DATA_SOURCE 1 sgl $2
MEM_ZERO 1 sgl
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

crypto/ahash.c sg_chain() -> __sg_chain()

Type Parameter Key Value
PARAM_VALUE 0 chain_sg 4096-ptr_max
BUF_SIZE 1 sgl (-1),64
BUF_SIZE 1 sgl (-1),64
DATA_SOURCE 1 sgl $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 sgl->length 0-2147483646[c]
USER_DATA 1 sgl->length 1-u32max[c]
USER_DATA 1 sgl->offset 0-2147551739[c]
UNITS 1 sgl unit_byte

crypto/ccm.c sg_chain() -> __sg_chain()

Type Parameter Key Value
PARAM_VALUE 0 chain_sg 4096-ptr_max
BUF_SIZE 1 sgl (-1),64
BUF_SIZE 1 sgl (-1),64
DATA_SOURCE 1 sgl $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 sgl->length 0-2147483646[c]
USER_DATA 1 sgl->length 1-u32max[c]
USER_DATA 1 sgl->offset 0-2147551739[c]
UNITS 1 sgl unit_byte

drivers/scsi/qla2xxx/qla_target.c sg_chain() -> __sg_chain()

Type Parameter Key Value
PARAM_VALUE 0 chain_sg 4096-ptr_max
PARAM_VALUE 1 sgl 0,4-u64max
DATA_SOURCE 1 sgl $2
PREEMPT_ADD
NOCHECK_CALL
UNITS 1 sgl unit_byte
LOCK2 &pool->lock
LOCK2 irq
LOCK2 qpair->qp_lock_ptr