Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/nfs/dir.c nfs_readdir_folio_filler() -> nfs_readdir_entry_decode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->dtsize | 1024-u32max |
| PARAM_VALUE | 0 | desc->file | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->file->f_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->file->f_inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->file->f_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->file->f_mapping->host | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->file->f_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | desc->file->f_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | desc->file->f_mode | 33554432-u32max |
| PARAM_VALUE | 0 | desc->file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->file->f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->file->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->folio | 0,4096-ptr_max |
| PARAM_VALUE | 0 | desc->plus | 0 |
| PARAM_VALUE | 0 | *desc->verf | 0-4294967295 |
| PARAM_VALUE | 1 | entry | 4096-ptr_max |
| PARAM_VALUE | 1 | entry->fattr | 4096-ptr_max |
| PARAM_VALUE | 1 | entry->fattr->group_name | 0 |
| PARAM_VALUE | 1 | entry->fattr->group_name->len | 0 |
| PARAM_VALUE | 1 | entry->fattr->label | 0,4096-ptr_max |
| PARAM_VALUE | 1 | entry->fattr->label->label | 4096-ptr_max |
| PARAM_VALUE | 1 | entry->fattr->label->len | 0-2048 |
| PARAM_VALUE | 1 | entry->fattr->mdsthreshold | 0 |
| PARAM_VALUE | 1 | entry->fattr->mdsthreshold->bm | 0 |
| PARAM_VALUE | 1 | entry->fattr->owner_name | 0 |
| PARAM_VALUE | 1 | entry->fattr->owner_name->len | 0 |
| PARAM_VALUE | 1 | entry->fh | 4096-ptr_max |
| PARAM_VALUE | 2 | stream | 212083814654377984 |
| PARAM_VALUE | 2 | stream->buf | 3305511253661491200 |
| PARAM_VALUE | 2 | stream->rqst | 0 |
| PARAM_VALUE | 2 | stream->scratch.iov_base | 18379471554275704832,18446612682070032384 |
| BUF_SIZE | 0 | desc->file | (-1),1-s32max |
| BUF_SIZE | 1 | entry | 64 |
| BUF_SIZE | 1 | entry->fattr | 248 |
| BUF_SIZE | 1 | entry->fh | 130 |
| BUF_SIZE | 1 | entry->server | 1-s32max |
| CAPPED_DATA | 0 | desc->file->f_mapping | 1 |
| DATA_SOURCE | 0 | desc | $0 |
| DATA_SOURCE | 1 | entry | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | desc->ctx->count | s32min-s32max |
| USER_DATA | 1 | entry->cookie | 0-u32max[c] |
| USER_DATA | 1 | entry->fattr->label->lfs | 0-u32max |
| USER_DATA | 1 | entry->fattr->label->pi | 0-u32max |
| USER_DATA | 1 | entry->fh->size | 1-128[c] |
| USER_DATA | 1 | entry->ino | 0-u32max |
| USER_DATA | 1 | entry->len | 0-255[c] |
| USER_DATA | 1 | *entry->fattr->label->label | 0-255 |
| USER_DATA | 1 | *entry->fh->data | 0-255 |
| USER_DATA | 1 | *entry->name | 0-255 |
| USER_PTR | 1 | entry->fattr->label->label | |
| USER_PTR | 1 | entry->fh->data | |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/nfs/dir.c nfs_readdir_folio_filler() -> nfs_readdir_entry_decode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->dtsize | 1024-u32max |
| PARAM_VALUE | 0 | desc->file | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->file->f_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->file->f_inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->file->f_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->file->f_mapping->host | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->file->f_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | desc->file->f_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | desc->file->f_mode | 33554432-u32max |
| PARAM_VALUE | 0 | desc->file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->file->f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->file->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->folio | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *desc->verf | 0-4294967295 |
| PARAM_VALUE | 1 | entry | 4096-ptr_max |
| PARAM_VALUE | 1 | entry->d_type | 0-15 |
| PARAM_VALUE | 1 | entry->fattr | 4096-ptr_max |
| PARAM_VALUE | 1 | entry->fattr->atime.tv_nsec | 0-4294967295 |
| PARAM_VALUE | 1 | entry->fattr->btime.tv_nsec | 0-4294967295 |
| PARAM_VALUE | 1 | entry->fattr->change_attr | 0-4611686021648613375 |
| PARAM_VALUE | 1 | entry->fattr->ctime.tv_nsec | 0-4294967295 |
| PARAM_VALUE | 1 | entry->fattr->du.nfs3.used | 0 |
| PARAM_VALUE | 1 | entry->fattr->fileid | 0 |
| PARAM_VALUE | 1 | entry->fattr->fsid.major | 0 |
| PARAM_VALUE | 1 | entry->fattr->fsid.minor | 0 |
| PARAM_VALUE | 1 | entry->fattr->group_name | 0 |
| PARAM_VALUE | 1 | entry->fattr->group_name->len | 0 |
| PARAM_VALUE | 1 | entry->fattr->label | 0,4096-ptr_max |
| PARAM_VALUE | 1 | entry->fattr->label->label | 4096-ptr_max |
| PARAM_VALUE | 1 | entry->fattr->label->len | 0-2048 |
| PARAM_VALUE | 1 | entry->fattr->mdsthreshold | 0 |
| PARAM_VALUE | 1 | entry->fattr->mdsthreshold->bm | 0 |
| PARAM_VALUE | 1 | entry->fattr->mtime.tv_nsec | 0-4294967295 |
| PARAM_VALUE | 1 | entry->fattr->nlink | 1 |
| PARAM_VALUE | 1 | entry->fattr->owner_name | 0 |
| PARAM_VALUE | 1 | entry->fattr->owner_name->len | 0 |
| PARAM_VALUE | 1 | entry->fattr->rdev | 0 |
| PARAM_VALUE | 1 | entry->fattr->size | 0 |
| PARAM_VALUE | 1 | entry->fh | 4096-ptr_max |
| PARAM_VALUE | 1 | entry->name | 1-u64max |
| PARAM_VALUE | 1 | *entry->fh->data | 0-255 |
| PARAM_VALUE | 2 | stream | 212083814654377984 |
| PARAM_VALUE | 2 | stream->buf | 3305511253661491200 |
| PARAM_VALUE | 2 | stream->rqst | 0 |
| PARAM_VALUE | 2 | stream->scratch.iov_base | 18379471554275704832,18446612682070032384 |
| BUF_SIZE | 0 | desc->file | (-1),1-s32max |
| BUF_SIZE | 1 | entry | 64 |
| BUF_SIZE | 1 | entry->fattr | 248 |
| BUF_SIZE | 1 | entry->fh | 130 |
| BUF_SIZE | 1 | entry->server | 1-s32max |
| CAPPED_DATA | 0 | desc->file->f_mapping | 1 |
| DATA_SOURCE | 0 | desc | $0 |
| DATA_SOURCE | 1 | entry | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | desc->ctx->count | s32min-s32max |
| USER_DATA | 1 | entry->cookie | 0-u32max |
| USER_DATA | 1 | entry->fattr->label->lfs | 0-u32max |
| USER_DATA | 1 | entry->fattr->label->pi | 0-u32max |
| USER_DATA | 1 | entry->fh->size | 1-128[c] |
| USER_DATA | 1 | entry->ino | 0-u32max |
| USER_DATA | 1 | entry->len | 0-255[c] |
| USER_DATA | 1 | *entry->fattr->label->label | 0-255 |
| USER_DATA | 1 | *entry->fh->data | 0-255 |
| USER_DATA | 1 | *entry->name | 0-255 |
| USER_PTR | 1 | entry->fattr->label->label | |
| USER_PTR | 1 | entry->fh->data | |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/nfs/dir.c nfs_readdir_folio_filler() -> nfs_readdir_entry_decode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->dtsize | 1024-u32max |
| PARAM_VALUE | 0 | desc->file | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->file->f_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->file->f_inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->file->f_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->file->f_mapping->host | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->file->f_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | desc->file->f_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | desc->file->f_mode | 33554432-u32max |
| PARAM_VALUE | 0 | desc->file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->file->f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->file->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->folio | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *desc->verf | 0-4294967295 |
| PARAM_VALUE | 1 | entry | 4096-ptr_max |
| PARAM_VALUE | 1 | entry->d_type | 0-15 |
| PARAM_VALUE | 1 | entry->fattr | 4096-ptr_max |
| PARAM_VALUE | 1 | entry->fattr->atime.tv_nsec | 0-4294967295 |
| PARAM_VALUE | 1 | entry->fattr->btime.tv_nsec | 0-4294967295 |
| PARAM_VALUE | 1 | entry->fattr->change_attr | 0-4611686021648613375 |
| PARAM_VALUE | 1 | entry->fattr->ctime.tv_nsec | 0-4294967295 |
| PARAM_VALUE | 1 | entry->fattr->du.nfs3.used | 0 |
| PARAM_VALUE | 1 | entry->fattr->fileid | 0 |
| PARAM_VALUE | 1 | entry->fattr->fsid.major | 0 |
| PARAM_VALUE | 1 | entry->fattr->fsid.minor | 0 |
| PARAM_VALUE | 1 | entry->fattr->group_name | 0 |
| PARAM_VALUE | 1 | entry->fattr->group_name->len | 0 |
| PARAM_VALUE | 1 | entry->fattr->label | 0,4096-ptr_max |
| PARAM_VALUE | 1 | entry->fattr->label->label | 4096-ptr_max |
| PARAM_VALUE | 1 | entry->fattr->label->len | 0-2048 |
| PARAM_VALUE | 1 | entry->fattr->mdsthreshold | 0 |
| PARAM_VALUE | 1 | entry->fattr->mdsthreshold->bm | 0 |
| PARAM_VALUE | 1 | entry->fattr->mtime.tv_nsec | 0-4294967295 |
| PARAM_VALUE | 1 | entry->fattr->nlink | 1 |
| PARAM_VALUE | 1 | entry->fattr->owner_name | 0 |
| PARAM_VALUE | 1 | entry->fattr->owner_name->len | 0 |
| PARAM_VALUE | 1 | entry->fattr->rdev | 0 |
| PARAM_VALUE | 1 | entry->fattr->size | 0 |
| PARAM_VALUE | 1 | entry->fh | 4096-ptr_max |
| PARAM_VALUE | 1 | entry->name | 1-u64max |
| PARAM_VALUE | 1 | *entry->fh->data | 0-255 |
| PARAM_VALUE | 2 | stream | 212083814654377984 |
| PARAM_VALUE | 2 | stream->buf | 3305511253661491200 |
| PARAM_VALUE | 2 | stream->rqst | 0 |
| PARAM_VALUE | 2 | stream->scratch.iov_base | 18379471554275704832,18446612682070032384 |
| BUF_SIZE | 0 | desc->file | (-1),1-s32max |
| BUF_SIZE | 1 | entry | 64 |
| BUF_SIZE | 1 | entry->fattr | 248 |
| BUF_SIZE | 1 | entry->fh | 130 |
| BUF_SIZE | 1 | entry->server | 1-s32max |
| CAPPED_DATA | 0 | desc->file->f_mapping | 1 |
| DATA_SOURCE | 0 | desc | $0 |
| DATA_SOURCE | 1 | entry | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | desc->ctx->count | s32min-s32max |
| USER_DATA | 1 | entry->cookie | 0-u32max |
| USER_DATA | 1 | entry->fattr->label->lfs | 0-u32max |
| USER_DATA | 1 | entry->fattr->label->pi | 0-u32max |
| USER_DATA | 1 | entry->fh->size | 1-128[c] |
| USER_DATA | 1 | entry->ino | 0-u32max |
| USER_DATA | 1 | entry->len | 0-255[c] |
| USER_DATA | 1 | *entry->fattr->label->label | 0-255 |
| USER_DATA | 1 | *entry->fh->data | 0-255 |
| USER_DATA | 1 | *entry->name | 0-255 |
| USER_PTR | 1 | entry->fattr->label->label | |
| USER_PTR | 1 | entry->fh->data | |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |