Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/sunrpc/xprtsock.c xs_read_xdr_buf() -> xdr_buf_pagecount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| BUF_SIZE | 0 | buf | 72 |
| DATA_SOURCE | 0 | buf | $3 |
| LOCK2 | &pool->lock | ||
| LOCK2 | &transport->recv_mutex | ||
| TYPE_LOCK | (struct sock_xprt)->recv_mutex |
net/sunrpc/xdr.c xdr_alloc_bvec() -> xdr_buf_pagecount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| BUF_SIZE | 0 | buf | (-1),72 |
| BUF_SIZE | 0 | buf | (-1),72 |
| DATA_SOURCE | 0 | buf | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &xprt->xpt_mutex |
net/sunrpc/socklib.c xprt_send_pagedata() -> xdr_buf_pagecount()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->page_len | 1-u32max |
| BUF_SIZE | 0 | buf | 72 |
| DATA_SOURCE | 0 | buf | $2 |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &xprt->xpt_mutex |