Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
init/initramfs.c clean_path() -> init_stat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | stat | 716109646624411648 |
| PARAM_VALUE | 2 | flags | 256 |
| DATA_SOURCE | 0 | filename | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/md/md-autodetect.c md_setup_drive() -> init_stat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filename | 5417087987852013568 |
| PARAM_VALUE | 1 | stat | 259561721305169920 |
| PARAM_VALUE | 2 | flags | 0 |
| BUF_SIZE | 0 | filename | 64 |
| STR_LEN | 0 | filename | 62 |
init/initramfs_test.c initramfs_test_extract() -> init_stat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filename | 224559708658946048 |
| PARAM_VALUE | 1 | stat | 5674187689868845056 |
| PARAM_VALUE | 1 | stat->atime.tv_nsec | 0 |
| PARAM_VALUE | 1 | stat->atime.tv_sec | 0 |
| PARAM_VALUE | 1 | stat->atomic_write_segments_max | 0 |
| PARAM_VALUE | 1 | stat->atomic_write_unit_max | 0 |
| PARAM_VALUE | 1 | stat->atomic_write_unit_max_opt | 0 |
| PARAM_VALUE | 1 | stat->atomic_write_unit_min | 0 |
| PARAM_VALUE | 1 | stat->attributes | 0 |
| PARAM_VALUE | 1 | stat->attributes_mask | 0 |
| PARAM_VALUE | 1 | stat->blksize | 0 |
| PARAM_VALUE | 1 | stat->blocks | 0 |
| PARAM_VALUE | 1 | stat->btime.tv_nsec | 0 |
| PARAM_VALUE | 1 | stat->btime.tv_sec | 0 |
| PARAM_VALUE | 1 | stat->change_cookie | 0 |
| PARAM_VALUE | 1 | stat->ctime.tv_nsec | 0 |
| PARAM_VALUE | 1 | stat->ctime.tv_sec | 0 |
| PARAM_VALUE | 1 | stat->dev | 0 |
| PARAM_VALUE | 1 | stat->dio_mem_align | 0 |
| PARAM_VALUE | 1 | stat->dio_offset_align | 0 |
| PARAM_VALUE | 1 | stat->dio_read_offset_align | 0 |
| PARAM_VALUE | 1 | stat->gid.val | 0 |
| PARAM_VALUE | 1 | stat->ino | 0 |
| PARAM_VALUE | 1 | stat->mnt_id | 0 |
| PARAM_VALUE | 1 | stat->mode | 0 |
| PARAM_VALUE | 1 | stat->mtime.tv_nsec | 0 |
| PARAM_VALUE | 1 | stat->mtime.tv_sec | 0 |
| PARAM_VALUE | 1 | stat->nlink | 0 |
| PARAM_VALUE | 1 | stat->rdev | 0 |
| PARAM_VALUE | 1 | stat->result_mask | 0 |
| PARAM_VALUE | 1 | stat->size | 0 |
| PARAM_VALUE | 1 | stat->subvol | 0 |
| PARAM_VALUE | 1 | stat->uid.val | 0 |
| PARAM_VALUE | 2 | flags | 0 |
| BUF_SIZE | 0 | filename | 11,20,23-27,29,3986,4096-4097 |
init/initramfs_test.c initramfs_test_extract() -> init_stat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filename | 1969763358745100288 |
| PARAM_VALUE | 1 | stat | 5674187689868845056 |
| PARAM_VALUE | 2 | flags | 0 |
| BUF_SIZE | 0 | filename | 11,20,23-27,29,3986,4096-4097 |
init/initramfs_test.c initramfs_test_fname_path_max() -> init_stat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filename | 1107995958093197312 |
| PARAM_VALUE | 1 | stat | 3791743551407964160 |
| PARAM_VALUE | 1 | stat->atime.tv_nsec | 0 |
| PARAM_VALUE | 1 | stat->atime.tv_sec | 0 |
| PARAM_VALUE | 1 | stat->atomic_write_segments_max | 0 |
| PARAM_VALUE | 1 | stat->atomic_write_unit_max | 0 |
| PARAM_VALUE | 1 | stat->atomic_write_unit_max_opt | 0 |
| PARAM_VALUE | 1 | stat->atomic_write_unit_min | 0 |
| PARAM_VALUE | 1 | stat->attributes | 0 |
| PARAM_VALUE | 1 | stat->attributes_mask | 0 |
| PARAM_VALUE | 1 | stat->blksize | 0 |
| PARAM_VALUE | 1 | stat->blocks | 0 |
| PARAM_VALUE | 1 | stat->btime.tv_nsec | 0 |
| PARAM_VALUE | 1 | stat->btime.tv_sec | 0 |
| PARAM_VALUE | 1 | stat->change_cookie | 0 |
| PARAM_VALUE | 1 | stat->ctime.tv_nsec | 0 |
| PARAM_VALUE | 1 | stat->ctime.tv_sec | 0 |
| PARAM_VALUE | 1 | stat->dev | 0 |
| PARAM_VALUE | 1 | stat->dio_mem_align | 0 |
| PARAM_VALUE | 1 | stat->dio_offset_align | 0 |
| PARAM_VALUE | 1 | stat->dio_read_offset_align | 0 |
| PARAM_VALUE | 1 | stat->gid.val | 0 |
| PARAM_VALUE | 1 | stat->ino | 0 |
| PARAM_VALUE | 1 | stat->mnt_id | 0 |
| PARAM_VALUE | 1 | stat->mode | 0 |
| PARAM_VALUE | 1 | stat->mtime.tv_nsec | 0 |
| PARAM_VALUE | 1 | stat->mtime.tv_sec | 0 |
| PARAM_VALUE | 1 | stat->nlink | 0 |
| PARAM_VALUE | 1 | stat->rdev | 0 |
| PARAM_VALUE | 1 | stat->result_mask | 0 |
| PARAM_VALUE | 1 | stat->size | 0 |
| PARAM_VALUE | 1 | stat->subvol | 0 |
| PARAM_VALUE | 1 | stat->uid.val | 0 |
| PARAM_VALUE | 2 | flags | 0 |
| BUF_SIZE | 0 | filename | 15 |
| STR_LEN | 0 | filename | 14 |
| TERMINATED | 0 | filename | 1 |
init/initramfs_test.c initramfs_test_fname_path_max() -> init_stat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filename | 5108206974047150080 |
| PARAM_VALUE | 1 | stat | 5367176102952321024 |
| PARAM_VALUE | 1 | stat->atime.tv_nsec | 0 |
| PARAM_VALUE | 1 | stat->atime.tv_sec | 0 |
| PARAM_VALUE | 1 | stat->atomic_write_segments_max | 0 |
| PARAM_VALUE | 1 | stat->atomic_write_unit_max | 0 |
| PARAM_VALUE | 1 | stat->atomic_write_unit_max_opt | 0 |
| PARAM_VALUE | 1 | stat->atomic_write_unit_min | 0 |
| PARAM_VALUE | 1 | stat->attributes | 0 |
| PARAM_VALUE | 1 | stat->attributes_mask | 0 |
| PARAM_VALUE | 1 | stat->blksize | 0 |
| PARAM_VALUE | 1 | stat->blocks | 0 |
| PARAM_VALUE | 1 | stat->btime.tv_nsec | 0 |
| PARAM_VALUE | 1 | stat->btime.tv_sec | 0 |
| PARAM_VALUE | 1 | stat->change_cookie | 0 |
| PARAM_VALUE | 1 | stat->ctime.tv_nsec | 0 |
| PARAM_VALUE | 1 | stat->ctime.tv_sec | 0 |
| PARAM_VALUE | 1 | stat->dev | 0 |
| PARAM_VALUE | 1 | stat->dio_mem_align | 0 |
| PARAM_VALUE | 1 | stat->dio_offset_align | 0 |
| PARAM_VALUE | 1 | stat->dio_read_offset_align | 0 |
| PARAM_VALUE | 1 | stat->gid.val | 0 |
| PARAM_VALUE | 1 | stat->ino | 0 |
| PARAM_VALUE | 1 | stat->mnt_id | 0 |
| PARAM_VALUE | 1 | stat->mode | 0 |
| PARAM_VALUE | 1 | stat->mtime.tv_nsec | 0 |
| PARAM_VALUE | 1 | stat->mtime.tv_sec | 0 |
| PARAM_VALUE | 1 | stat->nlink | 0 |
| PARAM_VALUE | 1 | stat->rdev | 0 |
| PARAM_VALUE | 1 | stat->result_mask | 0 |
| PARAM_VALUE | 1 | stat->size | 0 |
| PARAM_VALUE | 1 | stat->subvol | 0 |
| PARAM_VALUE | 1 | stat->uid.val | 0 |
| PARAM_VALUE | 2 | flags | 0 |
| BUF_SIZE | 0 | filename | 9 |
| STR_LEN | 0 | filename | 8 |
| TERMINATED | 0 | filename | 1 |
init/initramfs_test.c initramfs_test_hardlink() -> init_stat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filename | 5889812451997388800 |
| PARAM_VALUE | 1 | stat | 1347214310199951360 |
| PARAM_VALUE | 1 | stat->atime.tv_nsec | 0 |
| PARAM_VALUE | 1 | stat->atime.tv_sec | 0 |
| PARAM_VALUE | 1 | stat->atomic_write_segments_max | 0 |
| PARAM_VALUE | 1 | stat->atomic_write_unit_max | 0 |
| PARAM_VALUE | 1 | stat->atomic_write_unit_max_opt | 0 |
| PARAM_VALUE | 1 | stat->atomic_write_unit_min | 0 |
| PARAM_VALUE | 1 | stat->attributes | 0 |
| PARAM_VALUE | 1 | stat->attributes_mask | 0 |
| PARAM_VALUE | 1 | stat->blksize | 0 |
| PARAM_VALUE | 1 | stat->blocks | 0 |
| PARAM_VALUE | 1 | stat->btime.tv_nsec | 0 |
| PARAM_VALUE | 1 | stat->btime.tv_sec | 0 |
| PARAM_VALUE | 1 | stat->change_cookie | 0 |
| PARAM_VALUE | 1 | stat->ctime.tv_nsec | 0 |
| PARAM_VALUE | 1 | stat->ctime.tv_sec | 0 |
| PARAM_VALUE | 1 | stat->dev | 0 |
| PARAM_VALUE | 1 | stat->dio_mem_align | 0 |
| PARAM_VALUE | 1 | stat->dio_offset_align | 0 |
| PARAM_VALUE | 1 | stat->dio_read_offset_align | 0 |
| PARAM_VALUE | 1 | stat->gid.val | 0 |
| PARAM_VALUE | 1 | stat->ino | 0 |
| PARAM_VALUE | 1 | stat->mnt_id | 0 |
| PARAM_VALUE | 1 | stat->mode | 0 |
| PARAM_VALUE | 1 | stat->mtime.tv_nsec | 0 |
| PARAM_VALUE | 1 | stat->mtime.tv_sec | 0 |
| PARAM_VALUE | 1 | stat->nlink | 0 |
| PARAM_VALUE | 1 | stat->rdev | 0 |
| PARAM_VALUE | 1 | stat->result_mask | 0 |
| PARAM_VALUE | 1 | stat->size | 0 |
| PARAM_VALUE | 1 | stat->subvol | 0 |
| PARAM_VALUE | 1 | stat->uid.val | 0 |
| PARAM_VALUE | 2 | flags | 0 |
| BUF_SIZE | 0 | filename | 11,20,23-27,29,3986,4096-4097 |
init/initramfs_test.c initramfs_test_hardlink() -> init_stat()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filename | 6435693696693911552 |
| PARAM_VALUE | 1 | stat | 952529034419404800 |
| PARAM_VALUE | 1 | stat->atime.tv_nsec | 0 |
| PARAM_VALUE | 1 | stat->atime.tv_sec | 0 |
| PARAM_VALUE | 1 | stat->atomic_write_segments_max | 0 |
| PARAM_VALUE | 1 | stat->atomic_write_unit_max | 0 |
| PARAM_VALUE | 1 | stat->atomic_write_unit_max_opt | 0 |
| PARAM_VALUE | 1 | stat->atomic_write_unit_min | 0 |
| PARAM_VALUE | 1 | stat->attributes | 0 |
| PARAM_VALUE | 1 | stat->attributes_mask | 0 |
| PARAM_VALUE | 1 | stat->blksize | 0 |
| PARAM_VALUE | 1 | stat->blocks | 0 |
| PARAM_VALUE | 1 | stat->btime.tv_nsec | 0 |
| PARAM_VALUE | 1 | stat->btime.tv_sec | 0 |
| PARAM_VALUE | 1 | stat->change_cookie | 0 |
| PARAM_VALUE | 1 | stat->ctime.tv_nsec | 0 |
| PARAM_VALUE | 1 | stat->ctime.tv_sec | 0 |
| PARAM_VALUE | 1 | stat->dev | 0 |
| PARAM_VALUE | 1 | stat->dio_mem_align | 0 |
| PARAM_VALUE | 1 | stat->dio_offset_align | 0 |
| PARAM_VALUE | 1 | stat->dio_read_offset_align | 0 |
| PARAM_VALUE | 1 | stat->gid.val | 0 |
| PARAM_VALUE | 1 | stat->ino | 0 |
| PARAM_VALUE | 1 | stat->mnt_id | 0 |
| PARAM_VALUE | 1 | stat->mode | 0 |
| PARAM_VALUE | 1 | stat->mtime.tv_nsec | 0 |
| PARAM_VALUE | 1 | stat->mtime.tv_sec | 0 |
| PARAM_VALUE | 1 | stat->nlink | 0 |
| PARAM_VALUE | 1 | stat->rdev | 0 |
| PARAM_VALUE | 1 | stat->result_mask | 0 |
| PARAM_VALUE | 1 | stat->size | 0 |
| PARAM_VALUE | 1 | stat->subvol | 0 |
| PARAM_VALUE | 1 | stat->uid.val | 0 |
| PARAM_VALUE | 2 | flags | 0 |
| BUF_SIZE | 0 | filename | 11,20,23-27,29,3986,4096-4097 |