Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
fs/overlayfs/file.c ovl_change_flags() -> iocb_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| BUF_SIZE | 0 | file | (-1),376 |
| BUF_SIZE | 0 | file | (-1),376 |
| DATA_SOURCE | 0 | file | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | file->f_flags | 0-u32max[c] |
| USER_DATA | 0 | file->f_mode | 0,131072-u32max |
| LOCK2 | 0 | &file->f_lock | |
| TYPE_LOCK | (struct file)->f_lock |
fs/file_table.c file_init_path() -> iocb_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_flags | 0-18433,32768-32771,34816-34819 |
| CAPPED_DATA | 0 | file->f_cred | 1 |
| DATA_SOURCE | 0 | file | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | file->f_flags | 0-18433,32770 |
| USER_DATA | 0 | file->f_mode | 67108864-67108871,67239936-67239943,67371008-67371015,67502080- |
fs/open.c do_dentry_open() -> iocb_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file->__f_path.dentry | (-1)-s32max |
| BUF_SIZE | 0 | file->private_data | (-1),232 |
| CAPPED_DATA | 0 | file->f_path.dentry | 1 |
| DATA_SOURCE | 0 | file | $0 |
| BIT_INFO | 0 | file->f_flags | 0x0,0xbfdffc3f |
| BIT_INFO | 0 | file->f_mode | 0x80018,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | file->__f_path.dentry->__d_name.hash | 0-u32max[c] |
| USER_DATA | 0 | file->f_flags | 0-u32max[c] |
| USER_DATA | 0 | file->f_mode | 0,131072-u32max |
| NO_OVERFLOW_SIMPLE | 0 | file->f_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.dentry->d_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.moved->d_inode->i_size | |
| USER_PTR | 0 | file->__f_path.dentry->__d_name.name |
fs/fcntl.c setfl() -> iocb_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| DATA_SOURCE | 0 | file | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| USER_DATA | 0 | file->f_flags | 0-u32max[c] |
| LOCK2 | 0 | &file->f_lock | |
| TYPE_LOCK | (struct file)->f_lock |