Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/nfs/fs_context.c nfs23_parse_monolithic() -> nfs_validate_transport_protocol()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->fs_type | 7177152252406210560 |
| PARAM_VALUE | 0 | fc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->ops->parse_monolithic | 0,634968867006672896,1923336409103024128,2935546142322450432,5537387387394355200,6031079647331782656,7045259487304556544 |
| PARAM_VALUE | 0 | fc->ops->parse_param | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->bsize | 0 |
| PARAM_VALUE | 1 | ctx->flags | 524288-532479,3670016-3743743 |
| PARAM_VALUE | 1 | ctx->mntfh | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->mntfh->size | 32 |
| PARAM_VALUE | 1 | ctx->namlen | 0 |
| PARAM_VALUE | 1 | ctx->need_mount | 0 |
| PARAM_VALUE | 1 | ctx->nfs_server._address.sin_addr.s_addr | 1-4294967295 |
| PARAM_VALUE | 1 | ctx->nfs_server._address.ss_family | 2 |
| PARAM_VALUE | 1 | ctx->nfs_server.hostname | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->version | 2-3 |
| BUF_SIZE | 1 | ctx | 1-s32max |
| BUF_SIZE | 1 | ctx | 1-s32max |
| DATA_SOURCE | 0 | fc | $0 |
| FUZZY_MAX | 1 | ctx->version | 3 |
| PARAM_COMPARE | 1 | ctx | == $0->fs_private |
| PARAM_COMPARE | 1 | ctx | == $0->fs_private |
| BIT_INFO | 1 | ctx->flags | 0x80000,0x38ffff |
| BIT_INFO | 1 | ctx->version | 0x2,0x3 |
| HARD_MAX | 1 | ctx->version | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fc->sb_flags | 0-u32max[c] |
| USER_DATA | 1 | ctx->acdirmax | 0-u32max[u] |
| USER_DATA | 1 | ctx->acdirmin | 0-u32max[u] |
| USER_DATA | 1 | ctx->acregmax | 0-u32max[u] |
| USER_DATA | 1 | ctx->acregmin | 0-u32max[u] |
| USER_DATA | 1 | ctx->bsize | 0[u] |
| USER_DATA | 1 | ctx->flags | 524288-532479,3670016-3743743[c] |
| USER_DATA | 1 | ctx->namlen | 0[u] |
| USER_DATA | 1 | ctx->nfs_server.port | 0-u16max[u] |
| USER_DATA | 1 | ctx->retrans | 0-u32max[u] |
| USER_DATA | 1 | ctx->rsize | 0-u32max[u] |
| USER_DATA | 1 | ctx->selected_flavor | 0-u32max[u] |
| USER_DATA | 1 | ctx->timeo | 0-u32max[u] |
| USER_DATA | 1 | ctx->wsize | 0-u32max[u] |
| HALF_LOCKED2 | &sb->s_umount |
fs/nfs/fs_context.c nfs4_parse_monolithic() -> nfs_validate_transport_protocol()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->fs_type | 1729052651216490496 |
| PARAM_VALUE | 0 | fc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->ops->parse_monolithic | 0,634968867006672896,1923336409103024128,2935546142322450432,5537387387394355200,6031079647331782656,7045259487304556544 |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->client_address | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->flags | 0-36915 |
| PARAM_VALUE | 1 | ctx->nfs_server._address.ss_family | 2,10 |
| PARAM_VALUE | 1 | ctx->nfs_server.addrlen | 1-16 |
| PARAM_VALUE | 1 | ctx->nfs_server.export_path | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->nfs_server.hostname | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->nfs_server.port | 0-u16max |
| PARAM_VALUE | 1 | ctx->version | 4 |
| BUF_SIZE | 1 | ctx | 1-s32max |
| BUF_SIZE | 1 | ctx | 1-s32max |
| BUF_SIZE | 1 | ctx->client_address | s32min-s32max |
| BUF_SIZE | 1 | ctx->nfs_server.export_path | s32min-s32max |
| BUF_SIZE | 1 | ctx->nfs_server.hostname | s32min-s32max |
| DATA_SOURCE | 0 | fc | $0 |
| PARAM_COMPARE | 1 | ctx | == $0->fs_private |
| PARAM_COMPARE | 1 | ctx | == $0->fs_private |
| BIT_INFO | 1 | ctx->flags | 0x0,0x9033 |
| TERMINATED | 1 | ctx->client_address | 1 |
| TERMINATED | 1 | ctx->nfs_server.export_path | 1 |
| TERMINATED | 1 | ctx->nfs_server.hostname | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fc->sb_flags | 0-u32max[c] |
| USER_DATA | 1 | ctx->acdirmax | 0-u32max[u] |
| USER_DATA | 1 | ctx->acdirmin | 0-u32max[u] |
| USER_DATA | 1 | ctx->acregmax | 0-u32max[u] |
| USER_DATA | 1 | ctx->acregmin | 0-u32max[u] |
| USER_DATA | 1 | ctx->flags | 0-36915[c] |
| USER_DATA | 1 | ctx->nfs_server.addrlen | 1-16[u] |
| USER_DATA | 1 | ctx->nfs_server.port | 0-u16max |
| USER_DATA | 1 | ctx->nfs_server.protocol | 0-u16max[u] |
| USER_DATA | 1 | ctx->retrans | 0-u32max[u] |
| USER_DATA | 1 | ctx->rsize | 0-u32max[u] |
| USER_DATA | 1 | ctx->selected_flavor | 0-u32max |
| USER_DATA | 1 | ctx->timeo | 0-u32max[u] |
| USER_DATA | 1 | ctx->wsize | 0-u32max[u] |
| USER_DATA | 1 | *ctx->client_address | 0-255 |
| USER_DATA | 1 | *ctx->nfs_server.export_path | 0-255 |
| USER_DATA | 1 | *ctx->nfs_server.hostname | 0-255 |
| USER_PTR | 1 | ctx->client_address | |
| USER_PTR | 1 | ctx->nfs_server.export_path | |
| USER_PTR | 1 | ctx->nfs_server.hostname | |
| HALF_LOCKED2 | &sb->s_umount |
fs/nfs/fs_context.c nfs_fs_context_validate() -> nfs_validate_transport_protocol()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fc | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | fc->cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | fc->cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | fc->cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | fc->cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | fc->cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | fc->cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | fc->cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | fc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | fc->root | 0 |
| PARAM_VALUE | 0 | fc->source | 1-u64max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->nfs_server._address.ss_family | 2,10 |
| PARAM_VALUE | 1 | ctx->options | 2-u32max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | fc | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | ctx | 1-s32max |
| BUF_SIZE | 1 | ctx | 1-s32max |
| CAPPED_DATA | 1 | ctx->mountfamily | 1 |
| CAPPED_DATA | 1 | ctx->protofamily | 1 |
| DATA_SOURCE | 0 | fc | $0 |
| STR_LEN | 0 | fc | (-1),8 |
| STR_LEN | 0 | fc | (-1),8 |
| PARAM_COMPARE | 1 | ctx | == $0->fs_private |
| PARAM_COMPARE | 1 | ctx | == $0->fs_private |
| PARAM_COMPARE | 1 | ctx->nfs_server.address.sa_family | >= $1->protofamily |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fc->sb_flags | 0-u32max[c] |
| USER_DATA | 0 | *fc->source | 0-255 |
| HALF_LOCKED2 | 0 | &fc->uapi_mutex |