Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- fs/nfsd/nfs4state.c, line 4147
- fs/nfsd/nfs4xdr.c, line 6704
- net/sunrpc/auth_gss/auth_gss.c, line 2033
- net/sunrpc/auth_gss/gss_krb5_wrap.c
- net/sunrpc/auth_gss/svcauth_gss.c, line 895
- net/sunrpc/xdr.c
Smatch caller information:
net/sunrpc/auth_gss/svcauth_gss.c svcauth_gss_unwrap_integ() -> read_bytes_from_xdr_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 0-40 |
| BUF_SIZE | 2 | obj | 40 |
| FUZZY_MAX | 3 | len | 40 |
| HARD_MAX | 3 | len | 40 |
| USER_DATA | 1 | base | 0-u32max |
| UNITS | 1 | base | unit_byte |
| UNITS | 2 | obj | unit_byte |
| UNITS | 3 | len | unit_byte |
fs/nfsd/nfs4state.c nfsd4_store_cache_entry() -> read_bytes_from_xdr_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| UNITS | 1 | base | unit_byte |
| UNITS | 3 | len | unit_byte |
net/sunrpc/auth_gss/auth_gss.c gss_unwrap_resp_integ() -> read_bytes_from_xdr_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | obj | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 1-4000000 |
| BUF_SIZE | 0 | buf | 72 |
| BUF_SIZE | 2 | obj | 0-u32max |
| DATA_SOURCE | 2 | obj | r _kmalloc_noprof |
| BIT_INFO | 3 | len | 0x0,0x3ffffc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | len | 1-4000000 |
| UNITS | 1 | base | unit_byte |
| UNITS | 2 | obj | unit_byte |
| UNITS | 3 | len | unit_byte |
| HALF_LOCKED2 | &pool->lock |
net/sunrpc/auth_gss/gss_krb5_wrap.c gss_krb5_unwrap_v2() -> read_bytes_from_xdr_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->head | 4096-ptr_max |
| PARAM_VALUE | 2 | obj | 177315907155058688 |
| PARAM_VALUE | 3 | len | 16 |
| BUF_SIZE | 2 | obj | 16 |
| DATA_SOURCE | 0 | buf | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/sunrpc/auth_gss/gss_krb5_wrap.c rotate_buf_a_little() -> read_bytes_from_xdr_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3409919786128875520 |
| PARAM_VALUE | 0 | buf->len | 1-u32max |
| PARAM_VALUE | 0 | buf->page_base | 0-4095 |
| PARAM_VALUE | 1 | base | 0 |
| PARAM_VALUE | 2 | obj | 3818629839592534016 |
| PARAM_VALUE | 3 | len | 1-32 |
| BUF_SIZE | 2 | obj | 32 |
| CAPPED_DATA | 0 | buf->len | 1 |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 3 | len | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/sunrpc/auth_gss/gss_krb5_wrap.c rotate_buf_a_little() -> read_bytes_from_xdr_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3409919786128875520 |
| PARAM_VALUE | 0 | buf->len | 2-u32max |
| PARAM_VALUE | 0 | buf->page_base | 0-4095 |
| PARAM_VALUE | 1 | base | 1-32 |
| PARAM_VALUE | 2 | obj | 6781039784638738432 |
| PARAM_VALUE | 3 | len | 1-32 |
| BUF_SIZE | 2 | obj | 32 |
| CAPPED_DATA | 0 | buf->len | 1 |
| CAPPED_DATA | 0 | buf->page_len | 1 |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 0 | buf | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | len | unit_byte |
net/sunrpc/xdr.c xdr_decode_word() -> read_bytes_from_xdr_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | obj | 6962911647328690176 |
| PARAM_VALUE | 3 | len | 4 |
| BUF_SIZE | 0 | buf | (-1),72 |
| BUF_SIZE | 0 | buf | (-1),72 |
| BUF_SIZE | 2 | obj | 4 |
| DATA_SOURCE | 0 | buf | $0 |
| DATA_SOURCE | 1 | base | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | base | 0-u32max[u] |
| UNITS | 1 | base | unit_byte |
| UNITS | 3 | len | unit_byte |
fs/nfsd/nfs4xdr.c nfsd4_encode_operation() -> read_bytes_from_xdr_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 0-4000000,2147483648-u32max |
| BUF_SIZE | 2 | obj | 113-s32max,u64max |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| UNITS | 1 | base | unit_byte |
| UNITS | 3 | len | unit_byte |
| LOCK2 | &nn->client_lock | ||
| TYPE_LOCK | (struct nfsd_net)->client_lock |