Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/smb/server/transport_rdma.c smb_direct_rdma_read() -> smbdirect_connection_rdma_xmit()

Type Parameter Key Value
PARAM_VALUE 1 buf 16,4096-ptr_max
PARAM_VALUE 3 desc 4096-ptr_max
PARAM_VALUE 4 desc_len 0-u16max
PARAM_VALUE 5 is_read 1
BUF_SIZE 1 buf 0-s32max
BUF_SIZE 1 buf 0-s32max
CAPPED_DATA 2 buf_len 1
DATA_SOURCE 1 buf $1
DATA_SOURCE 2 buf_len $2
DATA_SOURCE 3 desc $3
DATA_SOURCE 4 desc_len $4
PARAM_COMPARE 1 buf == $2
USER_DATA 2 buf_len 0-s32max[c]
USER_DATA 3 desc->length 0-u32max[u]
USER_DATA 3 desc->offset 0-u64max[u]
USER_DATA 3 desc->token 0-u32max[u]
USER_DATA 4 desc_len 0-u16max
BYTE_COUNT 1 ==buf2 8050
USER_PTR 3 desc
LOCK2 &pool->lock

fs/smb/server/transport_rdma.c smb_direct_rdma_write() -> smbdirect_connection_rdma_xmit()

Type Parameter Key Value
PARAM_VALUE 1 buf 16,4096-ptr_max
PARAM_VALUE 2 buf_len 0-s32max
PARAM_VALUE 4 desc_len 0-u16max
PARAM_VALUE 5 is_read 0
BUF_SIZE 1 buf 0,8-s32max
BUF_SIZE 1 buf 0,8-s32max
CAPPED_DATA 2 buf_len 1
DATA_SOURCE 1 buf $1
DATA_SOURCE 2 buf_len $2
DATA_SOURCE 3 desc $3
DATA_SOURCE 4 desc_len $4
LOCK2 &pool->lock