Documented in 1 files:
Defined in 1 files as a function:
Referenced in 11 files:
- fs/nfs/blocklayout/blocklayout.c, line 695
- fs/nfs/blocklayout/dev.c, line 565
- fs/nfs/dir.c, line 841
- fs/nfs/filelayout/filelayout.c, line 661
- fs/nfs/filelayout/filelayoutdev.c, line 87
- fs/nfs/flexfilelayout/flexfilelayout.c, line 468
- fs/nfs/flexfilelayout/flexfilelayoutdev.c, line 73
- fs/nfs/nfs42xdr.c, line 1787
- fs/nfs/nfs4xdr.c, line 6626
- include/linux/sunrpc/svc.h, line 543
- net/sunrpc/auth_gss/gss_rpc_xdr.c, line 857
Smatch caller information:
fs/nfs/blocklayout/blocklayout.c bl_alloc_lseg() -> xdr_set_scratch_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 2668708022078476288 |
| PARAM_VALUE | 0 | xdr->buf | 7376966569514467328 |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->page_ptr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 0 |
| PARAM_VALUE | 1 | folio | 4096-ptr_max |
| DATA_SOURCE | 1 | folio | r folio_alloc_noprof |
| RX_PATH | |||
| NOCHECK_CALL |
fs/nfs/blocklayout/dev.c bl_alloc_deviceid_node() -> xdr_set_scratch_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 5807831979811475456 |
| PARAM_VALUE | 0 | xdr->buf | 6960765243792437248 |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->page_ptr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 0 |
| PARAM_VALUE | 1 | folio | 4096-ptr_max |
| DATA_SOURCE | 1 | folio | r folio_alloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfsd/blocklayout.c svcxdr_init_decode() -> xdr_set_scratch_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->page_kaddr | 0 |
| PARAM_VALUE | 0 | xdr->page_ptr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 0 |
| PARAM_VALUE | 0 | xdr->rqst->rq_reply_bytes_recvd | 1-u64max |
| PARAM_VALUE | 0 | xdr->scratch.iov_base | 0 |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0 |
| BUF_SIZE | 0 | xdr | 80 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ls->ls_mutex |
fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_alloc_lseg() -> xdr_set_scratch_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 879914613256798208 |
| PARAM_VALUE | 0 | xdr->buf | 8619835920483532800 |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->page_ptr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 0 |
| PARAM_VALUE | 1 | folio | 4096-ptr_max |
| DATA_SOURCE | 1 | folio | r folio_alloc_noprof |
| RX_PATH | |||
| NOCHECK_CALL |
fs/nfs/flexfilelayout/flexfilelayoutdev.c nfs4_ff_alloc_deviceid_node() -> xdr_set_scratch_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 5044193321544048640 |
| PARAM_VALUE | 0 | xdr->buf | 380218383387013120 |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->page_ptr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 0 |
| PARAM_VALUE | 1 | folio | 4096-ptr_max |
| DATA_SOURCE | 1 | folio | r folio_alloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/filelayout/filelayoutdev.c nfs4_fl_alloc_deviceid_node() -> xdr_set_scratch_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 902244659422343168 |
| PARAM_VALUE | 0 | xdr->buf | 6648027182890749952 |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->page_ptr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 0 |
| PARAM_VALUE | 1 | folio | 4096-ptr_max |
| DATA_SOURCE | 1 | folio | r folio_alloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/dir.c nfs_readdir_folio_filler() -> xdr_set_scratch_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 212083814654377984 |
| PARAM_VALUE | 0 | xdr->buf | 3305511253661491200 |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->page_ptr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 0 |
| PARAM_VALUE | 1 | folio | 4096-ptr_max |
| DATA_SOURCE | 1 | folio | r folio_alloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/nfs/nfs4xdr.c nfs4_xdr_dec_getacl() -> xdr_set_scratch_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 8277573992891842560 |
| PARAM_VALUE | 0 | xdr->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->page_kaddr | 0 |
| PARAM_VALUE | 0 | xdr->page_ptr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 4096-ptr_max |
| PARAM_VALUE | 1 | folio | 1-u64max |
| DATA_SOURCE | 0 | xdr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
fs/nfs/nfs4xdr.c nfs4_xdr_dec_listxattrs() -> xdr_set_scratch_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 8277573992891842560 |
| PARAM_VALUE | 0 | xdr->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->page_kaddr | 0 |
| PARAM_VALUE | 0 | xdr->page_ptr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 4096-ptr_max |
| DATA_SOURCE | 0 | xdr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/sunrpc/auth_gss/gss_rpc_xdr.c gssx_dec_accept_sec_context() -> xdr_set_scratch_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 8277573992891842560 |
| PARAM_VALUE | 0 | xdr->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->page_kaddr | 0 |
| PARAM_VALUE | 0 | xdr->page_ptr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 4096-ptr_max |
| PARAM_VALUE | 1 | folio | 4096-ptr_max |
| DATA_SOURCE | 0 | xdr | $1 |
| DATA_SOURCE | 1 | folio | r folio_alloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/sunrpc/svc.c svcxdr_init_decode() -> xdr_set_scratch_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->page_kaddr | 0 |
| PARAM_VALUE | 0 | xdr->page_ptr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 0 |
| PARAM_VALUE | 0 | xdr->rqst->rq_reply_bytes_recvd | 1-u64max |
| PARAM_VALUE | 0 | xdr->scratch.iov_base | 0 |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0 |
| BUF_SIZE | 0 | xdr | 80 |
| NOCHECK_CALL |
fs/nfs/filelayout/filelayout.c filelayout_decode_layout() -> xdr_set_scratch_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 5613373197710102528 |
| PARAM_VALUE | 0 | xdr->buf | 6920873582984691712 |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->page_ptr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 0 |
| PARAM_VALUE | 1 | folio | 4096-ptr_max |
| DATA_SOURCE | 1 | folio | r folio_alloc_noprof |
| RX_PATH | |||
| NOCHECK_CALL |