Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/nfs/nfs4proc.c _nfs4_do_open() -> _nfs4_ctx_to_openmode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | (-1),200 |
| BUF_SIZE | 0 | ctx | (-1),200 |
| BUF_SIZE | 0 | ctx->flock_owner | (-1),1-s32max |
| DATA_SOURCE | 0 | ctx | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ctx->dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 0 | ctx->dentry->d_name->name | 0-255 |
| USER_DATA | 0 | ctx->dentry->d_parent->__d_name.hash | 0-u32max[c] |
| USER_DATA | 0 | ctx->dentry->d_sb->s_flags | 0-u64max[c] |
| USER_DATA | 0 | ctx->lock_context.open_context->mode | 0-3,32-35[c] |
| USER_DATA | 0 | ctx->mode | 0-3,32-35[c] |
| USER_DATA | 0 | ctx->state->state | 0-u32max[c] |
| USER_DATA | 0 | *ctx->dentry->__d_name.name | 0-255 |
| USER_DATA | 0 | *ctx->dentry->d_parent->__d_name.name | 0-255 |
| USER_PTR | 0 | ctx->dentry->__d_name.name |
fs/nfs/nfs4proc.c nfs4_close_context() -> _nfs4_ctx_to_openmode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctx->flock_owner | (-1)-s32max |
| BUF_SIZE | 0 | ctx->state | (-1),448 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ctx->dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 0 | ctx->dentry->d_parent->__d_name.hash | 0-u32max[c] |
| USER_DATA | 0 | ctx->dentry->d_sb->s_flags | 0-u64max[c] |
| USER_DATA | 0 | ctx->lock_context.open_context->mode | 0-3,32-35[c] |
| USER_DATA | 0 | ctx->mode | 0-3,32-35[c] |
| USER_DATA | 0 | ctx->state->state | 0-u32max[c] |
| USER_DATA | 0 | *ctx->dentry->__d_name.name | 0-255 |
| USER_DATA | 0 | *ctx->dentry->d_parent->__d_name.name | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | ctx->state->inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ctx->state->inode->i_size | |
| USER_PTR | 0 | ctx->dentry->__d_name.name |
fs/nfs/nfs4proc.c nfs4_close_context() -> _nfs4_ctx_to_openmode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ctx->flock_owner | (-1)-s32max |
| BUF_SIZE | 0 | ctx->state | (-1),448 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ctx->dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 0 | ctx->dentry->d_parent->__d_name.hash | 0-u32max[c] |
| USER_DATA | 0 | ctx->dentry->d_sb->s_flags | 0-u64max[c] |
| USER_DATA | 0 | ctx->lock_context.open_context->mode | 0-3,32-35[c] |
| USER_DATA | 0 | ctx->mode | 0-3,32-35[c] |
| USER_DATA | 0 | ctx->state->state | 0-u32max[c] |
| USER_DATA | 0 | *ctx->dentry->__d_name.name | 0-255 |
| USER_DATA | 0 | *ctx->dentry->d_parent->__d_name.name | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | ctx->state->inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | ctx->state->inode->i_size | |
| USER_PTR | 0 | ctx->dentry->__d_name.name |