Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/nfs/nfs4proc.c _nfs4_do_setattr() -> nfs4_select_rw_stateid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | state->inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | state->inode->i_sb->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | state->inode->i_sb->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | fmode | 2 |
| PARAM_VALUE | 2 | l_ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | l_ctx->count.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 3 | dst | 1937052244733947928 |
| PARAM_VALUE | 3 | dst->seqid | 0 |
| PARAM_VALUE | 4 | cred | 5892671777259999232 |
| PARAM_VALUE | 4 | *cred | 0 |
| CAPPED_DATA | 2 | l_ctx->lockowner | 1 |
| DATA_SOURCE | 2 | l_ctx | r nfs_get_lock_context |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | state->state | 0-u32max[c] |
fs/nfs/nfs4proc.c nfs4_set_rw_stateid() -> nfs4_select_rw_stateid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | dst | 4096-ptr_max |
| PARAM_VALUE | 4 | cred | 0 |
| DATA_SOURCE | 1 | fmode | $3 |
| DATA_SOURCE | 2 | l_ctx | $2 |
| DATA_SOURCE | 3 | dst | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/nfs/pnfs.c pnfs_update_layout() -> nfs4_select_rw_stateid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | fmode | 1-2 |
| PARAM_VALUE | 2 | l_ctx | 0 |
| PARAM_VALUE | 3 | dst | 3918562915726958592 |
| PARAM_VALUE | 4 | cred | 0 |
| FUZZY_MAX | 1 | fmode | 2 |
| BIT_INFO | 1 | fmode | 0x0,0x3 |
| HARD_MAX | 1 | fmode | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |