Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

net/sunrpc/auth_gss/svcauth_gss.c svcauth_gss_unwrap_integ() -> xdr_buf_subsegment()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 subbuf 1894655177376944128
PARAM_VALUE 2 base 0,4-4294967292
DATA_SOURCE 2 base r xdr_stream_pos
BIT_INFO 3 len 0x0,0xfffffffc
USER_DATA 3 len 0-u32max

net/sunrpc/auth_gss/svcauth_gss.c svcauth_gss_wrap_integ() -> xdr_buf_subsegment()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 subbuf 3712917149235564544
UNITS 2 base unit_byte
UNITS 3 len unit_byte

net/sunrpc/auth_gss/auth_gss.c gss_unwrap_resp_integ() -> xdr_buf_subsegment()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 subbuf 7059053998467432448
BUF_SIZE 0 buf 72
BIT_INFO 3 len 0x0,0xfffffffc
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 len 0-u32max
UNITS 2 base unit_byte
HALF_LOCKED2 &pool->lock

net/sunrpc/auth_gss/auth_gss.c gss_wrap_req_integ() -> xdr_buf_subsegment()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 0 buf->head 4096-ptr_max
PARAM_VALUE 0 buf->page_len 0
PARAM_VALUE 0 buf->pages 0
PARAM_VALUE 1 subbuf 2294489240352972800
BUF_SIZE 0 buf 72
RX_PATH
TASK_NOT_RUNNING
UNITS 2 base unit_byte
UNITS 3 len unit_byte
HALF_LOCKED2 &pool->lock

net/sunrpc/auth_gss/gss_krb5_wrap.c rotate_left() -> xdr_buf_subsegment()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 0 buf->head 4096-ptr_max
PARAM_VALUE 1 subbuf 3409919786128875520
PARAM_VALUE 2 base 0-4294967294
PARAM_VALUE 3 len 1-u32max
CAPPED_DATA 2 base 1
DATA_SOURCE 0 buf $1
DATA_SOURCE 2 base $0
PARAM_COMPARE 2 base < $0->len
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 base unit_byte
UNITS 3 len unit_byte

net/sunrpc/xprtrdma/svc_rdma_pcl.c pcl_process_region() -> xdr_buf_subsegment()

Type Parameter Key Value
PARAM_VALUE 1 subbuf 2904107187121217536
PARAM_VALUE 3 len 1-u32max
DATA_SOURCE 0 buf $0
DATA_SOURCE 2 base $1
DATA_SOURCE 3 len $2
TASK_NOT_RUNNING
UNITS 2 base unit_byte
UNITS 3 len unit_byte

net/sunrpc/xdr.c read_bytes_from_xdr_buf() -> xdr_buf_subsegment()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 subbuf 6144097354490241024
BUF_SIZE 0 buf (-1),72
BUF_SIZE 0 buf (-1),72
DATA_SOURCE 0 buf $0
DATA_SOURCE 2 base $1
DATA_SOURCE 3 len $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 base 0-u32max
USER_DATA 3 len 1-4000000[c]
UNITS 2 base unit_byte
UNITS 3 len unit_byte

net/sunrpc/xdr.c write_bytes_to_xdr_buf() -> xdr_buf_subsegment()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 subbuf 4621123419475705856
BUF_SIZE 0 buf (-1),72
BUF_SIZE 0 buf (-1),72
DATA_SOURCE 0 buf $0
DATA_SOURCE 2 base $1
DATA_SOURCE 3 len $3
RX_PATH
TASK_NOT_RUNNING
UNITS 2 base unit_byte
UNITS 3 len unit_byte

net/sunrpc/xdr.c xdr_stream_move_subsegment() -> xdr_buf_subsegment()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 0 buf->head 4096-ptr_max
PARAM_VALUE 0 buf->page_len 0-4294967294
PARAM_VALUE 0 buf->tail 4096-ptr_max
PARAM_VALUE 1 subbuf 7607623620117123072
PARAM_VALUE 2 base 0-4294967294
CAPPED_DATA 2 base 1
DATA_SOURCE 2 base $1
RX_PATH
TASK_NOT_RUNNING
UNITS 2 base unit_byte
UNITS 3 len unit_byte

net/sunrpc/xdr.c xdr_stream_move_subsegment() -> xdr_buf_subsegment()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 0 buf->head 4096-ptr_max
PARAM_VALUE 0 buf->page_len 0-4294967294
PARAM_VALUE 0 buf->tail 4096-ptr_max
PARAM_VALUE 1 subbuf 7607623620117123072
PARAM_VALUE 2 base 0-4294967294
CAPPED_DATA 2 base 1
DATA_SOURCE 2 base $2
RX_PATH
TASK_NOT_RUNNING
UNITS 2 base unit_byte
UNITS 3 len unit_byte

net/sunrpc/xdr.c xdr_stream_subsegment() -> xdr_buf_subsegment()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 subbuf 4096-ptr_max
PARAM_VALUE 2 base 0,4-4294967292
DATA_SOURCE 1 subbuf $1
DATA_SOURCE 2 base r xdr_stream_pos
DATA_SOURCE 3 len $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 len 0-u32max

net/sunrpc/xdr.c xdr_stream_zero() -> xdr_buf_subsegment()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 0 buf->head 4096-ptr_max
PARAM_VALUE 0 buf->page_len 0-4294967294
PARAM_VALUE 0 buf->tail 4096-ptr_max
PARAM_VALUE 1 subbuf 4763278623766913024
DATA_SOURCE 2 base $1
DATA_SOURCE 3 len $2
RX_PATH
TASK_NOT_RUNNING
UNITS 2 base unit_byte
UNITS 3 len unit_byte

fs/nfsd/nfscache.c nfsd_cache_csum() -> xdr_buf_subsegment()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 1 subbuf 5952878454220787712
PARAM_VALUE 2 base 0,4-4294967292
PARAM_VALUE 3 len 0,4-256
DATA_SOURCE 0 buf $0
DATA_SOURCE 2 base $1
DATA_SOURCE 3 len $2 [m]
FUZZY_MAX 3 len 256
HARD_MAX 3 len 256

net/sunrpc/xprtrdma/svc_rdma_rw.c svc_rdma_prepare_write_chunk() -> xdr_buf_subsegment()

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-ptr_max
PARAM_VALUE 0 buf->page_base 0
PARAM_VALUE 0 buf->page_len 0
PARAM_VALUE 0 buf->pages 4096-ptr_max
PARAM_VALUE 1 subbuf 7279736374641766400
PARAM_VALUE 3 len 1-u32max
DATA_SOURCE 0 buf $3
UNITS 3 len unit_byte