Defined in 2 files as a function:
- drivers/gpu/drm/xe/xe_oa.c, line 1661 (as a function)
- drivers/gpu/drm/xe/xe_observation.c, line 38 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/xe/xe_observation.c xe_observation_ioctl() -> xe_oa_ioctl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->unplugged | 0 |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->extensions | 0 |
| PARAM_VALUE | 1 | cmd->observation_type | 0 |
| PARAM_VALUE | 2 | arg | 4096-ptr_max |
| PARAM_VALUE | 2 | arg->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | arg->minor | 4096-ptr_max |
| PARAM_VALUE | 2 | arg->minor->dev | 4096-ptr_max |
| BUF_SIZE | 1 | cmd | 128-16383 |
| BUF_SIZE | 1 | cmd | 128-16383 |
| BUF_SIZE | 2 | arg | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | arg | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| DATA_SOURCE | 2 | arg | $2 |
| USER_DATA | 1 | cmd->extensions | 0[u] |
| USER_DATA | 1 | cmd->observation_op | 0-u64max[u] |
| USER_DATA | 1 | cmd->observation_type | 0[u] |
| USER_DATA | 1 | cmd->param | 0-u64max[u] |
| UNITS | 0 | file | unit_byte |
| USER_PTR | 1 | cmd |
fs/debugfs/file.c full_proxy_unlocked_ioctl() -> (struct file_operations)->unlocked_ioctl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_path.dentry | 4096-ptr_max |
| DATA_SOURCE | 0 | file | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| DATA_SOURCE | 2 | arg | $2 |
| USER_DATA | 1 | cmd | 0-u32max |
| USER_DATA | 2 | arg | 0-u64max |
drivers/media/v4l2-core/v4l2-compat-ioctl32.c v4l2_compat_ioctl32() -> (struct file_operations)->unlocked_ioctl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op->unlocked_ioctl | 1-u64max |
| PARAM_VALUE | 1 | cmd | 0-1074041864,1074041866-1076647975,1076647980-1076647992,1076647994-u32max |
| DATA_SOURCE | 0 | file | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| FUZZY_MAX | 1 | cmd | 2148034049 |
| CONTAINER | 0 | -80-80+0 | $(-1) |
| USER_DATA | 1 | cmd | 0-1074030081,1074030083-1074041864,1074041866-1076647975 |
fs/ioctl.c compat_ptr_ioctl() -> (struct file_operations)->unlocked_ioctl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op->unlocked_ioctl | 1-u64max |
| PARAM_VALUE | 1 | cmd | 0-1074041864,1074041866-1076647975,1076647980-1076647992,1076647994-u32max |
| DATA_SOURCE | 0 | file | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| FUZZY_MAX | 1 | cmd | 2148034049 |
| CONTAINER | 0 | -80-80+0 | $(-1) |
| USER_DATA | 1 | cmd | 0-1074030081,1074030083-1074041864,1074041866-1076647975 |
fs/ioctl.c vfs_ioctl() -> (struct file_operations)->unlocked_ioctl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op->unlocked_ioctl | 1-u64max |
| DATA_SOURCE | 0 | file | $0 |
| DATA_SOURCE | 1 | cmd | $1 |
| DATA_SOURCE | 2 | arg | $2 |
| CONTAINER | 0 | -80-80+0 | $(-1) |
| USER_DATA | 1 | cmd | 0-u32max |
| USER_DATA | 2 | arg | 0-u64max |
fs/ecryptfs/file.c ecryptfs_unlocked_ioctl() -> (struct file_operations)->unlocked_ioctl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op->unlocked_ioctl | 1-u64max |
| PARAM_VALUE | 1 | cmd | 1074292226,1074296322,2148034049,2148038145,3222820985 |
| DATA_SOURCE | 0 | file | r ecryptfs_file_to_lower |
| DATA_SOURCE | 1 | cmd | $1 |
| DATA_SOURCE | 2 | arg | $2 |
| CONTAINER | 0 | -80-80+0 | $(-1) |
| USER_DATA | 1 | cmd | 1074292226,1074296322,2148034049,2148038145,3222820985 |
| USER_DATA | 2 | arg | 0-u64max |